mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 07:32:35 +00:00
Added command to reload shaders at runtime, added support for shared scripts to Manifest, lights are now loadable from MapParser, misc changes.
This commit is contained in:
@@ -21,8 +21,10 @@ collision: "mesh"
|
||||
# Path to collision model or null to use `model`
|
||||
collision_mesh: null
|
||||
# Array of scripts to load, relative to package/name/scripts/
|
||||
# Optionally shared scripts can be loaded from package/shared/scripts/ if prefixed with an exclaimation mark "!"
|
||||
scripts: [
|
||||
"script"
|
||||
"script",
|
||||
"!shared_script"
|
||||
]
|
||||
# Array of assets to preload that this asset uses/requires
|
||||
uses: [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: "Alternate Tank"
|
||||
model: "alternate_tank.obj"
|
||||
scripts: [
|
||||
"vehicle"
|
||||
"!vehicle"
|
||||
]
|
||||
@@ -6,6 +6,6 @@ on.create do |event|
|
||||
map.insert_entity("base", "door", event.entity.position + Vector.new(3.3, 0, 6), Vector.new(0, 0, 0))
|
||||
map.insert_entity("base", "door", event.entity.position + Vector.new(3.3, 0, 6), Vector.new(0, 180, 0))
|
||||
|
||||
map.insert_particle_emitter(Vector.new(3.0, 15.379, 0.029), Texture.new("base", "shared", "particles", "smoke", "smoke.png"))
|
||||
map.insert_particle_emitter(Vector.new(5.0, 15.379, 0.029), Texture.new("base", "shared", "particles", "smoke", "smoke.png"))
|
||||
map.insert_particle_emitter(Vector.new(3.0, 15.379, 0.029), Texture.new(path: ["base", "shared", "particles", "smoke", "smoke.png"]))
|
||||
map.insert_particle_emitter(Vector.new(5.0, 15.379, 0.029), Texture.new(path: ["base", "shared", "particles", "smoke", "smoke.png"]))
|
||||
end
|
||||
Reference in New Issue
Block a user