How to unlock m1919 lmg from the weapon rack?
Posts: 12
Posts: 817 | Subs: 5
All buidlings are located in the category tab 'ebps'. The M1919 LMG weapon rack is: ebps\races\aef\buildings\weapon_racks\aef_weapon_rack_m1919_lmg
It currently has the requirement to select a specific commander. This requirement is located in slotitem_ext\pickup_requirements\2. required_any_in_list\requirements\1. required_player_upgrade.
The upgrade name is the passive of the commander. This can be changed to the weapon rack upgrade from hq: 'upgrade\aef\research\weapon_rack_upgrade_mp'.
The cost is located in slotitem_ext\unlimited_option\item_cost.
Posts: 12
Welcome to the forum!
All buidlings are located in the category tab 'ebps'. The M1919 LMG weapon rack is: ebps\races\aef\buildings\weapon_racks\aef_weapon_rack_m1919_lmg
It currently has the requirement to select a specific commander. This requirement is located in slotitem_ext\pickup_requirements\2. required_any_in_list\requirements\1. required_player_upgrade.
The upgrade name is the passive of the commander. This can be changed to the weapon rack upgrade from hq: 'upgrade\aef\research\weapon_rack_upgrade_mp'.
The cost is located in slotitem_ext\unlimited_option\item_cost.
Wow thanks! That's all the info I needed. I'll post the mod name when I get it up and running
Posts: 12
Welcome to the forum!
All buidlings are located in the category tab 'ebps'. The M1919 LMG weapon rack is: ebps\races\aef\buildings\weapon_racks\aef_weapon_rack_m1919_lmg
It currently has the requirement to select a specific commander. This requirement is located in slotitem_ext\pickup_requirements\2. required_any_in_list\requirements\1. required_player_upgrade.
The upgrade name is the passive of the commander. This can be changed to the weapon rack upgrade from hq: 'upgrade\aef\research\weapon_rack_upgrade_mp'.
The cost is located in slotitem_ext\unlimited_option\item_cost.
Now that I think of it, what do you think would be a good cost to balance out the m1919? The other rack weapons are 60, but the lmg out classes the BAR by a wide margin. So maybe 90?
Posts: 817 | Subs: 5
Now that I think of it, what do you think would be a good cost to balance out the m1919? The other rack weapons are 60, but the lmg out classes the BAR by a wide margin. So maybe 90?
It is hard to think of one number without any playtests. I would start with a smaller increase, perhaps to 75, and observe the result in matches. You can tweak the costs afterwards when it proves to be too strong/weak.
Posts: 12
It is hard to think of one number without any playtests. I would start with a smaller increase, perhaps to 75, and observe the result in matches. You can tweak the costs afterwards when it proves to be too strong/weak.
I played a few matches with 90 muni cost, which seemed a little too restrictive. 80 seems like a spot for not allowing it to be too accessible in early game, without a little bit of sacrifice. Thanks again for the help!
Oh, one more thing. I'd also like to make a mod that adds the pathfinder to the USF barracks as a unit that can built from the start like Rifles and RETs. Are there any guides for that? Or if you know off the top of your head. I'd very much appreciate it! It seems arbitrary that they would tie PF's as commander specific just to diversify their ability sets. IR Pathfinders make more sense as being locked to a commander as their more of a specialized unit like Easy 8's .
Posts: 817 | Subs: 5
I'd also like to make a mod that adds the pathfinder to the USF barracks as a unit that can built from the start like Rifles and RETs.
The current spawn ability is: abilities\aef\modal_ability\dispatch_ability\pathfinders_dispatch
- Empty the list in action_list/start_target_actions
- Set 'initial_recharge': to 'false'
- Add the same 'required_player_upgrade' from the ability to 'requirement_ext'.
- Add the pathfinder squad in spawner_ext/spawn_items. Right mouseclick > add > spawn_item.
Posts: 12
The current spawn ability is: abilities\aef\modal_ability\dispatch_ability\pathfinders_dispatch
Then edit the pathfinder himself: sbps\races\aef\soldiers\pathfinder_squad\pathfinder_squad_mp
- Empty the list in action_list/start_target_actions
- Set 'initial_recharge': to 'false'
And the final step is to add the squad to the hq: ebps\races\aef\buildings\base_building\rifle_command_mp
- Add the same 'required_player_upgrade' from the ability to 'requirement_ext'.
- Add the pathfinder squad in spawner_ext/spawn_items. Right mouseclick > add > spawn_item.
Ok. Almost got everything working. One thing I'm having trouble finding is how to change the unit cost (MP)? It seems to default to 240 MP for the 2-3 spot on the UI (same as mortar team above it). The only thing I could find was in ebps/attributes/races/aef/soldiers/pathfinders/pathfinder_recon_mp and then under cost_ext. But in that spot it says man power 60. Which doesn't make sense?
Posts: 817 | Subs: 5
Ok. Almost got everything working. One thing I'm having trouble finding is how to change the unit cost (MP)? The only thing I could find was in ebps/attributes/races/aef/soldiers/pathfinders/pathfinder_recon_mp and then under cost_ext. But in that spot it says man power 60. Which doesn't make sense?
The cost of a squad is the total sum of all entities. Pathfinders have 4 soldiers, 4 x 60 = 240. The call-in ability has its own cost and ignores the cost of entities.
Posts: 12
The cost of a squad is the total sum of all entities. Pathfinders have 4 soldiers, 4 x 60 = 240. The call-in ability has its own cost and ignores the cost of entities.
Ah! That explains it! Thanks again man. You've been an enormous help.
Posts: 12
The cost of a squad is the total sum of all entities. Pathfinders have 4 soldiers, 4 x 60 = 240. The call-in ability has its own cost and ignores the cost of entities.
Oh. I just noticed that the m1919 used to have a suppression ability and a defensive stance ability. Is there a variable that can restore those functionalities ?
Thanks!
Posts: 817 | Subs: 5
Posts: 12
I cannot access the tools atm, but I think you need to remove the required_player_upgrade from 'abilities/aef/toggle_ability/commander_ability/riflemen_defensive: requirement/ext'.
Hmm, looking at the requirements/ext, there's "required squad upgrade" and "required any list", which has 2 items under it that are labeled as required_player_upgrade. I just deleted the the entire "required any list" section. However, I didn't notice any change in-game. Is there a button on the rifle squads UI to activate it?
Posts: 766 | Subs: 2
Hmm, looking at the requirements/ext, there's "required squad upgrade" and "required any list", which has 2 items under it that are labeled as required_player_upgrade. I just deleted the the entire "required any list" section. However, I didn't notice any change in-game. Is there a button on the rifle squads UI to activate it?
It looks like the ability is no longer on the riflemen, but it can be restored. Just add the ability to Riflemen SBPS and adjust the requirements of the ability.
The require squad upgrade (not in the any) is refering to a Riflemen Upgrade from an event from Ardennes Assault and not having it active.
One item from the any is referencing the commander ability in multiplayer. This makes it so say an ally drop a 1919 and another USF player picks it up. This player can NOT use the ability if they do not have the commander active as well. If you want this ability non doctrinal, delete this.
The other one in the any references the Mechanized commander from Ardennes Assault, who has access to 1919s. This makes a scripted 1919 Riflemen does not have the ability unless it is the mechanized commander. If you want this ability non doctrinal, delete this as well. This is why usually Ostheer and Soviets have separate single player and MP, multiplayer. Theater uses both... Hence why some things are totally imbalanced to near impossibility now.
the requirements determine weather something is can be selected or shown.
example: Ostheer's Battlephase 1 allows grenadiers to upgrade with a LMG 42
some upgrades hide if you select different upgrade such as flamers and minesweepers.
An observe hiding is USF Buildings. You may notice it looks like an officer but in actuality it is an upgrade. Upon completion the is an reinforcement action to summon the office. Once the upgrade is complete it has a requirement action for itself.
is_present: FALSE Meaning you do not have it. Alternatively you could set it to true and the requirement inside of a not.
reason: display so once it does become present (true) this upgrade is no longer displayed
The same officer squad this has a requirement of player upgrade as well.
is_present: TRUE
reason: usage and display so once it does become researched the will display and able to be used
if you want it displayed but not usable, set the reason to usage
required any list: think this as a or statement. For example: in order for Soviets T3, they require one of T2 or T1. All means both.
required squad upgrade (SBPS upgrade), entity upgrade (EBPS), player upgrade (when an upgrade in the UPGRADE tab's owner_type is set to player). For example, conscripts molotov upgrade.
Sorry if this not exactly coherent but the gist of is that the ability or upgrade must on the squad/entity. This will allows them to use the ability. Then, you use requirement to only enable the ability later on or to disable it earlier/later on.
Posts: 12
It looks like the ability is no longer on the riflemen, but it can be restored. Just add the ability to Riflemen SBPS and adjust the requirements of the ability.
The require squad upgrade (not in the any) is refering to a Riflemen Upgrade from an event from Ardennes Assault and not having it active.
One item from the any is referencing the commander ability in multiplayer. This makes it so say an ally drop a 1919 and another USF player picks it up. This player can NOT use the ability if they do not have the commander active as well. If you want this ability non doctrinal, delete this.
The other one in the any references the Mechanized commander from Ardennes Assault, who has access to 1919s. This makes a scripted 1919 Riflemen does not have the ability unless it is the mechanized commander. If you want this ability non doctrinal, delete this as well. This is why usually Ostheer and Soviets have separate single player and MP, multiplayer. Theater uses both... Hence why some things are totally imbalanced to near impossibility now.
the requirements determine weather something is can be selected or shown.
example: Ostheer's Battlephase 1 allows grenadiers to upgrade with a LMG 42
some upgrades hide if you select different upgrade such as flamers and minesweepers.
An observe hiding is USF Buildings. You may notice it looks like an officer but in actuality it is an upgrade. Upon completion the is an reinforcement action to summon the office. Once the upgrade is complete it has a requirement action for itself.
is_present: FALSE Meaning you do not have it. Alternatively you could set it to true and the requirement inside of a not.
reason: display so once it does become present (true) this upgrade is no longer displayed
The same officer squad this has a requirement of player upgrade as well.
is_present: TRUE
reason: usage and display so once it does become researched the will display and able to be used
if you want it displayed but not usable, set the reason to usage
required any list: think this as a or statement. For example: in order for Soviets T3, they require one of T2 or T1. All means both.
required squad upgrade (SBPS upgrade), entity upgrade (EBPS), player upgrade (when an upgrade in the UPGRADE tab's owner_type is set to player). For example, conscripts molotov upgrade.
Sorry if this not exactly coherent but the gist of is that the ability or upgrade must on the squad/entity. This will allows them to use the ability. Then, you use requirement to only enable the ability later on or to disable it earlier/later on.
Hmm, I'll have to tinker around a bit. Could I just copy the "Hit the dirt" ability and change some of the params? Also, something much simpler. What do I need to tweak to bring back suppression to the m1919 lmg. I have no idea what the original supression/supressed variables were on it before it was patched out. Were they the same as the 50 cal? And is there a bool or ability i need to activate to make it a weapon that can suppress?
thanks again!
Posts: 817 | Subs: 5
What do I need to tweak to bring back suppression to the m1919 lmg. I have no idea what the original supression/supressed variables were on it before it was patched out. Were they the same as the 50 cal? And is there a bool or ability i need to activate to make it a weapon that can suppress?
Suppression is a numeric value, located in weapon/suppresion/amount. I cannot recover the original values sadly.
Posts: 12
Suppression is a numeric value, located in weapon/suppresion/amount. I cannot recover the original values sadly.
So I copied the amount that the 50 cal has but that didn't cause the suppression effect to activate. I had to add a target table to the lmg and set infantry as a target. The 50 cal has a supression multiplier in this category set at 100, but it seems a little too strong on the lmg. I'm going to try adjusting the stat a little bit or maybe lower the damage output.
Livestreams
78 | |||||
45 | |||||
15 | |||||
5 | |||||
4 | |||||
0 | |||||
192 | |||||
11 | |||||
5 | |||||
5 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.600215.736+15
- 3.34957.860+14
- 4.1107614.643+8
- 5.305114.728+1
- 6.916405.693-2
- 7.273108.717+24
- 8.722440.621+4
- 9.261137.656+2
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger