**Tutorial** - Changing MP Start Details, Adding New Pilots
First off,a primer:
newcharacter.ini is a database file for unique pilots, and clientside startup data.
mpnewcharacter.fl is a configurable template file for new characters. It calls for the entries in newcharacter.ini by use of %%VARIABLES%% (example)
most are serverside variables i.e the server does not ask your player's game for them. two are actually clientside and these are of the greatest interest.
now lets take a look at the pilot
I've marked what's serverside and what is clientside, and what variable names contain their data in mpnewcharacter.fl
**newcharacter.ini** legend:
the words following each / are matching variables found in mpnewcharacter.fl (they "hold" open places for the values found here in the 'database') - all square brackets have been replaced with {'s
SVS = Server's side is used
CLS = Client's side is used
NA = Not applicable, both are checked/used
**newcharacter.ini**
{Pilot} <-everything in {Pilot} is serverside.
nickname = trent
body = trent / %%BASE_COSTUME%% <-the server checks costumes.ini for this.
comm = trent / %%COMM_COSTUME%% <-unused
voice = trent_voice / %%VOICE%% <-unnecessary
body.anim = Sc_MLBODY_STND_000LV_A_31
thumb = interface\intro\objects\MULTI_blackdragonmale.3db
comm.anim = Sc_comm_body_unfold_female, Sc_headCOM
{Package} *there can be only one package. Don't ask me if it's possible for players to select ships here its not.*
nickname = ge_fighter <-NA
strid_name = 11051
strid_desc = 11551
ship = ge_fighter / %%PACKAGE%% <-SVS specifies ship. writes "ship_archetype = ship" to player file
loadout = MP_ge_fighter / %%PACKAGE%% <-SVS the starting loadout - Both this and the ship are included in the %%PACKAGE%% variable
money = 2000 / %%MONEY%
{Faction}
nickname = new_player *don't change or add more {faction} entries*
rep_group = co_ic_grp / %%FACTION%% <-CLS - when "initial_rep = %%FACTION%%" in mpnewchar.fl is decommented(enabled) this will be your faction. * note1
base = Li01_01_Base / %%HOME_BASE%% <-SVS - determines the spawning base
Package = ge_fighter / %%PACKAGE%% <-NA - selects the package. this is NOT alterable for the server or player - both need the same nickname here!
Pilot = trent <-CLS - selects a {pilot}
* note1: "house =" lines in mpnewcharacter.fl will cause crashes when you enable initial_rep, so remove them.
Edited by - Cold_Void on 11/22/2006 10:37:12 PM
newcharacter.ini is a database file for unique pilots, and clientside startup data.
mpnewcharacter.fl is a configurable template file for new characters. It calls for the entries in newcharacter.ini by use of %%VARIABLES%% (example)
most are serverside variables i.e the server does not ask your player's game for them. two are actually clientside and these are of the greatest interest.
now lets take a look at the pilot
I've marked what's serverside and what is clientside, and what variable names contain their data in mpnewcharacter.fl
**newcharacter.ini** legend:
the words following each / are matching variables found in mpnewcharacter.fl (they "hold" open places for the values found here in the 'database') - all square brackets have been replaced with {'s
SVS = Server's side is used
CLS = Client's side is used
NA = Not applicable, both are checked/used
**newcharacter.ini**
{Pilot} <-everything in {Pilot} is serverside.
nickname = trent
body = trent / %%BASE_COSTUME%% <-the server checks costumes.ini for this.
comm = trent / %%COMM_COSTUME%% <-unused
voice = trent_voice / %%VOICE%% <-unnecessary
body.anim = Sc_MLBODY_STND_000LV_A_31
thumb = interface\intro\objects\MULTI_blackdragonmale.3db
comm.anim = Sc_comm_body_unfold_female, Sc_headCOM
{Package} *there can be only one package. Don't ask me if it's possible for players to select ships here its not.*
nickname = ge_fighter <-NA
strid_name = 11051
strid_desc = 11551
ship = ge_fighter / %%PACKAGE%% <-SVS specifies ship. writes "ship_archetype = ship" to player file
loadout = MP_ge_fighter / %%PACKAGE%% <-SVS the starting loadout - Both this and the ship are included in the %%PACKAGE%% variable
money = 2000 / %%MONEY%
{Faction}
nickname = new_player *don't change or add more {faction} entries*
rep_group = co_ic_grp / %%FACTION%% <-CLS - when "initial_rep = %%FACTION%%" in mpnewchar.fl is decommented(enabled) this will be your faction. * note1
base = Li01_01_Base / %%HOME_BASE%% <-SVS - determines the spawning base
Package = ge_fighter / %%PACKAGE%% <-NA - selects the package. this is NOT alterable for the server or player - both need the same nickname here!
Pilot = trent <-CLS - selects a {pilot}
* note1: "house =" lines in mpnewcharacter.fl will cause crashes when you enable initial_rep, so remove them.
Edited by - Cold_Void on 11/22/2006 10:37:12 PM