• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Can someone explain Encounters_init.c?

Mithridates

Landlubber
Before I start messing with it, if anyone with <i>any</i> knowledge/ insight into what it does and how it does it, please share. (My ultimate goal is to make fleets much smaller, no more than 5 or 6 ships at the very very most and, if so, made up of class 6-4 ships.
 
I've had a quick look through it, but I can't say I quite understand it. Perhaps Pirate_KK can help you? You can try sending him a PM.

I am thinking that the <i>Enc_AddShips(rEnc, "Trade", 2, 3);</i> line defines the maximum number of ships in the encounter: <i>Enc_AddShips(rEnc, "Type", MinNumber, MaxNumber);</i>. Then the <i>Enc_AddClasses(rEnc, 1, 5, 6, 0, 0);</i> probably has something to do with the maximum class of the ships in the encounter, but I don't quite understand how.
 
Back
Top