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

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline adamstrange  
#1 Posted : Thursday, October 8, 2020 6:44:21 PM(UTC)
adamstrange
Private
Joined: 9/26/2004(UTC)
Posts: 42
Location: USA

When buildings and some units die, they spawn infantry.

Where is the code that changes the amount of spawned units because I can't find it.
Thanks
Strange...as wonderful as it may be,I'm still...up here...floating...and no one even seems to notice.
Sponsor
Offline UTD^Force  
#2 Posted : Friday, October 9, 2020 12:51:59 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
From factionbuilding.ini and objectcreationlist.ini:

Code:

Factionbuilding.ini:

  Behavior                  = CreateObjectDie ModuleTag_09
    CreationList       = OCL_AmericanRangerDebris02 ;the object creation list
    ExemptStatus       = UNDER_CONSTRUCTION ; so that it doesn't spawn rangers if it is destroyed while under construction
  End


Objectcreationlist.ini:

ObjectCreationList OCL_AmericanRangerDebris02
  CreateObject
    ObjectNames = AmericaInfantryRanger ;what objects to spawn
    IgnorePrimaryObstacle = Yes
    Disposition = SEND_IT_OUT
    DispositionIntensity = 4
    Count = 2 ;number of units to spawn
    RequiresLivePlayer = Yes
  End
End




[TOPIC MOVED]
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Users browsing this topic
Guest
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.