Skip to content

tf_logic_robot_destruction custom .res file is not packed. #244

@Radial36

Description

@Radial36

Compile Pal v028.4

Describe the bug
if a tf_logic_robot_destruction is given a custom .res file like tf_logic_player_destruction, it is not packed automatically.

Steps to reproduce
1: Create a custom fgd that defines this functionality. Or use BAMF. It seemingly exists in code but not in the default tf.fgd.
2: Add a custom .res file as you would for player destruction, and define it in the RD entity.
3: Note that while it does function, Compilepal doesn't notice the included .res file and doesn't pack it(because frankly why would you expect anyone to discover this functionality)

Expected behavior
It parses a custom .res file for tf_logic_robot_destruction, and packs it into the map just like tf_logic_player_destruction.

Debug.log
debug.log

Additional context
Yeah, I'm frankly just as bewildered this functionality even exists. I can only assume it was added by Valve when they were testing out adding Player Destruction to the game proper. I only even noticed this existed by testing out some jank gamemode logic that requires tf_logic_robot_destruction instead of tf_logic_player_destruction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions