book4444
Sergeant
Dear all experienced modder,
I have add firearms in the PW base mod, the players can hear their own gun shot, but cannot hear others.
here is my scripts
["arquebus", "Tanegashima Matchlock", [("japangun",0)], itp_type_musket |itp_merchandise|itp_primary|itp_next_item_as_melee|itp_two_handed|itp_cant_reload_while_moving|itp_cant_use_on_horseback ,itcf_shoot_musket|itcf_carry_spear|itcf_reload_musket,15000 , weight(4)|difficulty(12)|spd_rtng(3 | shoot_speed(250) | thrust_damage(90 ,pierce)|max_ammo(1)|accuracy(99),imodbits_crossbow,
[(ti_on_weapon_attack, [(play_sound,"snd_musket_shot"),(position_move_x, pos1,1),(position_move_y, pos1,149),(particle_system_burst, "psys_bomb_flare", pos1, 1),(position_move_x, pos1,1),(position_move_y, pos1,100),(particle_system_burst, "psys_musket_smoke", pos1, 5)])]],
In addition, firearms proficient now workin, higher firearms skill make gun more accurate but firearms skill doesn't show up in training scene prop windows (like crossbow 14 str, 14 agi, 90 one-handed weapon, 150 crossbow ** but firearm doesn't show up**)
I don't mind firearms skill doesn't show (just give the info-may be it's the cause), but i want others can hear others gunshot. how can i make it correctly, please advice
I have add firearms in the PW base mod, the players can hear their own gun shot, but cannot hear others.
here is my scripts
["arquebus", "Tanegashima Matchlock", [("japangun",0)], itp_type_musket |itp_merchandise|itp_primary|itp_next_item_as_melee|itp_two_handed|itp_cant_reload_while_moving|itp_cant_use_on_horseback ,itcf_shoot_musket|itcf_carry_spear|itcf_reload_musket,15000 , weight(4)|difficulty(12)|spd_rtng(3 | shoot_speed(250) | thrust_damage(90 ,pierce)|max_ammo(1)|accuracy(99),imodbits_crossbow,
[(ti_on_weapon_attack, [(play_sound,"snd_musket_shot"),(position_move_x, pos1,1),(position_move_y, pos1,149),(particle_system_burst, "psys_bomb_flare", pos1, 1),(position_move_x, pos1,1),(position_move_y, pos1,100),(particle_system_burst, "psys_musket_smoke", pos1, 5)])]],
In addition, firearms proficient now workin, higher firearms skill make gun more accurate but firearms skill doesn't show up in training scene prop windows (like crossbow 14 str, 14 agi, 90 one-handed weapon, 150 crossbow ** but firearm doesn't show up**)
I don't mind firearms skill doesn't show (just give the info-may be it's the cause), but i want others can hear others gunshot. how can i make it correctly, please advice