KauBonBooN
  • KauBonBooN
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
Hi guys
====

new to this forum and his users, i'll try to give my best english, cause i'm german ^^
I just wanna start creating a new general to zero hour, but how?

Is it possible? I have already downloaded the FinalBig Editor, so i can watch all the .ini files inside there.
What files i have to use/modificate to create an extra general additionally to the standard 9?

Example:
========

The new general should be Deathstrike (check my avatar). I heard he should be the commander of the gla forces. I wanna start over with him 😃
Sponsor
Annihilationzh
16 years ago
What exactly do you want death strike to have? If you want all the technology of the GLA, you could try progen:
http://www.deezire.net/forums/downloads.php?do=file&id=9 

That way, it's already done for you.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
KauBonBooN
  • KauBonBooN
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
it don't work on my system. Will i need the english version of the game to run progen?
Yes i want several technology to deathstrike, but i wanna learn how to make a new general...
Annihilationzh
16 years ago
Technically, you only need the ini files, art files & maps to play it. Unless I've forgotten something.

To make a new general, you create an entry in playertemplate.ini for him. Then create his buildings & units in the object folder.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
KauBonBooN
  • KauBonBooN
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
Ok, now if i only change one keyword in a player template (i.e. i had changed that the regular America Side becomes GLA Side) or anything else, the game doesn't start. But, when all will be the same old again, the game can launch. So how can I edit?
Annihilationzh
16 years ago
The American side has code relying on it. I said to create an entry. Alternatively, you can modify an existing general, which would require you to only change the units of that general, not modify playertemplate.ini.

When the game won't start, to find any errors in your code, you have to run world builder, and it'll tell you where the problems are.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
KauBonBooN
  • KauBonBooN
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
you mean an entry like this, don't you?

PlayerTemplate FactionBossGeneral
Side = Boss
BaseSide = China ;Not sure if this is the best choice....(for academy)
PlayableSide = Yes
StartMoney = 0
PreferredColor = R:0 G:255 B:0
IntrinsicSciences = SCIENCE_GLA SCIENCE_AMERICA SCIENCE_CHINA
PurchaseScienceCommandSetRank1 = Boss_SCIENCE_CHINA_CommandSetRank1
PurchaseScienceCommandSetRank3 = Boss_SCIENCE_CHINA_CommandSetRank3
PurchaseScienceCommandSetRank8 = Boss_SCIENCE_CHINA_CommandSetRank8
SpecialPowerShortcutCommandSet = SpecialPowerShortcutBoss
SpecialPowerShortcutWinName = GenPowersShortcutBarChina.wnd
SpecialPowerShortcutButtonCount = 9
DisplayName = INI:FactionBossGeneral
StartingBuilding = Boss_CommandCenter
StartingUnit0 = Boss_VehicleDozer
ScoreScreenImage = China_ScoreScreen
LoadScreenImage = SNFactionLogoPage_China
LoadScreenMusic = Load_China
ScoreScreenMusic = Score_China
;HeadWaterMark = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
FlagWaterMark = WatermarkChina
EnabledImage = SSObserverChina
BeaconName = MultiplayerBeacon
SideIconImage = GameinfoBOSS
OldFaction = No ; This faction was NOT available in the original Generals and should NOT be available if the oldFactionsOnly flag is set
ArmyTooltip = TOOLTIP:BioStrategyLong_Pos9
Features = GUI:BioFeatures_Pos9
End


I already have copyed this template beneath that code. Now, that the deathstrike is already created by progen, i'm going to create a patriot general, who can build all the 3 patriot sites at low budget.

My next step i think would be to start over with something like this?

Player Template FactionPatriotGeneral
Side = America
BaseSide = USA
PlayableSide = Yes
...
...
Annihilationzh
16 years ago
You should stick to the format given. But realise that it is a lot of work to add a new general. Modifying standard America would take far less time, and you could use it in the scenarios.

Still, patriot General would look like this:

PlayerTemplate FactionAmericaPatriotGeneral
Side = AmericaPatriotGeneral
BaseSide = USA
PlayableSide = Yes
StartMoney = 0
PreferredColor = R:0 G:0 B:255
IntrinsicSciences = SCIENCE_AMERICA
PurchaseScienceCommandSetRank1 = Patr_SCIENCE_AMERICA_CommandSetRank1
PurchaseScienceCommandSetRank3 = Patr_SCIENCE_AMERICA_CommandSetRank3
PurchaseScienceCommandSetRank8 = Patr_SCIENCE_AMERICA_CommandSetRank8
SpecialPowerShortcutCommandSet = Patr_SpecialPowerShortcutUSA
SpecialPowerShortcutWinName = GenPowersShortcutBarUS.wnd
SpecialPowerShortcutButtonCount = 11
DisplayName = INI:FactionAmericaPatriotGeneral
StartingBuilding = Patr_AmericaCommandCenter
StartingUnit0 = Patr_AmericaVehicleDozer
ScoreScreenImage = America_ScoreScreen
LoadScreenImage = SAFactionLogoPage_US
LoadScreenMusic = Load_USA
ScoreScreenMusic = Score_USA
;HeadWaterMark = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
FlagWaterMark = WatermarkUSA
EnabledImage = SSObserverUSA
BeaconName = MultiplayerBeacon
SideIconImage = GameinfoAMRCA
GeneralImage = USA_Superweapon
OldFaction = No ; This faction was NOT available in the original Generals and should NOT be available if the oldFactionsOnly flag is set
ArmyTooltip = TOOLTIP:BioStrategyLong_Pos3
Features = GUI:BioFeatures_Pos3
MedallionRegular = SuperWGeneral_slvr
MedallionHilite = SuperWGeneral_blue
MedallionSelect = SuperWGeneral_orng
End

For this to work, CommandSet.ini needs these to be defined:
Patr_SCIENCE_AMERICA_CommandSetRank1
Patr_SCIENCE_AMERICA_CommandSetRank3
Patr_SCIENCE_AMERICA_CommandSetRank8
Patr_SpecialPowerShortcutUSA

Many objects need to be created:
Patr_AmericaCommandCenter
Patr_AmericaVehicleDozer
along with all other buildings & units of the general, and CommandButtons, and CommandSets for all of them.

It will take a while. That's why I recommend modifying an existing general.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
KauBonBooN
  • KauBonBooN
  • 54.5% (Neutral)
  • Private Topic Starter
16 years ago
ooookkayy i thougt so ^^. I figured out, that the game still wouldn't be able to run, when i'm only set in example the quads firing range in weapons.ini to another value. I think, that WorldBuilder can't help me this way, Am I right?
Annihilationzh
16 years ago
World builder checks for any errors, it doesn't check commandsets or commandbuttons though. But it will check the weapon.ini file. So if that is in error, it will tell you.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
beng
  • beng
  • 66.5% (Friendly)
  • Captain
16 years ago
Rather than make a new faction i think it will be much easier to modify an existing one, this is so it will worok in skirmish maps, otherwise you have to edit all the maps scripts to add the new faction which is a real pain.
krit
  • krit
  • 100% (Exalted)
  • Commander in Chief
16 years ago

Rather than make a new faction i think it will be much easier to modify an existing one, this is so it will worok in skirmish maps, otherwise you have to edit all the maps scripts to add the new faction which is a real pain.

beng wrote:




Only applies if you want an AI player for it...
UserPostedImage