IPB

Welcome Guest ( Log In | Register )


> Pre made buildings with separate power sources
amartin99
post Nov 5 2006, 02:17 PM
Post #1

Technician
Group Icon

Group: Members
Posts: 9
Joined: 5-November 06
Member No.: 234
Favorite game: Tiberian Sun



Hello
I have made a multiplayer map with a bunch of OBS and SAMS guarding both sides
I am trying to have them powered by separate dams within each side
So when one side feels it is strong enough to defend him/her self
They can easily deactivate the built in defenses without having to fight them

I thought making the stuff on one side “Special” and the other “Neutral” would do it
But then neither side even works

How can I make them separate ?
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
Bittah Commander
post Nov 6 2006, 11:42 PM
Post #2


Forum Administrator
Group Icon

Group: Administrators
Posts: 1,340
Joined: 1-October 06
From: The Netherlands
Member No.: 5
Alliance: GDI
Favorite game: Tiberian Sun



I think the best way to do this is by making 2 triggers. Give the first the event "29 Destroyed by anything [not infiltrate]", which will activate the trigger when the attached object is destroyed (not infiltrated). So attach the tag of this building to the building you want to trigger it when it's destroyed.

This is probably what you did, but where I think you went wrong is, you probably also added the action to disable/destroy the buildings to this trigger and also attached the buildings you wanted to be destroyed. This means that all buildings attached to it will both trigger the event of this trigger and get disabled/destroyed by the action of this trigger.

So what you do is, go to the Edit menu and go to 'Local variables (Locals)'. Now type something for the description; just call it "boom" or whatever and pick Preset value 0 (clear).

Now go back to that trigger you was working on and give it the action type "56 Local Set..." and pick for the parameter value "0 boom,0".

Now make another trigger, which has the action to disable/destroy the attached buildings, which should obviously be attached to the obelisks (and whatever other buildings you want to attach it to). Give this trigger the event "36 Local is set..." and pick for the parameter value "0 boom,0".

I haven't tried this, but I think it should work. So, good luck wink1.gif


--------------------
Go to the top of the page
 
: | +Quote Post

Posts in this topic
- amartin99   Pre made buildings with separate power sources   Nov 5 2006, 02:17 PM
- - ORCACommander   it is impossible to do in MUltiplayer. You could d...   Nov 5 2006, 03:22 PM
|- - amartin99   QUOTE (ORCACommander @ Nov 5 2006, 10:22 ...   Nov 5 2006, 03:55 PM
- - Team Black   In multiplayer, I think you can use the gdi and no...   Nov 5 2006, 08:01 PM
- - Bittah Commander   Actually this would be possible in singleplayer, b...   Nov 5 2006, 08:54 PM
- - amartin99   I don't know anything about triggers well I ca...   Nov 5 2006, 09:35 PM
- - ORCACommander   oops sorry I rote the wrong thing down I ment mult...   Nov 5 2006, 09:36 PM
- - Bittah Commander   Figured something like that happened Anyway, wit...   Nov 5 2006, 10:42 PM
- - Team Black   Yeah, all triggers are is "actions" and ...   Nov 6 2006, 04:36 PM
- - Bittah Commander   Yes, Exactly like Team Black said, only the other ...   Nov 6 2006, 06:44 PM
- - Team Black   oh, oops. thanks for fixing that   Nov 6 2006, 06:51 PM
- - amartin99   cool it worked on the first try thanks still feal...   Nov 6 2006, 10:48 PM
- - amartin99   Better yet I set it to destroy attached buildings ...   Nov 6 2006, 11:09 PM
- - amartin99   think I follow you make 2 trigers one just to acti...   Nov 6 2006, 11:57 PM
- - Bittah Commander   Now that you mention it, using the "22 Force ...   Nov 7 2006, 12:16 AM
- - amartin99   I don’t fully follow the locals thing so im ...   Nov 7 2006, 01:15 AM
- - amartin99   I have also now tried using 2 light posts 1 to ena...   Nov 7 2006, 02:08 AM
- - Bittah Commander   Weather the building is a light post or anything e...   Nov 7 2006, 02:17 AM
- - amartin99   got it to work with 2 light posts not perfect but...   Nov 7 2006, 02:31 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th November 2026 - 06:25 AM


XGhozt.com