what is wrong here??


(kgbdino) #1

what is wrong in this script to make the constructions_materials visible?
the constructible wall is set on start_built

wall
{
	spawn
	{
	wait 200
	constructible_class 3
	constructible_constructxpbonus 20
	constructible_destructxpbonus 25
	setstate wall_materials invisible
	}
	built final
	{
	setstate wall default
	setstate wall_materials invisible
	}
	decayed final
	{
	setstate wall_materials default
	setstate wall invisible
	}
	death
	{
	wm_announce "The main wall has been destroyed!"
	setstate wall_materials default
	setstate wall invisible
	}
}

(Valkyrie_Hrist) #2

does the construction materials clip brush show up??? ie do you run into an invisible box where the construction materials should be? if so then your md3 could have its origin inside your floor brush.

if not that then check that your TOI is pointing to the correct names/objects


(The Wanderer) #3

kgbdino you have started the exact same thread 4 topics down.
Please don’t spam the forum


(kgbdino) #4

i dont use an md3 to make the materials i made them myself with brushes can that be the fault then?


(LaggingTom) #5

add this in the spawn:

setstate wall default

so that it will spawn visible.


(kgbdino) #6

add this in the spawn:

Code:
setstate wall default

so that it will spawn visible.

the wall is visible but when i blow the wall the materials is still invisible
go here to download it so you maybe can figure out whats wrong
http://www.home.no/wow-united/kgb-small-war.zip


(Bondo) #7

wall
{
spawn
{
wait 200
constructible_class 3
constructible_constructxpbonus 20
constructible_destructxpbonus 25
setstate wall_materials default
}
built final
{
setstate wall default
setstate wall_materials invisible
}
decayed final
{
setstate wall_materials default
setstate wall invisible
}
death
{
wm_announce “The main wall has been destroyed!”
setstate wall_materials default
setstate wall invisible
}
}

make sure this is the exact wording of your script, I changed the setstate wall_materials to default instead of invisible from the spawn.