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

Adding Battleships as encounters

The general place to discuss MOD''ing Freelancer!

Post Thu Mar 20, 2003 9:29 am

Well i dont really want them as "destroy installation" more like the navy presence

Post Thu Mar 20, 2003 11:05 am

Well i added the written lines to my EW06.ini but now no ship will spawn anymore,.. after deleting the lines again all was normal,.. am i too dumb or does it not work for all systems.


Nelson

Post Thu Mar 20, 2003 4:31 pm

If you have added gunboats or any other ships that are not in regular enemy, friendly, or neutral patrols, could you please send me the files and tell me where to put them. I'm not very good at modding. [email protected].

- The road to darkness is journey, not a light switch.

Post Thu Mar 20, 2003 11:57 pm

you'll have to edit your .ini files for it yourselves, it's very easy..

Post Fri Mar 21, 2003 5:34 pm

What happens if the gunboat patrols are installed server side and an un-modded client connects?

Post Fri Mar 21, 2003 7:47 pm

I *THINK* that it would work without modding the clients

Post Sat Mar 22, 2003 12:51 pm

don't think so..
Every client loads it's local system.ini files... And in that file the gunboat patrols are defined...
So it would probably go nuts...

Post Sat Mar 22, 2003 12:56 pm

Might be a way but it looks very tough and near impossible to sort out what goes where.

Post Sat Mar 22, 2003 3:57 pm

I have battleships working on The Zampolit just fine, no local downloads needed.

I'd share, but everything else I've shared here(like 30 diff posts) were deleted. So, I won't bother.

Post Sat Mar 22, 2003 7:16 pm

can anyone make a script for nomads battleships as encounters , please
thx

Post Sun Mar 23, 2003 12:05 am

Mabe we should ask for this tuff in a patch? That way we could get it and be sure there are no bug/problems with it. Good idea no?

Life truely is a endless walts.

Post Sun Mar 23, 2003 9:36 am

I was able to add bretonia, kusari and rheinland gunboats to the game. Even succeeded to get a rheinland cruiser and battleship in the game (not tested yet but I think liberty, bretonia and kusari works too). But... I can't get Nomad gunboats or battleships in the game, anyone with a tip on that?

Post Sun Mar 23, 2003 12:02 pm

first tell us about rheinland cruisers (as an encounter???)...
I would like to know that..
And I'm working on Nomad gunboats....

Post Sun Mar 23, 2003 2:35 pm

Adding kusari cruisers and battleships was easy after being able to add rheinland capital ships, but liberty and bretonia capital ships required a bit more work.

Adding kusari or rheinland capital ships as encounters:
Add the following lines to /data/missions/shipclasses.ini :
[ShipClass
nickname = sc_cruisers
member = class_cruiser

[ShipClass
nickname = sc_battleships
member = class_battleship

Change the following lines in /data/missions/npcships.ini :
[NPCShipArch
nickname = ku_n_destroyer_d22
loadout = ku_destroyer
level = d17
ship_archetype = ku_destroyer
pilot = cruiser_default
state_graph = CRUISER
npc_class = lawful, class_cruiser, d17, d18, d19

[NPCShipArch
nickname = ku_n_battleship_d25
loadout = ku_battleship
level = d19
ship_archetype = ku_battleship
pilot = cruiser_default
state_graph = CRUISER
npc_class = lawful, class_battleship, d19

[NPCShipArch
nickname = rh_n_cruiser_d22
loadout = rh_cruiser
level = d17
ship_archetype = rh_cruiser
pilot = cruiser_default
state_graph = CRUISER
npc_class = lawful, class_cruiser, d17, d18, d19

[NPCShipArch
nickname = rh_n_battleship_d25
loadout = rh_battleship
level = d19
ship_archetype = rh_battleship
pilot = cruiser_default
state_graph = CRUISER
npc_class = lawful, class_battleship, d19

Add the file /missions/encounters/area_capitolships with the following content:
[EncounterFormation
ship_by_class = 1, 1, sc_battleships
pilot_job = assault_leader_job
formation_by_class = fighters
behavior = wander
arrival = all, -object_all
allow_simultaneous_creation = no
zone_creation_distance = 0
times_to_create = infinite

[EncounterFormation
ship_by_class = 1, 1, sc_cruisers
pilot_job = assault_leader_job
ship_by_class = 2, 2, sc_fighters
pilot_job = assault_job
formation_by_class = cruisers
behavior = wander
arrival = all, -object_all
allow_simultaneous_creation = no
zone_creation_distance = 0
times_to_create = infinite

[Creation
permutation = 0, 3
permutation = 1, 3

Open /mission/faction_prop.ini and add the following line to the affiliation = ku_n_grp and affiliatoin = rh_n_grp entries:
formation = cruisers, cruiser2_li_n

Now open the ini file of the system where you want to put your capital ships and add the following lines:
[EncounterParameters
nickname = area_capitolships
filename = missions\encounters\area_capitolships.ini

Finally add this to the zone you want your rheinland capitol ships to appear:
encounter = area_capitolships, 19, 1.000000
faction = rh_n_grp, 1.00000

Replace that last line with the following to add kusari capitol ships:
faction = ku_n_grp, 1.00000


A few notes:
1) The difficulty setting of the cruisers and battleships have been turned down (standard 22 and 25) to be able to add them to a group with fighters (max. defined diff. for fighters and gunboats is 19, which doesn't mean they really are diff 19, as you can see in the npcships.ini)
2) The changes to fraction_prop.ini allows to have some fleet formations, look in /data/missions/formations.ini to see what you can use as formation (or ad your own off course). Using fighter or gunboat formations results in capitolships hugging each other (they are huge off course compared to fighters).
3) Off course change the values for the encounter change in your zone to a bit more realistic ones, but these values are good to see if it works, because if it works, your capitol ships are their within a few moments.
4) And finally you can modify the area_capitolships.ini to make your own formations, above settings make you see a formation of 1 battleship and another formation of 1 cruiser escorted by 2 fighters.


I hope I didn't forget something important, but I think it's a good starting point for everyone...

Post Sun Mar 23, 2003 3:56 pm

how about we do both and then add in Escort missions too for warships, and transports?


Life truely is a endless walts.

Return to Freelancer General Editing Forum