Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline General Brown  
#1 Posted : Wednesday, May 19, 2021 4:26:54 AM(UTC)
General Brown
Private
Joined: 1/10/2020(UTC)
Posts: 14

G'day,
Anybody know how to make a group of 2 different units in 1 .ini file?
Eg: Javelin group, Sniper group.
Cheer's General Brown.Smile
Sponsor
Offline Iprahim9112  
#2 Posted : Friday, May 21, 2021 3:39:56 PM(UTC)
Iprahim9112
Private
Joined: 5/4/2021(UTC)
Posts: 5

Hey, so I guess you want to create a group like angry mob?
I tried to make a ranger squad with a leader by copying SpawnBehavior from angry mob to a duplicated ranger named it rangerleader and then copied MobMemberSlavedUpdate from angry mob members to another duplicated ranger named it ranger2
so then I could spawn rangerleader and he'd spawn with a group of ranger2 that follows rangerleader around and can be transported and enter garrison but the only problem is that when rangerleader dies all ranger2 dies as well
so I figured I should just make the squad exactly like angry mob (with an invisible leader) but the problem is that they cannot be transported or enter garrison and I just abandoned the whole thing when I figured how to spawn multiple infantry units like redguard when I found QuantityModifier under Behavior = ProductionUpdate in china barracks

Quote:

Behavior = ProductionUpdate ModuleTag_539
QuantityModifier = ChinaInfantryRedguard 2
End
Behavior = QueueProductionExitUpdate ModuleTag_540
UnitCreatePoint = X: 0.0 Y: -25.0 Z:0.0
NaturalRallyPoint = X: 36.0 Y: -25.0 Z:0.0 ; NaturalRallyPointX must always match GeometryMajorRadius! -ML
ExitDelay = 300 ; Mainly for the multiple produced Red Guard. Make them come out one at a time.
End
Offline Angelo Garcia  
#3 Posted : Tuesday, May 25, 2021 3:13:04 AM(UTC)
Angelo Garcia
Private
Joined: 12/18/2020(UTC)
Posts: 4

Originally Posted by: Iprahim9112 Go to Quoted Post
Hey, so I guess you want to create a group like angry mob?
I tried to make a ranger squad with a leader by copying SpawnBehavior from angry mob to a duplicated ranger named it rangerleader and then copied MobMemberSlavedUpdate from angry mob members to another duplicated ranger named it ranger2
so then I could spawn rangerleader and he'd spawn with a group of ranger2 that follows rangerleader around and can be transported and enter garrison but the only problem is that when rangerleader dies all ranger2 dies as well
so I figured I should just make the squad exactly like angry mob (with an invisible leader) but the problem is that they cannot be transported or enter garrison and I just abandoned the whole thing when I figured how to spawn multiple infantry units like redguard when I found QuantityModifier under Behavior = ProductionUpdate in china barracks

Quote:

Behavior = ProductionUpdate ModuleTag_539
QuantityModifier = ChinaInfantryRedguard 2
End
Behavior = QueueProductionExitUpdate ModuleTag_540
UnitCreatePoint = X: 0.0 Y: -25.0 Z:0.0
NaturalRallyPoint = X: 36.0 Y: -25.0 Z:0.0 ; NaturalRallyPointX must always match GeometryMajorRadius! -ML
ExitDelay = 300 ; Mainly for the multiple produced Red Guard. Make them come out one at a time.
End



Hello mate. In what ini. Folder?
Offline General Brown  
#4 Posted : Tuesday, May 25, 2021 9:49:02 AM(UTC)
General Brown
Private
Joined: 1/10/2020(UTC)
Posts: 14

G'day,
I mean like a number 1 and number 2, where the number 2 helps number 1 out with his weapon system.
Not 2 of the same soldier.
Cheer's General Brown.Smile
Offline Iprahim9112  
#5 Posted : Tuesday, May 25, 2021 10:20:33 AM(UTC)
Iprahim9112
Private
Joined: 5/4/2021(UTC)
Posts: 5

Originally Posted by: General Brown Go to Quoted Post
G'day,
I mean like a number 1 and number 2, where the number 2 helps number 1 out with his weapon system.
Not 2 of the same soldier.
Cheer's General Brown.Smile


you can replace the slaved ranger2 with any other unit, missile defender for example
you'd have a ranger leading missile defender

and the leader could be anyone else, you can even do this with vehicles!


Originally Posted by: Angelo Garcia Go to Quoted Post
Hello mate. In what ini. Folder?



"Command and Conquer Generals Zero Hour\Data\INI\Object"
any ini file which contain the units you want, for example if you want to create ranger group, then use units from AmericaInfantry.ini and place the new units in the same file

Behavior = SpawnBehavior and Behavior = QueueProductionExitUpdate modules are under Object GLAInfantryAngryMobNexus
and Behavior = MobMemberSlavedUpdate module is under Object GLAInfantryAngryMobPistol01
in GLAInfantry.ini

Offline Angelo Garcia  
#6 Posted : Wednesday, May 26, 2021 6:05:36 AM(UTC)
Angelo Garcia
Private
Joined: 12/18/2020(UTC)
Posts: 4

Originally Posted by: Iprahim9112 Go to Quoted Post
Originally Posted by: General Brown Go to Quoted Post
G'day,
I mean like a number 1 and number 2, where the number 2 helps number 1 out with his weapon system.
Not 2 of the same soldier.
Cheer's General Brown.Smile


you can replace the slaved ranger2 with any other unit, missile defender for example
you'd have a ranger leading missile defender


One last question mate. Do you know how to add a turret to marauder tank?
and the leader could be anyone else, you can even do this with vehicles!


Originally Posted by: Angelo Garcia Go to Quoted Post
Hello mate. In what ini. Folder?



"Command and Conquer Generals Zero Hour\Data\INI\Object"
any ini file which contain the units you want, for example if you want to create ranger group, then use units from AmericaInfantry.ini and place the new units in the same file

Behavior = SpawnBehavior and Behavior = QueueProductionExitUpdate modules are under Object GLAInfantryAngryMobNexus
and Behavior = MobMemberSlavedUpdate module is under Object GLAInfantryAngryMobPistol01
in GLAInfantry.ini



Offline Angelo Garcia  
#7 Posted : Wednesday, May 26, 2021 6:08:38 AM(UTC)
Angelo Garcia
Private
Joined: 12/18/2020(UTC)
Posts: 4

Sorry i made mistake. Thanks for the help mate. One last question. How do you add turret to marauder?
Offline beng  
#8 Posted : Saturday, November 6, 2021 5:21:13 AM(UTC)
beng
Captain
Joined: 4/8/2009(UTC)
Posts: 57
Location: In a house

Thanks: 5 times
Was thanked: 5 time(s) in 3 post(s)
Originally Posted by: General Brown Go to Quoted Post
G'day,
Anybody know how to make a group of 2 different units in 1 .ini file?
Eg: Javelin group, Sniper group.
Cheer's General Brown.Smile


Either have one unit slaved to the other as a drone - like how america vehicles have drones following them, or use the angry mob nexus method and make an angry mob with your 2 units.
Users browsing this topic
Guest
Similar Topics
Help on editing factionunit.ini (Generals: Modding)
by xleonq 11/22/2016 4:17:33 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.