AWESOME explosions

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
CorporalPunishment
Sergeant
Posts: 62
Joined: Mon May 19, 2003 5:25 am

AWESOME explosions

Post by CorporalPunishment »

I have been tweaking a weapon that has a custom shell tik.

Generates a nice explosion, a bit like grenade but bigger and badder.

The question is: How does the game handle the different texture types.

For example when a nade goes off in water it makes a nice splash.

I have made a grass explosion which is a bit like the sand explosions on Omaha but I am not sure how the game triggers it.

Does anyone of the smart cookies here know?
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

the ones in omaha are scripted- the explosion tikis are preset, its not automatic.
User avatar
CorporalPunishment
Sergeant
Posts: 62
Joined: Mon May 19, 2003 5:25 am

Bzzzz

Post by CorporalPunishment »

Correct, the explosions in Omaha are scripted.

What I want to know is how come the grenade explodes with a splash when in water but not on land.

A water shader has a surfaceparm water, so can I create a new surfaceparm? Is that possible?
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

2015 made a lot of "water or else" classes. for example, theres a .tik class that makes a sprite disappear when it leaves water. i don't think you can create new surfaceparms :( .
User avatar
CorporalPunishment
Sergeant
Posts: 62
Joined: Mon May 19, 2003 5:25 am

?

Post by CorporalPunishment »

I think you may be wrong about that.

There are FX tiks that handle bullet hits on various
surface types, metal, wood, water.

I was of the understanding that there is bullet or grenade impact
types but for various textures.

I wanted to create a new one called LAND that uses a custom tik when hit by grenade.

So it's probably not possible but every time I say that, some smart cookie comes along with a fix

Anyone?????
Post Reply