Skip to content

Blank kevalues don't get purged resulting in issues #158

Open

Description

@GarompaEstomper

Description of feature

This happens mostly when mass editing entities. For example when selecting all monsters and turning them into squadmakers, select the "model" keyvalue and turn it into "new_model". This results in entities that didnt have the model now do but its value is blank.
Ingame, for some reason, a blank value in model makes the npc completely invisible (and of course not working).
Other worse issues might happen if the blank values are in other more important keyvalues. I have not tested.
Previously, I think, anything with blank keyvalues was purged when closing or even when saving since its the first time I've encountered this problem and I've been mass editing since previous versions.

I've labeled this as a feature request instead of a bug, but it could be considered both. Since its just annoying but easily fixable with some notepad editing I didnt think of it as a dangerous bug that should be a priority.

Activity

  1. wootguy commented on Sep 6, 2026

    @wootguy
    Owner

    This sounds like a regression but I can't reproduce it:

    bspguy_eRLhmQ2ez3.mp4
  2. Mikk155 commented on Sep 6, 2026

    @Mikk155
    Contributor

    i've opened #157 because of a discord discussion about what's been reported here.

  3. GarompaEstomper commented on Sep 9, 2026

    @GarompaEstomper
    Author

    This sounds like a regression but I can't reproduce it:
    bspguy_eRLhmQ2ez3.mp4

    i see in the video all those monsters have a model keyvalue. I maybe forgot to mention that for this to work, some of them shouldn't have a model keyvalue so it translates to a new blank value afterwards.

  4. wootguy commented on Sep 9, 2026

    @wootguy
    Owner

    Ok that did it. Entities without a model key shouldn't have gotten one after renaming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions