File: default.opm

package info (click to toggle)
xshipwars 1.32-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 17,176 kB
  • ctags: 6,357
  • sloc: ansic: 157,152; makefile: 226; sh: 75
file content (626 lines) | stat: -rw-r--r-- 12,682 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
#    ShipWars: Object Parameter Models
#
#	The format of this file is similar to the universe file format,
#	each object here is considered a referance (model) object and
#       is never actually placed in the universe. Instead its values
#	are used for `modeling' objects that are to be created or already
#	in the universe.
#
#	Weapon objects and explosions typically use OPMs.
#
#

# Default (standard name)
#
BeginXSWObject = 0
    Name = Default
    Password = *
    Empire =
    Type = 1
    ImageSet = 0
    Size = 20
    LockedOn = -1
    InterceptingObject = -1
    ScannerRange = 80
    SectX = 0
    SectY = 0
    SectZ = 0
    CoordX = 0
    CoordY = 0
    CoordZ = 0
    ObjectHeading = 0.0000
    ObjectPitch = 0.0000
    ObjectBank = 0.0000
    VelocityHeading = 0
    VelocityMax = 0.07
    Velocity = 0
    ThrustDir = 3.141593
    ThrustPower = 0.0001
    Thrust = 0
    Throttle = 0
    EngineState = 2
    TurnRate = 0.0002
    HitPointsMax = 5
    HitPoints = 5
    PowerPurity = 1.00
    PowerMax = 5
    Power = 5
    CoreEfficency = 0.008
    AntimatterMax = 5
    Antimatter = 5
    ShieldState = 0
    ShieldFrequency = 180.25
    SelectedWeapon = 0
    TotalWeapons = 0
    LifeSpan = -1
    CloakState = -1
    CloakStrength = 0
    ShieldVisibility = 0
    Visibility = 1.0
    DamageControl = 0
    PermissionUID = 5
    PermissionGID = 5
    AnimationLastInterval = 0
    AnimationInterval = 0
    AnimationCurrentFrame = 0
    AnimationTotalFrames = 0
    AnimationCycleCount = 0
    AnimationCycleTimes = 0
EndXSWObject


#   New Player (standard name)
#
#	Whenever a new player object has been created, it will
#	get these values upon creation.
#
BeginXSWObject = 5
    Name = New Player
    Password = *
    Empire = NONE
    Type = 4
    ImageSet = 30
    Size = 60
    LockedOn = -1
    InterceptingObject = -1
    ScannerRange = 80
    SectX = 0
    SectY = 0
    SectZ = 0
    CoordX = 0
    CoordY = 0
    CoordZ = 0
    ObjectHeading = 0.0000
    ObjectPitch = 0.0000
    ObjectBank = 0.0000
    VelocityHeading = 0
    VelocityMax = 0.07
    Velocity = 0
    ThrustDir = 3.141593
    ThrustPower = 0.0002
    Thrust = 0
    Throttle = 0
    EngineState = 2
    TurnRate = 0.0002
    HitPointsMax = 20
    HitPoints = 20
    PowerPurity = 1.00
    PowerMax = 20
    Power = 20
    CoreEfficency = 0.008
    AntimatterMax = 250
    Antimatter = 250
    ShieldState = 0
    ShieldFrequency = 180.25
    SelectedWeapon = 0
    TotalWeapons = 0
    LifeSpan = -1
    CloakState = -1
    CloakStrength = 0
    ShieldVisibility = 0
    Visibility = 1.0
    DamageControl = 0
    PermissionUID = 5
    PermissionGID = 5
    AnimationLastInterval = 0
    AnimationInterval = 0
    AnimationCurrentFrame = 0
    AnimationTotalFrames = 0
    AnimationCycleCount = 0
    AnimationCycleTimes = 0
EndXSWObject  



#   Explosions (standard names)
#
#	Standard values for explosions, please consult the client's
#	ISRefs file (.isr file) for verification of these values
#	(espessialy image set code number and animation values).
#

# Explosion 1: Small firy explosion.
#
BeginXSWObject = 20
    Name = Explosion1
    Type = 12
    ImageSet = 20
    Size = 100
    VelocityMax = 0.05
    BirthTime = 0
    LifeSpan = -1
    Visibility = 1.0
    AnimationInterval = 300
    AnimationCurrentFrame = 0
    AnimationTotalFrames = 4
    AnimationCycleCount = 0
    AnimationCycleTimes = 1
EndXSWObject

