Mod:Modify the worldmap

From Wikipedia 2197
Jump to navigation Jump to search
This tutorial uses mainly the Campaign editor.

This tutorial will explain how to modify the Worldmap of The Sum: Add, place, hide/unhide a location.

Required Tools[edit | edit source]

Before You Begin[edit | edit source]

Take some time to learn how the game editor works by checking out the readme file of the Fallout Tactics editor.

Alert.png  The game is referred to as "Campaign" and the locations as "Missions" in the document 



Add a new location[edit | edit source]

Before adding a new location to the Worldmap, it is best to create one (follow the instructions here).

Add the location to the campaign.txt list[edit | edit source]

  1. Open the folder Game/core/campaigns/ then campaign.txt.
  2. In campaign.txt, press
     ctrl 
    +
     f 
    and search for "cores = {"
  3. Follow the list to the end: "}".
    Alert.png  Do not add a location anywhere other than the end of the list, or this will destroy the placement of all subsequent locations in the list. 


  4. Just before the "}" symbol, copy/paste the following code:
    "missions/location_code_name_to_add.mis;location_code_name_to_add;size;state;false", //Comments
  • size: Size of the green circle on the map (10 = Small; 20 = Medium; 25 = Medium (Occupied); 40 = Large (Community)).
  • Status: Visibility of the location (uncovered = Visible; covered = Hidden (revealed by a script); visited = Visible and added to the list of locations on the right).
  • false: Option not used. Leave the option at false.

Add the location to the list of generic_mission.txt[edit | edit source]

  1. Open the folder Game/NousAurons/locale/game/ then generic_mission.txt. (French version)
  2. Press
     ctrl 
    +
     f 
    and search for "// NOM DES LIEUX"
  3. Directly below, copy/paste the following code:
    place_name = {Name of the location in French}
  4. Open the folder Game/core/locale/game/ then generic_mission.txt. (english version)
  5. Press
     ctrl 
    +
     f 
    and search for "// NOM DES LIEUX"
  6. Directly below, copy/paste the following code:
    place_name = {Name of the location in English}

Add the location to the Campaign editor[edit | edit source]

  1. Open the folder Game/ and then FT Tools.EXE.
    Alert.png  Never use FT Improver.exe to edit the map. Strange bugs will occur 


  2. Click on
    ⦿  OK 
    .
  3. Click
    ⦿  GAME EDITOR 
    .
  4. Go to the
     File 
    menu then
     Open 
    .
  5. Open the file bos.cam located in core/campaigns/.
  6. Go to the menu
     Tools 
    then
     Import Core 
    (the place will be added).
  7. Click on the
     Core 
    tab.
  8. Select your location from the list on the left, then click on the chosen location on the Worldmap to place it.
  9. Navigate to the
     File 
    menu and then
     Save 
    .

Move a location[edit | edit source]

Move the location in the Campaign editor[edit | edit source]

  1. Open the folder Game/ and then FT Tools.EXE.
    Alert.png  Never use FT Improver.exe to edit the map. Strange bugs will occur 


  2. Click on
    ⦿  OK 
    .
  3. Click
    ⦿  GAME EDITOR 
    .
  4. Go to the
     File 
    menu then
     Open 
    .
  5. Open the file bos.cam located in core/campaigns/.
  6. Click on the tab
     Core 
    .
  7. Select the location to be moved from the list on the left, then click on the new location you have chosen on the Worldmap.
  8. Navigate to the
     File 
    menu and then
     Save 
    .

Add a random encounter[edit | edit source]

Campaign Editor Random tab

Add the encounter to the list of encounters.txt[edit | edit source]

  1. Open the folder Game/NousAurons/locale/game/ then encounters.txt (French version)
  2. Copy/paste the following code:
    encounter_code_name = {Name of the encounter in French}
  3. Open the folder Game/core/locale/game/ then encounters.txt.
  4. Copy/paste the following code:
    encounter_code_name = {Name of the encounter in English}

