Gele -PopZ-er Atzii
Location : In Flanders Fields, Belgium Registered : 2012-06-02 Messages : 1898
| Subject: Flashbang Grenade Sat 04 Aug 2012, 16:06 | |
| Flashbang Grenade (2 slots)
open playermodel god file and add this: - Code:
-
@Weapon "Grenade" { filename="models/weapons/grenade.chr" lighting_level=2 track_to_joint="Bip01 R Gunjoint" track_joint="Root" holster_sound="Holster" unholster_sound="Unholster" instant_autochange=1 @Mode "Primary" { weapon_fire_delay=.78 //auto_reload=1 ammo_count=0 weapon_type="projectile" fire_period=0.6 weapon_ammo_index=8 weapon_projectile="flashgrenade" weapon_projectile_velocity=800 pre_fire_sound="grenade_throw" //ai_min_range=64 ai_max_range=800 }
@Mode "Secondary" { weapon_fire_delay=.78 //auto_reload=1 ammo_count=0 weapon_type="projectile" fire_period=0.6 weapon_ammo_index=8 weapon_projectile="impact_flashgrenade" weapon_projectile_velocity=800 pre_fire_sound="grenade_throw" //ai_min_range=64 ai_max_range=800 } encumbrance=0 // Weapon as pickup settings. add_damage_type_adj="gas,0" add_damage_type_adj="fire,0.15" add_damage_effect="energy|buckshot|pierce|knife|escrima,ExplodingSparksEffect" pickup_spin=1 pickup_bob=1 give_weapon="Grenade" give_ammo_type=7 give_ammo_count=1 sound_pickup="WeaponPickup" hit_points=20 expire_explosion="HandGrenadeExplosion" } |
|