Page 1 of 1

Search Floor for Items (with source)

Posted: Sun Aug 04, 2013 11:39 pm
by AdrTru
Edit 12.8.2013 - Script is rewriting
I am making new version inspired by JohnWordsworth QuickBar


Old version of script
SpoilerShow
--------------------------------------------------------------------------------
SearchFloor by AdrTru is mod for Grimrock for searching items on floor
http://grimrock.nexusmods.com/mods/289/?
--------------------------------------------------------------------------------
For self functions needs Gui framework
and Shop scripts by Alois
viewtopic.php?f=14&t=5351&hilit=shop
--------------------------------------------------------------------------------

This script managing items on floor when is magnifier picture blue.
It is useful for lost items and floor with models is above standard floor level
and items isnt visible ( debris, mud, long grass, fire, canvased rock, etc. on the floor )
Items in alcove isnt visible(for author made hidden items)
Use/Dont use is managed by clicking to magnifier picture.

Image


-----------------------------------------------------------------------------------------------------------------------
I upload version 1.1 with this new features:

It is possible to pick up items by clicking to button next to searched name.

Its able to use this modifiters:
gui.setVar("searchUse",true)
- true/false - Use/Dont use this script
gui.setVar("searchOn",true)
- true/false - simmilar to use but show magnifier icon if its able
gui.setVar("searchShowIcon",true)
- true/false - show/dont show magnifier icon when script is running
gui.setVar("searchIconOn","mod_assets/search/magnifier_blue.dds")
- path for alternative picture for search is enabled
gui.setVar("searchIconOff","mod_assets/search/magnifier_gray.dds")
- path for alternative picture for search is disabled
gui.setVar("searchForward",true)
- true/false - show items in front of party position (dont able to pick up items from script and text is gray)
gui.setVar("searchAlcoved",false)
- true/false - show items located in alcoves/altars (true is little faster)

Items in Torch holders is showing evetime becouse I dont know how get item.id for inserted torch.
--------------------------------------------------------------------------------

Image

Re: Search Floor for Items (with source)

Posted: Thu Aug 15, 2013 10:01 pm
by AdrTru
------------------------------------------------
-- Search Floor Script
http://grimrock.nexusmods.com/mods/289//?
--
-- Version: 3.0.0
-- Released: 12.8.2013
-- Author: AdrTru canibalized :) code
by JohnWordsworth QuickBar
--
In testing dung is used mod Flooded dungeon by Skuggasveinn
and fire particle effect from forum
--
------------------------------------------------

This script managing items on floor.
It is possible to pick up items on party position by clicking to button next to searched name.
It is useful for lost items and floor with models is above standard floor level
and items isnt visible ( debris, mud, long grass,fire, etc. on the floor )

-----------------------------------------------

Now is script much easily integrated to dugeons - see you Read.me

Image
Image

Re: Search Floor for Items (with source)

Posted: Fri Aug 16, 2013 10:53 am
by Komag
Wow, you've really put some work into this, looks good :)

Re: Search Floor for Items (with source)

Posted: Mon Aug 19, 2013 10:52 am
by maneus
Fantastic work, AdrTru. That is damn good.

Re: Search Floor for Items (with source)

Posted: Mon Aug 19, 2013 3:50 pm
by AdrTru
Thank you for your positive reaction.

Re: Search Floor for Items (with source)

Posted: Tue Jan 21, 2014 7:53 pm
by AdrTru
--------------------------------------------------------------------------------
* v.3.1.0
- fix problems with crash game when finding object is missed during vizualization
every its do when you wos stay in front of some MultiAlcoveManager or SpikeTrap
- add table with item.names of object excluded from searching
sf_excludeItems
you find this definitions under header
dont worry to add there any items which you want excluded.
(eg. dont visible items for tricks)
--------------------------------------------------------------------------------

Re: Search Floor for Items (with source)

Posted: Tue Jan 21, 2014 8:31 pm
by chaoscommencer
This looks great man! Does it allow you to pick up items found via the search guide as well? Also does it only search the tile you're on, or adjacent tiles, or more?

By the way, are you using a different water texture for the flooded dungeon pic? It appears choppier and animated.