Ludeon Forums

Ludeon Forums

  • November 12, 2019, 04:43:49 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [A17] RimSearch - For finding stuff thought lost  (Read 8999 times)

ChJees

  • Colonist
  • ***
  • Posts: 187
  • awoo~
    • View Profile
[A17] RimSearch - For finding stuff thought lost
« on: July 05, 2017, 07:21:55 AM »



Ever wanted to easily find a certain item after a trade on the map or where one of your named animals are? Then this mod is for you!

Default keybinding for opening the search window is 'Z'. Can be rebound.

Search for:
*Pawns by name or kind.
*Pawns belonging to colony.
*Things by their name.
*Across multiplie maps.
*Planet locations by name.
*With one click you can go to your pawn, thing or location!

Credits:
ChJees – Concept, C# & XML

Screenshots: 1 | 2 | 3

Dropbox: https://dl.dropboxusercontent.com/u/547140/Rimworld/RimSearch.zip
Steam: http://steamcommunity.com/sharedfiles/filedetails/?id=964675612

Source Code: https://dl.dropboxusercontent.com/u/547140/Rimworld/RimSearch-src.zip

Update: Updated again which fixed a bug when trying to use the search in the Planet map view with no colony map or event map open and also added translations and settings!

Also translations for languages other than English and Swedish are appreciated :D . Will be added to credits as a translator if you do.

Update: Fixed a derp which allowed you to see hidden (fogged) items and pawns.

[attachment deleted by admin due to age]
« Last Edit: July 08, 2017, 07:30:10 AM by ChJees »
Logged

wwWraith

  • Colonist
  • ***
  • Posts: 388
  • ...
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #1 on: July 05, 2017, 07:34:32 AM »

Yay! I dreamed about it for years! :D
Logged
Think about it. Think around it. Probably you'll get some new good idea even if it would be completely different from my words.

My mods

Please don't copy Core bases in your mods

SpaceDorf

  • Transcendent
  • *****
  • Posts: 4032
  • Secretly Captain Obvious
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #2 on: July 05, 2017, 07:58:04 AM »

I think A17 is becoming the Awesome-QoL-Mods Edition
Logged
Maxim 1   : Pillage, then burn
Maxim 37 : There is no overkill. There is only open fire and reload.
Rule 34 of Rimworld :There is a mod for that.
Avatar Made by Chickenplucker

kaptain_kavern

  • Planetologist
  • ****
  • Posts: 2074
  • started 10 mods in one tick.
    • View Profile
    • RimWorldMod Slack - A place for live chatting about RimWorld modding
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #3 on: July 05, 2017, 08:42:04 AM »

Awesome, Thank you

asquirrel

  • Colonist
  • ***
  • Posts: 488
  • Refugee
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #4 on: July 05, 2017, 09:49:43 PM »

Tank U! :)
Logged

moonra

  • Drifter
  • **
  • Posts: 86
  • Refugee
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #5 on: July 05, 2017, 10:05:26 PM »

Holy crap, this is amazing.
Logged

ChJees

  • Colonist
  • ***
  • Posts: 187
  • awoo~
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #6 on: July 06, 2017, 06:27:10 AM »

Updated the mod which allowed you to see hidden (fogged) items and pawns. Also as a bonus i finally included the source code. It uses my usual license which allow you to use it as a base for your own mod and pick pieces of code you like for your mod.
Logged

BlackSmokeDMax

  • Planetologist
  • ****
  • Posts: 1703
  • Don't Have To Live Like A...
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #7 on: July 06, 2017, 07:38:56 PM »

Wow, very cool!

Thanks!!

ChJees

  • Colonist
  • ***
  • Posts: 187
  • awoo~
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #8 on: July 08, 2017, 07:31:03 AM »

Updated again, check OP for more info.

Also i am looking for translators for languages other than English and Swedish. Will add you to the credits for a translation :) .
Logged

faltonico

  • Guest
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #9 on: August 05, 2017, 11:17:36 PM »

Hi!
I have to thank you for this mod, it is incredibly useful!
I bumped with this error though, when imputing text inside the search window of your mod:
Code: [Select]
Exception filling window for RimSearch.UI.SearchWindow: System.NullReferenceException: Object reference not set to an instance of an object
  at RimSearch.Logic.SearchQuery+<>c__DisplayClass16_0.<ParseSearchTerm>b__4 (RimWorld.Planet.WorldObject worldObject) [0x00000] in <filename unknown>:0
  at RimSearch.Logic.SearchQuery.ExecuteWorldObject (RimWorld.Planet.WorldObject worldObject) [0x00000] in <filename unknown>:0
  at RimSearch.Logic.SearchQuery.ExecuteWorldMap (RimWorld.Planet.World world) [0x00000] in <filename unknown>:0
  at RimSearch.Logic.SearchQuery.Execute () [0x00000] in <filename unknown>:0
  at RimSearch.UI.SearchWindow.DoWindowContents (Rect inRect) [0x00000] in <filename unknown>:0
  at Verse.Window+<WindowOnGUI>c__AnonStorey2C5.<>m__1B1 (Int32 x) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.<WindowOnGUI>c__AnonStorey2C5:<>m__1B1(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Is it that it cannot find a particular sprite for an item?
Anyway, I cannot dismiss the possibility of it being a mod conflict, I have already found another mod that was causing GUI problems and managed to uninstall it, but this particular error keeps happening.
Thank you for your work!
Logged

aemeyer

  • Drifter
  • **
  • Posts: 21
  • Refugee
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #10 on: September 11, 2017, 11:54:12 AM »

Looks like the dropbox file links are either broken or the file got moved/hidden.
Which sucks because I play on large maps and searching for all the animals of specific types can take a few minutes.
Logged

TOWC

  • Drifter
  • **
  • Posts: 66
  • Refugee
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #11 on: September 11, 2017, 07:14:47 PM »

Wow. The idea itself is amazing, but being a thing? Marvelous. Does the list of items include specific art pieces that you've already sold to someone?
Logged

Rock5

  • Colonist
  • ***
  • Posts: 748
  • Schizoid
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #12 on: November 20, 2017, 09:50:22 PM »

ChJees, are you planning to update this for B18?
Logged
Rock5 [B18] Mods
- Butchers Can Count Meat
- Sun Lamp Planner
- JTZoneButtons
- RimSearch
- JTExport

Rock5

  • Colonist
  • ***
  • Posts: 748
  • Schizoid
    • View Profile
Re: [A17] RimSearch - For finding stuff thought lost
« Reply #13 on: December 02, 2017, 05:03:57 AM »

I updated this mod for B18. Here's the link.

https://ludeon.com/forums/index.php?topic=37177

And for those who still use A17 and don't have access to steam, here is the A17 version copied directly from steam.

[attachment deleted by admin: too old]
« Last Edit: December 10, 2017, 06:36:07 PM by Rock5 »
Logged
Rock5 [B18] Mods
- Butchers Can Count Meat
- Sun Lamp Planner
- JTZoneButtons
- RimSearch
- JTExport