^^ you need to make a custom formation called battleship1 (told you this would happen Truga
)
Problem time yet again! I too am experiencing constant crashes, but I'm positive those are not related to the formation I use (twelve positions which are spaced 2000 meters apart, for a fleet of four battleships).
area_capitalships.ini:
[EncounterFormation
ship_by_class = 4, 4, sc_battleships
pilot_job = assault_leader_job
make_class = wanderer
formation_by_class = battleship_wall
behavior = wander
arrival = cruise
allow_simultaneous_creation = yes
zone_creation_distance = 0
times_to_create = infinite
[EncounterFormation
ship_by_class = 1, 1, sc_cruisers
pilot_job = assault_leader_job
make_class = wanderer
formation_by_class = cruiser_wall
behavior = wander
arrival = cruise
allow_simultaneous_creation = yes
zone_creation_distance = 0
times_to_create = infinite
[EncounterFormation
ship_by_class = 1, 1, sc_destroyers
pilot_job = assault_leader_job
make_class = wanderer
formation_by_class = destroyer_wall
behavior = wander
arrival = cruise
allow_simultaneous_creation = yes
zone_creation_distance = 0
times_to_create = infinite
[EncounterFormation
ship_by_class = 1, 1, sc_gunboats
pilot_job = assault_leader_job
make_class = wanderer
formation_by_class = gunboat_wall
behavior = wander
arrival = cruise
allow_simultaneous_creation = yes
zone_creation_distance = 0
times_to_create = infinite
[Creation
permutation = 0, 3
permutation = 1, 3
permutation = 2, 3
permutation = 3, 3
I've added destroyer and cruiser sections so I can use this .ini "template" to easily set up a variety of fleet configurations
their presence shouldn't affect FL stability under any circumstances (neither faction_prop.ini nor npcships.ini contains a Nomad destroyer or cruiser that might accidentally be thrown in
)
li01.ini:
[zone
nickname = Zone_Li01_001_Planet_Li01_01
pos = -33020, 0, -27925
rotate = 0, 104, 0
shape = SPHERE
size = 7000
comment = Manhattan
sort = 1
toughness = 1
density = 24
repop_time = 10
max_battle_size = 24
pop_type = li_p_grp, base_cluster_law
relief_time = 10
density_restriction = 24, unlawfuls
(blahblah)
encounter = area_capitalships, 19, 1.000000
faction = fc_n_grp, 1.00000
Let's go over "allow_simultaneous_creation = yes" first. What this appears to do is "fill up" all empty spots in a formation with its corresponding ship_by_class types as rapidly as the game can spawn them, overriding the maximum you've defined (potentially very useful). On the other hand it's also a sure-fire way of crashing FL if you don't know what you're doing, so it's safer to leave it well alone.
What puzzles me however is that even when "a_s_c = no", the server will STILL crash periodically, meaning there must be other contributing factors.
Next "encounter = area_capitalships, 19, 1.000000". That's a chance of 1 an encounter will take place, so in essence you force the game to include your area in each and every spawn... basically a bad idea. Which brings me to density, max_battle_size, and density_restriction. Initially I thought that a 100% encounter probability would take presedence (ie. dominate) over these parameters, but they always carry the same weight. Hence my confusion: both max_battle_size and density_restriction are more than adequate for four battleships, plus whatever else might be in the zone at any given moment, and density itself only governs the TOTAL number of ships allowed in a zone, so I'm at a loss to explain why FL keeps shutting down.
Edited by - Nephilim on 28-03-2003 18:30:59