Author Topic: Some questions about the Freespace2 Engine  (Read 2773 times)

0 Members and 1 Guest are viewing this topic.

Some questions about the Freespace2 Engine
I'm in the process now of re-writing the mission/table files to remove a few problems with the FS1 campaign, does anyone know:

1. Is there a way to determine your current map position in FSOpen 3.6.9?
2. Is there a way to determine your current heading in retail FS1?  OR, is there a way to covert Pitch/Bearing/Heading information into the rotation information used for ship placement? (this is for correct sun positioning)
3. What exactly is involved in successfully ending the FS2 campaign?  Currently it is possible to re-play the last mission after finishing it.  I suspect it has to do with the supernova event, but I would like to avoid adding one to the FS1 campaign if possible.

 
Re: Some questions about the Freespace2 Engine
Also, I can't believe I didn't notice this one before:

4. The AI seems to follow waypoints at nearly twice the speed in FS2 as in FS1.  In sm1-08, the freighters move at 23 in FS1 and 40 in FS2, meaning the HOL ambush never has time to happen.  Has anyone else been able to fix this?

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Some questions about the Freespace2 Engine
Ask Goober5000

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Some questions about the Freespace2 Engine
This is due to changes in the docking behavior in FS2.  In FS1 being docked to a ship slows you down, but in FS2 it doesn't.  The solution is to either use cap-waypoint-speed or the docking option in ai_profiles.tbl.

 
Re: Some questions about the Freespace2 Engine
Excellent, I see quite a few useful things there, including an option for slowing down secondary dumbfire missiles.  So where is ai_profiles.tbl?  I can't find it in FSPort .vp or in mv_core.vp, and there doesn't seem to be any documentation as to the correct settings for FS1 retail.

  

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: Some questions about the Freespace2 Engine
Excellent, I see quite a few useful things there, including an option for slowing down secondary dumbfire missiles.  So where is ai_profiles.tbl?  I can't find it in FSPort .vp or in mv_core.vp, and there doesn't seem to be any documentation as to the correct settings for FS1 retail.

You have to make it yourself, IIRC.

http://www.hard-light.net/wiki/index.php/Ai_profiles.tbl

And especially:
http://www.hard-light.net/wiki/index.php/Ai_profiles.tbl#.24ignore_lower_bound_for_minimum_speed_of_docked_ship:
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.