BattleTech mods/Remove They Pronoun: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox mod
{{Infobox mod
|title = Remove They Pronoun
|title = Remove They Pronoun
|logo =  
|logo = https://i.imgur.com/2kfRu4Zm.png
|developer = lordcorvin
|developer = lordcorvin
|version = 1.0
|version = 1.0
Line 10: Line 10:
Removes They pronoun from Character Creation by modifying a dll file.
Removes They pronoun from Character Creation by modifying a dll file.


Random pilots might still generate with the pronoun.
Installation: Backup and replace Assembly-CSharp.dll in <code>*Install Path*\BATTLETECH\BattleTech_Data\Managed</code>


Installation: Backup and replace Assembly-CSharp.dll in <code>*Install Path*\BATTLETECH\BattleTech_Data\Managed</code>
'''Note:''' 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> to something like:
To remove this generation, adjust percentage in ''SimGameConstants.json'' in <code>\BATTLETECH\BattleTech_Data\StreamingAssets\data\simGameConstants</code> to something like:
  "MaleGenerationWeight" : 90,
  "MaleGenerationWeight" : 90,
  "FemaleGenerationWeight" : 10,
  "FemaleGenerationWeight" : 10,
Line 61: Line 61:


==Download==
==Download==
For GOG release v1.0.0
*[https://arweave.net/cEUgvbmTZtRwyq1rnFrJdI47_o1RR48tv-ijNH4I01o/%5BBATTECH%5D%20Remove%20They%20Pronoun.7z arweave]
*[https://arweave.net/cEUgvbmTZtRwyq1rnFrJdI47_o1RR48tv-ijNH4I01o/%5BBATTECH%5D%20Remove%20They%20Pronoun.7z arweave]
*[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]
*[https://archive.org/download/mod-wiki-files/Mods/BattleTech/Remove%20They%20Pronoun/Remove%20They%20Pronoun.7z archive.org]
===For GOG release v1.9.1-686r===
*[https://arweave.net/yWdcckktDZ0HjFcqyea7w_4uafu3l21J-fWmujFlKBc/%5BBTLTCH%5D%20Remove%20They%20Pronoun%20Updated.7z arweave]
*[https://files.catbox.moe/47wdgk.7z catbox]
*[https://multiup.io/download/f9ae7f888b5c95ef42bbb3da04a5204c/Remove%20They%20Pronoun%20Updated.7z multiup]
*[https://mega.nz/file/2M8yAaSY#X60W3Yu4oPsAz68yADANhgMCymyGgmbbIYMjfBZ05_s mega]
*[https://archive.org/download/mod-wiki-files/Mods/BattleTech/Remove%20They%20Pronoun/Remove%20They%20Pronoun%20Updated.7z archive.org]


==Screenshots==
==Screenshots==
<div style='text-align: center;'>https://files.catbox.moe/0iaomj.PNG</div>
<div style='text-align: center;'>https://archive.org/download/mod-wiki-files/Mods/BattleTech/Remove%20They%20Pronoun/A7ZqY1P4XWMI3N-nzYs913McLz6pRbvKBvJkoz8HzhQ.png
https://files.catbox.moe/0iaomj.PNG</div>


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

Latest revision as of 15:58, 1 November 2023

Remove They Pronoun
2kfRu4Zm.png
Developer lordcorvin
Latest version 1.0
Release date 2018-05-02

Description[edit | edit source]

Removes They pronoun from Character Creation by modifying a dll file.

Installation: Backup and replace Assembly-CSharp.dll in *Install Path*\BATTLETECH\BattleTech_Data\Managed

Note: Random pilots might still generate with the pronoun.

To remove this generation, adjust percentage in SimGameConstants.json in \BATTLETECH\BattleTech_Data\StreamingAssets\data\simGameConstants to something like:

"MaleGenerationWeight" : 90,
"FemaleGenerationWeight" : 10,
"NonBinaryGenerationWeight" : 0,

Mod making tutorial[edit | edit source]

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[edit | edit source]

For GOG release v1.0.0

For GOG release v1.9.1-686r[edit | edit source]

Screenshots[edit | edit source]

A7ZqY1P4XWMI3N-nzYs913McLz6pRbvKBvJkoz8HzhQ.png 0iaomj.PNG