Page 1 of 1

Blowing a Door not an objective

Posted: Thu Mar 10, 2005 2:47 am
by spy0012
I have started making an objective map and i want allies to blow up a door in the map but not count as an objective, how can i do that.

I know how to create bombs ect just not how to make non objective ones that only a certain team can arm.

Also how do you set how long the bomb takes to arm

Any help is appriciated

Obj_Dm.scr

Posted: Thu Mar 10, 2005 6:09 am
by tltrude
As you may know, The global/obj_dm.scr is what objective maps use to control bombs. But, You can copy that script and make your own to do whatever you want. Just rename the modified script and have the "thinker" line use it.

Posted: Thu Mar 10, 2005 11:56 am
by spy0012
Thanks for that info, i tried what u said works great. I still have a 2 problems.

I want to blow up a door with a bomb allies detonate but not as an objective. Second is when doing the door as an objective and it being blown up, it's hard to walk through the doorway something is there but invisble, anyone know what it is or to fix it.

Regards

Posted: Thu Mar 10, 2005 4:13 pm
by Green Beret
just dont add the door to the objectives to win.add the bomb_thinkers to it and it wont count it off.

Posted: Fri Mar 11, 2005 1:48 am
by spy0012
How do i make the door dissapear correctly as when it blows the door goes but there is something there stopping me going through and can't be seen

exploder

Posted: Fri Mar 11, 2005 7:09 am
by tltrude
The global/exploder.scr script has a builtin tutorial at the top of the text.

Posted: Fri Mar 11, 2005 4:30 pm
by spy0012
Ok last question.

Why does a door as an object not fully dissapear when destroyed, it will not let me through the doorway at all, there is something blocking access but nothing blocking access in the mapping view.

I cannot pass through the doorway at all, just like an invisble man stopping me, any got any ideas, am i missing something from the script to ensure it removes the door or what

Posted: Fri Mar 11, 2005 4:43 pm
by Mj
Make the old door $nonsolid ?

Posted: Fri Mar 11, 2005 6:46 pm
by spy0012
Still the same, no matter what i do, if i remove the door and recompile i can walk through it fine, just if it gets blown up it does the blocking effect like there is a clip there or something.

Is there any way to make something blow up without making it an object or with a targetname

Posted: Sat Mar 12, 2005 12:12 am
by Green Beret
probally cant make it a func_door,make a script object and give it the command to rotate the way u want it to open,just set a trigger around it and target the door u made.

Posted: Sat Mar 12, 2005 12:24 am
by spy0012
It's not actually a func_door, it just looks like a door sorry should have mentioned it.

The look a like door is an object, i have now found out what causes the problem. Where ever you place the bomb, once it balls that causes the invisble texture to appear. I have just moved the bomb to the edge of the door frame.

Thanks for you help though

Posted: Sat Mar 12, 2005 12:37 am
by Master-Of-Fungus-Foo-D
inthe code, after the bomb goes off you should type

Code: Select all

$whateveryoutargetnameis notsolid // type the real targetname tho :P
:wink: