View Issue Details

IDProjectCategoryView StatusLast Update
0004235The Dark ModGUIpublic14.02.2019 08:25
ReporterVanishedOne Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status suspendedResolutionsuspended 
Product VersionTDM 2.03 
Summary0004235: shouldered_icon spawnarg is unused
DescriptionAI inherit a shouldered_icon spawnarg which, according to its description, lets an AI or AI class be given a specific icon for display when shouldered, T1/T2-style. However, unlike shouldered_name and shouldered_name_dead, it doesn't work. It seems that it did as of 2008's http://forums.thedarkmod.com/topic/8248-request-carrying-body-hud-icon/ but at some point the left- and right-hand 'hand occupied' icons were instead defined globally in guis/tdm_inv.gui:

windowDef InvOccupiedIconRight
        {
            rect 565, 0, 64, 64
            visible 1
            matcolor 1, 1, 1, "gui::HUD_Opacity"
            background "guis/assets/hud/inventory_icons/hand_occupied_right"
        }

        windowDef InvOccupiedIconLeft
        {
            rect 15, 0, 64, 64
            noclip 1
            visible 1
            matcolor 1, 1, 1, "gui::HUD_Opacity"
            background "guis/assets/hud/inventory_icons/hand_occupied_left"
        }

It would be nice if shouldered_icon (or a left/right pair) actually worked, though I'm unsure how much use it would see; since we don't have view models for ragdolls either, the shouldered_name spawnargs are the mapper's only current option for indicating who's being carried. Failing that, the spawnarg and its description probably should be removed from atdm:ai_base and atdm:env_ragdoll_base.
TagsNo tags attached.

Activities

STiFU

STiFU

23.01.2019 19:14

developer   ~0011485

Judging from the thread, it seems like it had been decided against offering a way to design individual shouldering-icons. I have been digging through our SVN-history a little, and shortly after that discussion, Greebo has implemented the system that we sill use today (revs. 3398/8066). I could not find any remainders of a shouldered_icon. My guess is, Ishtvan only added that locally.

Of course, something like this could still theoretically be implemented from scratch. The question is, do we want and need that? I don't think so.
STiFU

STiFU

14.02.2019 08:25

developer   ~0011592

Seeing that there was not positive feedback on this issue in the last few weeks, I have now removed the spawnarg and will suspend this issue, in case anybody wants to implement the feature after all.

Issue History

Date Modified Username Field Change
15.10.2015 22:45 VanishedOne New Issue
22.01.2019 22:15 Springheel Relationship added related to 0003607
22.01.2019 22:18 Springheel Relationship deleted related to 0003607
23.01.2019 19:14 STiFU Note Added: 0011485
14.02.2019 08:25 STiFU Note Added: 0011592
14.02.2019 08:25 STiFU Status new => suspended
14.02.2019 08:25 STiFU Resolution open => suspended