Skip to content

Commit 6e05bcc

Browse files
Roll A14 version into master (#5)
* [fixes] A14 update Removes dependency on CCL Should fix startup errors. * why detour no work? * Moved away from detours in favour of a GUI click check. Removed detours for ColonistBar click handler, also removed dependency on CCL. Instead, check for right clicks in the MapComp's GUI loop, and cross reference the mousposition with the ColonistBar. Simpler, and less likely to conflict with other mods - everyone wins! * Updated and expanded About.xml * Added German translation by Raccoon. * Added turning off the follow mechanism on mouse screen edge scrolling (#3) * Stop following thing when camera jump has been requested (#4) * Stop following thing when camera jump has been requested * Optimize the reflection code by caching the call to GetField()
1 parent 9079efe commit 6e05bcc

File tree

11 files changed

+195
-147
lines changed

11 files changed

+195
-147
lines changed

About/About.xml

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<ModMetaData>
3-
43
<name>Follow Me!</name>
5-
64
<author>Fluffy</author>
7-
85
<url>https://ludeon.com/forums/index.php?topic=16120.0</url>
6+
<targetVersion>0.14.1223</targetVersion>
7+
<description>Follow Me!
8+
Description
9+
====
10+
Gives the camera tracking capabilities. Press the 'Home' key (default, can be changed with in-game keybinding settings) while any colonist, enemy, animal or item is selected, and the camera will follow them (including furniture and plants - but they tend to not move much). Alternatively, you can right click colonists in the Colonist Bar on top of the screen to toggle following.
911

10-
<targetVersion>RimWorld Alpha 13</targetVersion>
11-
12-
<description>Adds a keybinding (default: Home) to lock the camera to a pawn, animal or item.</description>
12+
Notes
13+
====
14+
To keep the mod simple, camera follow is only broken when the camera is moved manually with the keyboard, or the follow key is pressed again. Camera movement by moving the cursor close to the map's edge is not registered. If there's enough call for this functionality, I might add it in at some point.
1315

16+
Contributors
17+
====
18+
Raccoon - German translation
19+
</description>
1420
</ModMetaData>

About/Preview.png

183 KB
Loading

About/PublishedFileId.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
715759739

About/Version.xml

-6
This file was deleted.

Assemblies/FollowMe!.dll

0 Bytes
Binary file not shown.

Defs/KeyBindingDefs/keybinding.xml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<KeyBindingDefs>
44

55
<!-- In-game camera -->
6-
76
<KeyBindingDef Name="GameKeyBinding" Abstract="true">
87
<category>Game</category>
98
</KeyBindingDef>

Defs/ModHelperDefs/ModHelperDefs.xml

-11
This file was deleted.

Languages/German/Keyed.xml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<LanguageData>
3+
4+
<FollowMe.Cancel> {0} wird nicht mehr Verfolgt.</FollowMe.Cancel>
5+
<FollowMe.Follow> Verfolge jetzt {0}.</FollowMe.Follow>
6+
7+
<FollowMe.RejectMultiple>Können nicht verfolgt werden, zu viele Ziele.</FollowMe.RejectMultiple>
8+
<FollowMe.RejectNoSelection>Kann nicht folgen, kein Ziel.</FollowMe.RejectNoSelection>
9+
<FollowMe.RejectNotAThing>Kann nicht folgen, Markierung ist kein Individuum.</FollowMe.RejectNotAThing>
10+
11+
</LanguageData>

Source/.vs/FollowMe!/v14/.suo

32 KB
Binary file not shown.

Source/FollowMe!.csproj

+2-6
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@
3131
</PropertyGroup>
3232
<ItemGroup>
3333
<Reference Include="Assembly-CSharp">
34-
<HintPath>..\..\..\RimWorld1135Win_Data\Managed\Assembly-CSharp.dll</HintPath>
35-
<Private>False</Private>
36-
</Reference>
37-
<Reference Include="Community Core Library">
38-
<HintPath>..\..\Community Core Library\Assemblies\Community Core Library.dll</HintPath>
34+
<HintPath>..\..\..\RimWorldWin_Data\Managed\Assembly-CSharp.dll</HintPath>
3935
<Private>False</Private>
4036
</Reference>
4137
<Reference Include="System" />
@@ -45,7 +41,7 @@
4541
<Reference Include="System.Data" />
4642
<Reference Include="System.Xml" />
4743
<Reference Include="UnityEngine">
48-
<HintPath>..\..\..\RimWorld1135Win_Data\Managed\UnityEngine.dll</HintPath>
44+
<HintPath>..\..\..\RimWorldWin_Data\Managed\UnityEngine.dll</HintPath>
4945
<Private>False</Private>
5046
</Reference>
5147
</ItemGroup>

0 commit comments

Comments
 (0)