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

System crash

The general place to discuss MOD''ing Freelancer!

Post Mon Nov 10, 2003 4:32 am

System crash

Hi all.

I have been working on a new system, and I've hit a problem. Whenever I take the JumpGate to Illinois (my new system), the game crashes halfway through the "jump tunnel". (Figures for what my young 13-year-old self tries to do independently ) I still can't figure out what's wrong.

I have been using giskard's "System Building From Scratch" tutorial to help me create my new system. I got to the first test, and this problem happened.

I have uploaded the files to my webspace for you to download and look over.

Download Link

If you find out the problem, I'll remind myself to put you in my "Acknowledgements" section of my readme if I happen to release the mod.

Oh, and while I'm at it, does anyone know how to make asteroids and nebulas appear on the navmap of your system? The author of the tutorial says that he still doesn't know how to make them appear.

Thank you!

- AlPal

--------------------------

Arguing on the Internet is like competing in the Special Olympics - even if you win, you're still retarted.

Post Mon Nov 10, 2003 11:31 am

*edir* Wow - my first double post ever! Never managed that before!


Edited by - Chips on 10-11-2003 11:32:02

Post Mon Nov 10, 2003 11:31 am

Go to tutorials forum - i have a sticky there which is a fixing bugs for system modding.

it is probabily due to several things. There are spelling mistakes in the tutorial for a start.

here is an example of a custom entry for you (ie - one that i made up)


[Object
nickname = Li02_to_Li07
ids_name = 261833 ;custom ids name for me
pos = 23702, 0, -68750
rotate = 0, 180, 0
Archetype = jumpgate ;jumphole or jumpgate
msg_id_prefix = gcs_refer_system_Li07 ;means the message they say - silence
ids_info = 66145
jump_effect = jump_effect_elite3 ;Custom effects
reputation = li_p_grp
behavior = NOTHING
difficulty_level = 1
goto = Li07, Li07_to_Li02, gate_tunnel_elite3 ;custom effects
loadout = jumpgate_li_01
pilot = pilot_solar_easiest

[zone
nickname = Zone_Li02_to_Li07 ;zone for what object
pos = 23702, 0, -68750
shape = SPHERE
size = 1000
property_flags = 131072
visit = 128
sort = 0

The zone is for the jumpgates exit / entry point stuff (so you jumpout right next to it rather than other side of universe).
The highlighted lines are the points of interest. Why? Cause they are what are really important.

Now then - the nickname is important - must be unique in your system. The goto bold line has the system that you are heading to, and the part of the system you are heading too - which is the nickname of the jumpgate the other end. Take a peek okay.

[Object
nickname = Li07_to_Li02
ids_name = 196610
pos = 52500, -4000, -48500
rotate = 0, 90, 0
Archetype = jumpgate
msg_id_prefix = gcs_refer_system_Li02
ids_info = 66145
jump_effect = jump_effect_elite3
reputation = li_p_grp
behavior = NOTHING
difficulty_level = 1
goto = Li02, Li02_to_Li07, gate_tunnel_elite3
loadout = jumpgate_li_01
pilot = pilot_solar_easiest

[zone
nickname = Zone_Li07_to_Li02
pos = 52500, -4000, -48500
shape = SPHERE
size = 1000
property_flags = 131072
visit = 128
sort = 0

Okay - notice that the goto line is pointing at this. They could just be called myjumpgate if you wanted, so

nickname = myjumpgate
goto = li07, myjumpgate .........

get it? Okay - the other things - the message prefix is the pre-recorded message for the system they are going to - like 'buckle up boys, we are heading to the texas system'.
My li07 one means i just get 'buckle up boys, we are heading to the........(silence)......

Zone is necessary - just make it on top of your existing jumpgate reference.
Now - systems shortest paths yes?
Open systems shortest path. Example of how it works for the connections.

Example of them here though:

[SystemConnections
Path = Li01, Hi01, Li01, Li03, Iw06, Ku02, Ku03, Bw08, Ew01, Hi01
Path = Li01, Li01, Li01
Path = Li01, Li03, Li01, Li03
path = ~~~~~~~lots of entries dammit!~~~~~~
Path = Li01, Li07, Li01, Li07

Now - Path = Li01, Li07 - this means the way to li07 from li01 okay. If we were going to honshu from manhatten, it would say:
Path = Li01, Ku04.........
The entries after that are the WAY THERE.
So - for mine it is :
Path = li01, li07, Li01, Li07
This means Li01 to Li07 passes from Li01 to Li07

For the honshu example you will get
Path = Li01, Ku04, Li01, Li03, Iw06, Ku02, Ku01, Ku04
So you go Li01 to Ku04, from Li01 to Li03 through IW06 Through Ku02 Through Ku01 and into Ku04 okay??
SImple.

Now here is my systems entry.
Why do they have the path to themselves? Well - they just do........LOL
Its for the nav map i assumes (amongst other things!). So you can also make internal jumpholes too!

[SystemConnections
Path = Li07, Li07, Li07
Path = Li07, Li01, Li07, Li01
Path = Li07, Bw03, Li07, Bw03
Path = Li07, Iw03, Li07, Iw03
Path = Li07, Li04, Li07, Li04
Path = Li07, Li02, Li07, Li02

As you can see, mine is linked up to alot of other systems. Well - its no longer linked to manhatten actually - that was just for testing (jumphole was right outside of planet manhatten - so i don't have to go anywhere )

Do the same for systems_shortest_legal_path for a jumpgate as well.

Now - the only thing left is whether you have somethign at the other end causeing crashes methinks. Well - at that point, remove the [Asteroids and the [Nebula entries - as they aren't being used yet are they? I strongly suggest you take a look through my thread on systems crashes, you would have found this out without me spending 20mins typing it out again! Go check - its stickied in the tutorials forum

Chips

Post Mon Nov 10, 2003 2:53 pm

WOW! I wasn't expecting someone to write a whole tutourial for me! Thanks! I just went to the forum thread for the tutorial, and the answer was right there.

D'Oh!

And all the problem was was that I had to delete the Nebua and Asteroid entries.

Thanks again!


- AlPal

--------------------------

Arguing on the Internet is like competing in the Special Olympics - even if you win, you're still retarted.

Post Mon Nov 10, 2003 2:54 pm

Return to Freelancer General Editing Forum