Skip to content

Commit 2d03874

Browse files
committed
Version 0.8.9.
Large graphics update. Added default stats for levels 19-22. Introduced new SimpleRotation class in mobiles_handler.nut for dynamic object rotation. Integrated the replay module in project.nut to support (an experimental) gameplay recording and replay feature.
1 parent e02ffa9 commit 2d03874

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+20141
-3327
lines changed

src/graphics/PropBackLightTower.nms

Lines changed: 445 additions & 0 deletions
Large diffs are not rendered by default.

src/graphics/PropBackWindmill.nms

Lines changed: 339 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,339 @@
1+
<Version=1.0>
2+
<Scene=
3+
<Items=
4+
<MObject=
5+
<MItem=
6+
<Id="back_windmill">
7+
<UId=0>
8+
<Active>
9+
<Priority=0.500000>
10+
<ScriptLogicFq=15.000000>
11+
<MotionPlayer=
12+
<Motions>
13+
>
14+
<PhysicItem=
15+
<SelfMask=1>
16+
<Mask=1>
17+
<LinearDamping_v2=1.000000>
18+
<AngularDamping_v2=1.000000>
19+
<CharacterRadius=0.500000>
20+
<CharacterHeight=1.750000>
21+
<CharacterMaxStep=0.250000>
22+
<Mode="None">
23+
>
24+
>
25+
<Object=
26+
<Item=
27+
<Scale=
28+
<X=1.500000>
29+
<Y=1.500000>
30+
<Z=1.500000>
31+
>
32+
<ItemFlag>
33+
<Target=
34+
<X=0.000000>
35+
<Y=0.000000>
36+
<Z=1.000000>
37+
>
38+
<RotationOrder="YXZ">
39+
<Registry>
40+
>
41+
<Geometry="graphics/back_windmill.nmg">
42+
>
43+
>
44+
<MObject=
45+
<MItem=
46+
<Id="back_windmill_prop">
47+
<UId=1>
48+
<Active>
49+
<Priority=0.500000>
50+
<ScriptLogicFq=15.000000>
51+
<MotionPlayer=
52+
<Motions>
53+
>
54+
<ScriptedObject=
55+
<ScriptUnit=
56+
<Script="scripts/mobiles_handler.nut">
57+
<Class="SimpleRotation">
58+
<ParmList=
59+
<Parm=
60+
<Id="speed">
61+
<Value=5.000000>
62+
>
63+
<Parm=
64+
<Id="axis_x">
65+
<Value=0>
66+
>
67+
<Parm=
68+
<Id="axis_y">
69+
<Value=0>
70+
>
71+
<Parm=
72+
<Id="axis_z">
73+
<Value=1>
74+
>
75+
<Parm=
76+
<Id="rpm">
77+
<Value=-0.500000>
78+
>
79+
>
80+
>
81+
>
82+
<PhysicItem=
83+
<SelfMask=1>
84+
<Mask=1>
85+
<LinearDamping_v2=1.000000>
86+
<AngularDamping_v2=1.000000>
87+
<CharacterRadius=0.500000>
88+
<CharacterHeight=1.750000>
89+
<CharacterMaxStep=0.250000>
90+
<Mode="None">
91+
>
92+
>
93+
<Object=
94+
<Item=
95+
<ItemFlag>
96+
<Target=
97+
<X=0.000000>
98+
<Y=0.000000>
99+
<Z=1.000000>
100+
>
101+
<RotationOrder="YXZ">
102+
<Registry>
103+
>
104+
<Geometry="graphics/back_windmill_prop.nmg">
105+
>
106+
>
107+
<MObject=
108+
<MItem=
109+
<Id="pivot">
110+
<UId=2>
111+
<Active>
112+
<Priority=0.500000>
113+
<ScriptLogicFq=15.000000>
114+
<MotionPlayer=
115+
<Motions>
116+
>
117+
<PhysicItem=
118+
<SelfMask=1>
119+
<Mask=1>
120+
<LinearDamping_v2=1.000000>
121+
<AngularDamping_v2=1.000000>
122+
<CharacterRadius=0.500000>
123+
<CharacterHeight=1.750000>
124+
<CharacterMaxStep=0.250000>
125+
<Mode="None">
126+
>
127+
>
128+
<Object=
129+
<Item=
130+
<Position=
131+
<X=0.058645>
132+
<Y=2.570279>
133+
<Z=0.001562>
134+
>
135+
<Rotation=
136+
<X=0.245795>
137+
<Y=0.409032>
138+
<Z=0.027515>
139+
>
140+
<ItemFlag>
141+
<Target=
142+
<X=0.000000>
143+
<Y=0.000000>
144+
<Z=1.000000>
145+
>
146+
<RotationOrder="YXZ">
147+
<Registry>
148+
>
149+
>
150+
>
151+
>
152+
<Links=
153+
<Link=
154+
<Item=1>
155+
<Link=2>
156+
>
157+
<Link=
158+
<Item=2>
159+
<Link=0>
160+
>
161+
>
162+
<Skins>
163+
<Constraints>
164+
<Globals=
165+
<BackgroundColor=
166+
<X=0.000000>
167+
<Y=0.000000>
168+
<Z=0.000000>
169+
>
170+
<AmbientColor=
171+
<X=0.000000>
172+
<Y=0.000000>
173+
<Z=0.000000>
174+
>
175+
<AmbientIntensity=1.000000>
176+
<TargetExposure=0.250000>
177+
<FogNear=0.000000>
178+
<FogFar=0.000000>
179+
<FogColor=
180+
<X=1.000000>
181+
<Y=1.000000>
182+
<Z=1.000000>
183+
>
184+
>
185+
<Physics=
186+
<Frequency=59.999996>
187+
>
188+
<ViewMatrix=
189+
<R0=
190+
<X=1.000000>
191+
<Y=0.000000>
192+
<Z=-0.000126>
193+
<W=0.000000>
194+
>
195+
<R1=
196+
<X=0.000001>
197+
<Y=0.999948>
198+
<Z=0.010197>
199+
<W=0.000000>
200+
>
201+
<R2=
202+
<X=0.000126>
203+
<Y=-0.010197>
204+
<Z=0.999948>
205+
<W=0.000000>
206+
>
207+
<R3=
208+
<X=0.397542>
209+
<Y=1.976479>
210+
<Z=-10.461562>
211+
<W=1.000000>
212+
>
213+
>
214+
>
215+
<Editor=
216+
<View=
217+
<Layout="Single">
218+
<Viewport=
219+
<Index=0>
220+
<Camera="@Perspective">
221+
<Matrix=
222+
<R0=
223+
<X=1.000000>
224+
<Y=0.000000>
225+
<Z=-0.000126>
226+
<W=0.000000>
227+
>
228+
<R1=
229+
<X=0.000001>
230+
<Y=0.999948>
231+
<Z=0.010197>
232+
<W=0.000000>
233+
>
234+
<R2=
235+
<X=0.000126>
236+
<Y=-0.010197>
237+
<Z=0.999948>
238+
<W=0.000000>
239+
>
240+
<R3=
241+
<X=0.397542>
242+
<Y=1.976479>
243+
<Z=-10.461562>
244+
<W=1.000000>
245+
>
246+
>
247+
>
248+
<Viewport=
249+
<Index=1>
250+
<Camera="@Top">
251+
<Matrix=
252+
<R0=
253+
<X=1.000000>
254+
<Y=0.000000>
255+
<Z=0.000000>
256+
<W=0.000000>
257+
>
258+
<R1=
259+
<X=0.000000>
260+
<Y=-0.000000>
261+
<Z=1.000000>
262+
<W=0.000000>
263+
>
264+
<R2=
265+
<X=0.000000>
266+
<Y=-1.000000>
267+
<Z=-0.000000>
268+
<W=0.000000>
269+
>
270+
<R3=
271+
<X=0.000000>
272+
<Y=10.000000>
273+
<Z=0.000000>
274+
<W=1.000000>
275+
>
276+
>
277+
>
278+
<Viewport=
279+
<Index=2>
280+
<Camera="@Bottom">
281+
<Matrix=
282+
<R0=
283+
<X=1.000000>
284+
<Y=0.000000>
285+
<Z=0.000000>
286+
<W=0.000000>
287+
>
288+
<R1=
289+
<X=0.000000>
290+
<Y=-0.000000>
291+
<Z=-1.000000>
292+
<W=0.000000>
293+
>
294+
<R2=
295+
<X=0.000000>
296+
<Y=1.000000>
297+
<Z=-0.000000>
298+
<W=0.000000>
299+
>
300+
<R3=
301+
<X=0.000000>
302+
<Y=-10.000000>
303+
<Z=0.000000>
304+
<W=1.000000>
305+
>
306+
>
307+
>
308+
<Viewport=
309+
<Index=3>
310+
<Camera="@Left">
311+
<Matrix=
312+
<R0=
313+
<X=-0.000000>
314+
<Y=0.000000>
315+
<Z=-1.000000>
316+
<W=0.000000>
317+
>
318+
<R1=
319+
<X=0.000000>
320+
<Y=1.000000>
321+
<Z=0.000000>
322+
<W=0.000000>
323+
>
324+
<R2=
325+
<X=1.000000>
326+
<Y=0.000000>
327+
<Z=-0.000000>
328+
<W=0.000000>
329+
>
330+
<R3=
331+
<X=-10.000000>
332+
<Y=0.000000>
333+
<Z=0.000000>
334+
<W=1.000000>
335+
>
336+
>
337+
>
338+
>
339+
>

0 commit comments

Comments
 (0)