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 Invasion

The general place to discuss MOD''ing Freelancer!

Post Sun Apr 10, 2005 4:55 am

Nomad Invasion

I have heard lots of talk about random Nomad Invasions on systems. Where about 20 BSs, Gunboats and Fighters attack a system every couple of weeks. I have searched the mods and the forum and have as yet been unnsucessful in finding any information on this. Could anyone please point me in the right direction. My players keep asking me to add this and I think it would be a nice touch.

Post Sun Apr 10, 2005 8:56 am

You can look up how to add Nomad encounters here, it will teach you how

Post Sun Apr 10, 2005 11:09 am

I have nomad encounters running fine, it is the repop time I need to change.

If I change the repop_time = ? to a time relating to hours/days instead of seconds i presume that will have the effect I am looking for. I was just hoping that someone may have already done this and could confirm it before I attempt it.

Also does anyone have a clue as to what the relief_time does that is different to repop_time.

finally I presume i would have to create a new zone on top of the exisiting zone so that normal trafic will continue to appear but every week there would be a massive nomad invasion.

Any advice on this would be greatly appreciated.

Post Sun Apr 10, 2005 12:05 pm

I'm not sure that would work, because obviously the encounters aren't going to spawn if theres no players in the zone...so unless you had someone sitting in the zone all week, then I don't think the encounters would happen, as it would start timing from the time someone entered the zone...

But, who knows, I've never tried it.

L.D.

Post Sun Apr 10, 2005 12:26 pm

yeh, just tried it, everytime someone enters the zone they are there. I know some people have done what I want to achieve just not sure how.

How could you control the spawning of Nomads so that it only happens once a week no matter who is in the zone. I guess some kind of timed trigger is needed.

Any ideas?

Post Sun Apr 10, 2005 2:18 pm

Encounters are a random function called when a player-controlled ship enters a Zone.

To make an Encounter that happened "every week" ... is impossible, or close enough. To make one that happened "every once in awhile" is quite possible, though. You could, for example, make a given Zone have an Encounter happen once in a thousand chances- and on that thousanth chance, make a whole lot of Nomads appear. If you did that in an area with a lot of traffic (say, NY, NY)... then it'd probably happen every week... or so.

Post Sun Apr 10, 2005 2:18 pm

I don't think what you want is done in-game. You mean something like Sherrec's Nomad Revenge mod? How to make this work :

1) Code 2 versions of each system you wish the nomads to attack.
2) Run a program to randomly overwrite the systems .ini file on server restart. This may have to be done manually - I've not looked into automating it with IFSO. Run the program before each SP game session for similar effect.

Ta-da! random system invasion. This method does have a drawback however - the client and server files won't match so may cause lag and instability on servers. In SP this is of course never an issue.

Post Sun Apr 10, 2005 2:23 pm

lol the trans-atlantic Argh/Anton double act steps up a pace with synchronised posting

Post Sun Apr 10, 2005 3:03 pm

LOL... and with two different answers to the same conundrum, no less. Either way will work, btw... I think that my version would probably be more stable, but Anton's would make it possible to do "event scheduling", which might be neato

Post Sun Apr 10, 2005 10:36 pm

Thx guys, problem solved.

Return to Freelancer General Editing Forum