medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
okay i didn't know if i should create a new topic or use my old 1 but any waise
im creating a new general (i want to keep the boss general and not edit it) so far i got the objects for it but it wont work i have edited the playertemplate so it looks like

PlayerTemplate FactionUSAAmericaGeneral
Side = USAAmericaGeneral
BaseSide = USA
PlayableSide = Yes
StartMoney = 0
PreferredColor = R:0 G:0 B:255
IntrinsicSciences = SCIENCE_AMERICA
PurchaseScienceCommandSetRank1 = Boss_SCIENCE_AMERICA_CommandSetRank1
PurchaseScienceCommandSetRank3 = Boss_SCIENCE_AMERICA_CommandSetRank3
PurchaseScienceCommandSetRank8 = Boss_SCIENCE_AMERICA_CommandSetRank8
SpecialPowerShortcutCommandSet = Boss_SpecialPowerShortcutUSA
SpecialPowerShortcutWinName = GenPowersShortcutBarUS.wnd
SpecialPowerShortcutButtonCount = 10
DisplayName = INI:FactionUSAAmericaGeneral
StartingBuilding = USA_AmericaCommandCenter
StartingUnit0 = USA_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

and the challengemode so it looks like


GeneralPersona12
PlayerTemplate = FactionUSAAmericaGeneral
StartsEnabled = yes
BioNameString = GUI:BioNameEntry_Pos9
BioDOBString = GUI:BioDOBEntry_Pos9
BioBirthplaceString = GUI:BioBirthplaceEntry_Pos9
BioStrategyString = GUI:BioStrategyEntry_Pos9
BioRankString = GUI:BioRankEntry_Pos9
BioBranchString = GUI:BioBranchEntry_Pos9
BioClassNumberString = GUI:BioClassNumber_Pos9
BioPortraitSmall = PNBossGen_S
BioPortraitLarge = PNBossGen
PortraitMovieLeftName = PortraitBossGenLeft
PortraitMovieRightName = PortraitBossGenRight
DefeatedImage = PNBossGen_L
VictoriousImage = PNBossGen_W
DefeatedString = GUI:BioDefeatedEntry_Pos9
VictoriousString = GUI:BioVictoriousEntry_Pos9
PreviewSound = Taunts_GCAnnouncer11
SelectionSound = none
TauntSound1 =Taunts_ChinaBoss105
TauntSound2 =Taunts_ChinaBoss106
TauntSound3 =Taunts_ChinaBoss107
WinSound =Taunts_ChinaBoss108
LossSound =Taunts_ChinaBoss109
NameSound = Taunts_GCAnnouncer22
Campaign = unimplemented
END

END
witch i didn't know what to do on it so i did my best i also have commandset, commandbutton, and the objects called "USAAmericaGeneral" if it matters.
do i need anything else? IS the above correct? I might of just misspelled something in the objects, and also in objects do vehicles have to say vehicles EX: AmericaVehicleDozer
Sponsor
Annihilationzh
16 years ago

so far i got the objects for it but it wont work i have edited the playertemplate so it looks like

Do you see the problem with what you've said here?

You didn't say how it isn't working. Is the game crashing at startup? Is the general not showing up on the selection screen? Is the game crashing when you start playing as this general?

I didn't see any noticeable problems with the code. But in some places you used the prefix Boss_ instead of USA_. Did you use these in the correct places in CommandSet.ini?

I might of just misspelled something in the objects, and also in objects do vehicles have to say vehicles EX: AmericaVehicleDozer


You could call it Bob if you want to. It's just a name.
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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
okay its crashing on start up and i was just using the boss general cuase i didn't know wat to put there.
the error says something like "serious error this can be cuased by many things to over heating to viruses" or something like that
Annihilationzh
16 years ago
Does world builder or releasecrashinfo come up with any errors?
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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
Yes, but its all because of the boss genernal i edited earlier but it still works when i play Generals ZH just with the boss general so thats not the problem
Annihilationzh
16 years ago
That doesn't make sense.

Does the game crash on startup? If yes, then releasecrashinfo.txt will contain the data about that crash. It will not contain info about another crash.

Anyway, I missed this the first time around, you should replace GeneralPersona10 or GeneralPersona11 in ChallengeMode.ini, not create GeneralPersona12. There is a limit.
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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
Okay sorry im not very clear but when you start up world builder i get an error that looks like The picture down there....

the game crashes on start up and it looks like is down there also...

And i changed my ChallengeMode Like you said and it looks like this now.

