is something wrong here, on this constructing obj.?


(=LK3=GHOSTMAN) #1

I am having a hard time with obj…

I made this construction and it seems not to be working

I am guessing it is something little or in the building itsself.

here are some screenshots kind of explaining

http://ghostman.dreamhosters.com/dyno.PNG
http://ghostman.dreamhosters.com/dyno2.PNG
http://ghostman.dreamhosters.com/dyno3.PNG
http://ghostman.dreamhosters.com/dyno4.PNG

here is the pk3:
http://ghostman.dreamhosters.com/obtest.pk3

I am pretty sure the scripting for this is correct, but just in case…

fence
{
spawn
{
wait 200
constructible_class 2
constructible_constructxpbonus 1
constructible_destructxpbonus 1
}
setup
{
setstate fence invisible
setstate fence_material default
}
built final
{
setstate fence default
setstate fence_material invisible
}
decayed final
{
trigger self setup
}
death
{
trigger self setup
wm_announce “The fence has been destroyed!”
}
}

I also need a code for my 2 other obj, but their dyno obj…

2nd is I need to know WHAT TO DO TO MAKE IT SO THEIR ONLY DESTROYED BY DYNO ONLY… hehe


(Shaderman) #2

The files in your pk3 have a .txt ending which is wrong. It should be obtest.script instead of obtest.script.txt for example :slight_smile:

This should be done with constructible_class 3.

Constructibles are explained very well in the LDR.


(=LK3=GHOSTMAN) #3

hehe : D -_-’ back to the drawing board…

I guess I will try my best, I really dont know what to do next though, ughh it seems scripting but, I guess I should work on the 2 machines first, I think they’ll work if I make them a script file, and somehow find a way to mak eit destroyed by dyno…dangit, this is sending me in a circle…