Category | Editor |
Created | 24.05.2015 16:31 |
Tony Price (brownthumb) | 24.05.2015 16:33 |
---|---|
How to relocate icons in pda _map? |
Emil Drefers (Unknown) | 26.05.2015 07:50 |
---|---|
Hi, please open the "SampleModMap.lua" in the mod map's directory. You will find lines like: self.ingameMap:createMapHotspot("Bank", Utils.getFilename("$dataS2/menu/hud/hud_pda_spot_bank.png", self.baseDirectory), 180, -790, nil, nil, false, false, false, 0, true); I guess you can figure out the rest? Cheers, Emil |
Tony Price (brownthumb) | 26.05.2015 14:17 |
---|---|
yep, thanks Emil. |
Tony Price (brownthumb) | 27.05.2015 05:07 |
---|---|
got a couple more?s what are the color codes for the tip places, and how do i get just a name to appear without the shopping cart or tip place showing? thanks. |
Emil Drefers (Unknown) | 27.05.2015 07:45 |
---|---|
Hi, about the color: please check the filename of the icons: hud_pda_spot_tipPlace vs hud_pda_spot_tipPlaceGreen Or do the following: local hotspot= self.ingameMap:createMapHotspot( ....... ); hotspot.overlay:setColor(r, g, b, a); Displaying only text might be a bad idea, because the icon represents the location better then a text alone? But you could pass a transparent image. Cheers, Emil |
Tony Price (brownthumb) | 27.05.2015 11:32 |
---|---|
Hi Emil, what i meant about the colors was what do they represent, does green mean a sell point or just a full tank, or the gold one does it represent your storage or a place that is in need of more product, and white, i have no idea there, |
Emil Drefers (Unknown) | 27.05.2015 16:32 |
---|---|
Hi, the colors of the icons are used to distinguish between the different types of "selling points". Basically: storing VS selling and types of fruits which can be stored/sold green: selling point for grass (except at the cow shed) white: farm storage yellow: selling point for fruits Cheers, Emil |
Tony Price (brownthumb) | 27.05.2015 17:14 |
---|---|
thank you. |
Note: Log in to post. Create a new account here.