The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.
Small addon that adds the first ten letters of an items name to it's icon in the inventory.
Hi, i love the idea of your mod, however i have a question: can you please give me link to the icons you used in the preview picture? They look very nice and kind "oldschool", and i would like to use them. Can you please publish it or give me a link to it if it already is published?
Moddb.com
Thanks!
awesome idea but hard to read on smaller objects, with more contrast and space between objects and text itd be more comfortable
what color is high contrast with any arbitrary color?
white text but with black outline
imgur com/PLSvFUJ.jpg
I said what color, not what colors.
Stalker does not give us outlined fonts.
Hey mate, in "rax_icon_layers.script" what happens if I increase/decrease these parameters:
line 110: local x = tbl.icon_layer_x or 0
line 111: local y = tbl.icon_layer_y or 0
I have a mod that changes Anomaly's font and it's causing icon names to be a bit lower than in the screenshots, my goal is to fix that. I'd appreciate some insight.
nothing in that script should be changed.
First because it is used by several of my addon and you will break them.
Second this addon isn't even using any of it's functionality except as a way to get the at the inventory cells, the icon holders.
in the other script there is a line that looks like this but shorter, replace it with this:
cell:Add_CustomText(game.translate_string(SYS_GetParam(0,cell.section,"inv_name_short","")):sub(1, 9) , nil, 1 ,nil, nil)
the 1 between the two nil's can be set to 0,1 or 2 to change the vertical alignment of the text within the cell. see if any of those work
thank you, it is looking much better now but not quite there, I think the new gUI I'm using might be slightly off-axis. So I either change that or make the increments in the script smaller.
I doubt I can do that since I only had basic c++ programming in college and I'm very ignorant in the matter overall. You seem to know your field quite well, are there any sites you'd recommend to learn more on scripting in lua? like sample codes to get familiar with recalling functions, defining variables, and all the basics. I want to be able to make my own scipts for Anomaly.
Lua dot org has programming in Lua firts addition on their website for free, it is lua 5.0 and stalker is 5.1 the changes are minimal. Far less than the changes from modern Lua to 5.1
Hello! Can you please made a script only for ammo? In russian on all items it looks not so good.
make line 6 this:
if bags[cell.container.ID] and IsItem("ammo", cell.section) then
Thanks!
Awesome mod. But there is a question whether it is possible to reduce the font size, just half of the text does not fit in Russian. Thank you in advance.
cell:Add_CustomText(game.translate_string(SYS_GetParam(0,cell.section,"inv_name_short","")):sub(1, 9) , nil, 1 ,nil, GetFontSmall())
in the script there is a line that looks like this, but shorter, replace it with this.
the number 9 can be adjusted to show more or less text.
the number 1 between the two nil can be replaced with a 0 or a 2 to adjust the vertical position of the text.
a possible alternative font would be GetFontDI()
may be this "ui_font_arial_14"
or this "stat_font"
there are not many font options unfortunatly. and they are hardcoded into the engine.
This comment is currently awaiting admin approval, join now to view.
Is it possible to disable the existing icon text when using this or maybe even the item count? Your mod is the only thing that I've found to make my stash usable but I would like to "clean up" some still.
see image: Imgur.com
the text is part of the icon, get a different icon pack that doesn't add text.
Add this to the end of the script, it should disable the counter in staches. if you want to disable the counter everywhere delete the next to last line.
local baseAC = utils_ui.UICellItem.Add_Counter
function utils_ui.UICellItem:Add_Counter(xml, obj, sec)
-- Hide counter
if self.cnt then
self.cnt:Show(false)
end
-- don't make/show counter for staches
if (self.container.ID == "npc_bag" and ui_inventory.GUI.npc_is_box) then
return
end
--draw the counter normally otherwise
baseAC(self,xml, obj, sec)
end
Please say me name of addon for color icons?
Moddb.com