Add the encounter to the list of campaign.txt[edit | edit source]

  1. Open the folder Game/core/campaigns/ then campaign.txt.
  2. In campaign.txt, press
     ctrl 
    +
     f 
    and search for "forces = {"
  3. Follow the list to the end: "}".
    Alert.png  Do not add an encounter anywhere else but at the end of the list, as this will destroy all existing encounters on the map. 


  4. Just before the "}" symbol, copy/paste the following code:
    	{ "encounter_code_name;alignment;min;max;active;A",	
    	  "entities/Actors/___RANDOM/entity_name.ent;number;chance",
    	  "entities/Actors/___RANDOM/entity_name.ent;number;chance",
    	},
  • encounter_code_name: Code name of the encounter (avoid spaces).
  • alignment: Behavior of characters encountered ("good" = friendly; "bad" = hostile; "critter" = hostile, but less organized).
  • min: Minimum number of character placement attempts (luck).
  • max: Maximum number of character placement attempts (luck).
  • active : Encounter active or not (true = active; false = requires a script to work)
  • A : Unused. Leave at "A".
  • entity_name: File name of the character to be added, stored in Game/core/entities/Actors/___RANDOM/ in .ent format.
  • number: Number of characters appearing if the luck check succeeds.
  • chance: Chance in 100 that a number of characters determined by number will appear. The number of attempts is randomly determined between "min" and "max".

Add the encounter to the Campaign editor[edit | edit source]

  1. Open the folder Game/ and then FT Tools.EXE.
    Alert.png  Never use FT Improver.exe to edit the map. Strange bugs will occur 


  2. Click on
    ⦿  OK 
    .
  3. Click
    ⦿  GAME EDITOR 
    .
  4. Go to the
     File 
    menu then
     Open 
    .
  5. Open the file bos.cam located in core/campaigns/.
  6. Go to the menu
     Tools 
    then
     Import Random 
    (the meeting will be added).
  7. To the right of the tabs, change the
     5  
     5  
     5  
    boxes to choose your placement "brush" (1st number = length boxes; 2nd number = height boxes; 3rd number = chance to trigger the encounter)
    Alert.png  Keep the 3rd digit low (less than 5) to prevent the game from being interrupted too often by random encounters. 


  8. Click on the
     Random 
    tab.
  9. Select your encounter from the list on the left, then click on the chosen location on the map to place it. Each time you click, an encounter chance is added according to the "brush" chosen above.
    Bulb.png  You can display the total encounter chance for each box by checking the "Show Totals" option in the "View" menu 


  10. Go to the
     File 
    menu and then
     Save 
    .

Add a special encounter[edit | edit source]

A special encounter (or event) is a hidden location that can be opened by moving around the Worldmap. Before adding this place to the Worldmap, it is best to create it (follow the instructions here).

Add the encounter to the list of campaign.txt[edit | edit source]

  1. Open the folder Game/core/campaigns/ then campaign.txt.
  2. In campaign.txt, press
     ctrl 
    +
     f 
    and search for "specials = {"
  3. Follow the list to the end: "}".
    Alert.png  Do not add a location anywhere other than the end of the list, as this will destroy the placement of all locations in the list. 


  4. Just before the "}" symbol, copy/paste the following code:
           "missions/special/special_encounter_code_name.mis;special_encounter_code_name;size;true;true",
  • special_encounter_code_name: Code name of the special meeting (avoid spaces).
  • size: Size of the green circle on the map once the encounter has passed (10 = Small; 20 = Medium; 25 = Medium (Busy); 40 = Large(Community)).
  • true: These two options cause different bugs. It is better to leave them at true.

Add the special encounter to the Campaign editor[edit | edit source]

  1. Open the folder Game/ and then FT Tools.EXE.
    Alert.png  Never use FT Improver.exe to edit the map. Strange bugs will occur 


[File:Special.jpg|thumb|Campaign Editor Special tab]]

  1. Click on
    ⦿  OK 
    .
  2. Click
    ⦿  GAME EDITOR 
    .
  3. Go to the
     File 
    menu then
     Open 
    .
  4. Open the file bos.cam located in core/campaigns/.
  5. Go to the menu
     Tools 
    then
     Import Special 
    (the special meeting will be added).
  6. To the right of the tabs, change the
     5  
     5  
     5  
    boxes to choose your placement "brush" (1st number = length boxes; 2th number = height boxes; 3th number = chance to trigger the encounter)
    Bulb.png  Place the 3rd digit at "25" or less. 


  7. Click on the
     Special 
    tab.
  8. Select your special encounter from the list on the left, then click on the chosen location on the card to place it. Each time you click, an encounter chance is added according to the "brush" chosen above.
    Bulb.png  You can display the total encounter chance for each box by checking the "Show Totals" option in the "View" menu 


  9. Go to the
     File 
    menu and then
     Save 
    .