May you unban me please ☺

Forum rules
- Be sure to read the "Unban Request Form" topic before posting.
- Do not spam here! Guest posts will only be visible after an admin approves them!
User avatar
ßlade
Former Server Admin
Posts: 265
Joined: Fri Aug 06, 2010 2:08 pm

Re: May you unban me please ☺

Post by ßlade »

:o Did func_tank got somehow leaked ? Around 6 ppl asked me in the last 3 days to fix their func_tank.
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
What happens is, that you spawn the props, and even if you set the origin to something else, the script runs that faaaaaast, that the func_tank will spawn at the prop, and since we know it doesnt like to get touched, CRASH !

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
Hope i could make some things clear ^^

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 ;)
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: May you unban me please ☺

Post by Nicdel »

:o Did func_tank got somehow leaked ? Around 6 ppl asked me in the last 3 days to fix their func_tank.
Yap.
Ingame: -[SaD]- Nico

Image