Actually, topic.
I'd like to implement the random spawning (pretty much like Partisans used to do) spawning of squads from the production buildings. For instance:
- German HMG teams randomly spawned with MG-34 or MG-42;
- one of two variants of US Riflemen Squads - with M1 Garand and M1 Carbine - are randomly spawned from the base building;
And so effing on :-))
Does anyone know, how to do this in the current Mod Tools?
Random spawning from the production buildings
27 Sep 2016, 18:12 PM
#1
Posts: 31
27 Sep 2016, 19:16 PM
#2
Posts: 632 | Subs: 1
Partisans were called in with an ability, using a reinforcement action. There were several types of Partisan squads with different loadouts, and one of them would been spawned randomly. That functionality isn't available for individual squad members, though.
What you can do:
- Make a new soldier entity.
- Leave hardpoint 1 empty.
- In action_apply_ext, add a random_action.
- As subactions, use several copies of add_weapon with different weapons.
That would not be possible with team weapons like HMGs, though. No idea how to do that!
What you can do:
- Make a new soldier entity.
- Leave hardpoint 1 empty.
- In action_apply_ext, add a random_action.
- As subactions, use several copies of add_weapon with different weapons.
That would not be possible with team weapons like HMGs, though. No idea how to do that!
27 Sep 2016, 19:26 PM
#3
Posts: 817 | Subs: 5
The US Lieutenant, Captain and Major are abilities when you buy them for the first time. You can make such an ability and use the random_action to choose between different squads.
27 Sep 2016, 20:01 PM
#4
Posts: 31
Partisans were called in with an ability, using a reinforcement action. There were several types of Partisan squads with different loadouts, and one of them would been spawned randomly. That functionality isn't available for individual squad members, though.
What you can do:
- Make a new soldier entity.
- Leave hardpoint 1 empty.
- In action_apply_ext, add a random_action.
- As subactions, use several copies of add_weapon with different weapons.
That would not be possible with team weapons like HMGs, though. No idea how to do that!
I, actually, don't need it for individual squad members. What I need is: for instance, I've got two types of the Riflemen squads: one armed mostly with M! Garand rifles, while another has mostly M! Carbines. And I want them to be spawned randomly, 50/50 or 60/40.
The US Lieutenant, Captain and Major are abilities when you buy them for the first time. You can make such an ability and use the random_action to choose between different squads.
TBA, these are upgrades, not abilities. But kinda yes, they do contain the reinforcement_action.
28 Sep 2016, 16:38 PM
#5
Posts: 165 | Subs: 2
Problem is that the spawner extension on a building points to specific squads, not a randomized container of squads.
Agameanx on the old CoH1 modding forums at relicnews came up with a solution back then that was heavy on SCAR, wherein you would place dummy squads into the spawner, and the SCAR would detect them being bought and replace them with one or more different squads.
Aside from that complex solution, an ability on the building that randomly spawns your squads is the only way.
Agameanx on the old CoH1 modding forums at relicnews came up with a solution back then that was heavy on SCAR, wherein you would place dummy squads into the spawner, and the SCAR would detect them being bought and replace them with one or more different squads.
Aside from that complex solution, an ability on the building that randomly spawns your squads is the only way.
PAGES (1)
1 user is browsing this thread:
1 guest
SHOUT IT OUT!
blvckdream: @Rosbone I submitted a request. Let`s see if they do something lol
Last Saturday, 12:28 PM
Last Saturday, 12:28 PM
Rosbone: If you go thru the process, please mention @aerafield just for kicks
Last Saturday, 10:54 AM
Last Saturday, 10:54 AM
Rosbone: relic stopped banning people. But was rumored to do a ban-wave recently. They just announced this new portal: https://help.relic.com/hc/en-us/sections/36051779792147-Code-of-Conduct-Relic-Account
Last Saturday, 10:53 AM
Last Saturday, 10:53 AM
blvckdream: Obvious map hacker. doesnt even hide it. who can i send the replay?
Last Saturday, 09:25 AM
Last Saturday, 09:25 AM
blvckdream: https://www.coh2.org/ladders/playercard/steamid/76561199369132244
Last Saturday, 09:25 AM
Last Saturday, 09:25 AM
Willy Pete: Do enough people care to even complain? I don't mind the v1 but I've given up caring about balance
Last Friday, 02:36 AM
Last Friday, 02:36 AM
aerafield: "Deploy a devastating V-1 rocket capable of wiping out the opponent's base immediately. Only 9.99$ BUY IT NOW!"
31 Dec 2024, 22:19 PM
31 Dec 2024, 22:19 PM
Lady Xenarra: I am surprised by the lack of screaming that the V-1 will be in the new battle groups.
31 Dec 2024, 14:55 PM
31 Dec 2024, 14:55 PM
donofsandiego: rosbone coming out in the shoutbox was not on my 2024 bingo card
25 Dec 2024, 06:46 AM
25 Dec 2024, 06:46 AM
Rosbone: However, since Relic added kill counts I cannot trash Coh3 anymore. And have subsequentially started to sprout breasts. I am slowly transitioning into a Coh3 enjoyer
23 Dec 2024, 13:43 PM
23 Dec 2024, 13:43 PM
Livestreams
48 | |||||
157 | |||||
11 | |||||
5 | |||||
4 | |||||
1 | |||||
1 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.1103405.731+8
- 3.845.944+25
- 4.842223.791+5
- 5.37259.863+18
- 6.943411.696-1
- 7.280108.722+31
- 8.308114.730+4
- 9.10629.785+7
- 10.277148.652+1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
13
Download
1277
Board Info
275 users are online:
275 guests
0 post in the last 24h
16 posts in the last week
60 posts in the last month
16 posts in the last week
60 posts in the last month
Registered members: 50452
Welcome our newest member, coinfliprun
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, coinfliprun
Most online: 2043 users on 29 Oct 2023, 01:04 AM