Jump to content


Photo

Help with some horde-adjusting


  • Please log in to reply
1 reply to this topic

#1 LaDainian

LaDainian
  • Members
  • 11 posts

Posted 11 November 2007 - 09:29 PM

I've added a new faction, Noldor, and I've modified the Noldor warriors for this faction. I've changed the size of each horde like this:

Behavior = HordeContain ModuleTag_HordeContain
		ObjectStatusOfContained 	= 
		InitialPayload 			= NoldorWarrior 12
		Slots 				= 12
		PassengerFilter 		= NONE +INFANTRY
		ShowPips 			= No
		ThisFormationIsTheMainFormation = Yes		; Used to determine which armorset to use (and anything else we want!)
		RandomOffset 			= X:0 Y:0

		MeleeBehavior = Amoeba
		End

	; Positions for 6
		RankInfo = RankNumber:1 UnitType:NoldorWarrior 	Position:X:50 Y:7.5		Position:X:50 Y:-7.5		Position:X:50 Y:25		Position:X:50 Y:-25		Position:X:50 Y:42.5		Position:X:50 Y:-42.5
		RankInfo = RankNumber:2 UnitType:NoldorWarrior 	Position:X:70 Y:7.5		Position:X:70 Y:-7.5		Position:X:70 Y:25		Position:X:70 Y:-25		Position:X:70 Y:42.5		Position:X:70 Y:-42.5
	;RankInfo = RankNumber:3 UnitType:NoldorWarrior Position:X:30 Y:0 Leader 1 0	Position:X:30 Y:20 Leader 1 1	Position:X:30 Y:-20 Leader 1 2	Position:X:30 Y:40 Leader 1 3	Position:X:30 Y:-40 Leader 1 4
		
		RanksToReleaseWhenAttacking = 1 2 
	End

This works fine. But when I change the InitialPayload to "NoldorWarriorNoldor 12" (which is an exact copy of the original Noldor warrior except it requires less command points) the Noldor warriors don't appear as a horde when build in-game but as 12 individual units. How do I fix this?

#2 Phil

Phil

    Force Majeure

  • Network Leaders
  • 7,976 posts
  • Location:Switzerland
  • Projects:Revora, C&C:Online
  •  Thought Police
  • Division:Revora
  • Job:Network Leader
  • Donated
  • Association

Posted 11 November 2007 - 11:25 PM

You'll have to adjust UnitType:NoldorWarrior in the RankInfos to UnitType:NoldorWarriorNoldor aswell.

revorapresident.jpg
My Political Compass

Sieben Elefanten hatte Herr Dschin
Und da war dann noch der achte.
Sieben waren wild und der achte war zahm
Und der achte war's, der sie bewachte.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users