# Explosion 2: Medium firy explosion.
#
BeginXSWObject = 21
    Name = Explosion2
    Type = 12
    ImageSet = 21
    Size = 100
    VelocityMax = 0.05
    BirthTime = 0
    LifeSpan = -1
    Visibility = 1.0
    AnimationInterval = 300
    AnimationCurrentFrame = 0
    AnimationTotalFrames = 4
    AnimationCycleCount = 0
    AnimationCycleTimes = 1
EndXSWObject

# Explosion 3: Large firy explosion.
#
BeginXSWObject = 22
    Name = Explosion3
    Type = 12
    ImageSet = 22
    Size = 525
    VelocityMax = 0.05
    BirthTime = 0
    LifeSpan = -1
    Visibility = 1.0
    AnimationInterval = 496
    AnimationCurrentFrame = 0
    AnimationTotalFrames = 6
    AnimationCycleCount = 0
    AnimationCycleTimes = 1
EndXSWObject

# Explosion 4: Large mass explosion.
#
BeginXSWObject = 23
    Name = Explosion4
    Type = 12
    ImageSet = 23
    Size = 525
    VelocityMax = 0.05
    BirthTime = 0   
    LifeSpan = -1
    Visibility = 1.0
    AnimationInterval = 700
    AnimationCurrentFrame = 0
    AnimationTotalFrames = 6
    AnimationCycleCount = 0
    AnimationCycleTimes = 1
EndXSWObject


# ###########################################################################
#
#    Guest Vessel
#
#	One of these objects will be created for each Guest
#	connection.
#

BeginXSWObject = 30
    Name = Guest
    Password = *
    Empire = 
    Type = 4
    LocType = 0 
    ImageSet = 33
    Owner = 8  
    Size = 60
    LockedOn = -1
    InterceptingObject = -1
    ScannerRange = 120.0000
    SectX = 0
    SectY = 0
    SectZ = 0
    CoordX = 44.6
    CoordY = -48.5
    CoordZ = 0.0000
    ObjectHeading = 5.92
    ObjectPitch = 0.0000
    ObjectBank = 0.0000
    VelocityHeading = 0.0000
    VelocityPitch = 0.0000    
    VelocityBank = 0.0000
    VelocityMax = 0.0700
    Velocity = 0.0000
    ThrustDir = 3.1416
    ThrustPower = 0.0004
    Thrust = 0.0000
    Throttle = 0.0000
    EngineState = 2
    TurnRate = 0.0002
    Lighting = 0 
    HitPointsMax = 216.0000
    HitPoints = 216.0000
    PowerPurity = 0.9900
    PowerMax = 226.0000
    Power = 226.0000
    CoreEfficency = 0.0180
    AntimatterMax = 4000.0000
    Antimatter = 4000.0000
    ShieldState = 0  
    ShieldFrequency = 180.2500
    SelectedWeapon = 0
    TotalWeapons = 2
    BirthTime = 19748569
    LifeSpan = -1
    CloakState = -1
    CloakStrength = 0.0000    
    ShieldVisibility = 0.0000
    CurrentVisibility = 1.0000
    Visibility = 1.0000
    DamageControl = 0 
    ComChannel = 31000  
    AIFlags = 0
    PermissionUID = 5
    PermissionGID = 5
    AnimationLastInterval = 0
    AnimationInterval = 0
    AnimationCurrentFrame = 0
    AnimationTotalFrames = 0
    AnimationCycleCount = 0
    AnimationCycleTimes = 0
    BeginWeapon
        EmissionType = 0  
        OCSCode = 21
        Amount = 0
        Max = 0
        CreatePower = 2.5000  
        Power = 5.0000
        Range = 600 
        Delay = 300
        LastUsed = 0
    EndWeapon
    BeginWeapon
        EmissionType = 1
        OCSCode = 50
        Amount = 32
        Max = 32
        CreatePower = 0.0000
        Power = 20.0000
        Range = 0
        Delay = 1000 
        LastUsed = 0
    EndWeapon
EndXSWObject



# ###########################################################################
#
#   Weapons fire objects
#
#	Each time you use a weapon, the Object Create Script for
#	that weapon will be called and one of these Object Parameter
#	Macros will be used to create the object(s) representing
#	the weapons fire.
#
#	Do not change the name of the weapon OPMs in this section
#	without good reason, because the names are highly standardized.
#

