File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 171171 ],
172172 "extensions" : [
173173 " .qc" ,
174+ " .qci" ,
174175 " .mc"
175176 ]
176177 },
Original file line number Diff line number Diff line change 1+
2+ // This is a simple example QC file
3+
4+ // The output file name
5+ $modelname "props_examples/example.mdl"
6+
7+ // Our input model
8+ $body body "example.smd"
9+
10+ // Sequence has to be declared. Refer to the body's dmx file to use an empty animation
11+ $sequence "idle" "example.dmx"
12+
13+ // We want to be a static prop
14+ $staticprop
15+
16+ // Our collision model
17+ $collisionmodel "example_phys.dmx"
18+
19+ // This model's materials are relative to these paths. Keep / as a fallback just in case
20+ $cdmaterials "/"
21+ $cdmaterials "models/props_examples/"
22+
23+ $definevariable Test "test"
24+ $body -$Test$ foo/$Test$/bar
25+ $body -$Test$ "foo/$Test$/bar"
26+
27+ $animation a_foobar foo/$Test$/bar {
28+ subtract a_foobar 0
29+ delta realtime loop
30+ }
31+ $sequence idle01 "a_foobar" activity ACT_IDLE
32+
33+ $illumposition 100 -0.24 0.23
34+
35+ $origin 0 10 .0 -.0001
36+
37+ // some weird unquoted and valid ascii
38+ $sequence abc_!-@#$%*)|\/.,><:=?^ idle
39+ $sequence : idle
40+ $sequence < idle
41+
42+ // Semicolons are the only character from 33~127 range that need quoting
43+ $sequence ";" idle
You can’t perform that action at this time.
0 commit comments