mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Add assets readme
This commit is contained in:
30
assets/README.md
Normal file
30
assets/README.md
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# IMIC FPS Assets
|
||||||
|
## Directory Structure
|
||||||
|
* /__package__
|
||||||
|
* /__name__
|
||||||
|
* /model -
|
||||||
|
* /scripts
|
||||||
|
* /textures
|
||||||
|
* 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/
|
||||||
|
scripts: [
|
||||||
|
"script"
|
||||||
|
]
|
||||||
|
# Array of assets to preload that this asset uses/requires
|
||||||
|
uses: [
|
||||||
|
-
|
||||||
|
package: "base"
|
||||||
|
name: "door"
|
||||||
|
]
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user