AdrianeMapMaker
6 years ago
fix the playertemplate then its possible
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Rusa Kambangan
6 years ago

fix the playertemplate then its possible

Originally Posted by: adrianemapmaker 



I don't know what's wrong with it. The only thing missing seems to be the sciences.

Release Crash at Sun Sep 01 13:03:31 2019
; Reason Error parsing INI file 'Data\INI\PlayerTemplate.ini' (Line: 'PlayerTemplate FactionRussiaAirborneGeneral ')


Last error:


Current stack:



This is the latest crash report. Does this mean I can't name my new faction?
AdrianeMapMaker
6 years ago
why not show us your code
...
the last your remember changed on the playertemplate.ini
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Rusa Kambangan
6 years ago

PlayerTemplate FactionRussiaAirborneGeneral
Side = RussiaAirborneGeneral
BaseSide = Russia
PlayableSide = Yes
StartMoney = 0
PreferredColor = R:0 G:255 B:255
IntrinsicSciences = SCIENCE_Russia
PurchaseScienceCommandSetRank1 = Airborne_SCIENCE_Russia_CommandSetRank1
PurchaseScienceCommandSetRank3 = Airborne_SCIENCE_Russia_CommandSetRank3
PurchaseScienceCommandSetRank8 = Airborne_SCIENCE_Russia_CommandSetRank8
SpecialPowerShortcutCommandSet = Airborne_SpecialPowerShortcutRussia
SpecialPowerShortcutWinName = GenPowersShortcutBarRussia.wnd
SpecialPowerShortcutButtonCount = 10
DisplayName = INI:FactionRussiaAirborneGeneral
StartingBuilding = RussiaCommandCenter
StartingUnit0 = RussiaVehicleDozer
ScoreScreenImage = MutiPlayer_ScoreScreen
LoadScreenImage = Mp_Load
LoadScreenMusic = Load_USA
ScoreScreenMusic = Score_USA
;HeadWaterMark = SCTempSelectPortrait ; don't use unless we add a "generalshead for non selected generals
FlagWaterMark = WatermarkRussia
EnabledImage = SSObserverRussia
BeaconName = MultiplayerBeacon
SideIconImage = GameinfoRussia
GeneralImage = Russia_Airborne
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_Pos12
Features = GUI:BioFeatures_Pos12
MedallionRegular = AirborneGeneral_slvr
MedallionHilite = AirborneGeneral_blue
MedallionSelect = AirborneGeneral_orng
End



Here it is. I purposely chose US music because I haven't gotten around porting Russian music.
AdrianeMapMaker
6 years ago
had you check if all of those science are exisiting? or had you check for misspelled words

A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




AdrianeMapMaker
6 years ago
had you check if all of those science are exisiting? or had you check for misspelled words

A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Rusa Kambangan
6 years ago
Sorry for the delay, got college to do.

had you check if all of those science are exisiting? or had you check for misspelled words

Originally Posted by: adrianemapmaker 



That's my problem, I'm trying to create a science for her but I didn't want to add anything yet. After a few thoughts though, now I want to add emergency repair since everyone has that. I read in the INI that those are common to all factions, so do I have to do anything to add all three levels of emergency repair or are they automatically added?
AdrianeMapMaker
6 years ago
emergency repairs dont have restrictions(PrerequisiteSciences) only rank3 so you can just add them anywhere you like


Science SCIENCE_GPSScrambler
  PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank5 
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:GPSScrambler
  Description = CONTROLBAR:ToolTipScienceGPSScrambler
End

;this means that the gps scrambler science requires player to be gla and rank5
;  PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank5 
;End

A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Rusa Kambangan
6 years ago

emergency repairs dont have restrictions(PrerequisiteSciences) only rank3 so you can just add them anywhere you like


Science SCIENCE_GPSScrambler
  PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank5 
  SciencePurchasePointCost = 1
  IsGrantable = Yes
  DisplayName = SCIENCE:GPSScrambler
  Description = CONTROLBAR:ToolTipScienceGPSScrambler
End

;this means that the gps scrambler science requires player to be gla and rank5
;  PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank5 
;End

Originally Posted by: adrianemapmaker 



Apparently, I can't.

Screenshot (53).png

Click to View Image32 View(s)

AdrianeMapMaker
6 years ago
It's says duplicate science it means you copy pasted the whole science code and add it to something .. you must have a unique science name
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Rusa Kambangan
6 years ago

It's says duplicate science it means you copy pasted the whole science code and add it to something .. you must have a unique science name

Originally Posted by: adrianemapmaker 



But I don't want to change anything, I just want to give my new general emergency repair.
Rusa Kambangan
Users browsing this topic