1USING(6) Games USING(6)
2
3
4
6 Using wxWidgets version - G3D Model editor for the popular 3D real‐
7 time strategy game
8
10 Using wxWidgets version [3.0.4.0]
11
12 megaglest_g3dviewer v3.13.0, [Using wxWidgets 3.0.4] usage:
13
14 megaglest_g3dviewer [G3D FILE]
15
16 Displays glest 3D-models and unit/projectile/splash particle systems.
17 rotate with left mouse button, zoom with right mouse button or mouse‐
18 wheel. Use ctrl to load more than one particle system. Press R to
19 restart particles, this also reloads all files if they are changed.
20
21 optionally you may use any of the following: Parameter:
22 Description: ---------------------- ------------ --help
23 displays this help text. --load-unit=x
24
25 Auto load the unit / skill information specified
26 in path/filename x Where x is a g3d filename to load separated
27 with a comma and one or more skill names to try loading: exam‐
28 ple:
29
30 megaglest_g3dviewer --load-unit=techs/megapack/fac‐
31 tions/tech/units/battle_machine,attack_skill,stop_skill
32
33 --load-model=x Auto load the model specified in
34 path/filename x
35
36 Where x is a g3d filename to load:
37 example:
38
39 megaglest_g3dviewer --load-model=techs/megapack/fac‐
40 tions/tech/units/battle_machine/models/battle_machine_dying.g3d
41
42 --load-model-animation-value=x Animation value when loading a model
43
44 Where x is a decimal value from -1.0 to 1.0:
45 example:
46
47 megaglest_g3dviewer --load-model-animation-value=0.5
48
49 --auto-screenshot=x
50
51 Automatically takes a screenshot of the items you
52 are loading. Where x is a comma-delimited list of one or more
53
54 of the optional settings:
55 transparent, enable_grid, enable_wireframe, enable_normals, dis‐
56 able_grid, disable_wireframe, disable_normals, saveas-<file‐
57 name>, resize-wxh example:
58
59 megaglest_g3dviewer --auto-screenshot=transparent,dis‐
60 able_grid,saveas-test.png,resize-800x600
61 --load-model=techs/megapack/factions/tech/units/bat‐
62 tle_machine/models/battle_machine_dying.g3d
63
64 --load-particle=x
65
66 Auto load the particle specified in path/filename x
67 Where x is a Particle XML filename to load: example:
68
69 megaglest_g3dviewer --load-particle=techs/megapack/factions/per‐
70 sian/units/genie/glow_particles.xml
71
72 --load-projectile-particle=x
73
74 Auto load the projectile particle specified in
75 path/filename x Where x is a Projectile Particle Definition XML
76
77 filename to load:
78 example:
79
80 megaglest_g3dviewer --load-projectile-particle=techs/mega‐
81 pack/factions/persian/units/genie/particle_proj.xml
82
83 --load-splash-particle=x
84
85 Auto load the splash particle specified in
86 path/filename x Where x is a Splash Particle Definition XML
87
88 filename to load:
89 example:
90
91 megaglest_g3dviewer --load-splash-particle=techs/megapack/fac‐
92 tions/persian/units/genie/particle_splash.xml
93
94 --load-particle-loop-value=x
95
96 Particle loop value when loading one or more
97 particles Where x is an integer value from 1 to particle count:
98 example:
99
100 megaglest_g3dviewer --load-particle-loop-value=25
101
102 --zoom-value=x Zoom value when loading a model
103
104 Where x is a decimal value from 0.1 to 10.0:
105 example:
106
107 megaglest_g3dviewer --zoom-value=4.2
108
109 --rotate-x-value=x X Coordinate Rotation value when load‐
110 ing a model
111
112 Where x is a decimal value from -10.0 to 10.0:
113 example:
114
115 megaglest_g3dviewer --rotate-x-value=2.2
116
117 --rotate-y-value=x Y Coordinate Rotation value when load‐
118 ing a model
119
120 Where x is a decimal value from -10.0 to 10.0:
121 example:
122
123 megaglest_g3dviewer --rotate-y-value=2.2
124
125 --screenshot-format=x Specify which image format to use for
126 screenshots.
127
128 Where x is one of the following supported formats
129 png,jpg,tga,bmp *NOTE: png is the default (and supports trans‐
130 parency) example:
131
132 megaglest_g3dviewer --screenshot-format=jpg
133
134 Invalid argument: --version
135
136 megaglest_g3dviewer v3.13.0, [Using wxWidgets 3.0.4] usage:
137
138 megaglest_g3dviewer [G3D FILE]
139
140 Displays glest 3D-models and unit/projectile/splash particle systems.
141 rotate with left mouse button, zoom with right mouse button or mouse‐
142 wheel. Use ctrl to load more than one particle system. Press R to
143 restart particles, this also reloads all files if they are changed.
144
145 optionally you may use any of the following: Parameter:
146 Description: ---------------------- ------------ --help
147 displays this help text. --load-unit=x
148
149 Auto load the unit / skill information specified
150 in path/filename x Where x is a g3d filename to load separated
151 with a comma and one or more skill names to try loading: exam‐
152 ple:
153
154 megaglest_g3dviewer --load-unit=techs/megapack/fac‐
155 tions/tech/units/battle_machine,attack_skill,stop_skill
156
157 --load-model=x Auto load the model specified in
158 path/filename x
159
160 Where x is a g3d filename to load:
161 example:
162
163 megaglest_g3dviewer --load-model=techs/megapack/fac‐
164 tions/tech/units/battle_machine/models/battle_machine_dying.g3d
165
166 --load-model-animation-value=x Animation value when loading a model
167
168 Where x is a decimal value from -1.0 to 1.0:
169 example:
170
171 megaglest_g3dviewer --load-model-animation-value=0.5
172
173 --auto-screenshot=x
174
175 Automatically takes a screenshot of the items you
176 are loading. Where x is a comma-delimited list of one or more
177
178 of the optional settings:
179 transparent, enable_grid, enable_wireframe, enable_normals, dis‐
180 able_grid, disable_wireframe, disable_normals, saveas-<file‐
181 name>, resize-wxh example:
182
183 megaglest_g3dviewer --auto-screenshot=transparent,dis‐
184 able_grid,saveas-test.png,resize-800x600
185 --load-model=techs/megapack/factions/tech/units/bat‐
186 tle_machine/models/battle_machine_dying.g3d
187
188 --load-particle=x
189
190 Auto load the particle specified in path/filename x
191 Where x is a Particle XML filename to load: example:
192
193 megaglest_g3dviewer --load-particle=techs/megapack/factions/per‐
194 sian/units/genie/glow_particles.xml
195
196 --load-projectile-particle=x
197
198 Auto load the projectile particle specified in
199 path/filename x Where x is a Projectile Particle Definition XML
200
201 filename to load:
202 example:
203
204 megaglest_g3dviewer --load-projectile-particle=techs/mega‐
205 pack/factions/persian/units/genie/particle_proj.xml
206
207 --load-splash-particle=x
208
209 Auto load the splash particle specified in
210 path/filename x Where x is a Splash Particle Definition XML
211
212 filename to load:
213 example:
214
215 megaglest_g3dviewer --load-splash-particle=techs/megapack/fac‐
216 tions/persian/units/genie/particle_splash.xml
217
218 --load-particle-loop-value=x
219
220 Particle loop value when loading one or more
221 particles Where x is an integer value from 1 to particle count:
222 example:
223
224 megaglest_g3dviewer --load-particle-loop-value=25
225
226 --zoom-value=x Zoom value when loading a model
227
228 Where x is a decimal value from 0.1 to 10.0:
229 example:
230
231 megaglest_g3dviewer --zoom-value=4.2
232
233 --rotate-x-value=x X Coordinate Rotation value when load‐
234 ing a model
235
236 Where x is a decimal value from -10.0 to 10.0:
237 example:
238
239 megaglest_g3dviewer --rotate-x-value=2.2
240
241 --rotate-y-value=x Y Coordinate Rotation value when load‐
242 ing a model
243
244 Where x is a decimal value from -10.0 to 10.0:
245 example:
246
247 megaglest_g3dviewer --rotate-y-value=2.2
248
249 --screenshot-format=x Specify which image format to use for
250 screenshots.
251
252 Where x is one of the following supported formats
253 png,jpg,tga,bmp *NOTE: png is the default (and supports trans‐
254 parency) example:
255
256 megaglest_g3dviewer --screenshot-format=jpg
257
258
259
260Using [3.0.4.0] March 2020 USING(6)