View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000553 | Gameplay + OpenGL | [All Projects] Feature | public | 2017-04-09 08:40 | 2017-04-15 06:27 |
Reporter | cotton_disciple | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | no change required | ||
Summary | 0000553: DrawImage weaponicon | ||||
Description | Make weaponicon changes possible in TEXTURES through GRAPHIC than SPRITE | ||||
Tags | No tags attached. | ||||
I can't figure out what you're asking him to add... Did you mean "then" instead of "than"? | |
i've meant "than" cause it draws image on hud which can be scaled/cropped/etc only by using SPRITE (not GRAPHIC), and that one affects weapon (pickup) sprite, which isn't good. | |
Is this about SBARINFO or ZScript? And I also have no idea what doesn't work here. Do you have an example? |
|
this is about sbarinfo for example: we got mp40 icon through drawimage weaponicon, which we want to reverse (horizontal) using TEXTURES lump. if you use GRAPHIC it wont have any effect at all, if you use SPRITE we will got what we want, but it also affects global sprite. |
|
Can you make an example that shows what works and what does not? I still have absolutely no idea how to trigger this. |
|
how to trigger it: 1) write in SBARINFO where x, y - desired coordinates
2) pick any weapon icon you want to change through TEXTURES lump. Let's change MP40I0
3) write in TEXTURES
4) ... and nothing changed (pic. 1) 5) change GRAPHIC to SPRITE
6) now it works (pic. 2) but global sprite changed too... (bottom of pic. 3) and it's falling down below the floor... images too large to upload here |
|
Can you post the weapon's DECORATE? This looks like a texture priority issue but I only can tell when seeing the weapon's definition. | |
decorate from pb 2.03. that happens with every gun in every mod https://pastebin.com/4KbwuRQ1 |
|
The problem is actually very simple: Your weapons do not set an icon. If that is the case the pickup state's sprite will substitute for the icon. Obviously a GRAPHIC with the same name is not the pickup sprite so defining such a thing will have no effect. Give all your weapons an 'Inventory.Icon' property with a texture name different from the pickup sprite, define that one properly and the problem should go away. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-09 08:40 | cotton_disciple | New Issue | |
2017-04-09 12:33 | RockstarRaccoon | Note Added: 0001287 | |
2017-04-09 14:20 | cotton_disciple | Note Added: 0001289 | |
2017-04-09 15:20 | Graf Zahl | Note Added: 0001291 | |
2017-04-10 11:34 | cotton_disciple | Note Added: 0001301 | |
2017-04-10 13:43 | Graf Zahl | Note Added: 0001304 | |
2017-04-11 05:31 | cotton_disciple | Note Added: 0001308 | |
2017-04-11 05:32 | cotton_disciple | Note Edited: 0001308 | View Revisions |
2017-04-11 05:33 | cotton_disciple | Note Edited: 0001308 | View Revisions |
2017-04-11 05:34 | cotton_disciple | Note Edited: 0001308 | View Revisions |
2017-04-11 05:34 | cotton_disciple | Note Edited: 0001308 | View Revisions |
2017-04-12 19:37 | Graf Zahl | Note Added: 0001322 | |
2017-04-15 06:14 | cotton_disciple | Note Added: 0001386 | |
2017-04-15 06:26 | Graf Zahl | Note Added: 0001387 | |
2017-04-15 06:27 | Graf Zahl | Status | new => resolved |
2017-04-15 06:27 | Graf Zahl | Resolution | open => no change required |