General FreeSpace > FreeSpace Discussion
Lateral thrusters and glide mod questions
shodan:
Hi,
Is it possible to have lateral thrusters and glide button when playing in
co-op version of FS1/FS:ST/FS2 ?
0rph3u5:
Yes, but you need to edit the ships to have lateral speeds and be glide-enabled.
Additionally, you may have to modify the AI to actually use these features.
Both is actually easily done (the relevant files can be created with Notepad), but once done must be distributed to all players
shodan:
Hi,
Is it possible to create a mod which will make only this change and not perturb anything else ?
As for the ships, I think I should not enable lateral thruster for all ships for instance
The Anubis should have little to no lateral
while the Ulysses and Manticore should have the best lateral thrusters
Is it possible to set the strength of the lateral thrusters ?
Is it different to enable lateral thrusters for player ships versus AI ships ?
Does the AI have to be told to use it on top of the ship itself having it ?
I see there is a mod called "Dimensional Eclipse" which describes itself as a
"high-maneuverability mod, where all fighters have glide/sidethrust/reverse AB, and can move around at around 300m/s."
I will look into that mod's files for clues on how to create the files you speak of.
But by any chance would you have the name, folder structure and file structures for the files I need to create ?
0rph3u5:
Custom mod with limited scope?
Totally doable.Actually there is a system called "modular tables" that was made just for that purpose.
I will get back to with the exact files and wiki entires later, so you can DIY it.
0rph3u5:
Alright, the first file you will need/want is ships.tbl or more precisely a file called {your mod name}-shp.tbm. ships.tbl contains all the statistics of the ships in game/mod which are independent from the model file.
These files can be edited and created in Notepad - though specific readers do exist. To create a file you can start with a normal .txt and just change the file extension.
The difference between the .tbl and .tbm is that the .tbm modifies an existing .tbl file - the last characters behind the hypen in the .tbm file name identify which .tbl is modified. It is highly advisable o use a .tbm file
The .tbm-file has to obey the general syntax of the .tbl but is required to be complete.
Ships.tbl can be found in the data/tables folder of a mod or the .vp with "root" in its name, in case of FS2 retail and FS-Port.
Ships.tbl General Syntax - required:
https://wiki.hard-light.net/index.php/Ships.tbl#General_Format
If you are using a .tbm and just modify existing ships, you need to be aware of the +nocreate parameter. It allows you to modify an existing entry without having to override every line of the entry.
https://wiki.hard-light.net/index.php/Ships.tbl#.2Bnocreate
To add lateral thrust to ships in ships.tbl or -shp.tbm, you want to look for the following lines in each individual ship entry:
$Max Velocity:
https://wiki.hard-light.net/index.php/Ships.tbl#.24Max_Velocity:
$Slide Accel:& $Slide Decel:
https://wiki.hard-light.net/index.php/Ships.tbl#.24Slide_Accel:
These allow you to set the speed and acceleration along the ships axis - X is left/right; Y is up/down; Z is forward (and, technically, reverse but as reverse speed and acceleration a different parameters)
Glide mode has number of special parameters which govern it functionality and limitations:
https://wiki.hard-light.net/index.php/Ships.tbl#.24Glide:
Navigation
[0] Message Index
[#] Next page
Go to full version