Let me precede this by saying that I have thoroughly read the threads in this forum on making dynamite objectives, and I’ve gone through Swaggers and Markos tutorials. I still cannot get this to work. Without exception, when I approach my objective, I get the fist symbol and the wall is destructible with bullets or a knife, but not dynamite.
I have constructed a wall with a trigger around it. I’ve made the wall a func_explosive entity with the following values:
scriptname testwall
mass 400
classname func_explosive
targetname t1
I have a trigger around as an entity trigger_objective_info and the following values.
target t1
track the wall we’re going to blow up
spawnflags 1
shortname Dynamite wall
classname trigger_objective_info
As you can see, the trigger targets the wall, t1.
I have a script_multiplayer entity with the following values:
scriptname game_manager
origin -112 -32 64
classname script_multiplayer
My script is as follows:
game_manager
{
spawn
{
}
}
testwall
{
spawn
{
wait 200
constructible_class 3
}
death
{
wm_annouce "Allies have blown the wall to itty bitty bits!!"
}
}
The script is named “Dynamite.script” and placed in the same folder as the map, “Dynamite”
I have the feeling that this script is not being called, but I don’t know why. I have yet to get the dynamite icon on the command map (it appears as a command post for some reason…I don’t have command post checked in the entity).
Anyone have any idea what I’m doing wrong? I’ve followed these tutorials to the letter and this isn’t working for me. Thanks a lot.
[/i]
My script file was being saved as a .txt file, even though I added the .script extender. Little did I know you have to encase your filename in quotes “dynamite.script” for it to work.