Difference between revisions of "Add Pilots"

From Battletech Modding Wiki
Jump to: navigation, search
(Adding a new Pilot.)
(add more info and example mechwarrior.)
Line 1: Line 1:
If you want to modify an existing pilot make sure to backup the original file first
+
'''If you want to modify an existing pilot make sure to backup the original file first'''
  
 
The pilot files can be found in:<blockquote>SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets\data\pilot\</blockquote>Modifying a pilot simply requires that you adjust the existing .json file.
 
The pilot files can be found in:<blockquote>SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets\data\pilot\</blockquote>Modifying a pilot simply requires that you adjust the existing .json file.
Line 8: Line 8:
  
 
   <nowiki>"AbilityDefNames" :
 
   <nowiki>"AbilityDefNames" :
    [
+
      [
        "AbilityDefG3"
+
        "AbilityDefG3"
    "AbilityDefG5"
+
    "AbilityDefG5"
    "AbilityDefGu5"
+
    "AbilityDefGu5"
    "AbilityDefP3"
+
    "AbilityDefP3"
    "AbilityDefP5"
+
    "AbilityDefP5"
    "AbilityDefT4"
+
    "AbilityDefT4"
    "AbilityDefT5"
+
    "AbilityDefT5"
    ]</nowiki>
+
      ]</nowiki>
 +
 
 +
=== Voices ===
 +
You can change the 'voice' of the Mechwarrior by changing this line
 +
"Voice" : "f_glum01_russian",
 +
valid voices can be found in the other pilots files.
 +
 
 +
=== Mechwarrior Skills ===
 +
You can change your piloting, gunnery, tactics and guts by modifying their values here:
 +
"BaseGunnery" : 6,
 +
"BasePiloting" : 3,
 +
"BaseGuts" : 8,
 +
"BaseTactics" : 5,
  
 
== Adding a new Pilot. ==
 
== Adding a new Pilot. ==
Line 30: Line 42:
 
  "Description" : {
 
  "Description" : {
 
  "Id" : "pilot_pkell",
 
  "Id" : "pilot_pkell",
you likely also want to give it unique names so the end description area might look like this :
+
you likely also want to give it unique in game names so the end description area might look like this :
 
  "Description" : {
 
  "Description" : {
 
  "Id" : "pilot_pkell",
 
  "Id" : "pilot_pkell",
 
  "Name" : "Wolf",
 
  "Name" : "Wolf",
 
  "Details" : "He's out of time.. from 3050 to the high time of his father.. ",
 
  "Details" : "He's out of time.. from 3050 to the high time of his father.. ",
  "FirstName" : "Phelen",
+
  "FirstName" : "Phelan",
 
  "LastName" : "Kell",
 
  "LastName" : "Kell",
  "Icon" : "Buckshot"
+
  "Icon" : "Wolf"
 
  },
 
  },
 
if you've added [[Add Pilot Pictures|new images]] for Mechwarrior's you could even change the "icon" line to that.
 
if you've added [[Add Pilot Pictures|new images]] for Mechwarrior's you could even change the "icon" line to that.
 +
 +
In this case I have made Phelan Kell as an example he will show up as such with his own unique icon in game.
  
 
'''It is also important that the pilot has the Tag for the beta'''
 
'''It is also important that the pilot has the Tag for the beta'''
 
   <nowiki>"PilotTags" : {
 
   <nowiki>"PilotTags" : {
        "items" : [
+
        "items" : [
  "pilot_release_ksbeta"
+
  "pilot_release_ksbeta"
        ],</nowiki>
+
        ],</nowiki>
 
'''Make sure the abilities are valid if you copied one of the pilots.'''
 
'''Make sure the abilities are valid if you copied one of the pilots.'''
  
Line 56: Line 70:
 
The first column is the ID just set in the json file, the third is the path to the json, relative to SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets. The rest does not have to be changed the game is not checking the timestamp.
 
The first column is the ID just set in the json file, the third is the path to the json, relative to SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets. The rest does not have to be changed the game is not checking the timestamp.
  
 +
== Example new Mechwarrior: Phelan Kell ==
 +
Please note that for this to show a correct mechwarrior face in game you will need to also make the "Icon"
 +
{
 +
"Description" : {
 +
  "Id" : "pilot_pkell",
 +
  "Name" : "Wolf",
 +
  "Details" : "Out of time, a young Phelen Patrick Kell finds himself in the days of his fathers glory.",
 +
  "FirstName" : "Phelan",
 +
  "LastName" : "Kell",
 +
  "Icon" : "Kell"
 +
},
 +
"PilotTags" : {
 +
  "items" : [
 +
"pilot_release_ksbeta"
 +
],
 +
  "tagSetSourceFile" : ""
 +
},
 +
"BaseGunnery" : 8,
 +
"BasePiloting" : 5,
 +
"BaseGuts" : 8,
 +
"BaseTactics" : 5,
 +
"Injuries" : 0,
 +
"Voice" : "m_rizzo01",
 +
"AbilityDefNames" :
 +
[
 +
  "AbilityDefGu5",
 +
  "AbilityDefT5",
 +
  "AbilityDefG3",
 +
  "AbilityDefG5",
 +
  "AbilityDefP5"
 +
]
 +
}
 +
[[File:New Pilot.png|thumb]]
 
[[Category:Pilots]]
 
[[Category:Pilots]]
 
[[Category:Adding]]
 
[[Category:Adding]]
 
[[Category:Creating New Content]]
 
[[Category:Creating New Content]]

Revision as of 21:20, 4 June 2017

If you want to modify an existing pilot make sure to backup the original file first

The pilot files can be found in:
SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets\data\pilot\
Modifying a pilot simply requires that you adjust the existing .json file.

Abilities

Pilots can have multiple abilities, even more than the 4 suggested by the UI, just add the to the list. The abilities can be found in SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets\data\abilities\

  "AbilityDefNames" :
      [
         "AbilityDefG3"
   	  "AbilityDefG5"
   	  "AbilityDefGu5"
   	  "AbilityDefP3"
   	  "AbilityDefP5"
   	  "AbilityDefT4"
   	  "AbilityDefT5"
      ]

Voices

You can change the 'voice' of the Mechwarrior by changing this line

"Voice" : "f_glum01_russian",

valid voices can be found in the other pilots files.

Mechwarrior Skills

You can change your piloting, gunnery, tactics and guts by modifying their values here:

"BaseGunnery" : 6,
"BasePiloting" : 3,
"BaseGuts" : 8,
"BaseTactics" : 5,

Adding a new Pilot.

If you want to create a new pilot the easiest way is to copy one of the existing pilots and modify it to your liking

There are a few important things you need to take into account however.

You need to give it a UNIQUEID

"Description" : {
"Id" : "pilot_kbeta_buckshot",

so for your own pilot you might make this look like:

"Description" : {
"Id" : "pilot_pkell",

you likely also want to give it unique in game names so the end description area might look like this :

"Description" : {
"Id" : "pilot_pkell",
"Name" : "Wolf",
"Details" : "He's out of time.. from 3050 to the high time of his father.. ",
"FirstName" : "Phelan",
"LastName" : "Kell",
"Icon" : "Wolf"
},

if you've added new images for Mechwarrior's you could even change the "icon" line to that.

In this case I have made Phelan Kell as an example he will show up as such with his own unique icon in game.

It is also important that the pilot has the Tag for the beta

  "PilotTags" : {
         "items" : [
   		"pilot_release_ksbeta"
         ],

Make sure the abilities are valid if you copied one of the pilots.

Save the JSON file as a name you will remember! eg pilot_pkell.json in with the other pilots!

The last and very important step is to add the new pilot to the manifest file located at

SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets\data\VersionManifest.csv

add the new pilot line at the end like so:

pilot_pkell,PilotDef,data/pilot/pilot_pkell.json,0,2017-05-17T08:26:05.0000000Z,2017-05-17T08:26:05.0000000Z,,,0

The first column is the ID just set in the json file, the third is the path to the json, relative to SteamLibrary\SteamApps\common\BattleTech - Private Beta\BattleTech_Data\StreamingAssets. The rest does not have to be changed the game is not checking the timestamp.

Example new Mechwarrior: Phelan Kell

Please note that for this to show a correct mechwarrior face in game you will need to also make the "Icon"

{
"Description" : {
 "Id" : "pilot_pkell",
 "Name" : "Wolf",
 "Details" : "Out of time, a young Phelen Patrick Kell finds himself in the days of his fathers glory.",
 "FirstName" : "Phelan",
 "LastName" : "Kell",
 "Icon" : "Kell"
},
"PilotTags" : {
 "items" : [
		"pilot_release_ksbeta"
],
 "tagSetSourceFile" : ""
},
"BaseGunnery" : 8,
"BasePiloting" : 5,
"BaseGuts" : 8,
"BaseTactics" : 5,
"Injuries" : 0,
"Voice" : "m_rizzo01",
"AbilityDefNames" :
[
 "AbilityDefGu5",
 "AbilityDefT5",
 "AbilityDefG3",
 "AbilityDefG5",
 "AbilityDefP5"
]
}
New Pilot.png