| 11-16-2002, 02:04 PM | #1 |
i m trying to make a ctf map,can anyon etell me how to do a basic respawn and a basic capture flag triggger i m very new to this. |
| 11-16-2002, 02:36 PM | #2 |
ok. Event: ----A unit owned by (Player 1) dies. Condition: (Make this if the player has other units besides the hero) ----Unit type of (dying unit) equal to (the hero type) Action: ----Unit - Create 1 (hero type) at location (where you want the hero to respawn) facing (default building degrees). Well thats how you do the respawn. I'm not %100 sure about how you do the flag capture. |
| 11-16-2002, 02:40 PM | #3 |
well that s on ething done tnkz man now for teh flag capture... |
| 11-16-2002, 02:52 PM | #4 |
well that s on ething done tnkz man now for teh flag capture... |
| 11-16-2002, 02:56 PM | #5 |
Well, i though of somethign for flag capture =). Event: (More player can be added if needed) ----A unit owned by (Player 1) enters region (THE FLAG AREA <gen>) ----A unit owned by (Player 2) enters region (THE FLAG AREA <gen>) ----A unit owned by (Player 3) enters region (THE FLAG AREA <gen>) Condition: ----FLAGTHERE equal to true (this is a Boolean comparison condition) Action: ----Set FLAGTHERE = False ----Set T1Whohasflag = (triggering player) -VARIABLES- FLAGTHERE is a boolean trigger T1Whohasflag is a player Next trigger Event: ----A unit owned by (player 1) enters region (team 1 score <gen>) ----A unit owned by (player 2) enters region (team 1 score <gen>) ----A unit owned by (player 3) enters region (team 1 score <gen>) Condition: ----FLAGTHERE is equal to false ----(Owner of (trigger unit)) is equal to T1Whohasflag Action: ----Display text message: Team 1 score! ----Set Variable FLAGTHERE = True ----Set variable T1Whohasflag = No player This trigger is for if the flag runner dies: Event: ----A unit owned by (player 1) Dies ----A unit owned by (player 2) Dies ----A unit owned by (player 3) Dies Condition: ----FLAGTHERE is equal to false ----(Owner of (dying unit)) is equal to T1Whohasflag Action: ----Set Variable FLAGTHERE = True ----Set variable T1Whohasflag = No player There you go! |
| 11-16-2002, 03:04 PM | #6 |
| 11-16-2002, 03:12 PM | #7 |
Actually, it's not in a mapfile. Made that up off the top of my head. I can't make it for you, but, i need to know how many players on each team, and which players they are. |
| 11-16-2002, 03:16 PM | #8 |
you meant can or can t? anyway team 1 players 1-6 team 2 players 7-12 flag item not decided yet but just tell me what item you will use an di ll put it tnkz you |
| 11-16-2002, 03:35 PM | #9 |
Oops. Miss type. Check back in about... 10 minutes. I'll have it posted. :D |
| 11-16-2002, 03:38 PM | #10 |
k |
| 11-16-2002, 03:57 PM | #11 |
Okay, i finished. I made some changes to the triggers (they are now maybe a bit different than the way i showed you), but now they are more efficient. It is all the triggers i showed you how to do. Here you are (look below). |
| 11-16-2002, 04:10 PM | #12 |
tnzka man gemme your e-mail adress maybe we can colab on soem maps soem times |
| 11-16-2002, 04:18 PM | #13 |
Sorry, i couldnt make that out. Something about e-mail and maps. Could you try and speak a little bit more clearly. you seem like your fingers are in the wrong spots or something. But, i'm not flaming you or anything, just try and type so we can read it. Let's keep in touch... I guess |
| 11-16-2002, 04:37 PM | #14 |
i said give me your e-mail adress maybe we can colab on some future maps you have msn? |
| 11-16-2002, 04:49 PM | #15 |
each time a unit dies even if it does nt have teh flag it says team 1 (or 2 ) lost flag |