# NULLWeapon
BeginXSWObject = 60
    Name = NULL Weapon
    Type = 5
    ImageSet = 60
    Size = 8
    ScannerRange = 80
    Velocity = 0.002
    VelocityMax = 0.07 
    ThrustDir = 3.141593
    ThrustPower = 0.0002
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0002
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1500
    Visibility = 1.0
EndXSWObject


# Stream phazer: yellow
BeginXSWObject = 61
    Name = Phazer Stream Yellow
    Type = 6
    ImageSet = 10
    Size = 8
    ScannerRange = 80
    Velocity = 0.000
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0004
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1300
    Visibility = 1.0
EndXSWObject

# Stream phazer: orange
BeginXSWObject = 62
    Name = Phazer Stream Orange
    Type = 6
    ImageSet = 13
    Size = 8
    ScannerRange = 80
    Velocity = 0.000
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0004
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1300    
    Visibility = 1.0    
EndXSWObject

# Stream phazer: purple
BeginXSWObject = 63
    Name = Phazer Stream Purple
    Type = 6
    ImageSet = 12
    Size = 8
    ScannerRange = 80
    Velocity = 0.000
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0004
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1300
    Visibility = 1.0
EndXSWObject


# Pulse phazer
BeginXSWObject = 64
    Name = Phazer Pulse
    Type = 5
    ImageSet = 60
    Size = 8
    ScannerRange = 80
    Velocity = 0.002
    VelocityMax = 0.07  
    ThrustDir = 3.141593
    ThrustPower = 0.0002
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1600
    Visibility = 1.0
EndXSWObject


# Stream disruptor
BeginXSWObject = 65
    Name = Disruptor Stream
    Type = 6
    ImageSet = 11
    Size = 8
    ScannerRange = 80
    Velocity = 0
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0004
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1300
    Visibility = 1.0
EndXSWObject


# Pulse disruptor
BeginXSWObject = 66
    Name = Disruptor Pulse
    Type = 5
    ImageSet = 61
    Size = 8
    ScannerRange = 80
    Velocity = 0
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0.0002
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1800
    Visibility = 1.0
EndXSWObject


# Expanding sphere phazer
BeginXSWObject = 67
    Name = Phazer Expanding Sphere
    Type = 7
    ImageSet = 10
    Size = 8
    ScannerRange = 80
    Velocity = 0.000
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0004
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1300
    Visibility = 1.0
EndXSWObject

# Bolt Plasma
BeginXSWObject = 68
    Name = Bolt Plasma
    Type = 5
    ImageSet = 61
    Size = 8
    ScannerRange = 80
    Velocity = 0
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0.0002
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 5000
    Visibility = 1.0
EndXSWObject

# Cutting Beam
BeginXSWObject = 69
    Name = Cutting Beam
    Type = 6
    ImageSet = 11
    Size = 8
    ScannerRange = 80
    Velocity = 0
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0004
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 1300
    Visibility = 1.0
EndXSWObject


# Photon torpedo
BeginXSWObject = 70
    Name = Photon Torpedo
    Type = 5
    ImageSet = 62
    Size = 10
    ScannerRange = 80
    Velocity = 0
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0.0003
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0001
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 20000
    Visibility = 1.0
EndXSWObject

# Plasma Torpedo
BeginXSWObject = 71
    Name = Plasma Torpedo
    Type = 5
    ImageSet = 61
    Size = 10
    ScannerRange = 80
    Velocity = 0
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0.0003
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0001
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 20000
    Visibility = 1.0
EndXSWObject

# Quantom Torpedo
BeginXSWObject = 72
    Name = Quantom Torpedo
    Type = 5
    ImageSet = 64
    Size = 10
    ScannerRange = 80
    Velocity = 0
    VelocityMax = 0.07
    ThrustDir = 3.141593
    ThrustPower = 0.0003
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0001
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 20000
    Visibility = 1.0
EndXSWObject


# APC (Atmospheric Penetrating Cruise) Warhead
BeginXSWObject = 75
    Name = APC Warhead
    Type = 5
    ImageSet = 150
    Size = 26
    # Longer scanner range
    ScannerRange = 200
    Velocity = 0
    # Slower maximum velocity
    VelocityMax = 0.05
    ThrustDir = 3.141593
    ThrustPower = 0.0001
    Thrust = 0
    Throttle = 1
    EngineState = 2
    TurnRate = 0.0001
    AntimatterMax = 100
    Antimatter = 100
    LifeSpan = 90000
    Visibility = 1.0
EndXSWObject