Code: Select all
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------
gameLogic.setTeamName 1 "TALIBAN"
gameLogic.setTeamName 2 "USA"
gameLogic.setTeamLanguage 1 "MEC"
gameLogic.setTeamLanguage 2 "English"
gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_taliban"
gameLogic.setTeamFlag 2 "flag_us"
gameLogic.setKit 1 0 "taliban_officer" "pr_taliban_soldier1"
gameLogic.setKit 2 0 "usa_officer_para" "pr_usa_soldier6"
gameLogic.setKit 1 1 "taliban_officer_alt" "pr_taliban_soldier2"
gameLogic.setKit 2 1 "usa_officer_alt_para" "pr_usa_soldier1"
gameLogic.setKit 1 2 "taliban_rifleman" "pr_taliban_soldier1"
gameLogic.setKit 2 2 "usa_rifleman_para" "pr_usa_soldier5"
gameLogic.setKit 1 3 "taliban_rifleman_alt" "pr_taliban_soldier2"
gameLogic.setKit 2 3 "usa_rifleman_alt_para" "pr_usa_soldier4"
gameLogic.setKit 1 4 "taliban_specialist" "pr_taliban_soldier4"
gameLogic.setKit 2 4 "usa_specialist_para" "pr_usa_soldier2"
gameLogic.setKit 1 5 "taliban_medic" "pr_taliban_soldier5"
gameLogic.setKit 2 5 "usa_medic_para" "pr_usa_soldier2"
gameLogic.setKit 1 6 "taliban_support" "pr_taliban_soldier3"
gameLogic.setKit 2 6 "usa_support_para" "pr_usa_soldier3"
Code: Select all
rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------
run ../../Factions/faction_init.con 1 "taliban"
run ../../Factions/faction_init.con 2 "usa_para"
rem -----------------------------------------------------------------------------before you do anything in the editor. Go into your map folder and make your init.con "read only" before you edit things in the editor. That way you can save it and it won't over write the init.con. Just change the factions to the code posted above before you change it to "read only".
Because you have it set this way, the game probably can't find the correct mesh files for the specific kit because you haven't defined the right faction.



