File: default.ocs

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 (269 lines) | stat: -rw-r--r-- 4,671 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
#    ShipWars: Object Create Scripts
#
#	This file contains rules for creating objects (such as weapon
#	objects) in recursive patterns.
#
#
#	Format of this file is as follows:
#
#	BeginOCSEntry	Marks the beginning of an OCS (Object Create
#			Script) configuration block.
#
#	EndOCSEntry	Marks the end of an OCS configuration
#			block.
#
#
#	OCSEntry configuration block members:
#
#	Code			Specifies the code of this OCS, other
#				resources will reffer to this OCS by this
#				specified code.
#
#	OPMName			Specifies the OPM (Object Parameter
#				Model) to be used as referance for the
#				newly created object(s).
#
#	Coppies			Specifies the number of coppies
#				(recursions).
#
#	Heading			Specifies the Z-axis of origin creation
#				point angle in radians.
#
#	Pitch			Specifies the X-axis of origin creation
#				point angle in radians.
#
#	Bank			Specifies the Y-axis of origin creation
#				point angle in radians.
#
#	Radius			Specifies the distance from the origin
#				creation point in XSW real units.
#


# ############################################################################
#
#   1 to 19: Reserved
#
#   (Note: 0 is considered garbage.)


# ############################################################################
#
#   20 to 59: Weapon Objects
#

# NULL weapon
BeginOCSEntry
    Code = 20
    OPMName = NULL Weapon
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0.003
EndOCSEntry


# Stream phazer: yellow
BeginOCSEntry
    Code = 21
    OPMName = Phazer Stream Yellow
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0
EndOCSEntry

# Stream phazer: orange
BeginOCSEntry
    Code = 22
    OPMName = Phazer Stream Orange
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0
EndOCSEntry

# Stream phazer: purple
BeginOCSEntry
    Code = 23
    OPMName = Phazer Stream Purple
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0
EndOCSEntry


# Single pulse phazer
BeginOCSEntry
    Code = 25
    OPMName = Phazer Pulse
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0.039
EndOCSEntry

# Double pulse phazer
BeginOCSEntry
    Code = 26
    OPMName = Phazer Pulse
    Coppies = 2
    Heading = 0.92664063
    Pitch = 0
    Bank = 0
    Radius = 0.036
EndOCSEntry


# Stream disruptor
BeginOCSEntry
    Code = 30
    OPMName = Disruptor Stream
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0 
EndOCSEntry  

# Single pulse disruptor
BeginOCSEntry
    Code = 31
    OPMName = Disruptor Pulse
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0
EndOCSEntry

# Double pulse disruptor
BeginOCSEntry
    Code = 32
    OPMName = Disruptor Pulse
    Coppies = 2
    Heading = 0.87266463
    Pitch = 0
    Bank = 0
    Radius = 0.039
EndOCSEntry


# Expanding sphere phazer (used mostly by Cardassian vessels).
BeginOCSEntry
    Code = 40
    OPMName = Phazer Expanding Sphere
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0
EndOCSEntry

# Species 8472 Energy Conductor Weapon
BeginOCSEntry
    Code = 41
    OPMName = Phazer Stream Orange
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0   
    Radius = 0
EndOCSEntry

# Bolt Plasma
BeginOCSEntry  
    Code = 42
    OPMName = Bolt Plasma
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0  
    Radius = 0
EndOCSEntry

# Cutting Beam
BeginOCSEntry
    Code = 43
    OPMName = Cutting Beam
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0
EndOCSEntry

# Primary Energy Weapon
BeginOCSEntry
    Code = 44
# Use Cutting Beam OPM for now.
    OPMName = Cutting Beam
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0
EndOCSEntry


# Photon torpedo single fire
BeginOCSEntry
    Code = 50
    OPMName = Photon Torpedo
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0.02
EndOCSEntry

# Photon torpedo double fire
BeginOCSEntry
    Code = 51
    OPMName = Photon Torpedo
    Coppies = 2
    Heading = 0.87266463
    Pitch = 0
    Bank = 0
    Radius = 0.02
EndOCSEntry    

# Plasma torpedo: single fire
BeginOCSEntry
    Code = 55
    OPMName = Plasma Torpedo
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0.02
EndOCSEntry

# Quantom torpedo: single fire
BeginOCSEntry
    Code = 60
    OPMName = Quantom Torpedo
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0.02
EndOCSEntry


# APC (Atmospheric Penetrating Cruise) Warhead
BeginOCSEntry
    Code = 80
    OPMName = APC Warhead
    Coppies = 1
    Heading = 0
    Pitch = 0
    Bank = 0
    Radius = 0.02
EndOCSEntry