Editing
BattleTech mods/Remove They Pronoun
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Description== Removes They pronoun from Character Creation by modifying a dll file. 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: "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; } }
Summary:
Please note that all contributions to Modding Haven may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Modding Haven:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information