GoaFan77 GoaFan77

Modding Changes Rebellion 1.8 Edition (Updated)

Modding Changes Rebellion 1.8 Edition (Updated)

Hello modders, it's update time again, so to try and help everyone out I'll try to post a list of all modding related changes in the new 1.8 patch. 

 

Structural Changes (requires updating existing files)

Stars: Now have a dlcID line like planets, above the abilities section. As before, "dlcID 204880" is used for items that do not originate from a DLC.

Player Entities: New line "GameEventSound:RandomEventDetected", located above "GameEventSound:CannonUnderConstruction". This will cause the game to crash if you do not add this line. It seems all three races use the same sound effect, so adding GameEventSound:RandomEventDetected "Effect_RandomEventDetected" for all races should suffice.

GalaxyScenarioDef & non-random Galaxy maps: The "player" section at the bottom of both of these file types has a new line that should be added "isMadVasariPlayer" below the line "isOccupationPlayer" Naturally this should be false for all pre-existing players, though if you want the new random events to work in your mod you should copy the MadVasari player to your GalaxyScenarioDef file. 

player
designName "MadVasari"
inGameName "IDSScenarioPlayerNameMadVasari"
overrideRaceName "PhaseLoyalist"
teamIndex -1
startingCredits 0
startingMetal 0
startingCrystal 0
isNormalPlayer FALSE
isRaidingPlayer FALSE
isInsurgentPlayer FALSE
isOccupationPlayer FALSE
isMadVasariPlayer TRUE
themeGroup "PlayerPhase"
themeIndex 15
pictureGroup "PlayerPhase"
pictureIndex 15

 

If you want the new planet and star types to appear you'll of course need to add them to the GSD as well.

SkyBoxProperties.skyboxbackdropdata

New "environmentIlluminationMapName" line right below each "environmentMapName" line. It expects a texture reference, most of the vanilla ones are named things like "skybox02irradiance.dds". Probably has something to do with either the new shaders or stars, may cause a crash if you don't add these lines.

 

New Syntax (New modifiers we can use)


buffInstantActionType

  • "ClearRecordedDamage" - Not yet sure what this does.
  • "ChangePlayerIndexToNeutral" - Apparently we can now have proper neutral objects!
buffEntityModifierType
  • "EnemyCultureSpread" - I guess this is like the CultureSpread one but only effects enemy culture.
targetFilter
  • "EnvoyFrigate" - We can now specifically target envoy frigates.  :grin:
RandomEventDefs.randomeventdefs
  • New file used to define random events.
 
New/Modified Files List
 

All courtesy of ZombiesRus5. See his post and be generous with Karma. ;)
70,120 views 38 replies
Reply #26 Top

Quoting JasonFJ, reply 23
Assert @ D:\projects\SINS\SinsRebellion\main\CodeSource\Engine/DataStructures/FixedArray.h(117)
i >= 0

I have this same error in Sins Plus and it has something to do with either the Ability or Buff that I use on the Ship Graveyard. I haven't figured it out yet either.

Reply #27 Top

Quoting ZombiesRus5, reply 8
New String Entries:

There's also

StringInfo
       StringInfo
        ID "IDS_GAMEMESSAGE_RANDOMEVENTDETECTEDECONOMICUPTURNDOWNTURN"
        Value "The galaxy is undergoing an %s!"
StringInfo
        ID "IDS_GAMEMESSAGE_RANDOMEVENTDETECTEDALLLOCATIONSRANDOMPLAYER"
        Value "A %s heading toward all worlds belonging to %s!"
StringInfo
        ID "IDS_GAMEMESSAGE_RANDOMEVENTDETECTEDCULTURAL"
        Value "A %s is taking place in %s territory!"
StringInfo
        ID "IDS_GAMEMESSAGE_RANDOMEVENTDETECTEDPIRATETITAN"
        Value "A mad Vasari titan is marauding the system!"

Edit: some more random event strings added.

Reply #28 Top

 

Thanks Lavo, I'll check out his tool (that sounds really bad lol). Interestingly, the popup errors only started occurring in v1.8 so there is something that has become more sensitive it seems.

Reply #29 Top

Quoting JasonFJ, reply 28
I'll check out his tool

I'll PM some pictures  :blush:

Reply #30 Top

okay trying to update my custom maps but the player area is different in my galaxy forge is different than mentioned

Reply #32 Top

Quoting JasonFJ, reply 28

 

Thanks Lavo, I'll check out his tool (that sounds really bad lol). Interestingly, the popup errors only started occurring in v1.8 so there is something that has become more sensitive it seems.

Indeed, they seem to have added some more stuff to the error logging. They also added some new commands to the Dev.exe.

Reply #33 Top

Just a question, how can I count the string entries? is there any good program for it?

About other matters, if I´m not wrong, the phenomena DLC adds more files.

Reply #34 Top

Quoting Nomada_Firefox, reply 33
Just a question, how can I count the string entries? is there any good program for it?

I use "Notepad++" and a calculator.

Reply #35 Top

Quoting rjhughes67, reply 34
Just a question, how can I count the string entries? is there any good program for it?

Notepad++

double click the word StringInfo and they should all highlight.

search -> find [ctrl+f] 

make sure whole word and match case are checked

press the count button

Reply #37 Top

Thanks by the answers. 

 

Reply #38 Top

I swear by UltraEdit and Winmerge. I do fire up Notepad when I want a separate window for whatever reason.