Login

russian armor

Enabling weapon upgrade after building a base structure

9 Apr 2015, 16:50 PM
#1
avatar of sage1337

Posts: 87

I made a deep change and made Volksgrenadiers a core infantry with improved anti-infantry capabilities but removed Panzerschreck. I want to give them an option to upgrade to MG34 LMG, but only after Schwere Panzer HQ is built.
I made an upgrade with proper weapon and added requirement with attributes\upgrade\west_german\passive\building_3, however when I build it the upgrade doesn't unlock, even if I convert every truck. I saw a Panzerschreck upgrade uses same configuration and it works. What am I doing wrong?

Also one more thing, is it possible to make that PTRS is required to set up first before shoot? Something like Riflemen's defensive stance, or just give it 100% chance that soldier using it will go prone, like with MG42 sometimes.
At first I wanted to modify Defensive Stance, but it's complicated and consists of so many things I get lost in it :/
10 Apr 2015, 17:09 PM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Why not just add a required_structure requirement?

You could change some stuff in the weapon itself, or continue studying Defensive Stance and adapt it for your needs.
10 Apr 2015, 20:34 PM
#3
avatar of FaustCostBulletin

Posts: 521

You could try giving PTRS a long aim time and a prone position requirement at behavior_ext for a similar effect but team weapons work quite differently.
12 Apr 2015, 23:53 PM
#4
avatar of sage1337

Posts: 87

jump backJump back to quoted post10 Apr 2015, 17:09 PMeliw00d
Why not just add a required_structure requirement?

Thanks, I didn't see there was such requirement type avialable. Makes everything easier :)

You could try giving PTRS a long aim time and a prone position requirement at behavior_ext for a similar effect

How exactly does one do that?
13 Apr 2015, 18:05 PM
#5
avatar of FaustCostBulletin

Posts: 521


Thanks, I didn't see there was such requirement type avialable. Makes everything easier :)


How exactly does one do that?


They are both in the PTRS weapon file.
16 Apr 2015, 19:05 PM
#6
avatar of sage1337

Posts: 87

There's not behavior_ext category in PTRS file, however I found other options:
wants_prone_firing_option (which I knew) and non_moving_setup
17 Apr 2015, 12:03 PM
#7
avatar of FaustCostBulletin

Posts: 521

There's not behavior_ext category in PTRS file, however I found other options:
wants_prone_firing_option (which I knew) and non_moving_setup


Well, there is behavior, which is what I meant.

wants_prone_firing_option is what you want, set it to true.

Then go to aim and tweak aiming times as you'd like.
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

828 users are online: 828 guests
0 post in the last 24h
8 posts in the last week
34 posts in the last month
Registered members: 49107
Welcome our newest member, Falac851
Most online: 2043 users on 29 Oct 2023, 01:04 AM