logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,669
Posts: 94,548

Administrators:
DeeZire, Redemption

There are currently 52 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 04-02-2003, 05:08 PM   #1 (permalink)
qis
Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 38
Default Payload and InitialPayload

Why does this work:
Payload = AmericaInfantryRanger 3
Payload = AmericaInfantryMissileDefender 2

I use this in ObjectCreationList.ini

But doesn't this:
InitialPayload = AmericaInfantryRanger 3
InitialPayload = AmericaInfantryMissileDefender 2

I use this in FactionUnit.ini

I'm trying to create a Hummer that contains 3 Rangers and 2 MissileDefenders. The problem is that only the last instance of InitialPayload seems to be "read".

Has anyone any idea how to create a Hummer containing these units?

Thanks in advance
Mzzl, Chris
qis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 07:26 AM   #2 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Manchester England
Posts: 276
Send a message via MSN to Commander-Havoc
Default

Have a look at the code for China's APC...

That comes preloaded with troops it may help you if you use the same code and change it to what you want...


CH...
Commander-Havoc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 07:37 AM   #3 (permalink)
qis
Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 38
Default

In FactionUnit.ini I found this under Object ChinaVehicleTroopCrawler:

Quote:
Behavior = TransportContain ModuleTag_06
Slots = 8
InitialPayload = ChinaInfantryRedguard 8
ScatterNearbyOnExit = No
HealthRegen%PerSec = 10
DamagePercentToUnits = 10%
AllowInsideKindOf = INFANTRY
ExitDelay = 250
NumberOfExitPaths = 3 ; Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
GoAggressiveOnExit = Yes ; AI Will tell people to set their mood to Aggressive on exiting
End
So this doesn't fix my problem :/ since they're only create one kind of Infantry initially (wich is 8 times a ChinaInfantryRedguard). I want to create a Hummer with two kinds of Infantry in it; AmericaInfantryRanger and AmericaInfantryMissileDefender.

Commander-Havoc, Thanks anyway for the suggestion

So... anyone another idea?
Mzzl, Chris
qis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 07:49 AM   #4 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Manchester England
Posts: 276
Send a message via MSN to Commander-Havoc
Default

Your Problem is the game is reading the last initial payload remark.

Try naming them InitialPayLoad1 and IPL2.

See if the game will read it that way.

Or add a second Payload to the Troop crawler and add a different unit to see if it will take the code...


CH...
Commander-Havoc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 08:49 AM   #5 (permalink)
qis
Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 38
Default

Quote:
Originally Posted by Commander-Havoc
Your Problem is the game is reading the last initial payload remark.
I think that's the problem too

Quote:
Originally Posted by Commander-Havoc
Try naming them InitialPayLoad1 and IPL2.
See if the game will read it that way.
It won't even start up :cry:


Just a list of things I've tried:
Quote:
InitialPayload = AmericaInfantryRanger 2
InitailPayload = AmericaInfantryMissileDefender 3
This results in 3 MissleDefenders
Quote:
InitialPayload = AmericaInfantryRanger 2 AmericaInfantryMissileDefender 3
This results in 2 Rangers
Quote:
InitialPayload = AmericaInfantryRanger 2
Payload = AmericaInfantryMissileDefender 3
With this, the game won't even start
Quote:
InitialPayload1 = AmericaInfantryRanger 2
InitailPayload2 = AmericaInfantryMissileDefender 3
With this, the game won't start either
(I've tried it all on the Chinees Troop Crawler too)

Any suggestions?
Mzzl, Chris
qis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 09:39 AM   #6 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Manchester England
Posts: 276
Send a message via MSN to Commander-Havoc
Default

try

InitialPayLoad= AmericanInfantryRanger 2;AmericanInfantryMissileDeffender 3


That might work im not sure...


CH... :tard:
Commander-Havoc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 10:14 AM   #7 (permalink)
qis
Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 38
Default

That doesn't, I'm sure

";" is a comment character, this tells Generls "don't read the rest of this line"

It is used to add some comment to the INI files:

Quote:
Originally Posted by FactionUnit.ini
Behavior = TransportAIUpdate ModuleTag_03
Turret
TurretTurnRate = 180
RecenterTime = 5000 ; how long to wait during idle before recentering
ControlledWeaponSlots = PRIMARY SECONDARY TERTIARY
End
AutoAcquireEnemiesWhenIdle = Yes
End
See the comment after RecenterTime?

Mzzl, Chris
qis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 10:20 AM   #8 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Manchester England
Posts: 276
Send a message via MSN to Commander-Havoc
Default

Try doing it but add a , instead of a ;

If i remember previous CNC games would read the line when a , was placed

For instance American Paradrop in RA2 you could add GI,GGI,Sniper and so on.

Try this an let me know the out come.

I cant try anythin as im at Camp (not summer camp military base where i train recruits) on the computer there but when i get home i'll see if i can stay awake to try some different methods...


CH... :tard:
Commander-Havoc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 10:32 AM   #9 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

Quote:
InitialPayload1 = AmericaInfantryRanger 2
InitailPayload2 = AmericaInfantryMissileDefender 3
Was this the spelling you had ingame, because initail should be initial.
:|
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2003, 10:55 AM   #10 (permalink)
qis
Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 38
Default

Erm... It was Initial, I'm sure
qis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade InitialPayload pillbrain Generals & Zero Hour Editing 13 11-16-2005 09:58 AM
HordeTransportContain/TransportContain with InitialPayload?? ravage LOTR: Battle For Middle Earth I & II Editing 2 02-22-2005 02:03 PM
Combining Garrisoning with InitialPayload Phoib Generals & Zero Hour Editing 0 02-19-2004 06:10 PM


All times are GMT -4. The time now is 06:38 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.