How to allow DoW1 style reinforcment?
19 Nov 2016, 03:47 AM
#1

Posts: 1891
How can I have squads be spawned with say 4 members, but have the option of being reinforced up to 10?
19 Nov 2016, 04:13 AM
#2


Posts: 756 | Subs: 8
I'm not aware of a way to do this in the attributes, but you can definitely use SCAR:
The loadoutCount can be set to any number you'd like.
Squad_CreateAndSpawnToward( ScarSquadPBG sbp, Player* player, size_t loadoutCount, ScarPosition pos, ScarPosition toward )
The loadoutCount can be set to any number you'd like.
19 Nov 2016, 04:16 AM
#3

Posts: 1891
okay, ty. is the loadout count the maximum number of models, and for the amount that is spawned out in a squad would I use the squad_loadout.ext in the attrib editor?
19 Nov 2016, 14:56 PM
#4


Posts: 632 | Subs: 1
It might be possible without using SCAR. Clone any squad's "squad_apply_action_ext" and try adding an "add_to_squad_loadout_action" to its "actions", containing the type and number of entities you want to reinforce later.
19 Nov 2016, 15:42 PM
#5


Posts: 756 | Subs: 8
If loadoutCount is set to 0, it uses the default squad loadout. Otherwise, it is the desired number of entities up to the max. In other words, the minimum is 1 and the maximum is n, where n is the total number of entities you specify in the squad loadout.
So, using your example of 4 upgradeable to 10, you would set loadoutCount to 4 and it would show as 4/10, as long as you set the squad_loadout_ext to have 10 entities.
So, using your example of 4 upgradeable to 10, you would set loadoutCount to 4 and it would show as 4/10, as long as you set the squad_loadout_ext to have 10 entities.
PAGES (1)

1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
37 | ||
![]() |
![]() |
![]() |
23 | ||
![]() |
![]() |
![]() |
161 | ||
![]() |
![]() |
![]() |
29 | ||
![]() |
![]() |
![]() |
3 | ||
![]() |
![]() |
![]() |
2 | ||
![]() |
![]() |
![]() |
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.42463.871+2
- 2.300162.649+1
- 3.286110.722-2
- 4.12644.741-1
- 5.312114.732+8
- 6.193100.659+3
- 7.1171650.643+2
- 8.14760.710-2
- 9.705421.626+10
- 10.725443.621-2
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
13

Download
1326
Board Info
562 users are online:
562 guests
1 post in the last 24h
3 posts in the last week
42 posts in the last month
3 posts in the last week
42 posts in the last month
Registered members: 51939
Welcome our newest member, Didjo
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Didjo
Most online: 2043 users on 29 Oct 2023, 01:04 AM