Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

"Set Best Path" - includng Jump Holes

Do you want to start editing Freelancer, but have no clue where to begin? This is the place for you to find things and talk about getting started on Freelancer Modding

Post Mon Apr 11, 2005 10:26 am

"Set Best Path" - includng Jump Holes

Is it possible that when you click "Set Best Path" in your NavMap, that it will set the path also through Jump Holes, not only Gates? Like, the path from California to Texas wouldn't go through NY, but just straight through the JH?
I think its something about shortest_legal_path, shorthest_ilegal_path and systems_shortest_path, but does anyone know what to change there? I havent found it anywhere on the forums.
I have some small experience with modding, I know all the basics, I just want to know what values I need to change.

Post Mon Apr 11, 2005 11:49 am

I don't want to say it's impossible, but nobody has found a way to do it yet. No matter what you put into shortest_legal_path and shortest_illegal_path and systems_shortest_path, the game just doesn't calculate the waypoints to go through jump holes. In the Freeworlds mod, we use only jump holes, not jump gates, and we could never get it to work.

If you look in the solararch.ini file, under the entry for "jumphole", you'll see a line:

type = JUMP_HOLE

If you change that to "type = JUMP_GATE" and then the set path will use the jump holes. . . though it will cause crashes if you do that. However, it does show that it's hardcoded to not use objects with the "JUMP_HOLE" type in doing the waypoint calculations.

There is sort of a way around it, but it does cause some major probems as side effects. You can change the hardpoints on the cmp file for the jump hole to be like those in the jumpgate (they are a little bit different, and I don't want to get into how to do it). Then change the "jump_hole" to "jump_gate". This will work for the set path, but it makes it weird when you dock with it. It now has to line up your ship in the right direction instead of being able to jump from any angle. There are also some other weird side effects too. I wouldn't recommend trying it this way.

Return to Freelancer Modding for Beginners Forum