Login

russian armor

lee enfield scope

27 Sep 2019, 08:16 AM
#1
avatar of marius

Posts: 28


good morning someone knows how to put the British sniper weapon lee enfield scope. I tried but the sniper comes out with the empty weapon
27 Sep 2019, 08:29 AM
#2
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

First you need to add the weapon in the .abp:
"..\\..\\weapons\\rifle_lee_enfield\\rifle_lee_enfield",

To apply the scope, add 'animator_set_state' in ebps/action_apply of your sniper:
state_machine_name = enfield_scope
do_action_state_name = on
undo_action_state_name = off
2 Oct 2019, 21:25 PM
#3
avatar of marius

Posts: 28


thank you very much it worked but I have another problem the gun doesn't sound anymore try many things but they don't work
3 Oct 2019, 06:35 AM
#4
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

I don't know the cause of this, but I know a solution :)

In weapon/fire_ext/on_fire_actions:

Add an animator_set_action for the sound:
action_name: aud_act_lee_enfield_sniper_rifle_fire
allies_only: false
duration: 2
fire_and_forget: false
is_terrain_only: false

Add another animator_set_action for the visual:
action_name: fx_lee_enfield_fire
allies_only: false
duration: 2
fire_and_forget: false
is_terrain_only: false
3 Oct 2019, 16:16 PM
#5
avatar of marius

Posts: 28


Guaa works thanks for your help
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

871 users are online: 1 member and 870 guests
Abtik Services
1 post in the last 24h
10 posts in the last week
27 posts in the last month
Registered members: 50004
Welcome our newest member, Abtik Services
Most online: 2043 users on 29 Oct 2023, 01:04 AM