Login

russian armor

lee enfield scope

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

Posts: 24


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: 495 | Subs: 3

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: 24


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: 495 | Subs: 3

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: 24


Guaa works thanks for your help
1 user is browsing this thread: 1 guest
1v1 Map Unveil Event VonIvan vs Brosras

Ladders Top 10

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

Replay highlight

VS
  • Oberkommando West flag N1cko
  • Oberkommando West flag Scotch1
  • Soviets flag Frosty
  • Soviets flag Beatricks Swire
uploaded by Frost

Board Info

171 users are online: 4 members and 167 guests
ShadowLinkX37, Younanaq90, DevM, Grining Cat
190 posts in the last 24h
1197 posts in the last week
5396 posts in the last month
Registered members: 68480
Welcome our newest member, glass531sc
Most online: 918 users on 27 Oct 2019, 01:03 AM