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

**Tutorial** - Capital Ship Encounters

Here you find the different tutorials on editing and MODing Freelancer

Post Thu Apr 17, 2003 2:38 pm

nope still crashs

my code now:


[zone
nickname = Zone_Li01_001_Planet_Li01_01
pos = -33020, 0, -27925
rotate = 0, 104, 0
shape = SPHERE
size = 10000
comment = Manhattan
sort = 1
toughness = 1
density = 32
repop_time = 10
max_battle_size = 30
pop_type = li_p_grp, base_cluster_law
relief_time = 10
faction_weight = li_p_grp, 12
faction_weight = li_p_grp_prisoners, 4
faction_weight = co_be_grp, 10
faction_weight = co_hsp_grp, 10
faction_weight = co_kt_grp, 10
faction_weight = co_me_grp, 10
faction_weight = co_nws_grp, 10
faction_weight = co_ni_grp, 10
faction_weight = co_os_grp, 4
faction_weight = co_rs_grp, 10
faction_weight = co_shi_grp, 10
faction_weight = co_ss_grp, 10
faction_weight = co_vr_grp, 8
faction_weight = gd_bh_grp, 3
density_restriction = 10, unlawfuls
encounter = area_defend, 1, 0.070000
faction = li_p_grp, 1.000000
encounter = area_bh_defend, 1, 0.030000
faction = gd_bh_grp, 1.000000
encounter = area_armored_prisoner, 1, 0.020000
faction = li_p_grp, 1.000000
encounter = area_trade_freighter, 1, 0.090000
faction = co_hsp_grp, 0.260000
faction = co_me_grp, 0.260000
faction = co_ss_grp, 0.260000
faction = co_vr_grp, 0.210000
encounter = area_trade_transport, 1, 0.120000
faction = co_be_grp, 0.100000
faction = co_hsp_grp, 0.100000
faction = co_kt_grp, 0.100000
faction = co_me_grp, 0.100000
faction = co_nws_grp, 0.100000
faction = co_ni_grp, 0.100000
faction = co_rs_grp, 0.100000
faction = co_shi_grp, 0.100000
faction = co_ss_grp, 0.100000
faction = co_vr_grp, 0.080000
encounter = area_trade_armored, 1, 0.020000
faction = co_os_grp, 1.000000
encounter = area_lifter, 1, 0.030000
faction = co_me_grp, 0.500000
faction = co_ss_grp, 0.500000
encounter = area_repair, 1, 0.030000
faction = co_me_grp, 0.500000
faction = co_ss_grp, 0.500000


encounter = capitalships_Kusari, 19, 0.500000
faction = ku_n_grp, 1.000000
encounter = capitalships_Liberty, 19, 0.500000
faction = li_n_grp, 1.000000


[EncounterParameters
nickname = capitalships_Liberty
filename = missions\encounters\capitalships_Liberty.ini
[EncounterParameters
nickname = capitalships_Kusari
filename = missions\encounters\capitalships_Kusari.ini


Dude, where's my Super Star Destroyer?

Post Thu Apr 17, 2003 2:48 pm

Then there's gotta be another wrench in the machine somewhere. Will investigate further, off to college now.

Post Thu Apr 17, 2003 4:32 pm

hey nephi. u know all those questions i asked u a few posts ago? i need a little bit more info on the same questions. (Sorry if im annoying the hell out of u but i really want to get this thing going my way)

1. Since i installed this mod, will i encounter battleships/cruisers in random encounters?

Nephilim: Re: 1) that depends on how many encounters you set up, of course, as well as on the locations you pick

My question: How do i set up encounters? and how do i pick the locations?

2. How do make the ships follow a patrol route?

Nephilim: Re: 2) add your encounter to a patrol zone, and set the fleet's behavior to patrol_path

My question: How do i add my encounter to patrol zone?

3. i added 2 more of these
encounter = capitalships_HOUSENAME, 19, 1.000000
faction = GROUPNAME, 1.000000
encounter = capitalships_Escorts, 19, 1.000000
faction = GROUPNAME, 1.000000

they were rheinland battleship and escort. but when i tried to test it out NONE of the ships were there. not even the liberty ships!

Nephilim:Re: 3) I told you to substitute HOUSENAME and GROUPNAME

My question: sorry, i didnt give you the RIGHT information. this is what it is in my li01.ini.

