**TUTORIAL** Adding new targets to random missions
I`ve been asked to go through a tutorial on how to add new things to destroy in the random missions. I am new to writing tutarials so please bear with me, if there`s anything that i`ve left out please post back here and i`ll sort it out for you.
Right, ok.
I`m going to assume that this tutorial is for the more experienced modder and therefore you know how to add names to things and have at least a fair idea of which files fo what. If you aren`t too sure you will most likely have to read up the other tutorials..
The mission targets are chosen in \RandomMissions\KillableSolars.ini
Here is a typical entry, taken from SDK.
[KillableSolar
nickname = rm_r_battleship_rh_D23-D23
solar_type = Big_Solar <------ Just means its the main target
string_id = 6 <------ Linked to the name that you see
faction = rh_n_grp <------ The faction who you attack
archetype = rm_r_battleship <------ The details found in solararch.ini
loadout = rm_r_battleship_rh_01 <----- The loadout in loadout_special for ships
hitpoints = 50607, 50607 <------ This is how much of it has been built yet
difficulty = 18.458324, 18.458324 <----- The difficulty for the mission
pilot_choices = 1
[KillableSolar
nickname = rm_miningbase_small_rock_pi_D10
solar_type = Big_Solar
string_id = 10
faction = fc_c_grp, fc_ou_grp, fc_rh_grp, fc_bd_grp, fc_j_grp, fc_h_grp, fc_m_grp, fc_x_grp, fc_b_grp, fc_g_grp, fc_lh_grp, fc_u_grp, fc_gc_grp, fc_lwb_grp, fc_fa_grp, fc_lr_grp, fc_or_grp
Right, ok.
I`m going to assume that this tutorial is for the more experienced modder and therefore you know how to add names to things and have at least a fair idea of which files fo what. If you aren`t too sure you will most likely have to read up the other tutorials..
The mission targets are chosen in \RandomMissions\KillableSolars.ini
Here is a typical entry, taken from SDK.
[KillableSolar
nickname = rm_r_battleship_rh_D23-D23
solar_type = Big_Solar <------ Just means its the main target
string_id = 6 <------ Linked to the name that you see
faction = rh_n_grp <------ The faction who you attack
archetype = rm_r_battleship <------ The details found in solararch.ini
loadout = rm_r_battleship_rh_01 <----- The loadout in loadout_special for ships
hitpoints = 50607, 50607 <------ This is how much of it has been built yet
difficulty = 18.458324, 18.458324 <----- The difficulty for the mission
pilot_choices = 1
[KillableSolar
nickname = rm_miningbase_small_rock_pi_D10
solar_type = Big_Solar
string_id = 10
faction = fc_c_grp, fc_ou_grp, fc_rh_grp, fc_bd_grp, fc_j_grp, fc_h_grp, fc_m_grp, fc_x_grp, fc_b_grp, fc_g_grp, fc_lh_grp, fc_u_grp, fc_gc_grp, fc_lwb_grp, fc_fa_grp, fc_lr_grp, fc_or_grp