mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-08 20:12:11 +00:00
Lots of updates
- Map-specific pre-match times - Remove /load and change /start syntax to /start <map> - Scripts for each map that are run at start time, barrier removal time, and end time - New map forest-3 - A few minor bugfixes
This commit is contained in:
parent
acfeef6d01
commit
2be8eea781
10 changed files with 87 additions and 27 deletions
|
|
@ -40,7 +40,15 @@ local map_data = {
|
|||
|
||||
spawn_x = nil,
|
||||
spawn_y = nil,
|
||||
spawn_z = nil
|
||||
spawn_z = nil,
|
||||
|
||||
start_time = (Amount of time in seconds before the barrier is removed)
|
||||
|
||||
scripts = {
|
||||
on_start = "(Lua script to be run after /start is run, leave blank unless you know what you are doing!)",
|
||||
on_barrier_remove = "(Lua script to be run after the barrier is removed, leave blank unless you know what you are doing!)",
|
||||
on_end = "(Lua script to be run after the match has ended, leave blank unless you know what you are doing!)"
|
||||
}
|
||||
}
|
||||
|
||||
return map_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue