Looking for help making a simple mod

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
KingdomKrafters
Posts: 139
Joined: Sat Oct 28, 2017 8:09 pm

Re: Looking for help making a simple mod

Postby KingdomKrafters » Tue Sep 25, 2018 8:06 pm

Well assuming you know how to take apart the game files and access them, as well as how events are structured, it should be fairly basic. You would want to look in files such as "events.xml", "Newevents.xml", "dlcevents.xml" and "events_(any faction/alien race)"... you'll see a list of events, something like the code below

Code: Select all

<eventList name="HOSTILE_REBEL">
   <event load="REBEL"/>
   <event load="REBEL_AUTO"/>
   <event load="AUTO_ASTEROID"/>
   <event load="AUTO_WARNING"/>
   <event load="SQUAT_WARNING"/>
</eventList>


Thats the code that registers every hostile event in the rebel sectors. You can find it in "events_rebels". To remove an event, all you need to do is delete one of the events from the list. But if you per say want to make it so the rebel sector doesn't use ANY hostile event, then you would want to locate "sector_data.xml". Find the rebel sector, and in the event list you just need to delete the line saying "HOSTILE_REBEL".

I hope that answers you question. If you need more help, just ask and I'll try to respond as soon as possible.
Image