Skip to content

Feature - Ambient Scripts #436

@MiranDMC

Description

@MiranDMC

Have an new kind of scripts that are:

  • loaded and started once as soon as the game starts, even before game session starts (new game/save load)
  • running even when the game is paused (main menu is visible)
  • keeps running, not reloaded when game session is restarted (new game/save load)

It most likely should be implemented as new, separate script queue/list.

It is not decided yet how Ambient Script files would be differentiated from regular Cleo Scripts. It feels natural to use *.as extension, but it probably make current ModLoader not recognize them.

Challenging part will be updating all already existing auto-cleanup mechanisms, like allocated memory blocks, opened file handles, fire search handles, audio streams etc. to not erase entities created by Ambient Scripts when game session ends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions