BattleTech mods/Remove They Pronoun: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{Infobox mod |title = Remove They Pronoun |logo = |developer = anonymous |version = 1.0 |release = }} ==Description== Removes They pronoun from Character Creation by modifying a dll file. Random pilots might still generate with the pronoun. To remove this generation, adjust percentage in SimGameConstants.json in <code>\BATTLETECH\BattleTech_Data\StreamingAssets\data\simGameConstants</code> ==Download== *[https://arweave.net/cEUgvbmTZtRwyq1rnFrJdI47_o1RR48tv-ijNH4I...")
 
No edit summary
Line 2: Line 2:
|title = Remove They Pronoun
|title = Remove They Pronoun
|logo =  
|logo =  
|developer = anonymous
|developer = lordcorvin
|version = 1.0
|version = 1.0
|release =  
|release = 2018-05-02
}}
}}


Line 12: Line 12:
Random pilots might still generate with the pronoun.
Random pilots might still generate with the pronoun.


To remove this generation, adjust percentage in SimGameConstants.json in <code>\BATTLETECH\BattleTech_Data\StreamingAssets\data\simGameConstants</code>
Installation: Backup and replace Assembly-CSharp.dll in <code>*Install Path*\BATTLETECH\BattleTech_Data\Managed</code>
 
To remove this generation, adjust percentage in SimGameConstants.json in <code>\BATTLETECH\BattleTech_Data\StreamingAssets\data\simGameConstants</code> to something like:
"MaleGenerationWeight" : 90,
"FemaleGenerationWeight" : 10,
"NonBinaryGenerationWeight" : 0,
 
===Mod making tutorial===
Don't trust the dll? This is how the mod was made, so you can do it yourself:
 
*Get dnSpy and navigate to your Battletech installation, go to Battletech_Data and then to Managed. Open up Assembly-CSharp.dll
**Example: G:\BATTLETECH\BattleTech_Data\Managed
*Open up Assembly-CSharp.dll
*Find SGCharacterCreationNamePanel Class, right click on it and choose Edit Class
*Remove ''They'' so it looks as the following:
this.pronounSelector.SetOptions(new string[]
{
"He",
"She"
});
 
*Compile
*Save all to Assembly-CSharp.dll (Backup the old one beforehand)
*You're done!
 
Optional: Remove logic for ''They'' in same class, make it looks like:
 
public Gender gender
{
get
{
Gender result = Gender.INVALID_UNSET;
string text = this.pronounSelector.selection.ToLower();
if (text != null)
{
if (!(text == "he"))
{
result = Gender.Female;
}
else
{
result = Gender.Male;
}
}
return result;
}
}


==Download==
==Download==
Line 18: Line 64:
*[https://multiup.org/download/f6e8cfa6c034d7512cd86d313c84ce97/Remove%20They%20Pronoun.7z multiup]
*[https://multiup.org/download/f6e8cfa6c034d7512cd86d313c84ce97/Remove%20They%20Pronoun.7z multiup]
*[https://www.mediafire.com/file/4vz646c0pml0zw8/Remove+They+Pronoun.7z/file mediafire]
*[https://www.mediafire.com/file/4vz646c0pml0zw8/Remove+They+Pronoun.7z/file mediafire]
==Screenshots==
<div style='text-align: center;'>https://files.catbox.moe/0iaomj.PNG</div>


[[Category:BattleTech mods]]
[[Category:BattleTech mods]]
[[Category:Mod page]]
[[Category:Mod page]]

Navigation menu