Sins of a Solar Empire : Real-Time Strategy. Unrivalled Scale.
© 2003-2013 Ironclad Games Corporation Vancouver, BC. All rights reserved.
© 2006-2013 Stardock Entertainment

Rebellion: How do I add a new race?

(seems quite different then Trinity)

By on September 9, 2012 4:17:23 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

theColonel26

Join Date 09/2012
0

I am trying to add a new race in Rebellion, with no luck. I copied the PlayerTechRebel.entity and renamed it "PlayerSing.entity".

I changed the line raceNameStringID "IDS_PLAYERRACENAME_TECHREBEL" in PlayerSing to raceNameStringID "IDS_PLAYERRACENAME_SING"

I added these two lines to the English.str file

Code: javascript
  1. StringInfo
  2.     ID "IDSPlayerAINameSing0"
  3.     Value "Sing AI"
  4. StringInfo
  5.     ID "IDS_PLAYERRACENAME_SING"
  6.     Value "Singularis"   

 

The mod is enabled but when I go to select a race for a new game the new race isn't there just the old ones.

 

Assistance would be much appreciated

9 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 4:53:57 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

You need to alter RaceSelectDialog.window and replace the entry the TEC Rebels have there with the one for your new race, otherwise it won't appear as a selectable race.  The alternative method is to make a copy of PlayerSetup.window for your mod with the "useRaceSelectDialog" entry set to FALSE, and that should use the default pre-Rebellion method of race selection and hopefully your Singularity race will show up there.

Oh, and be sure to add every single new .entity file to entity.manifest or you'll get lots of nasty crash errors.

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 5:07:36 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting SpardaSon21,
The alternative method is to make a copy of PlayerSetup.window for your mod with the "useRaceSelectDialog" entry set to FALSE

I'd recommend this method unless you're also intending to give your race two subfactions. And even then its probably better to start out with this until its more developed.

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 6:02:55 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Thanks guys I'll try it out and report back


ETA: about the manifest: I make a copy and put it in my mod folder right? also since it has a list of all the files in do I need to remove the ones I haven't modded and that aren't in my mod folder?

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 6:16:20 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Sweet it's working now. Thanks Guys I actually like the old way of selecting a race better anyways.

 

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 6:37:41 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting theColonel26,
ETA: about the manifest: I make a copy and put it in my mod folder right? also since it has a list of all the files in do I need to remove the ones I haven't modded and that aren't in my mod folder?

You need your mod's entity.manifest to contain every single .entity file your mod has in its GameInfo folder.  No other .entity files should be listed in it, so feel free to clean it of all references to non-mod .entity files.

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 7:25:05 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting theColonel26,
ETA: about the manifest: I make a copy and put it in my mod folder right? also since it has a list of all the files in do I need to remove the ones I haven't modded and that aren't in my mod folder?

Quoting SpardaSon21,
You need your mod's entity.manifest to contain every single .entity file your mod has in its GameInfo folder. No other .entity files should be listed in it, so feel free to clean it of all references to non-mod .entity files.

No!!!

Your entity.manifest is a list of all entity files you want the game to load. Where these files come from doesn't matter, it could be the base Rebellion files, files in your mod, or files in a totally different mod you expect the user to use at the same time. If you only have files that you modified or added, nothing else from Rebellion will be loaded. So unless you are doing a total conversion, you typically start with the default entity.manifest and add any files you add to it. If you are modifying existing files you have no need to change the entity.manifest.

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 7:37:18 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

That sounds like a backwards use of entity.manifest.  I'm not saying it isn't true, just that I always thought entity.manifest was the file that let mod files stack by loading entity files from each mod using their own entity.manifest files.

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 7:40:58 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting SpardaSon21,
That sounds like a backwards use of entity.manifest. I'm not saying it isn't true, just that I always thought entity.manifest was the file that let mod files stack by loading entity files from each mod using their own entity.manifest files.

You'd think they would have done it that way, but no. It might have made total conversions impossible though, as you'd have no way to disable loading the vanilla files. If you are stacking mods, whichever entity.manifest file is at the top of the mod order must contain all the files that will be used by all the enabled mods.

Reason for Karma (Optional)
Successfully updated karma reason!
September 9, 2012 11:13:41 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

lol yeah i figured most of that out when I couldn't get the game to load. I had like 50k errors. so I added them back. 

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108435  walnut2   Server Load Time: 00:00:00.0000062   Page Render Time: