mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
35 lines
833 B
Markdown
35 lines
833 B
Markdown
# IMIC FPS Assets
|
|
## Directory Structure
|
|
* /__package__
|
|
* /__name__
|
|
* /model
|
|
* model.obj
|
|
* /scripts
|
|
* script.rb
|
|
* /textures
|
|
* texture.png
|
|
* manifest.yaml
|
|
|
|
## Manifest File
|
|
```yaml
|
|
name: "Friendly Name of Object"
|
|
model: "model.obj" # path to model relative to package/name/model/
|
|
|
|
# optional options:
|
|
# Type of collision detection to use: null, boundingbox, orientated_bb, mesh
|
|
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",
|
|
"!shared_script"
|
|
]
|
|
# Array of assets to preload that this asset uses/requires
|
|
uses: [
|
|
-
|
|
package: "base"
|
|
name: "door"
|
|
]
|
|
``` |