in data.dat, how to find out what each sector has event wise

Discuss and distribute tools and methods for modding. Moderator - Grognak
DarkenDragon
Posts: 42
Joined: Sun Sep 16, 2012 1:58 pm

in data.dat, how to find out what each sector has event wise

Postby DarkenDragon » Thu Sep 20, 2012 11:30 am

I've been doing some digging into the data.dat file and wanted to figure out how to tell what sector had which event, and which quests.

at the beginning of each event page, I do notice a list for different types of systems. but I notice some that were missing but I knew they were in that sector. such as the zoltan science station. I couldnt find that in any of the race lists.

or the rock beacon for the crystal quest was not in the rock event list. anyone know where to find this data? is it in the resource.dat file?
SlowerThanLight
Posts: 15
Joined: Sun Sep 16, 2012 11:51 pm

Re: in data.dat, how to find out what each sector has event

Postby SlowerThanLight » Thu Sep 20, 2012 12:34 pm

No, it's all on the data file. The events you are looking for are called ZOLTAN_CREW_STUDY and ROCK_CRYSTAL_BEACON. Zoltan Crew Study shows up in the Engi and Zoltan sector lists, and ROCK_CRYSTAL_BEACON is in the rock home sector. It's easy to find specific events if you can remember a snippet of the flavor text from the game.

That one is unusual in that it doesn't belong to a bigger list the way most events do. Let me show you. Here is the rock home sector set up:

<startEvent>START_BEACON_ROCK</startEvent>
<event name="ROCK_CRYSTAL_BEACON" min="1" max="1"/> <!-- CRYSTAL UNLOCK-->
<event name="ROCK_UNLOCK1" min="1" max="1"/>
<event name="STORE_ROCK" min="2" max="2"/>
<event name="NOTHING_ROCK" min="2" max="3"/>
<event name="DISTRESS_BEACON_ROCK" min="1" max="2"/>
<event name="HOSTILE_ROCK" min="6" max="8"/>
<event name="BOARDERS_ROCK" min="1" max="2"/>
<event name="ITEMS" min="1" max="2"/>
<event name="QUESTS_ROCK" min="0" max="1"/>
<event name="NEUTRAL_ROCK" min="7" max="8"/>

These call lists, not events. If you go looking for NEUTRAL_ROCK (the one on the bottom), you'll find this:

<eventList name="NEUTRAL_ROCK">
<!--<event load="ROCK_NURSERY"/>-->
<event load="ROCK_MANTIS_HUNTER"/>
<event load="ROCK_MANTIS_FREIGHTER"/>
<!--<event load="ROCK_ZOLTAN_HELP"/>-->
<event load="ROCK_ATHIEST"/>
<event load="ROCK_LOOTING"/>
<event load="ROCK_STARSHIP_MINE"/>
<event load="PIRATE_CIVILIAN"/>
<event load="MERCENARY"/>
<event load="FRIENDLY_SLAVER"/>
<event load="ASTEROID_DERELICT_SHIP"/> <!-- CRYSTAL UNLOCK-->
</eventList>

These are specific events that can get picked whenever a beacon is given the NEUTRAL_ROCK eventlist. I believe that FTL just picks one at random from the list.
DarkenDragon
Posts: 42
Joined: Sun Sep 16, 2012 1:58 pm

Re: in data.dat, how to find out what each sector has event

Postby DarkenDragon » Thu Sep 20, 2012 1:26 pm

Ya I found it a few mins after posting. And what I was referring to is the unpacked version of the data.dat file which breaks up the sections into different files. just Hora put itall together now