Skip to content

Entities from .bsp cannot be removed when BOTS are on the Map #850

@Jardi-Gol

Description

@Jardi-Gol

Describe the bug
In the past, I have removed some lights that were displaying with black textures using SH.

Image

We used the "Entity Numbers" from .bsp to remove it on Map Script file.

// Remove Lights removeent 44 removeent 45 removeent 46 removeent 47

Image

It worked properly.

Image

The same map display again the lights in black texture if we add bots in it. It's like the numbers of the entities have been ignored.

To Reproduce
Steps to reproduce the behavior:

  1. Using the code above to remove the entities, connect to the map without any BOTS using SH client;
  2. Lights can be confirmed without black textures since were removed;
  3. Then start the same map with BOTS;
  4. Check the issue that the lights were not removed.

Expected behavior
With black textures or not (since with BT the lights are OK) they should not be displayed if I remove any entity.

Screenshots (OPTIONAL)
See pictures above.

Logs
N.A.

Version information (please complete the following information):

  • OS: Windows
  • OS Version 11
  • OpenMoHAA Version: Medal of Honor Spearhead 2.16+0.83.0 (OpenMoHAA 0.83.0-dev+1039.2fececd) win_msvc64-x86_64 Nov 25 2025 UTC
Image

Dump (OPTIONAL)
N.A.

Additional context (OPTIONAL)
Meanwhile the textures were fixed for the black texture. The issue here is, indeed, the entity removed that is being displayed after we add BOTS.

Map:
el_foso.zip

Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions