Dynamite Woes


(DAbell) #1

Could you please help me i am just experimenting with making a dynamitable wall and its just not going right for me, i’m following the tutorial from Andi Tyler and everything goes as per the tutorial.

When i load up the game i get teh messages saying i’m in tha area, but no dynamite symbol. If i add health into the entity fields at 0 i get nothing if i delete health from the entity keys i get the fist showing and i can stab my wall till it blows up.

I’ve got feeling the script is not doing its job and not telling the game its a dynamitable object.

Heres what i pasted in

game_manager
{
spawn
{
}
}

dynamitetest
{
spawn
{
wait 200
constructible_class 3
}
death
{
wm_announce “Allies have blown up the Dynamite Test!”
}
}

I got this from a thread i was using for help it still doesn’t work though, i have looked through loads of threads and can’t find an answer, i know you may have answered this question in the past but please if you could spare some brain cells and save me from hanging myself.

Thank You in advance


(MadMaximus) #2

did you follow the tutorial correctly?
here is the link for it.
http://etmapping.andityler.com/dynamiteobject.php

I have used that tutorial and have had no problem with it.


(DAbell) #3

I have just followed it through again exactly word for word when i tested it in game i got the message that i was near the the dynamite test, i didn’t get the dynamite hint symbol coming up. I planted dynamite and it blew up but i didn’t get the announcer message once it blew.

I’m sure its got to be something wrong with my script how i’m doing it or where i’m putting it. i copy and paste the exact script from the tutorial and paste it into a new text document (notepad) then i save as “Dynatest.script” (i have named my map Dynatest) complete with speech marks so it does actually save as a script if i go props of it, it says its a script file.

Then I put this file in the same place as my other map parts such as .map .bsp .srf .prt.

Is the spelling of constructible right in the script i’ve tried changing it to the right spelling and still no luck, Please help me i’m going mad.


(MadMaximus) #4

hmmmmzzzz… well, it sounds like to me that you didn’t select which team will be doing the dynamite planting. select your trigger brush for the dynamite test and press ‘n’, then make sure that you have either, axis_objective checked ( spawnflags 1) or allied_objective checked ( spawnflags 2).
If you want the wall to be dynamited by the allied team then make the trigger axis_objective so that the dynamite will show up on the command map for the allied team. what ever team objective you set if for means that it belongs to that team and the opposite team will be destroying it and will see the dynamite on their command map.


(DAbell) #5

I’m sorry to keep posting on this but maximus I’m still having no luck it is set so it is an axis objective so as an Allied engineer it should show as a dynamite object.

On the trigger_objective_info which i have applied to the brush which i have created from the texture/trigger, i have the spawnflag set as 1, objflag set as 4, it has a shortname, a track and a target name.

On the func_explosive that i have attached to the brush that i am looking to blow up, it has spawn flag set as 4, it has the same target name as the trigger it has the script name as i have put in the script, and i have set mass as well at 400.

I’m sure there must be someone who can see where the fault lies in my actions and i’m sure its just a stupid thing but i can’t follow the tutorial any differently so i don’t know whats going on i have built several different maps just rooms to test it out following the tutorial every time and still teh same result.

Thanks my life is in your hands now.


(MadMaximus) #6

if you post your e-mail address, i’ll send you a zip file containing a map and script of a wall that is dynamitable.


(DAbell) #7

Thanks maximus it will give me something to compare it with, its abell_david@hotmail.com

Additionally i was messing around last night and i now get this error message coming up within ET

G-Script_ScriptParse(), Error Line 19):
‘}’ expected, end of script found.

A new one on me but i think i’m getting closer its now reading my script but my script is wrong somehow at the line specified but i have the } there so who knows what that means

Please don’t spam me


(DAbell) #8

Thanks for mailing me your test bomb map it worked fine so i scoured through all the workings and compared it with mine. I now can do the dynamite thing, though i am quite ashamed to admit where my problem arose from.

I din’t read the tutorial quite right and when selecting the brushes to link them i was picking the func_explosive one first which screwed it all up. Oh well i’m sorry to of wasted your time, at least this might help some other poor noob like myself to do the dynamite thing.

Now i can get on with designing and building my map, it involves the axis having to prepare a banquet for the fuhrer (constructing tables and so forth) and the allieds have to break in and steal the pudding and escape.

A real winner me thinks.