encounter = capitalships_liberty, 19, 1.000000
faction = li_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 1.000000
faction = li_n_grp, 1.000000
encounter = capitalships_Rheinland, 19, 1.000000
faction = rh_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 1.000000
faction = rh_n_grp, 1.000000

[EncounterParameters
nickname = capitalships_HOUSENAME
filename = missions\encounters\capitalships_HOUSENAME.ini

[EncounterParameters
nickname = capitalships_Escorts
filename = missions\encounters\capitalships_Escorts.ini

4. Is there a way i can create a dreadnought and make it follow my own CUSTOM patrol route?

Nephilim: Re: 4) yes, see previous point

My question: im not sure what ur trying to tell me here. if i can make the battle ships follow my CUSTOM patrol route. how would i create the route and make him follow it?

Thats it! Youu help is greatly apperciated.

Post Thu Apr 17, 2003 4:41 pm

Hey, thanks for your last advice Nephilim.

Now i finally made one massive engangement in sigma-17 between Rheinland Navy, the Outcast, and Corsair.

here's the file from bw06 (sigma-17)

[zone
nickname = zone_bw06_pop_sigma13_hole
pos = -22461, 0, -10094
shape = SPHERE
size = 4000
sort = 4
toughness = 19
density = 19
repop_time = 10
max_battle_size = 19
pop_type = wormhole
relief_time = 15
faction_weight = fc_c_grp, 10
density_restriction = 4, unlawfuls
encounter = area_defend, 14, 0.240000
faction = fc_c_grp, 1.000000
encounter = area_trade_trader, 14, 0.410000
faction = fc_c_grp, 1.000000
encounter = capitalships_Rheinland, 19, 0.500000
faction = rh_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 0.500000
faction = rh_n_grp, 1.000000
encounter = area_assault, 19, 0.500000
faction = fc_ou_grp, 1.000000

[EncounterParameters
nickname = capitalships_Rheinland
filename = missions\encounters\capitalships_Liberty.ini

[EncounterParameters
nickname = capitalships_Escorts
filename = missions\encounters\capitalships_Escorts.ini

After seen those edge world pirates smashed those Rheinlander Navy, then I realized that outcast and corsair does'nt need cap-ship at all. Saber vs Rheinland fleet -> winner : Saber

One problem I encountered is that only the battleship arrives, the cruisers or the gunboat are nowhere to bee seen. As a result, the area was thick by Sabers and 5 battleships.

Post Thu Apr 17, 2003 5:28 pm

---> ach nee!!


btw how can i balance the capship group with some smaller fighters escorting them???

Post Thu Apr 17, 2003 5:59 pm

i know im asking and asking, so dont answer this if ya dont want to but i just followed your instuctions and the same pretty much happens heres the code im usin now

[zone
nickname = Zone_Li01_001_Planet_Li01_01
pos = -33020, 0, -27925
rotate = 0, 104, 0
shape = SPHERE
size = 10000
comment = Manhattan
sort = 1
toughness = 1
density = 70
repop_time = 10
max_battle_size = 30
pop_type = li_p_grp, base_cluster_law
relief_time = 10
faction_weight = li_p_grp, 12
faction_weight = li_p_grp_prisoners, 4
faction_weight = co_be_grp, 10
faction_weight = co_hsp_grp, 10
faction_weight = co_kt_grp, 10
faction_weight = co_me_grp, 10
faction_weight = co_nws_grp, 10
faction_weight = co_ni_grp, 10
faction_weight = co_os_grp, 4
faction_weight = co_rs_grp, 10
faction_weight = co_shi_grp, 10
faction_weight = co_ss_grp, 10
faction_weight = co_vr_grp, 8
faction_weight = gd_bh_grp, 3
density_restriction = 70, unlawfuls
encounter = area_defend, 1, 0.070000
faction = li_p_grp, 1.000000
encounter = area_bh_defend, 1, 0.030000
faction = gd_bh_grp, 1.000000
encounter = area_armored_prisoner, 1, 0.020000
faction = li_p_grp, 1.000000
encounter = area_trade_freighter, 1, 0.090000
faction = co_hsp_grp, 0.260000
faction = co_me_grp, 0.260000
faction = co_ss_grp, 0.260000
faction = co_vr_grp, 0.210000
encounter = area_trade_transport, 1, 0.120000
faction = co_be_grp, 0.100000
faction = co_hsp_grp, 0.100000
faction = co_kt_grp, 0.100000
faction = co_me_grp, 0.100000
faction = co_nws_grp, 0.100000
faction = co_ni_grp, 0.100000
faction = co_rs_grp, 0.100000
faction = co_shi_grp, 0.100000
faction = co_ss_grp, 0.100000
faction = co_vr_grp, 0.080000
encounter = area_trade_armored, 1, 0.020000
faction = co_os_grp, 1.000000
encounter = area_lifter, 1, 0.030000
faction = co_me_grp, 0.500000
faction = co_ss_grp, 0.500000
encounter = area_repair, 1, 0.030000
faction = co_me_grp, 0.500000
faction = co_ss_grp, 0.500000
encounter = capitalships_Liberty, 19, 0.50000
faction = li_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 0.50000
faction = li_n_grp, 1.000000
encounter = capitalships_Kusari, 19, 0.700000
faction = ku_n_grp, 1.000000
[EncounterParameters
nickname = capitalships_Liberty
filename = missions\encounters\capitalships_Liberty.ini
[EncounterParameters
nickname = capitalships_Escorts
filename = missions\encounters\capitalships_Escorts.ini
[EncounterParameters
nickname = capitalships_Kusari
filename = missions\encounters\capitalships_Kusari.ini

could there be anythin else thats screwin it up?

blaaarggg

Post Thu Apr 17, 2003 10:43 pm

Back. Dang, differential equations are a bitch... anyhow, I definitely can't complain about a lack of feedback, LMAO

Doppel:


My question: How do i set up encounters? and how do i pick the locations?


Uh, this crash-course should provide you with all the necessary instructions to set up your own encounters

BTW, you pick locations by using your imagination Suppose you're cruising around in Omega 3 and suddenly you think to yourself "hey, this would be a great backdrop for a clash between Bretonia and Rheinland!" Then you look up Om-3's system name in the list I linked to earlier, open its system .ini file, etc etc.


My question: How do i add my encounter to patrol zone?


The same way you'd add an encounter to any other zone... the procedure is identical.


encounter = capitalships_liberty, 19, 1.000000
faction = li_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 1.000000
faction = li_n_grp, 1.000000
encounter = capitalships_Rheinland, 19, 1.000000
faction = rh_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 1.000000
faction = rh_n_grp, 1.000000

[EncounterParameters
nickname = capitalships_HOUSENAME


Delete that block and replace by:

encounter = capitalships_Liberty, 19, 0.750000
faction = li_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 1.000000
faction = li_n_grp, 1.000000
encounter = capitalships_Rheinland, 19, 0.750000
faction = rh_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 1.000000
faction = rh_n_grp, 1.000000

[EncounterParameters
nickname = capitalships_Liberty
filename = missions\encounters\capitalships_Liberty.ini

[EncounterParameters
nickname = capitalships_Rheinland
filename = missions\encounters\capitalships_Rheinland.ini

Forgive me for being blunt, but I explained all of this three pages back... if it's still unclear to you, I suggest you re-read thoroughly .


im not sure what ur trying to tell me here. if i can make the battle ships follow my CUSTOM patrol route. how would i create the route and make him follow it?


Creating patrol routes is no cakewalk, and too broad a topic to cover here, so I point you towards the general editing forum for more information. But adding patrols to one is no different from adding encounters to a planetary zone.

Executor:

One problem I encountered is that only the battleship arrives, the cruisers or the gunboat are nowhere to bee seen. As a result, the area was thick by Sabers and 5 battleships.


That's because your encounter nickname is capitalships_Rheinland, while your encounter filename is capitalships_Liberty.ini - these have to match (capitalships_Rheinland.ini in your case).

Beserk:

---> ach nee!!


What?


btw how can i balance the capship group with some smaller fighters escorting them???


Hint: capitalships_Escorts

Snake:

i know im asking and asking, so dont answer this if ya dont want to but i just followed your instuctions and the same pretty much happens heres the code im usin now


Put it this way: I'm not typing my butt off because I enjoy giving my fingers a workout You say "the same pretty much happens"... ie. no Kusari ships appear? Or does the game crash? Help me help you!

Edited by - Nephilim on 18-04-2003 00:54:30

Post Fri Apr 18, 2003 3:10 am

good news nephi. IT WAS WORKING THE WHOLE TIME BUT JUST 1 SMALL THING WAS PREVENTING THE SHIPS TO SPAWN!!! IT WAS A MOD THAT I HAD ACTIVATED. everyone remember to deactivate ANY mod that relates to the planet or base your modifying. 1 mod that should always be deactivated when doing this is Reynans Open map starter mod.

now that i got it working i have 1 last question nephi..

1. how do i change the number of ships that spawn? i copied what u told me to copy and there were a **** load of ships.

And by the way... did you get ur name Nephilim from the Dreamcast game "Bluestinger"?

Post Fri Apr 18, 2003 6:09 am

Nephilim, got some good news. I did a beta test of the installer tonight and, with the exception of the li01.ini file, all the files modified as they should and created backups that were still encrypted origionals. Time to move onto phase 2 my friend....

-Edit-

Well, It works with the default location that you specified here, which is right beside Manhatten. Still need to do up the other locations but atleast we're gettin somewhere.

-/Edit-

I can sence the release just around the corner! YAY!!!!!

~Jay~

I would walk 500 miles, and I would walk 500 more, just to be the man that walked a thousand miles to fall in the asylum door.

Edited by - Jackel on 18-04-2003 07:12:15

Post Fri Apr 18, 2003 6:10 am

I'm totally confused with all the modifications....can someone just create a mod for the flm manager......would help alot of people....especially if you could create different types of battleship encounter mods....i've tried too many times and i'm really confused....!???!??!???!??! 8/

Post Fri Apr 18, 2003 6:16 am

Ultra, if you read this forum and the notification in the General Editing forum on this topic you would know I already have a mod almoast done that will basically simulate a battleship war between Liberty and Rheinland factions.

~Jay~

I've just had the most disturbing encounter with a mad woman on the Holodeck. - Holographic Doc

Post Fri Apr 18, 2003 6:32 am

i know about yer mod and i'm just itching to try it......

but i meant a huge mod that would have factions fighting other factions all over the place.......not just a single battleship battle.....

or just a couple of specific battleship encounter mods would be great too...

i've tried to but i get lost half way........ 8/

would be cool to have the criminal factions to have their own special battleships too....


Edited by - Ultra_64 on 18-04-2003 07:35:23

Post Fri Apr 18, 2003 7:06 am

Ultra, that's what I'm doing. When my mod is released it's going to create "War Zones" in New York, Colorado, and several other key areas. I'm going to simulate a war between Rheiland and Liberty. Liberty will have help from the Krusari in Colorado and I might even make an encounter between Rheiland and Krusari close to Dashima station. It's not just going to be one battleship attacking another battleship around Manhatten. It's going to be a war!

~Jay~

I've just had the most disturbing encounter with a mad woman on the Holodeck. - Holographic Doc

Post Fri Apr 18, 2003 7:31 am

Nephilim, having some problems here. I can get this thing working perfectly fine with just the addition of those few lines of code but I'm not sure how to modify the code to make the battle take place elsewhere around manhatten. For example;



I would like the battle to occour where the red dot is but it seems to be happening right at the planet. Is there a way to adjust the code to specify where the center of the battle (spawn zone) should be?

Also, sorry to sound like a pain with all these questions, but how much space is between grid squares (shown in green)?

In the Offset field, if that's how you move the spawn zone, which is the first number (X or Y), and is positive number mean Up and Right?

I think I've figured out that the SPHERE entry is the maximum range you want for the spawn zone (shown as a white circle), that right?

Perhaps if you could do a sample wright-up for the location I've shown it will help to better explain these things. Thanks a bunch man, this war is gonna kick!

~Jay~

I've just had the most disturbing encounter with a mad woman on the Holodeck. - Holographic Doc

Post Fri Apr 18, 2003 7:50 am

lol something really funny just happened

I started to play the SP again, and forgot to take the mod out

so as soon as I returned to manhattan, I see the Kusari ships and Liberty ships battleing a Nomad formation... and I was thinking "DUDE! SPOILER!!!" hahaha

then the game crashed.. that wasn't so funny :-(

Dude, where's my Super Star Destroyer?

Return to Freelancer Editing Tutorial Forum