Blowing a Door not an objective

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

Moderator: Moderators

Post Reply
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Blowing a Door not an objective

Post 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
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Obj_Dm.scr

Post 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.
Tom Trude,

Image
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Post 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
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post 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.
Image
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Post 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
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

exploder

Post by tltrude »

The global/exploder.scr script has a builtin tutorial at the top of the text.
Tom Trude,

Image
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Post 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
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

Make the old door $nonsolid ?
ImageImage
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Post 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
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post 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.
Image
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Post 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
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post 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:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Post Reply