Page 1 of 1

Exploding Barrels

Posted: Sat May 29, 2004 9:02 am
by m4rine
in game where you shoot barrel and it explodes... how would i get that? i have tried func->barrel almost certain it woudn't work without FX or scripting (and i was right), so i have two questions, kinda linked sort-of:

can someone explain to me how the right-click 'fx' works. if i put this in radiant, it wont do anyhting i presume. i need to script right? this goes for water dripping, explosions etc.

also, sorta the same as above, but percifically about the barrel. how would i script / FX a barrel?

cheers,

m4rine

Posted: Sat May 29, 2004 3:36 pm
by Krane
Make your brush a func>barrel and put these key/values:

key:barreltype
value:gas

:wink:

Posted: Sat May 29, 2004 4:09 pm
by m4rine
cheers krane :D

explosions

Posted: Sat May 29, 2004 7:42 pm
by tltrude
The explosion/smoke entities are all different. Some can be set off by putting this line in your script.

$myexplosion anim start

But for some you have to first stop the animation in prespawn.

$myexplosion anim stop // or idle

The animation names can be seen, for an entity, by hitting key N and clicking on the Anim: +- buttons. But, you should also study the tik file of what you want to use--some will say "start on".

By the way, you can download prefab func_barrels from Nemisis' site.
http://users.1st.net/kimberly/Tutorial/prefabs.htm

Posted: Mon May 31, 2004 3:41 pm
by Wilson
I wouldnt use exploding barrels, its a hollywood thing, things dont explode like that from a bullet, maybe gas tho.

Posted: Tue Jun 01, 2004 7:43 pm
by m4rine
the barrels ive got take a few shots to explode... and

1. i think a thin barrel full of fuel would explode ;)

2. its fun to kill groups of soldiers hiding behind the barrels, lot more fun than ur avarage SP killing anyhows :D

Posted: Fri Aug 27, 2004 8:56 pm
by HDL_CinC_Dragon
lol i agree M4rine, to kill a bunch of ppl hiding behind some unstable barrels of gas is quite fun :)

Posted: Fri Aug 27, 2004 9:26 pm
by lizardkid
drag, why are you doing this? let the old posts lie. June 1st and August 27th!!! it doesnt take a genius to figure it out!

Posted: Fri Aug 27, 2004 9:36 pm
by HDL_CinC_Dragon
sry :oops: :oops: :oops: :oops: I dont usually look at post dates. sry again :oops: :oops: :oops: :oops: :oops: :oops:

Posted: Fri Aug 27, 2004 10:23 pm
by lizardkid
oh do you have it set for alphabetized? :wink: gotcha...