Skip to content

A way to unload assets #337

@Santahunter

Description

@Santahunter

What problem does this solve?

Currently there is no way I know of to dump a common_mp, remove content & rebuilding it with less content without getting multiple errors on zonebuilder etc.
Since MW2 is very limited, bigger mods struggle to load everything and become crashy.
Therefore it would be very handy if there is a way to manually unload content of e.g. common_mp

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

I thought about something like "unloadXmodel,randomModel" in a mod.csv maybe or UnloadModel("modelname"); in gsc (if its not too late already at this point -> crash before script Init() executes).

Technical considerations

No response

Compatibility impact

  • This change would be backward compatible
  • This change might break compatibility with existing servers/mods
  • Unsure about compatibility impact

Describe alternatives you've considered

No response

Existing workarounds

No response

Supporting materials

No response

Checklist

  • I have searched existing issues to ensure this is not a duplicate
  • I have limited this request to a single feature
  • I have provided clear use cases for this feature
  • I have considered the implementation complexity and compatibility impact

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions