When Does the Boss Fight Happen?

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

When Does the Boss Fight Happen?

Post by Vhati »

In sector_data.xml, there's this:

Code: Select all

<!--FINAL -- The sector with the boss -->
<sectorDescription name="FINAL" minSector="7" unique="true">
	<nameList>
		<name>The Last Stand</name>
	</nameList>
	<trackList>
		<track>laststand</track>
	</trackList>
	<startEvent>BOSS_NEUTRAL</startEvent><!-- STUPID, since it's starting you at the "exit" -->
	<event name="STORE" min="1" max="1"/>
	<event name="BOSS_REPAIR_STATION" min="3" max="3"/>
	<event name="BOSS_HOSTILE" min="6" max="6"/>
	<event name="BOSS_NEUTRAL" min="7" max="10"/>
</sectorDescription>
Does minSector apply for this (meaning the fight could be moved to earlier or later sectors)? Im guessing no.

What triggers the hardcoded stuff?
  • Is the name "FINAL" special?
  • Does one of its events kick things off?
  • Or does it happen when you're out of dots on the sector tree?
Mainly I'm wondering what characteristerics are mandatory for a sector have the boss fight, so I can refer to that sector in a mod-agnostic manner. The title "The Last Stand", is obviously editable. But it always "FINAL" or the 8th sector?
Post Reply