• Уважаемые гости и новички, приветствуем Вас на нашем форуме
    Здесь вы можете найти ответы практически на все свои вопросы о серии игр «Готика» (в том числе различных модах на нее), «Ведьмак», «Ризен», «Древние свитки», «Эра дракона» и о многих других играх. Можете также узнать свежие новости о разработке новых проектов, восхититься творчеством наших форумчан, либо самим показать, что вы умеете. Ну и наконец, можете обсудить общие увлечения или просто весело пообщаться с посетителями «Таверны».

    Чтобы получить возможность писать на форуме, оставьте сообщение в этой теме.
    Удачи!
  • Друзья, доброго времени суток! Спешите принять участие в оценке работ на конкурсе "Таинственные миры" 2024!
    Ждем именно вас!

    Ссылка на конкурсную тему - тык
    Ссылка на тему с работами участников- тык

Gothic ½ ItemMap - In-game map with items, NPCs, chests and other objects

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
ItemMap
This plugin shows on the in-game map locations of all items, NPCs, chests and other objects.

Functionality​

  • Show markers on map for items with ability to filter by plants, melee weapons, ranged weapons, armors, documents, spells (runes/scrolls), magic items, potions, food and miscellaneous
  • Show markers on map for npcs with ability to filter by dead, angry, friendly, companions, hostile humans/monsters, traders, npcs that can still give exp after beating them up (humans) and npcs that can be pickpocketed
  • Show markers on map for containers with ability to filter by locked (picklock/key owned by player/key not owned by player), open
  • Show markers on map for items that are in containers
  • Show markers on map for interactive objects that have a function
  • Show list of all unique objects and their total amount
  • Search for specific object by name or instance

Screenshots​

Rmqu9EV.png

4BRyLyd.jpeg

nWuCfwL.jpeg

1ArKF5y.jpeg

2ITj4Bl.jpeg

Settings​

All settings besides colors, `ShowTradersNoCond`, `RememberSearchInput` and `ShowFilteredStaticColor` can be changed in-game while interacting with map and are saved after closing the map.
`ShowTradersNoCond`, `RememberSearchInput` and `ShowFilteredStaticColor` can be changed in Gothic.ini or game menu `Union & Plugins`.
Colors can be changed only in Gothic.ini
INI:
[ITEMMAP]
ShowSearchBar=1
; 
; Show search bar [default: 1]

ShowMarkers=1
; 
; Show markers on map [default: 1]

ShowList=0
; 
; Show list with items/npcs [default: 0]

ShowHelp=1
; 
; Show help panel with controls [default: 1]

IconSize=10
; 
; Size of the markers on map [default: 10]

ListWidth=25
; 
; Width of the list with items/npcs in % of the screen width [default: 25]

TransparentPanels=0
; 
; Transparency of list and search bar panels (on/off) [default: 0]

ShowTradersNoCond=0
; 
; Show traders without checking if player fulfill the requirements (traders that trade with certain guild, on certain hours or require to complete a quest beforehand) [default: 0]

RememberSearchInput=1
; 
; Remember search input when closing map or changing mode [default: 1]

PrevMode=0
; 
; Previously used mode [default: 0 - Items]

PrevFilterItems=0
; 
; Previously used filter for items [default: 0 - Plants]

PrevFilterNpcs=8
; 
; Previously used filter for npcs [default: 10 - All]

ColorItemPlants=#00FF00
; 
; Marker color for plants [default: #00FF00]

ColorItemMelee=#FF0000
; 
; Marker color for melee weapons [default: #FF0000]

ColorItemRanged=#FF0000
; 
; Marker color for ranged weapons [default: #FF0000]

ColorItemArmors=#800080
; 
; Marker color for armors [default: #800080]

ColorItemDocs=#FFFF7F
; 
; Marker color for documents [default: #FFFF7F]

ColorItemSpells=#0080FF
; 
; Marker color for spells [default: #0080FF]

ColorItemMagicItems=#FF00FF
; 
; Marker color for magic items [default: #FF00FF]

ColorItemPotions=#00FFFF
; 
; Marker color for potions [default: #00FFFF]

ColorItemFood=#FF8000
; 
; Marker color for food [default: #FF8000]

ColorItemNone=#808080
; 
; Marker color for misc items [default: #808080]

ColorNpcDead=#000000
; 
; Marker color for dead npcs [default: #000000]

ColorNpcAngry=#FF8000
; 
; Marker color for angry npcs [default: #FF8000]

ColorNpcFriendly=#00FF00
; 
; Marker color for friendly npcs [default: #00FF00]

ColorNpcParty=#AFFFAF
; 
; Marker color for companions [default: #AFFFAF]

ColorNpcHostileHuman=#C800C8
; 
; Marker color for hostile humans [default: #C800C8]

ColorNpcHostileMonster=#FF0000
; 
; Marker color for hostile monsters [default: #FF0000]

ColorNpcTrader=#FFFF80
; 
; Marker color for traders [default: #FFFF80]

ColorNpcPickpocket=#80AFFF
; 
; Marker color for npcs that can be pickpocketed [default: #80AFFF]

ColorNpcDefeatExp=#123456
; 
; Marker color for npcs that can give exp after beating them up [default: #123456]

ColorNpcNeutral=#696969
; 
; Marker color for all npcs that do not belong to any of the previous categories [default: #696969]

ColorContainerItemsInContainers=#FFFFFF
; 
; This entry is automatically generated by plugin, but is not used

ColorContainerLockpick=#FF8000
; 
; Marker color for containers that can be unlocked with a lockpick [default: #FF8000]

ColorContainerOwnedKey=#C800C8
; 
; Marker color for containers that can be unlocked with a key that player currently has in inventory [default: #C800C8]

ColorContainerNotOwnedKey=#FF0000
; 
; Marker color for containers that can be unlocked with a key that player currently doesn't have in inventory [default: #FF0000]

ColorContainerOpen=#00FF00
; 
; Marker color for containers that are unlocked [default: #00FF00]

ShowFilteredStaticColor=0
; 
; Use static color for all markers when currently active filter is other than ALL [default: 0]

ColorStaticFilter=#FFFFFF
; 
; Marker color used when "ShowFilteredStaticColor" is active [default: #FFFFFF]
; Plugin will use this color for all markers whenever there is a filter active which is not ALL

NewBalanceWispRule=0
; 
; If enabled, plugin doesn't show items that are hidden in New Balance mod. By default enabled if New Balance mod is detected.

SearchStringSeparator=|
; 
; Separator used to split search string when searching for multiple objects. [default: |]

Installation​

Just download ItemMapPlugin.vdf and place it inside Data/Plugins.
Union required.

Download​

Google Drive

Source code will be available at later time.
Translations to other languages will be added in one of the future updates.
 
Последнее редактирование:

MEG@VOLT

★★★★★★★★★
ТехАдмин
Регистрация
24 Мар 2006
Сообщения
9.176
Благодарности
6.156
Баллы
1.565
Где-то ведь было уже такое?
 

Xeдин


Модостроитель
Регистрация
3 Дек 2008
Сообщения
1.345
Благодарности
1.888
Баллы
335
MEG@VOLT, есть Хаартовский плагин на юнионе, который сконверчен из нинзевского плагина. Но тут вроде своя реализация, с возможностью выбрать на лету что показывать и с поиском. Сделано намного лучше и полезнее, чем аналоги Хаарта и на нинзе.
П.С. Но локатор удобнее )))
 

CJIabuk

Участник форума
Регистрация
22 Окт 2015
Сообщения
93
Благодарности
11
Баллы
175
Как ни странно, работает даже в Новом Балансе *thumbs up*
P.S. Правда там на карте столько всего, что чёрт ногу сломит *around the head*
 

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
Где-то ведь было уже такое?
Yes, as Hedin said, there is ItemMap for Ninja and union plugin from Haart, but my version has more features and generally better performance.
In the beginning I just wanted to fix Haart's plugin and make it work better but I ended up with creating the whole thing from zero. :D

MEG@VOLT, есть Хаартовский плагин на юнионе, который сконверчен из нинзевского плагина. Но тут вроде своя реализация, с возможностью выбрать на лету что показывать и с поиском. Сделано намного лучше и полезнее, чем аналоги Хаарта и на нинзе.
П.С. Но локатор удобнее )))
Of course locator is great option, but it's limited to close area near player. I'd say these two plugins are complementary if you want to clear the whole map. :D

Как ни странно, работает даже в Новом Балансе *thumbs up*
P.S. Правда там на карте столько всего, что чёрт ногу сломит *around the head*
Yes, I even added a feature to show all NPCs that can be pickpocketed, which works with modified pickpocketing system in New Balance. :D

Also this plugin works fine in Chronicles of Myrtana, where they use ikarus sprites instead of game's oCViewDocumentMap, to show map on screen.
 

D36


Модостроитель
Регистрация
3 Дек 2014
Сообщения
2.125
Благодарности
3.218
Баллы
485
I suggest to hide chests that can never be opened (locked but without assigned key instance or with invalid lockpick combination). Examples: chest behind Matteo shop in Classic version and chest near mages' house in Mine Valley. Also, I use hidden chests like these in Script Patch for technical purposes.
Screenshot_1.png
 

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
Small update
Код:
[1.0.2]
- Plugin is now ignoring chests that cannot be unlocked in any way (either locked but with empty picklock string and key instance, or requiring a key but key instance is not valid in-game item)
 

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
New update

Код:
[1.0.3]
- Fix for crashes while trying to retrieve interactive mob name from scripts
  (happend for example in Odyssey on Vengard zen)
 

Human Evolution

Участник форума
Регистрация
9 Фев 2023
Сообщения
35
Благодарности
7
Баллы
30
Здравствуйте. Новый баланс ругается при запуске и не запускает игру с этим плагином. Есть решение? Так и пишет: "плагины, которые следует отключить перед запуском ItemMapPlugin.vdf".
1711179727694.png
 

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
Some plugins are not allowed by the New Balance mod. There are ways to load them anyway, but I'm not sure if author of New Balance is ok with that, so I'm not gonna say anything.
 

Gotoman-Gothic

Участник форума
Регистрация
11 Янв 2015
Сообщения
255
Благодарности
112
Баллы
210
Can you add this plugin to steam workshop?
 

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
Код:
[1.0.4]
- Added an option to skip items that are hidden in New Balance mod (items ignored by Wisp or VobLocator), by default enabled if New Balance is detected. (in case Liker decide to add this plugin to the whitelist :D)
- Added a filter for NPCs to show NPCs that will give exp after beating them up (for minmaxers)

Also plugin is added to Workshop on Steam:
G1 - Steam Workshop::ItemMap
G2 - Steam Workshop::ItemMap
 

crashtua

Участник форума
Регистрация
7 Янв 2020
Сообщения
95
Благодарности
27
Баллы
115
Any plans to add mouse support like in extended inventory plugin? Anyway, thanks for great plugin.
 

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
For now I don't have any plans for mouse support. Maybe one day if I learn how to do it properly, but can't promise anything.
 

crashtua

Участник форума
Регистрация
7 Янв 2020
Сообщения
95
Благодарности
27
Баллы
115
fyryNy, another suggestion - allow to filter\find multiple items. For example, highlight perma-plants. Maybe some keyword based search with and(&) support? For example "kin sor" will find all plants with where any word contain "kin" and "sor"(kings sorrel), or something, and "kin sor & fir roo" will find fire root and king sorrel. I mean any flexible enough expressions.

ps: or share sources, if possible, I will try to implement that on my own. Anyway, thanks for great plugin, really appreciate that.
pps: found notice that sources will be available later, will wait for that to contribute
 
Последнее редактирование:

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
fyryNy, another suggestion - allow to filter\find multiple items. For example, highlight perma-plants. Maybe some keyword based search with and(&) support? For example "kin sor" will find all plants with where any word contain "kin" and "sor"(kings sorrel), or something, and "kin sor & fir roo" will find fire root and king sorrel. I mean any flexible enough expressions.

ps: or share sources, if possible, I will try to implement that on my own. Anyway, thanks for great plugin, really appreciate that.
pps: found notice that sources will be available later, will wait for that to contribute
Sure I can do something like this, search strings separated by |
 

Вложения

  • Gothic2_sLOhnpOBOv.jpg
    Gothic2_sLOhnpOBOv.jpg
    1,3 MB · Просмотры: 21

fyryNy

Участник форума
Регистрация
2 Мар 2019
Сообщения
63
Благодарности
159
Баллы
180
Update
Код:
[1.0.5]
- Added an option to search for multiple objects. You can split the search string with a character | (vertical bar - https://www.ascii-code.com/124). It can be changed to some other character in gothic.ini (option SearchStringSeparator)
- Showing Pickpocketing targets now also works in Gothic 1 (because some mods may add the same pickpocketing system as in Gothic 2 - pickpocketing dialogues)
 
Сверху Снизу