sticky grenades

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Mainframe
Warrant Officer
Posts: 125
Joined: Tue May 13, 2003 9:41 pm
Location: Detroit, MI
Contact:

sticky grenades

Post by Mainframe »

how would one go about doing this ...... making the grenades stickto the walls and ground ???? i tried searching for this ... no luck . im sure some one has done it .... any help is appreciated :D
User avatar
carduchi
Lance Corporal
Posts: 22
Joined: Wed Jan 07, 2004 5:14 am
Contact:

Post by carduchi »

It has something to do with the bounce. I just cant find the right script for it. I will keep looking.Where is it? Somebody Help!
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

first place i would look is the shaders for the grenades.
Image
User avatar
carduchi
Lance Corporal
Posts: 22
Joined: Wed Jan 07, 2004 5:14 am
Contact:

Post by carduchi »

nobody :(
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

i wouldn't look at any .shader files, they're just something for the skins... not what you want,

look at pak0/models/weapons/m2frag_grenade_base.txt
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
Cheetohs
Brigadier General
Posts: 569
Joined: Sun Jan 04, 2004 6:01 am
Location: Minnesota
Contact:

Post by Cheetohs »

Actually, the bounce attributes are here:
pak3 > Models > Projectiles > M2FragGrenade_base.tik (steilhandgranate_base.tik)

should give you this:
explosionmodel models/fx/M2FGrenadeExplosion.tik
bouncetouch
bouncesound grenade_bounce_soft
bouncesound_metal grenade_bounce_metal
bouncesound_hard grenade_bounce_hard
bouncesound_water grenade_bounce_water
most are the sounds, but i believe you change the 'bouncetouch'.

Good luck, modding grenades, IMO, is a lot harder because they have so many damned files!
.:c|H|EE|TO|H|s|:.
Image
Need a thorough map tester? Shine the Cheetohs signal!
Post Reply