I want to change a flamethrower weapon upgrade to instead add one soldier who is holding that flamethrower. Is that possible? (this would be for the sturmpioneer squad).
I look at the grenadier veteran squad leader upgrade (which adds 1 soldier and one rifle). It has 2 actions : slot_item_add (which I understand) and UI decorator action - which I assume changes the graphic on the grenadier squad to note it is now a 5 man unit.
I don't see anything about adding an extra soldier.
When I look at the pioneer veteran squad leader upgrade there isn't even an action!
Adding soldiers and weapons
7 Dec 2019, 12:54 PM
#1

Posts: 57
7 Dec 2019, 17:09 PM
#2


Posts: 817 | Subs: 5
The 'add_to_squad_loadout_action' can be used to add a soldier to an existing squad. This can be located in the upgrade, or in the sbps with a requirement for the upgrade. Both have the same result.
The flamethrower can be set in the combat_ext of the entity which you add. It will spawn on a random entity when you use add_slot_item.
The flamethrower can be set in the combat_ext of the entity which you add. It will spawn on a random entity when you use add_slot_item.
7 Dec 2019, 21:44 PM
#3

Posts: 57
I'll be sad one day if you stop having all the answers.
Is there a weapon upgrade for empty hands?
Is there a weapon upgrade for empty hands?
7 Dec 2019, 21:56 PM
#4


Posts: 817 | Subs: 5
Is there a weapon upgrade for empty hands?
Perhaps the action 'remove_weapon' can achieve that. Can you try that?
7 Dec 2019, 21:58 PM
#5

Posts: 57
Thank you... I saw that but I didn't know if you could use that to force a soldier on spawn to have no weapon. I will give it a shot
7 Dec 2019, 23:12 PM
#6


Posts: 422 | Subs: 2
Thank you... I saw that but I didn't know if you could use that to force a soldier on spawn to have no weapon. I will give it a shot
You could simply remove his weapon from hardpoint_01 under ebps>combat for the soldier you want to add. There's a few intricacies about adding a weapon to him though. Assuming you have an upgrade to add a weapon to him, you need to put give him a requirement_action under ebps>action_apply to add + change a weapon with the requirement being the upgrade.
I swear though if it's weaponless Soviets ala Hollywood you need a history lesson lmao.
8 Dec 2019, 00:46 AM
#7

Posts: 57
No I was thinking about more of a forward spotter idea for the Americans. I didn't want to give him a gun to prevent the temptation that it would be a unit that could assist in a fight. And I didn't want it to be a unit that could sneak up to a sniper and kill them either.
Is it problematic to go about changing the unit icon? I have no clue how to go about doing that. As a standard answer I will say that if it is complicated that's enough to make me rethink the idea and put my ideas to work somewhere else.
Is it problematic to go about changing the unit icon? I have no clue how to go about doing that. As a standard answer I will say that if it is complicated that's enough to make me rethink the idea and put my ideas to work somewhere else.
8 Dec 2019, 00:56 AM
#8


Posts: 422 | Subs: 2
No I was thinking about more of a forward spotter idea for the Americans. I didn't want to give him a gun to prevent the temptation that it would be a unit that could assist in a fight. And I didn't want it to be a unit that could sneak up to a sniper and kill them either.
Is it problematic to go about changing the unit icon? I have no clue how to go about doing that. As a standard answer I will say that if it is complicated that's enough to make me rethink the idea and put my ideas to work somewhere else.
Ah. You might want to give them a dummy weapon (like the minesweeper with a model change).
It's not difficult to change the unit icon. You just need Janne252's asset browser and a image editing tool that supports transparency (Photoshop being the best). eliw00d has some Youtube tutorials on how to add new UI art assets.
11 Dec 2019, 00:13 AM
#9

