Break Formation?
For quite some time I've been working on a Galactic War mod. Well, it's finally become a reality although there is one small bug that I need help fixing. I've pre-programed entire systems to be engulfed in one massive war, with a good storyline as the backbone. Liberty, Rheinland, Bretonia, and Kusari are all pitted against each other. I searched all over the forum and can not locate the solution to my problem. I'm not even sure where I would put the solution, which INI file I mean. Here's my problem;
In the areas engulfed I have selected battleship destroier groups dropping out of cruse and running "patrols" of the system. Now, these patrols are not programmed in. They're more like groups set to wander in specific locations. Anyway, the battlegroups drop out in formation with a battleship in the center and destroier escorts flanking the battleship. My problem lies when the fleets run into eachother. The lead battleship controls the entire formation. If it turns 2 degrees to the right, so do the rest of the ships. Normally that would be all well and good, but with the Liberty destroiers it prevents them from being able to lock onto a target with their main forward gun. The battleship is always facing the enemy head on, so the destroiers are always a few degrees off target. As well, it looks somewhat funny when all the ships turn exactly in the same direction all the time. Is there any way to get these ships to break formation when attacked? Here's some INI information about the formation, and please note this isn't all the data, it's just bits and peaces that I hope will help find the answer;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~ Added to Faction_prop.ini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOCATION:
[FactionProps
affiliation = li_n_grp
ADDITION:
npc_ship = Liberty_Cruiser
npc_ship = Liberty_Battleship
formation = cruisers, cruiser_wall
formation = battleships, battleship_wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~ Added to Formations.ini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Formation
nickname = battleship_wall
pos = 0, 0, 0
pos = 400, 0, 0
pos = -400, 0, 0
pos = 0, 200, 0
pos = 400, 200, 0
pos = -400, 200, 0
pos = 400, 0, 0
pos = 400, 200, 0
pos = 0, -200, 0
pos = 400, -200, 0
pos = -400, -200, 0
pos = 400, -200, 0
pl_pos = 0, 0, 500
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~ Added to Npcships.ini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[NPCShipArch
nickname = Liberty_Battleship
loadout = Liberty_Battleship_Loadout
level = d19
ship_archetype = li_dreadnought
pilot = pilot_military_ace
state_graph = FIGHTER
npc_class = lawful, class_battleship, d19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~ Added to Li01.ini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[zone
nickname = Zone_Li01_001_Battleships
pos = -16510, 0, -13962
shape = SPHERE
size = 34000
sort = 6
toughness = 1
pop_type = background
density = 48
repop_time = 50
max_battle_size = 20
relief_time = 50
encounter = capitalships_Liberty, 19, 0.500000
faction = li_n_grp, 1.000000
encounter = capitalships_Liberty, 19, 0.500000
faction = li_n_grp, 1.000000
encounter = capitalships_Rheinland, 19, 0.500000
faction = rh_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 0.900000
faction = li_n_grp, 1.000000
encounter = capitalships_Escorts, 19, 0.900000
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
[EncounterParameters
nickname = capitalships_Escorts
filename = missions\encounters\capitalships_Escorts.ini
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~ capitalships_Liberty.ini added to Encounters directory ~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[EncounterFormation
ship_by_class = 1, 1, sc_battleships
pilot_job = assault_leader_job
make_class = wanderer
ship_by_class = 4, 4, sc_cruisers
pilot_job = assault_job
make_class = wanderer
formation_by_class = battleships
behavior = wander
arrival = cruise
allow_simultaneous_creation = yes
zone_creation_distance = 0
times_to_create = infinite
[Creation
permutation = 0, 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hopefully this data will help you to help me make this mod complete, and a reality. Yes, I do plan on putting the mod out there on the market for anyone to use however I am going to request that if used it remains unchanged and that the origional credits, both to myself and Nephilim (who did the origional battleship mod) remains intact. Due to the added files for the battleship fleets it is a client-side mod, however I am working hard to make it server-side only so anyone can just jump in and play. If you know the answer to my question, please help me out.
~Jay~
I've just had the most disturbing encounter with a mad woman on the Holodeck. - Holographic Doc