Euro Expansion in Editor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kaheiyeh
    Member
    • Jul 2007
    • 350

    #1

    Euro Expansion in Editor

    Will we need a new editor to place the EU team in maps? I've tried creating a new map to see the new EU stuff, but I could not choose the EU team under Level Settings, though I could change the player models such as "US_assault" to "EU_assault".
  • Karate hand

    #2
    Re: Euro Expansion in Editor

    ok u can edit it in Init.con file of your map

    this is surreal mod style but euro should be the same so look in any of the maps that are euro and unzip them and see what it says in the init.con file(use notepad to view,)so change both too euro teams etc,(in your custom map)

    gameLogic.setTeamName 1 "Militia"
    gameLogic.setTeamName 2 "Rebel"

    gameLogic.setTeamLanguage 1 "English"
    gameLogic.setTeamLanguage 2 "English"

    gameLogic.setTeamFlag 0 "flag_neutral"
    gameLogic.setTeamFlag 1 "flag_Militia"
    gameLogic.setTeamFlag 2 "flag_Rebel"

    gameLogic.setKit 1 0 "Militia_Specops" "Militia_light_soldier"
    gameLogic.setKit 2 0 "Rebel_Specops" "Rebel_light_soldier"

    gameLogic.setKit 1 1 "Militia_Sniper" "Militia_light_soldier"
    gameLogic.setKit 2 1 "Rebel_Sniper" "Rebel_light_soldier"

    gameLogic.setKit 1 2 "Militia_Assault" "Militia_heavy_soldier"
    gameLogic.setKit 2 2 "Rebel_Assault" "Rebel_heavy_soldier"

    gameLogic.setKit 1 3 "Militia_Support" "Militia_heavy_soldier"
    gameLogic.setKit 2 3 "Rebel_Support" "Rebel_heavy_soldier"

    gameLogic.setKit 1 4 "Militia_Engineer" "Militia_light_soldier"
    gameLogic.setKit 2 4 "Rebel_Engineer" "Rebel_light_soldier"

    gameLogic.setKit 1 5 "Militia_Medic" "Militia_light_soldier"
    gameLogic.setKit 2 5 "Rebel_Medic" "Rebel_light_soldier"

    gameLogic.setKit 1 6 "Militia_AT" "Militia_heavy_soldier"
    gameLogic.setKit 2 6 "Rebel_AT" "Rebel_heavy_soldier"

    this is surreal style but euro should be the same so look in any of the maps that are euro and unzip them and see what it says in the init.con file

    Comment

    • ebc_admin

      #3
      Re: Euro Expansion in Editor

      Depending on if you are allowed. It seems a grey area according to the Official Editor Forums.

      This is what you will need to do.

      Edit your map as normal in the editor placing USMC vehicles.

      Then


      Change your init.con to

      rem ------------------------------- Level Settings -------------------------------
      rem -----------------------------------------------------------------------------
      gameLogic.setTeamName 1 "MEC"
      gameLogic.setTeamName 2 "EU"
      gameLogic.setTeamLanguage 1 "MEC"
      gameLogic.setTeamLanguage 2 "EU"
      gameLogic.setTeamFlag 0 "flag_neutral"
      gameLogic.setTeamFlag 1 "flag_mec"
      gameLogic.setTeamFlag 2 "flag_eu"
      gameLogic.setKit 1 0 "MEC_Specops" "mec_light_soldier"
      gameLogic.setKit 2 0 "eu_Specops" "eu_soldier"
      gameLogic.setKit 1 1 "MEC_Sniper" "mec_light_soldier"
      gameLogic.setKit 2 1 "eu_Sniper" "eu_soldier"
      gameLogic.setKit 1 2 "MEC_Assault" "mec_heavy_soldier"
      gameLogic.setKit 2 2 "eu_Assault" "eu_heavy_soldier"
      gameLogic.setKit 1 3 "MEC_Support" "mec_heavy_soldier"
      gameLogic.setKit 2 3 "eu_Support" "eu_heavy_soldier"
      gameLogic.setKit 1 4 "MEC_Engineer" "mec_light_soldier"
      gameLogic.setKit 2 4 "eu_Engineer" "eu_soldier"
      gameLogic.setKit 1 5 "MEC_Medic" "mec_light_soldier"
      gameLogic.setKit 2 5 "eu_Medic" "eu_soldier"
      gameLogic.setKit 1 6 "MEC_AT" "mec_heavy_soldier"
      gameLogic.setKit 2 6 "eu_AT" "eu_heavy_soldier"
      rem -----------------------------------------------------------------------------

      you will also need to add at the very end of the init.con (this is for the vehicles and Commander assets only. Statics are also listed in the relevant levels init.com)

      rem Effects
      run Objects\Effects\vehicles\explosionsxp2\e_vexp_xpak _eurofighter\e_vexp_xpak_eurofighter.con
      run Objects\Effects\vehicles\explosionsxp2\e_vexp_xpak _tnkl2a6\e_vexp_xpak_tnkl2a6.con
      run Objects\Effects\vehicles\explosionsxp2\e_vexp_xpak _tnkc2\e_vexp_xpak_tnkc2.con
      run Objects\Effects\vehicles\explosionsxp2\e_vexp_xpak _tiger\e_vexp_xpak_tiger.con
      rem Vehicles
      run Objects\Vehicles\xpak2_vehicles\xpak2_faav\xpak2_f aav.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_eurofighter\ xpak2_eurofighter.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_tnkc2\xpak2_ tnkc2.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_tnkl2a6\xpak 2_tnkl2a6.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_lav25\xpak2_ lav25.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_hmmwv\xpak2_ hmmwv.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_tiger\xpak2_ tiger_rearrotor\xpak2_tiger_rearrotor.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_tiger\xpak2_ tiger_mainrotor\xpak2_tiger_mainrotor.con
      run Objects\Vehicles\xpak2_vehicles\xpak2_tiger\xpak2_ tiger.con
      rem Static Objects
      objects\staticobjects\military\buildings\aircontro ltower_eu\aircontroltower_eu.con
      run objects\staticobjects\military\buildings\mobilerad ar_eu_dest\mobileradar_eu_dest.con



      Then copy over the relevant objects folders from the EF maps Client and Server.Zip to your levels.

      Finally edit your GamePlayObjects.con

      replacing

      For Euro Fighter

      ObjectTemplate.setObjectTemplate 2 USAIR_F18
      with
      ObjectTemplate.setObjectTemplate 2 xpak2_eurofighter

      For Tiger

      ObjectTemplate.setObjectTemplate 2 AHE_AH1Z
      With
      ObjectTemplate.setObjectTemplate 2 xpak2_tiger

      For MBT's

      ObjectTemplate.setObjectTemplate 2 USTNK_M1A2
      with
      ObjectTemplate.setObjectTemplate 2 xpak2_tnkc2
      or
      ObjectTemplate.setObjectTemplate 2 xpak2_tnkl2a6

      Commander Assets
      ObjectTemplate.setObjectTemplate 2 mobileradar_us_dest
      with
      ObjectTemplate.setObjectTemplate 2 mobileradar_eu_dest

      ObjectTemplate.setObjectTemplate 2 aircontroltower
      with
      ObjectTemplate.setObjectTemplate 2 aircontroltower_eu

      Artillary is the same.

      Other vehicles

      ObjectTemplate.setObjectTemplate 2 USAPC_LAV25
      with
      ObjectTemplate.setObjectTemplate 2 xpak2_lav25

      ObjectTemplate.setObjectTemplate 2 JEEP_FAAV
      with
      ObjectTemplate.setObjectTemplate 2 xpak2_faav

      ObjectTemplate.setObjectTemplate 2 USJEP_HMMWV
      with
      ObjectTemplate.setObjectTemplate 2 xpak2_hmmwv

      If you are going to carry on working in the editor make the file read only or the changes to the vehicles will be lost when you save.

      New Editor hould make it easier.

      Works perfectly. But some people have raised the question if you are allowed or not.
      Still awaiting a responce from EA.



      Comment

      • imported_Prophet

        #4
        Re: Euro Expansion in Editor

        There is nothing official about not being able to use them. These were 3 maps with new objects that are in the BF2 Levels Folder. No difference if I release a map and you decide to use objects from those maps in BF2 its actually LEGAL..

        Comment

        Working...