 |
 |
 |
|
 |
 |
 |
|
 |
 |
Adding new outfits - help with icons |
|
|
|
|
20:22:38 25 January 2015 |
|
NATHANa1
(Novice) On forum: 01/25/2015
Messages: 5
|
Adding new outfits - help with icons
Hello guys
I'm currently working on adding a few customized suits to Stalker Complete 2009, however i have ran into a big problem.
The suit itself is pretty much finished, with working visuals and stats. However, i have spent the better part of the day trying to figure out how to add entirely new suit icons (the one that shows your character in the inventory). I have no idea how to proceed, as i don't want to replace existing suit icons in ui_icons_npc.
How would i accomplish this?
Any help would be greatly appreciated |
21:05:13 25 January 2015 |
|
NATHANa1
(Novice) On forum: 01/25/2015
 Message edited by: NATHANa1 01/25/2015 21:15:41
Messages: 5
|
Thanks for quick reply!
I don't know if i'm just being dum and didn't understood the readme correctly, but will this allow me to create a new logo space entirely? I already have an icon in place, and i know how to edit the ui_icons_npc config, but my problem is with creating an entirely new icon that doesn't replace an existing slot.
ui_icons_npc.xml:
<ui_texture>
<file_name>ui\ui_icons_npc</file_name>
<texture id="npc_icon_without_outfit" x="384" y="384" width="128" height="320" />
<texture id="npc_icon_novice_outfit" x="0" y="704" width="128" height="320" />
<texture id="npc_icon_bandit_outfit" x="0" y="384" width="128" height="320" />
<texture id="npc_icon_killer_outfit" x="256" y="704" width="128" height="320" />
<texture id="npc_icon_monolit_outfit" x="384" y="704" width="128" height="320" />
<texture id="npc_icon_specops_outfit" x="256" y="384" width="128" height="320" />
<texture id="npc_icon_military_outfit" x="640" y="384" width="128" height="320" />
<texture id="npc_icon_stalker_outfit" x="896" y="704" width="128" height="320" />
<texture id="npc_icon_scientific_outfit" x="768" y="704" width="128" height="320" />
<texture id="npc_icon_exo_outfit" x="128" y="704" width="128" height="320" />
<texture id="npc_icon_svoboda_light_outfit" x="640" y="704" width="128" height="320" />
<texture id="npc_icon_svoboda_heavy_outfit" x="128" y="384" width="128" height="320" />
<texture id="npc_icon_dolg_outfit" x="512" y="704" width="128" height="320" />
<texture id="npc_icon_dolg_scientific_outfit" x="512" y="384" width="128" height="320" />
<texture id="npc_icon_ecolog_outfit" x="896" y="384" width="128" height="320" />
<texture id="npc_icon_protection_outfit" x="768" y="384" width="128" height="320" />
<texture id="npc_icon_veteran_outfit" x="0" y="1024" width="128" height="320" />
</ui_texture>
The icon i'm trying to add is "npc_icon_veteran_outfit". However, there is no space left in ui_icons_npc.dds (like i said, i would like to add entirely new icons, not replace existing ones ) Is it possible to referrence two different ui_icons_npc versions in this file? |
22:52:53 25 January 2015 |
|
NATHANa1
(Novice) On forum: 01/25/2015
Messages: 5
|
---QUOTATION---
Forget all that, You mean in SOC where it has Strelok standing there and it changes what he's wearing correct?
---END QUOTATION---
Exactly!
Oh my bad, i don't mean space in the XML file, i mean in the .dds file itself
(This is vanilla file)
http://img2.wikia.nocookie.net/__cb20120611184616/stalker/images/thumb/5/51/Ui_icons_npc.jpg/500px-Ui_icons_npc.jpg
I want to add another icon, but i can't do so because all the space is filled up
If i try to extend the picture size, the X and Y coordinates get all messed up and i have to calibrate every icon in there from the start, which i would much like to avoid |
17:35:16 26 January 2015 |
|
NATHANa1
(Novice) On forum: 01/25/2015
Messages: 5
|
---QUOTATION--- As long as the old parts are still starting in the top left corner, you shouldn't need to edit the coordinates. Change the canvas size of the texture to be twice as tall (2048px); if the dimensions aren't both some power of 2 it won't render properly, which may be the problem you encountered. ---END QUOTATION---
You are my savior, man! thank you so much! it works perfectly now!
This is the result:
http://imgur.com/a/u0mnY |
17:45:50 31 January 2015 |
|
NATHANa1
(Novice) On forum: 01/25/2015
Messages: 5
|
Ah, hello there Tejas!
Again thanks a lot! |
|
1 | All Messages |
|
|
|
» » |
|
All short dates are in Month-Day-Year format. |
 |
|
 |
|
|
|
 |
 |
 |