Posts: 57
It's a new day with a new weapon related problem. Unlike regular CoH2 I'm making the armies very unequal in terms of manpwoer/fuel/etc. In short one army is quantity and one is quality (wonder where I got that idea).
I was wanting to make a HMG function one way when held by germans and another if it is captured by allies (would still be a good unit but not exactly the same). I have a regular mg42 that I cloned that has different stats.
I noticed in ebps for the HMG that I can go to the recrewable extension and under race data I can change the weapon to a diffrent file. Let's say I make a new entry in sbps (cap_hmg) and link that sbps to the race recrew extension.
What all do I need to do to make sure this works so that Axis units picking up the weapon get the mg_42 and Allies units picking it up get the cap_hmg)
1. I need to make a new entry in ebps/ sbps for cap_hmg
2. I need to make a weapon data entry for cap_hmg
3. I need to link the recrew extension for the new weapon to cap_hmg for allies and change the recrew extension for cap_hmg to go back to the mg_42 (for the germans)
4. I need to link the sbps to the new ebps for the cap_hmg (need to re-check the tutorial on that but it should not be a problem).
Is there a step 5-6 that I'm missing?
I was wanting to make a HMG function one way when held by germans and another if it is captured by allies (would still be a good unit but not exactly the same). I have a regular mg42 that I cloned that has different stats.
I noticed in ebps for the HMG that I can go to the recrewable extension and under race data I can change the weapon to a diffrent file. Let's say I make a new entry in sbps (cap_hmg) and link that sbps to the race recrew extension.
What all do I need to do to make sure this works so that Axis units picking up the weapon get the mg_42 and Allies units picking it up get the cap_hmg)
1. I need to make a new entry in ebps/ sbps for cap_hmg
2. I need to make a weapon data entry for cap_hmg
3. I need to link the recrew extension for the new weapon to cap_hmg for allies and change the recrew extension for cap_hmg to go back to the mg_42 (for the germans)
4. I need to link the sbps to the new ebps for the cap_hmg (need to re-check the tutorial on that but it should not be a problem).
Is there a step 5-6 that I'm missing?
PAGES (1)

1 user is browsing this thread:
1 guest
SHOUT IT OUT!



Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
Last Wednesday, 17:00 PM
Last Wednesday, 17:00 PM
Osinyagov: Wow, i remember you from zansi and vali videos, good old memories
Last Wednesday, 16:58 PM
Last Wednesday, 16:58 PM
SupremeStefan: https://steamcommunity.com/sharedfiles/filedetails/?id=3457737797
04 Apr 2025, 12:42 PM
04 Apr 2025, 12:42 PM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus 
02 Apr 2025, 00:16 AM

02 Apr 2025, 00:16 AM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" 
01 Apr 2025, 20:29 PM

01 Apr 2025, 20:29 PM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
01 Apr 2025, 02:36 AM
01 Apr 2025, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
27 Mar 2025, 15:46 PM
27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
27 Mar 2025, 09:34 AM
27 Mar 2025, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals.
27 Mar 2025, 09:32 AM
27 Mar 2025, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point.
27 Mar 2025, 09:30 AM
27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy 
27 Mar 2025, 04:31 AM

27 Mar 2025, 04:31 AM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific.
.
24 Mar 2025, 02:46 AM

24 Mar 2025, 02:46 AM
Livestreams
![]() |
![]() |
![]() |
66 | ||
![]() |
![]() |
![]() |
58 | ||
![]() |
![]() |
![]() |
5 | ||
![]() |
![]() |
![]() |
9 | ||
![]() |
![]() |
![]() |
6 | ||
![]() |
![]() |
![]() |
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.43163.872+9
- 2.59482.879+8
- 3.13544.754+9
- 4.14839.791+7
- 5.286162.638+4
- 6.18151.780+4
- 7.313114.733+9
- 8.14265.686+10
- 9.14059.704+7
- 10.17874.706-1
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
14

Download
1366
Board Info
213 users are online:
213 guests
0 post in the last 24h
2 posts in the last week
49 posts in the last month
2 posts in the last week
49 posts in the last month
Registered members: 53669
Welcome our newest member, Millae15621
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Millae15621
Most online: 2043 users on 29 Oct 2023, 01:04 AM