Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
Adding Battleships as encounters
The general place to discuss MOD''ing Freelancer!
65 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
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.
- The road to darkness is journey, not a light switch.
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...
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...
65 posts
• Page 2 of 5 • 1, 2, 3, 4, 5
Return to Freelancer General Editing Forum