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

Nomad capital encounters crashing the game

The general place to discuss MOD''ing Freelancer!

Post Sun Dec 14, 2003 1:37 am

Nomad capital encounters crashing the game

I'm making a mod with Nomad battleship/gunboat encounters. I have completed the encounters and they are flying around in the system. But everytime I fight them the game crashes after 5 to 10 minutes. I can't find that anything is wrong but I think that it has anything to do with some variables that I do not understand. In the <system with encounters>.ini there are these lines Encounterparameters at the top and then:
[zone
nickname = ... (I know this)
pos = ...
shape = ...
size = ...
visit = 128
sort = 99.500000 (what does this mean?)
toughness = 19
density = 32 (and this?)
repop_time = ...
max_battle_size = ...
pop_type = Background (and this?)
relief_time = 35 (this?)
faction_weight = fc_n_grp, 7
encounter = area_battleships, 19, 0.25 (and this number?)
faction = fc_n_grp
encounter = area_ap_defend, 19, 0.25 (this?)
faction = fc_ap_grp (my own new faction, but this is ok. the encounters of this faction are only fighters and do not crash the game)

My Nomad battleship encounter is one battleship and five gunboats:
[EncounterFormation
ship_by_class = 1, 1, sc_battleships
make_class = wanderer
pilot_job = assault_leader_job
ship_by_class = 5, 5, sc_gunboats
make_class = wanderer
pilot_job = assault_job
formation_by_class = battleship_wall
behavior = wander (not sure what this means)?
arrival = cruise
allow_simultaneous_creation = no
zone_creation_distance = 0 (can the problem be this number; is it to low?)
times_to_create = infinite

[Creation
permutation = 0, 3 (what does this mean?)

Please help, so that I can make the Nomad capship encounters do not crash the game!!!

Post Sun Dec 14, 2003 3:24 am

Lower that density. Don't go above 28 or so at the MAX!

Post Sun Dec 14, 2003 3:52 am

some of your numbers are way too high but if the game does not crash instantly then there are no "illegal numbers" in there.

This sounds like a system resource problem but I'd have to see the rest of your files to know.

Also, custom factions are always the first thing to suspect if you have any problems at all.

Try assigning the ship to a standard faction and see if you still get a crash.

if so then you need a more powerful computer.

Thank You. Glock 36.

Post Sun Dec 14, 2003 12:16 pm

Put it this way, i had density accidently set to 48 for a while. It caused crashes at Freeport9 alot. However, once reduced those stopped. Now 32 is supposed to be the number of maximums, but i found leaving it at 28 means that you are not running risks. Guess what, i no longer have the crashes from the accidental number of 48. It crashed the same way. Could be just BH and Corsairs fighting, could be the nomads and nomad battleships. Whatever it was, lowering that number meant none crashed. That number is the amount of ships inside the zone. The game can only handle that amount of ships. The toughness is believed to be the total toughness of ships in zone, but its not. Max is 19 - which is the max toughness of the zone. Level 19 ships. However, yu can leave it pumped right up to the max there - doesn't make a difference as the ships in the zones level are done by the asctual encounters difficulty. I think this is semi tied in with the mbases.ini value for a base toughness. If vignettes are in that zone for toughness 19 and the base is toughness 19 - then you get level 19 missions there. If its toughness is only 18 but base is 19, then you won't get any level19 missions there, only level18. Not positive about that though. Now relief time is the time between spawns (fighting), and the other timed one is the time between spawns (good guys).

What else? Oh - max battlesize, this is the amount of ships actually flying and engaging the fight. Not sure, but changing this number never did much difference for me, so instead of wondering, i just left it at the working value. I did at one point think it was the amount that can attack YOU! and not just be involved in fights!


Edited by - Chips on 14-12-2003 12:18:08

Post Sun Dec 14, 2003 2:27 pm

Thanks for your help, but the game still crashes: I have set density to 22 now and only the Nomad encounters crash the game not the encounters of my new faction ( I had deleted the Nomad encounters and the game didn't crash for over an hour)! The encounters are in the bottom unknown system (with Planet Primus and Gammu), so I'm not sure if it can be a system resource problem! The only thing that can be is my old computer, but i get a new one to christmas and will try it then. If you have any other ideas it would be nice to post them here. Thanks!!!

Post Sun Dec 14, 2003 3:30 pm

The density and max battle size is the same thing, how many ships can be in the zone at the same time. I have had up to 32 enemy ship on the screen at one time. I kept the count down though so it didn't lag on older computers.

Post Sun Dec 14, 2003 3:48 pm

Nomad battleships are strange creatures, I can tell you that right now. I had the same problem back in march, as you can read here (last post on the page, and a few on the next). Never figured out the cause, as it disappeared when I reinstalled my OS, but there obviously has to be one.

Post Sun Dec 14, 2003 4:32 pm

Check that the loadouts and other stuff are correct as well. Basically they are as buggy as hell doing that stuff. If it aint SPOT ON then you crash.

Alternatively - you could always dl evolutions and just copy the ones that i use. They are based around the script created by nephilim here, but they work great. I think i took out the nomad gunboats thouhg - cannot remember!

Edited by - Chips on 14-12-2003 16:32:37

Post Sun Dec 14, 2003 7:31 pm

Thanks for your help! I will try the things you said and see if the crashes stop or decrease! I'll post the results!!! Thanks!

Post Sun Dec 14, 2003 10:07 pm

Hi again! This is curious! I have deleted the cargo of my Nomad ships in the loadouts.ini and have changed their pilots to non story ones and now the encounters work in multiplayer mode! I played two hours and killed 20 Nomad battleships and lots of their gunboats. Thats fine so far. But then i tried in Singleplayer (first with OpenSP and then without it) and the game always crashed after two minutes (only if I attacked the capship encounters and fought them)! I don't know what to do! Please help! Why did these encounters crash the game in Singleplayer, but don't in Multiplayer???

Post Mon Dec 15, 2003 1:40 pm

I had such problem with my nomad fleet in Alaska. In that gap between Juneau, New York gate and Mitchell it's ok, but when they reach the asteroids, it crashes.

Post Mon Dec 15, 2003 7:21 pm

First I thought that the game crashes because of the asteroids in the unknown system too, but it only crashes in Singleplayermode. In Multiplayermode the encounters aren't crashing the game even if they spawn in the asteroidfield!!!

Post Tue Dec 16, 2003 7:03 pm

Thanks again to all for your help!!!
Finally I got the encounters to work in Singleplayer too (I think they still work in Multiplayer, but hadn't enough time to test it). I realised that the nomad capitalship encounters in the rebalancemod 3.20 around planet mercury didn't crash the game. So I compared them with mine. As I had nearly the same ones I changed only the Ew06.ini in the specific zone to "encounters = nomad_battleships, 19, 0.09" (the last number) and the shiparch.ini. There I added the line "nomad = true" to the nomad gunboat and the nomad battleship and I think that this is the cause that the game does not crash anymore!
THANKS AGAIN!!!

Post Wed Dec 17, 2003 8:34 am

Are you sure you have to add that? And where did you add it?



BlazeME: Flameus Muchus n00bus

Post Wed Dec 17, 2003 6:27 pm

I don't know why Michael Dan has added this, but I as i added it the encounters didn't crash the game anymore (I killed 43 Nomad battleships in one session)!!! I added this line under the "mass" line of the two ships. Again I don't know what this line means, but I think that it prevents the crashes!

Return to Freelancer General Editing Forum