Changing fleet.

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
Zobody
Posts: 4
Joined: Wed Jun 29, 2016 3:20 pm

Changing fleet.

Post by Zobody »

So I have been working on a mod, and I have been wanting to replace the rebel fleet ships with auto-ships. Just how exactly do I do that?
User avatar
gentasaurus
Posts: 67
Joined: Mon Jun 27, 2016 1:09 pm

Re: Changing fleet.

Post by gentasaurus »

By rebel fleet ships, do you just mean changing all the enemy ships or changing the background fleet art?
Image Image ImageImage
Zobody
Posts: 4
Joined: Wed Jun 29, 2016 3:20 pm

Re: Changing fleet.

Post by Zobody »

I mean I want to change the actual enemy ships of rebels into my own custom ships. But only in the fleet. Though I might end up replacing all of rebel ships into custom ones.
User avatar
gentasaurus
Posts: 67
Joined: Mon Jun 27, 2016 1:09 pm

Re: Changing fleet.

Post by gentasaurus »

Ah, ok, I can help you with that. It's very easy.
If you check the game's autoBlueprints.xml file, you will see these lists:

Code: Select all

<!----------------------            SHIP LISTS            --------------------->
<blueprintList name="SHPS_REBEL_AND_AUTO">
	<name>AUTO_BASIC</name>
	<name>AUTO_ASSAULT</name>
	<name>REBEL_FAT</name>
	<name>REBEL_SKINNY</name>
</blueprintList>
<blueprintList name="SHIPS_REBEL">
	<name>REBEL_FAT</name>
	<name>REBEL_SKINNY</name>
</blueprintList>
<blueprintList name="SHIPS_REBEL_ELITE">
	<name>REBEL_SKINNY_ELITE</name>
</blueprintList>
These lists are called upon to spawn Rebel ships in the game's events. All you have to do is copy them over to YOUR autoBlueprints.xml.append file and then replace the ship names with your ship names. DON'T CHANGE THE LIST NAMES. They need to stay the same, just replace the list items.
Keep in mind that this could make your mod incompatible with other mods, but seeing as it's an overhaul-type mod, that might not concern you.

If by "fleet" you mean the harder ships that show up if the rebels catch up to you, I believe that you only need the SHIPS_REBEL_ELITE list. You can obviously also add more ships to it depending on how many custom ships you have.

Let me know if that works.
Image Image ImageImage
Zobody
Posts: 4
Joined: Wed Jun 29, 2016 3:20 pm

Re: Changing fleet.

Post by Zobody »

sigh

I am dumb for not noticing those lists. I was searching for such list all over .xml files, but somehow missed it while looking in autoBlueprints.xml. Thanks!
User avatar
gentasaurus
Posts: 67
Joined: Mon Jun 27, 2016 1:09 pm

Re: Changing fleet.

Post by gentasaurus »

No problem, glad your issue is resolved! :)
Image Image ImageImage
Post Reply