Guest book

Pages: 1 2 3 4 5 ... 42 43 44 45 46 [47] 48 49 50 51 52 ... 188 189 190 191 192
13.07.2015 01:25 Dmitriy
and GMG OCSW also break grenades without animatsii..V weapon_events there is a line for this:

"" "
if objects.get_attribute (weapon_id, "typeid") == "SET_M_79":
fx_object_id = random.choice ([fx_explosion])
system.start_effect (
startx = location [0], starty = location [1], startz = location [2]
dirx = location_normal [0], diry = location_normal [1], dirz = location_normal [2]
parameter = fx_object_id)
sounds.play_3d_sound ("grenade_explo_frag", location [0], location [1], location [2])
else:
if objects.get_attribute (weapon_id, "typeid") == "SET_M_16_M203_UNDERGUN":
fx_object_id = random.choice ([fx_explosion])
system.start_effect (
startx = location [0], starty = location [1], startz = location [2]
dirx = location_normal [0], diry = location_normal [1], dirz = location_normal [2]
parameter = fx_object_id)
sounds.play_3d_sound ("grenade_explo_frag", location [0], location [1], location [2])
else:
if objects.get_attribute (weapon_id, "typeid") == "SET_AK_74_BG_15_UNDERGUN":
fx_object_id = random.choice ([fx_explosion])
system.start_effect (
startx = location [0], starty = location [1], startz = location [2]
dirx = location_normal [0], diry = location_normal [1], dirz = location_normal [2]
parameter = fx_object_id)
sounds.play_3d_sound ("grenade_explo_frag", location [0], location [1], location [2])
else:
if objects.get_attribute (weapon_id, "weapon_type") in ["leicht", "schwer", "sniper"]:
if hit:
sounds.play_3d_sound (random.choice (flesh_wound_sounds), location [0], location [1], location [2])
else:
sounds.play_3d_sound (random.choice (hit_sounds), location [0], location [1], location [2])
system.start_effect (
startx = location [0], starty = location [1], startz = location [2]
dirx = location_normal [0], diry = location_normal [1], dirz = location_normal [2]
parameter = [FX_BULLET_HIT, 0,0,0.25])

def do_explosives_dam (pShooter, pWeapon):
"" "Calculates and distributes the area damage for bombs.

Parameters:
        pShooter - Id of the char using the weapon.
        pWeapon - Id of the weapon.
"" "
only need to add the correct OICW, GMG OCSW to existing
Guest, answer to: Dmitriy
You probably forgot tabs, so you could not.

Hold: https://yadi.sk/d/sTzEpzKghqEw8
Attention! Only Derfflinger 7.4
Guest, answer to: Dmitriy
You do what editing py-files? I recommend Notepad ++
Dmitriy, answer to: Guest
Thanks a good program to add it all happened
12.07.2015 02:25 Dmitriy
Another hitch: M4A1 rifle with M203 situation - out of ammunition at the M203 grenade launcher, and you can not switch back to the M4A1 (of course the game says that there are no suitable ammunition for grenade launcher)
The possibilities this be fixed? For example, to just automatically switch to the M4A1 with the consumption of the M203 ammunition?
Guest, answer to: Dmitriy
Pause the game, select a weapon and switch shooting modes.

You fix my set?
Dmitriy, answer to: Guest
Try to put your upgrade.
Not enough More fixes for the grenade launcher at OICW, tell me which line to add this weapon_events
Guest, answer to: Dmitriy
And OICW what's wrong? Sound like a shot there.
Dmitriy, answer to: Guest
gap grenades on the ground fired from grenade launcher, you need to add to weapon_events like M203, M-79, BG-15.
Cam tried fails.
Guest, answer to: Dmitriy
Do not OICW grenades 40mm, and much smaller caliber. By the way, OCSW also prevents the explosion.
Development by Sergey A.Zhukov 2007-2012