Lua's Custom Spawn Points

  • Lua added a new file:

    Lua
  • Lua added a new version:

    Lua
    Quote
    • Fixed multiple presets loading
    • A little bit of refactoring
    • Removed example of spawn presets (Lua)
    • (1.2 Re-upload) Removed debug code
  • Lua added a new version:

    Lua
    Quote
    • Updated map info gathering method, Now it's properly uses all Spawn Zones.
      • If you want to update the list, simply delete the files in "config/spawnpoints"
        (Backup If you have own custom spawn points)
      • Thanks for the report, Danersx!
  • Lua added a new version:

    Lua
    Quote
    • Fixed Skipping "factory4_night" map generation
    • Renamed "RemoveDefaultSpawnPoints" to "DisableDefaultSpawnPoints"
    • Changed default value of mod "Enabled" to true
    • Updated More detailed logs
    • Updated !Readme/example.json
    • Updated "DisableDefaultSpawnPoints" to use each maps and each categories
    • Added Debug configs for Unlimited Raid Time, Stamina, No Fall Damage
    • Added "PrintMapLoadLogs" config, default is enabled
    • Added No spawn point checks for "Player" and "Bot" and recover spawn points from map file
  • Getting a printout of spawn points, even though I have it disabled.

    This has been going on for a while. I just didn't think about the setting until I decided that I wanted to turn it off .... only to discover that it was already. Unless I'm misunderstanding the meaning of the settings.

    Debug option is another log that prints each custom spawn point, total spawn points (blue line logs) are always display there is no option to disable unless edit the source code

  • Lua added a new version:

    Lua
    Quote
    • Updated for Typescript
    • Added /config/spawnpoints folder check and create
    • Mod is now disabled by default
    • Supported "akiVersion": 3.1.x
  • Lua added a new version:

    Lua
    Quote
    • Added "lighthouse" in config.json
    • Supported "akiVersion": 3.1.x - 3.2.x
  • This mod seems to overwrite Trap's Road To Tarkov player spawns in SpawnPointParams...?


    I can't find anywhere in your source code that do it and don't know how to fix this, any helps?


    This is how traps done it.

    Code
    addSpawnPoint(mapName, spawnPoint) {
        const location = this.db.getTables().locations?.[mapName];
        location?.base.SpawnPointParams.push(spawnPoint);
    }
  • This mod seems to overwrite Trap's Road To Tarkov player spawns in SpawnPointParams...?


    I can't find anywhere in your source code that do it and don't know how to fix this, any helps?


    This is how traps done it.

    Code
    addSpawnPoint(mapName, spawnPoint) {
        const location = this.db.getTables().locations?.[mapName];
        location?.base.SpawnPointParams.push(spawnPoint);
    }

    I didn't try but Path to Tarkov has compatible options for CSP, you may check that out.

    And If option doesn't work, you should post an issue on PTT thread instead.

  • Aw... I think Traps disabled it since 3.0.0, and it's broken for now.

    I'll play around with it, thinks for the help.


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!