But im glad i can help
HAO TO USE FUNC_TANK:
Func_tank is a pretty bad entity. Bad because its soooo egoistic, that it doesnt like when it gets touched ( By other entitys or props or even yourself )
Results in :
- give func_tank, instant crash, because its touching YOU !
- ent_create func_tank at something, like a blastdoor in example, instant crash too!
To avoid that func_tank gets the feeling that its molested by other stuff, make it nonsolid (solid 0)!
The moment it touches something it crashes, so dont wonder it still crashes because you making it nonsolid after you spawned it
The "look in the sky"- tricky mainly tries to avoid any touchy with stuff, because most of the time there is nothing at the sky
Furthermore to say,
Most scripts ( that ppl send me in the last few days) was build up like this:
Code: Select all
spawning Prop
naming prop
parenting prop
wait
spawning Prop
naming prop
parenting prop
wait
spawning Prop
naming prop
parenting prop
wait
and finally func_tank
nameing func_tank
setting values
parenting it
making it nonsolid
So what you do to fix it,
You basically just cut the part out where you spawn and name the func_tank, and place it at the beginning. You dont have to set the keyvalues yet nor any parents, its just some sort of pre-spawn, to avoid any touchy
Make sure to make solid 0 of course
Should look like this afterwards:
Code: Select all
and finally func_tank
nameing func_tank
making it nonsolid
wait
spawning Prop
naming prop
parenting prop
wait
spawning Prop
naming prop
parenting prop
wait
spawning Prop
naming prop
parenting prop
wait
setting values
parenting it
PS: You can prove what i say by simply spawn a func_tank in front (ent_create func_tank) of you, maybe 4-5 steps away, you will notice nothing will happen, but as soon as you walk forward into the entity, booom crash
Greets Blade