GeneralPersona10
PlayerTemplate = FactionUSAAmericaGeneral
StartsEnabled = yes
BioNameString = GUI:BioNameEntry_Pos9
BioDOBString = GUI:BioDOBEntry_Pos9
BioBirthplaceString = GUI:BioBirthplaceEntry_Pos9
BioStrategyString = GUI:BioStrategyEntry_Pos9
BioRankString = GUI:BioRankEntry_Pos9
BioBranchString = GUI:BioBranchEntry_Pos9
BioClassNumberString = GUI:BioClassNumber_Pos9
BioPortraitSmall = PNBossGen_S
BioPortraitLarge = PNBossGen
PortraitMovieLeftName = PortraitBossGenLeft
PortraitMovieRightName = PortraitBossGenRight
DefeatedImage = PNBossGen_L
VictoriousImage = PNBossGen_W
DefeatedString = GUI:BioDefeatedEntry_Pos9
VictoriousString = GUI:BioVictoriousEntry_Pos9
PreviewSound = Taunts_GCAnnouncer11
SelectionSound = none
TauntSound1 =Taunts_ChinaBoss105
TauntSound2 =Taunts_ChinaBoss106
TauntSound3 =Taunts_ChinaBoss107
WinSound =Taunts_ChinaBoss108
LossSound =Taunts_ChinaBoss109
NameSound = Taunts_GCAnnouncer22
Campaign = unimplemented
END


sorry i didn't know how to show them on the post   ZH errors.bmp (306kb) downloaded 8 time(s).   ZH worldbuilder errors.bmp (1,762kb) downloaded 7 time(s).
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
Okay I got the Game to start now and it says "MISSING Side:USA" Instead of Just USA and when i try to play as him it just exits the game and shows me that ZH error above.

When i open worldbuilder it Shows the errors below   ZH worldbuilder errors.bmp (1,537kb) downloaded 15 time(s).
Annihilationzh
16 years ago
First of all, fix those errors.

Change ModuleTag_22 in the Boss's command center to something else. I've never known it cause a crash, but it stops WB complaining.

Once you've done that, check again to see if the general crashes when you play (I'm expecting it will, but just to be sure). Try changing the starting unit & building for your general to another faction's. See if the general works. Then switch the starting dozer back, see if the general works. Then switch the command center back, see if the general works. Just trial & error until you find out what is causing the crash.

When it displays "MISSING" it means that you haven't created an entry in generals.csf for it. It won't cause a crash, and you can fix that with a csf editor:
http://www.generalsmaps.net/download_generalsutil.php?downloadname=csfeditor 
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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
Okay thanks Now I got it working😁 but a few bugs
1. okay i dont know why but the power bar is normal but the green line showing the power level is big.
2. the star promotion think where you buy general promotions isn't there that might because i don't have the promotions in my in my command set INI. I will try that in a little bit and get back to you.
3. how do you add that generals.csf back in do I add it INI or what?
4. how do i add a pic. for the generals loading screen?





Okay i just tried # 2 and i didnt work. It shows the Rank 1 and Rank 3 etc.
but the rest is see through
Annihilationzh
16 years ago
The vast majority of your problems could be cured by creating an entry in ControlBarScheme.ini for your general.

3. When you extract the generals.csf file from EnglishZH.big, you put it in Data\English (or whichever language).

4. The picture goes in Art\Textures\ & you need to create an entry for it in MappedImages and assign it in challengemode.ini IIRC.
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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
okay how do i create a controlbarscheme.ini for my general

And im trying to edit the usa command center and add its own sign on it.
i have looked all over the internet and i dont know how to extract, then edit, the save as new, and but back in.

i found one, it sayed download gmax & renx then add something so it adds a button so you can upload w3d's but it wont work.


ps: thanks for all the help i wouldn't been able to do this with out you. 😁
Annihilationzh
16 years ago
Go into ControlBarScheme.ini & copy:

ControlBarScheme America8x6
  ScreenCreationRes X:800 Y:600
  Side America
...
...
...
End

Then change the copy to to:

ControlBarScheme USAAmericaGeneral8x6
  ScreenCreationRes X:800 Y:600
  Side USAAmericaGeneral
...
...
...
End

As for the texture, I don't know. I'm not a modeller.
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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
okay i found controlbarscheme and edited wat you said but i cant get it can you help me?
Annihilationzh
16 years ago
Just put this at the bottom of the file.

