Objective Q's

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
n0013
Corporal
Posts: 27
Joined: Wed Oct 22, 2003 6:53 pm
Location: Canada

Objective Q's

Post by n0013 »

Q1:How do you make it so both allies win bomb and axis win bomb?
Q2:How do you make an optional bomb(one that is not required to explode to complete the level)?
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

did u try the tutorials in the tuts section,i think they can help with one of those questions at least,but if u already tried them then i guess i am clueless.i think what u want 2 do is possible but i have never done an obj map 2 prove it
i only have one question :?: how can both teams win by setting a bomb?do they both have its own place that has 2 be blown (but y?)and the faster in blowing it wins,or is it one place which must be destroyed by 2 teams (but y again?)?i mean im used 2 the idea that some1 attacks (blows the target) and the other defends (protects the target)
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

script

Post by tltrude »

You don't have to use the obj_dm.scr script for an objective game. If threads in your script ends with "teamwin allies" or "teamwin axis" the game will end when one of those lines are read.

Also, your bomb triggers can use "setthread", which will make a thread in your script run. Doing that, you can script the bomb replacement, ticking, explosions, and even the teamwin.

So, basically, what you need is to script what you want to happen. If you ask nice, and give all the targetnames in the scripting forum, someone may do it for you. But, please try on your own first--they like it when you try.
Tom Trude,

Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

The global/obj_dm.scr does the effects etc it sets the exploded key of the bomb to 1 and the level script uses that for the win . If you only want a bomb that does not cause a win just don't put that in the win thread . The global/obj_dm.scr can also set off a explosion that uses the global/exploder.scr . I think maybe you can use it that way as well .
Post Reply