Skip to content

Commit

Permalink
Fixed Visual Size Multiplier; Version Push
Browse files Browse the repository at this point in the history
  • Loading branch information
ADDB committed Jan 21, 2024
1 parent 80b152a commit 1afd763
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ToyBox/ModDetails/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Id": "0ToyBox0",
"DisplayName": "ToyBox for RogueTrader",
"Author": "Narria",
"Version": "1.5.9j",
"Version": "1.5.10",
"ManagerVersion": "0.23.0",
"Requirements": [],
"AssemblyName": "ToyBox.dll",
Expand Down
2 changes: 1 addition & 1 deletion ToyBox/ModDetails/Repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Releases": [
{
"Id": "0ToyBox0",
"Version": "1.5.9j"
"Version": "1.5.10"
}
]
}
14 changes: 4 additions & 10 deletions ToyBox/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,35 +55,29 @@
* **Quest Resolution**: this allows you to view your active quests and advance them as needed to work around bugs or
skip quests you don't want to do. Be warned this may break your game progression if used carelessly.

### ToyBox Rogue - Ver 1.5.9j built for Rogue Trader 1.0.??
* (***ADDB***) Readded changing Ranks of features which support that.
### ToyBox Rogue - Ver 1.5.10 built for Rogue Trader 1.0.98
* (***ADDB***) One of my previous changes broke Visual size multiplier; fixed that.
* (***ADDB***) (Maybe) readded changing Ranks of features which support that.
* (***Deltharis***) Reversing Advantage/Disadvantage for RT.
* (***Deltharis***) Added ship options for roll cheats.

### ToyBox Rogue - Ver 1.5.9i built for Rogue Trader 1.0.93
* (***Deltharis***) Modified the infinite action stuff. An option to allow multiple attacks should now exist.
* (***ADDB***) Fix Achievements tab?
* (***ADDB***) Addressed a caching issue which made Achievements tab behave weirdly when loading another save.
### ToyBox Rogue - Ver 1.5.9h built for Rogue Trader 1.0.89
* (***ADDB***) Fix BlueprintVoiceEditor crashing mod when editing Unit without an existing voice.
* (***ADDB***) Fixed Remote Companion Dialog somehow causing the game to assume that a companion was turned into an ExCompanion.
* (***ADDB***) Maybe fix units teleporting during dialog?
### ToyBox Rogue - Ver 1.5.9g built for Rogue Trader 1.0.81
* (***ADDB***) Fix Show Interestingness Coefficient feature sometimes crashing the mod.
* (***ADDB***) It is now possible to use the Party => Stats window to let AI take control of Companions during fights.
* (***ADDB***) To prevent collisions this update introduced some changes which will reset existing VisualSizeMultiplier options. Until now those have been based on Character Name. They are now based on Character Unique Id.
### ToyBox Rogue - Ver 1.5.9f built for Rogue Trader 1.0.79
* (***ADDB***) Added experimental fix for recruited characters being invisible when changing Areas. **You need to manually activate this with the toggle located in the Party Tab.**
* (***ADDB***) Development mode now allows cheat-only commands.
* (***ADDB***) Fixed some recruited units being controlled by AI instead of the player.
* (***ADDB***) Probably finally fixed Highlight Hidden Objects...
### ToyBox Rogue - Ver 1.5.9e built for Rogue Trader 1.0.73
* (***ADDB***) Fix (keep) highlighting wrong objects.
* (***ADDB***) Maybe fix Remote Companion Dialog including Companions before recruiting them.
### ToyBox Rogue - Ver 1.5.9d built for Rogue Trader 1.0.70
* (***ADDB***) Readd unstart Etude.
* (***ADDB***) Made Achievement Enabler opt-out by default. (If you are updating the mod then this changes nothing for you).
* (***ADDB***) Remove more log spam.
### ToyBox Rogue - Ver 1.5.9c built for Rogue Trader 1.0.69
* (***ADDB***) Fixed broken Custom Portrait Editor.
* (***ADDB***) Fixed some stuff staying highlighted when activating highlight hidden objects.
* (***ADDB***) Infinite Actions now no longer works for enemies.
Expand Down
2 changes: 1 addition & 1 deletion ToyBox/classes/MonkeyPatchin/BagOfPatches/MiscRT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private static void Postfix() {
PartyEditor.lastScaleSize = new();
PartyEditor.statEditorStorage.Clear();
foreach (var ID in Main.Settings.perSave.characterModelSizeMultiplier.Keys) {
foreach (BaseUnitEntity cha in Game.Instance.State.AllUnits.Where((u) => u.CharacterName.Equals(ID))) {
foreach (BaseUnitEntity cha in Game.Instance.State.AllUnits.Where((u) => u.HashKey().Equals(ID))) {
float scale = Main.Settings.perSave.characterModelSizeMultiplier.GetValueOrDefault(ID, 1);
cha.View.gameObject.transform.localScale = new Vector3(scale, scale, scale);
PartyEditor.lastScaleSize[cha.HashKey()] = scale;
Expand Down

0 comments on commit 1afd763

Please sign in to comment.