Spaceboy
  • Spaceboy
  • 50.25% (Neutral)
  • Captain Topic Starter
13 years ago
hello everyone :)

i try to mod zh

i modded infantry and now i wanna crate a new faction from the modded inf and add the old inf gen to the game. All working old inf works 100% my new faction (called EuropeGeneral) works to.
but i have still some problems

1: the resolution is ma bit pity and i don't understand whats wrong i will ad a screenshot
i just cloned the inf gen part of the controlbarscheme and the player template and renamed it to EuropeGeneral.
the code from the conrolbarscheme.ini

ControlBarScheme ChinaInfantryGeneral8x6
ScreenCreationRes X:800 Y:600
Side EuropeGeneral
QueueButtonImage SCBigButton
RightHUDImage SNLogo
CommandBarBorderColor R:90 G:125 B:2 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

[img]null[/img]


2 : i have the usa music in background but i want the chinas music how i can change this??

3 : if i select the army it says Missing:Side EuropeGeneral, how i get only EuropeGeneral?

4 : how i set a picture for the load screen?

Edit : 1 is done i need help for the other 3 :)


sry i dont know how to upload the shot here, i try to do it later
shot_2012-05-13_17-55-21.jpg

Click to View Image15 View(s)

Sponsor
precision_bomber
13 years ago
2. I think there is code entry for that at PlayerTemplate on what set of Music plays... I don't remember to code, just check.

3. That's usually when you haven't registered a string to the .csf file.
Go get the .csf editor and add a new string that Matches the string demanded.

4. Again, I think is in PlayerTemplate. But I'm not too sure... So just check.
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
Spaceboy
  • Spaceboy
  • 50.25% (Neutral)
  • Captain Topic Starter
13 years ago
2 & 4

i just copied the code from the inf gen.
I only changed fachtionname & side.

Thats my code .....

PlayerTemplate FactionEuropeGeneral
Side = EuropeGeneral
BaseSide = China
PlayableSide = Yes
StartMoney = 0
;PreferredColor = R:0 G:0 B:255
PreferredColor = R:255 G:0 B:0
IntrinsicSciences = SCIENCE_CHINA SCIENCE_AMERICA SCIENCE_GLA
PurchaseScienceCommandSetRank1 = Europe_SCIENCE_CHINA_CommandSetRank1
PurchaseScienceCommandSetRank3 = Europe_SCIENCE_CHINA_CommandSetRank3
PurchaseScienceCommandSetRank8 = Europe_SCIENCE_CHINA_CommandSetRank8
SpecialPowerShortcutCommandSet = Europe_SpecialPowerShortcutChina
SpecialPowerShortcutWinName = GenPowersShortcutBarChina.wnd
SpecialPowerShortcutButtonCount = 12
DisplayName = INI:FactionEuropeGeneral
StartingBuilding = Europe_ChinaCommandCenter
StartingUnit0 = Europe_ChinaVehicleDozer
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 = GameinfoCHINA
GeneralImage = China_Infantry
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_Pos7
Features = GUI:BioFeatures_Pos7
MedallionRegular = InfantryGeneral_slvr
MedallionHilite = InfantryGeneral_blue
MedallionSelect = InfantryGeneral_orng
End


3: witch data i should edit?
Annihilationzh
13 years ago
1) You also need to change this, "ChinaInfantryGeneral8x6" in the first line. I don't remember if there's anything else that needs changing.

2) Music is determined by the AI, which requires editing SkirmishScripts.scb in worldbuilder.

3) Generals.str file, by Jordan  Makes things much, much easier, and less buggy, than a csf file.

4) ChallengeMode.ini, I think. Can't remember.
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.
Spaceboy
  • Spaceboy
  • 50.25% (Neutral)
  • Captain Topic Starter
13 years ago
1 & 4 working now

2) i didn´t use the WB often can you explain me how i do this
3) thats an english version, is this avaliable in german ?

Edit:
Im still thinking about once:
My new faction (copied from inf gen) has usa music.
If the music dependent from skirmishscripts.scb why i have any kind of music.
Why i dont have no music. I don´t wanna create new music only use existing material.
is there no way to do this in the ini´s, my computer crashes if i load the data.
Annihilationzh
13 years ago
2) Open up a skirmish map in world builder, go into scripts, uncheck auto verify, then click import scripts, then navigate to the skirmishscripts.scb, then look for the music scripts (which often end up in the most random place).

3) Sorry. I guess you're stuck with a csf editor. Although you could try making your own STR file with any extra strings you need. The game should, hopefully, read both the csf file and the str file.

My new faction (copied from inf gen) has usa music.
If the music dependent from skirmishscripts.scb why i have any kind of music.


The US is default.
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.
Spaceboy
  • Spaceboy
  • 50.25% (Neutral)
  • Captain Topic Starter
13 years ago
the string is done too
only the music.. is there any tutorial how i can to it ?? :(

Edit:

fund this
http://www.cnchq.de/index.php?content=downloads&dl_id=789 

scripts sorted

its all done thanks for help 🙂