ControlBarScheme USAAmericaGeneral8x6
  ScreenCreationRes X:800 Y:600
  Side USAAmericaGeneral
  QueueButtonImage SCBigButton
  RightHUDImage SALogo
  CommandBarBorderColor R:0 G:21 B:126 A:255   ;blue
  BuildUpClockColor R:0 G:0 B:0 A:160
  ButtonBorderBuildColor R:67 G:108 B:190 A:255   ;blue
  ButtonBorderActionColor R:1 G:175 B:2 A:255     ;Green
  ButtonBorderUpgradeColor R:208 G:108 B:0 A:255  ;Orange
  ButtonBorderSystemColor R:207 G:195 B:2 A:255   ;yellow
  
  GenBarButtonIn SABarButtonGen2IN
  GenBarButtonOn SABarButtonGen2ON
  
  ToggleButtonUpIn SAMinMaxUH
  ToggleButtonUpOn SAMinMaxU
  ToggleButtonUpPushed SAMinMaxUP

  ToggleButtonDownIn SAMinMaxH
  ToggleButtonDownOn SAMinMax
  ToggleButtonDownPushed SAMinMaxP

  OptionsButtonEnable SAOptions
  OptionsButtonHightlited SAOptionsH
  OptionsButtonPushed SAOptionsP
  
  IdleWorkerButtonEnable SAWorker
  IdleWorkerButtonHightlited SAWorkerH
  IdleWorkerButtonPushed SAWorkerP
  IdleWorkerButtonDisabled SAWorkerI
  BuddyButtonEnable SAChat
  BuddyButtonHightlited SAChatH
  BuddyButtonPushed SAChatP
 
  BeaconButtonEnable SABeacon
  BeaconButtonHightlited SABeaconH
  BeaconButtonPushed SABeaconP
OptionsButtonDisabled SAOptionsI
BuddyButtonDisabled SAChatI
BeaconButtonDisabled SABeaconI

  GeneralButtonEnable SAGeneral
  GeneralButtonHightlited SAGeneralH
  GeneralButtonPushed SAGeneralP
  GeneralButtonDisabled SAGeneralI

  UAttackButtonEnable SAUAttackI
  UAttackButtonHightlited SAUAttackH
  UAttackButtonPushed SAUAttackP

  MinMaxButtonEnable SAMinMax
  MinMaxButtonHightlited SAMinMaxH
  MinMaxButtonPushed SAMinMaxP

  MinMaxUL X:646 Y:432
  MinMaxLR X:718 Y:463
  GeneralUL X:719 Y:432
  GeneralLR X:799 Y:463
  UAttackUL X:140 Y:412
  UAttackLR X:175 Y:430

  OptionsUL X:184 Y:490
  OptionsLR X:220 Y:514
  WorkerUL X:184 Y:516
  WorkerLR X:220 Y:540
  ChatUL X:184 Y:568
  ChatLR X:220 Y:592
  BeaconUL X:184 Y:545
  BeaconLR X:220 Y:566

  PowerBarUL X:260 Y:470
  PowerBarLR X:538 Y:476
  ExpBarForegroundImage SAExpBar
  MoneyUL X:360 Y:438
  MoneyLR X:439 Y:457

  GenArrow USLevelUP
  CommandMarkerImage SAEmptyFrame
  ImagePart
    Position X:0 Y:408
    Size X:800 Y:191
    ImageName InGameUIAmericaBase
    Layer 4 ;; layer means how deep the image will be drawn, it's a number between 0-5 with 0 being on top 
  End
  PowerPurchaseImage GeneralsPowerWindow_American
End

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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
Thank you very much (I had to take out the general after USA for it to work) i have every thing working for now but if you could keep checking this form every once in a while just in case i have another problem.😁
Thanks again!!!
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
Okay a few problems
1. how do i add stuff to the general promotion thing i have done it before but i dont remember
2. im adding the kill crew thing that jerman kell has to the sniper and it wont work its just greyed out.
Annihilationzh
16 years ago
1. It's in CommandSet.ini. Just search for: rebelambush, spectre, artillerybarrage or whatever.

2. Did you give Jarmen Kell's secondary weapon to the sniper? If that doesn't solve it; you'll have to post your code.
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.
medvac020
  • medvac020
  • 71% (Friendly)
  • Private Topic Starter
16 years ago
okay i haven't tryed the sniper but the general powers didn't work
what INI's do you want me to post?
Annihilationzh
16 years ago
The code you need to post is everything that you've changed to give the sniper the vehicle sniping ability.

As for the generals powers, I'm not a mind reader, "didn't work" could mean a lot of things.
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.