Editing Gamemodel script

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{unfinished}}
+
Gamemodel script is [[.NSX files | NSX]]
 
+
== Introduction ==
+
 
+
Gamemodel script is [[NSX | NSX files]] used to configure [[misc_gamemodel]] and [[func_gamemodel]].
+
 
+
Gamemodel script is part of entity configuration script, and currently, the only one member of it.
+
 
+
Gamemodel script is used to define various aspects of a game model:
+
 
+
# Trigger events
+
# Animations
+
# States (open / closed, active, inactive etc.)
+
# Physics (bound box, parameters etc.)
+
# Interactivity (pushing, destruction)
+
 
+
Example of gamemodel script:
+
 
+
['''entity''']
+
configurations=gamemodel
+
['''gamemodel''']
+
scripts=unpress,press,pressed,ready
+
states=ready->press,pressed->unpress
+
state=ready
+
call=nextstate
+
['''ready''']
+
frame=0
+
['''unpress''']
+
sound=legacy/switch.wav
+
animate=5 0 20
+
state=ready
+
['''pressed''']
+
frame=5
+
['''press''']
+
sound=legacy/switch.wav
+
animate=0 5 20
+
state=pressed
+
 
+
== Usage ==
+
 
+
Gamemodel script can be used to set a variety of different behaviors of a gamemodel:
+

Please note that all contributions to Blood Wiki are considered to be released under the Creative Commons Attribution Share Alike (see BloodWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

Templates used on this page:

This page is a member of 1 hidden category:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox