Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Nord Wind Offline
#1 Posted : Friday, February 14, 2020 10:21:38 AM(UTC)
Nord Wind
Private
Joined: 2/14/2020(UTC)
Posts: 2

Hello. I know absolutely nothing about modification. But, I need to find out how to add a faction to the game (if it is already present in the mod, but is not in the list of selecting factions in the game).

Which lines do I need to look for in the mod's BIG files?

Thank you in advance.

P.S. we are Talking about Peace Mission Mod (2019).
Sponsor
Zero Hour Mad Map Maker Offline
#2 Posted : Friday, February 14, 2020 11:43:36 AM(UTC)
Zero Hour Mad Map Maker
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 12/27/2013(UTC)
Posts: 693
Canada
Location: Tails's World

Thanks: 179 times
Was thanked: 145 time(s) in 121 post(s)
I do have this link to give you, it's about adding a new General/faction.

I see playertemplate.ini is where the faction is added according to this tutorial. Have a look at it! ^^

http://www.cnclabs.com/f..._Make-a-new-General.aspx
Ready for Anything! --- C&C Labs Staff , Maps Staff , Moderator
Nord Wind Offline
#3 Posted : Friday, February 14, 2020 2:57:23 PM(UTC)
Nord Wind
Private
Joined: 2/14/2020(UTC)
Posts: 2

Originally Posted by: Zero Hour Mad Map Maker Go to Quoted Post
I do have this link to give you, it's about adding a new General/faction.

I see playertemplate.ini is where the faction is added according to this tutorial. Have a look at it! ^^

http://www.cnclabs.com/f..._Make-a-new-General.aspx


It says (for example, about Sweden, which is present in the fashion, but is not in the list of choosing factions, as I wrote earlier) this (and it does not differ from the factions that can be selected in the game):

PlayerTemplate FactionSweden
Side = Sweden
BaseSide = USA
PlayableSide = Yes
StartMoney = 0
PreferredColor = R:20 G:20 B:20
IntrinsicSciences = SCIENCE_CHINA
PurchaseScienceCommandSetRank1 = SCIENCE_CHINA_CommandSetRank1
PurchaseScienceCommandSetRank3 = SCIENCE_CHINA_CommandSetRank3
PurchaseScienceCommandSetRank8 = SCIENCE_CHINA_CommandSetRank8
SpecialPowerShortcutCommandSet = SpecialPowerShortcutChina
SpecialPowerShortcutWinName = GenPowersShortcutBarChina.wnd
SpecialPowerShortcutButtonCount = 11 ;10
DisplayName = INI:FactionSweden
StartingBuilding = SwedenCommandCenter
StartingUnit0 = SwedenVehicleDozer
ScoreScreenImage = China_ScoreScreen
LoadScreenImage = SNFactionLogoPage_China
LoadScreenMusic = Load_Sweden
ScoreScreenMusic = Score_USA
;HeadWaterMark = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
FlagWaterMark = WatermarkChina
EnabledImage = SSObserverChina
BeaconName = MultiplayerBeacon
SideIconImage = SideIconImageSWD
GeneralImage = China_Tank
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
MedallionRegular = TankGeneral_slvr
MedallionHilite = TankGeneral_blue
MedallionSelect = TankGeneral_orng
End

For comparison in the same file and the same line, but about the Japan (which can be selected in the game):

PlayerTemplate FactionJapan
Side = Japan
BaseSide = USA
PlayableSide = Yes
StartMoney = 0
PreferredColor = R:50 G:215 B:230
IntrinsicSciences = SCIENCE_GLA
PurchaseScienceCommandSetRank1 = Chem_SCIENCE_GLA_CommandSetRank1
PurchaseScienceCommandSetRank3 = Chem_SCIENCE_GLA_CommandSetRank3
PurchaseScienceCommandSetRank8 = Chem_SCIENCE_GLA_CommandSetRank8
SpecialPowerShortcutCommandSet = Chem_SpecialPowerShortcutGLA
SpecialPowerShortcutWinName = GenPowersShortcutBarGLA.wnd
SpecialPowerShortcutButtonCount = 11 ;10
DisplayName = INI:FactionJapan
StartingBuilding = JapanCommandCenter
StartingUnit0 = JapanVehicleDozer
ScoreScreenImage = GLA_ScoreScreen
LoadScreenImage = SUFactionLogoPage_GLA
LoadScreenMusic = Load_Japan
ScoreScreenMusic = Score_JPA
;HeadWaterMark = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
FlagWaterMark = WatermarkGLA
EnabledImage = SSObserverGLA
BeaconName = MultiplayerBeacon
SideIconImage = SideIconImageJAP
GeneralImage = GLA_Toxin
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_Pos1
Features = GUI:BioFeatures_Pos1
MedallionRegular = ToxinGeneral_slvr
MedallionHilite = ToxinGeneral_blue
MedallionSelect = ToxinGeneral_orng
End

What do I need to edit and where? (I apologize for the clumsiness of my questions, but I have never done this before, but I want to learn)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.6.1 | YAF © 2003-2020, Yet Another Forum.NET
This page was generated in 0.625 seconds.