Help wanted!!! --> Custom Views ...
Posted: Mon Jun 23, 2008 9:33 am
Hi to all nice people who would lend me a hand (metaphorically speaking, of course!)
(Anything else would be just plain weird)
Where was I? Ah, yeah [/rambling]
I am working on custom views for all playable ships in Realistic Shipyards 3.02, and yes, I read the wiki on the custom views, and now I have a few questions.
As I have to create custom views for around a hundred ships or so that didn`t have them when I merged or created them, I could use a template for small, medium, bigger and carrier ships so that the custom view doesn`t become a view into the engine room.
* If I understand the wiki description correctly, there is no problem for view_description, view_orientation and weapon_facing being exactly the same for all hundred ships, as there are no distance coordinates involved.
* Might not be the same with view_position, yes? Because those coordinates seem to indicate the distance from which the ship is viewed, too.
So, my two questions are:
1. Is my first assumption (*) up there correct as such or not?
2. If I take a "basic" view_position, is it enough to make the three coordinates bigger if I want more distance or is it more complicated (not really up to the quaternion stuff atm)?
3. Below is a (well working) example for custom views from Charlie`s Condor ship (a very big ship, big viewing distance I assume). Could I use this as a template and just make the view_position bigger or smaller, then, for bigger or smaller ships?
Answers to those questions would be very appreciated
Cheers
L
(Anything else would be just plain weird)
Where was I? Ah, yeah [/rambling]
I am working on custom views for all playable ships in Realistic Shipyards 3.02, and yes, I read the wiki on the custom views, and now I have a few questions.
As I have to create custom views for around a hundred ships or so that didn`t have them when I merged or created them, I could use a template for small, medium, bigger and carrier ships so that the custom view doesn`t become a view into the engine room.
* If I understand the wiki description correctly, there is no problem for view_description, view_orientation and weapon_facing being exactly the same for all hundred ships, as there are no distance coordinates involved.
* Might not be the same with view_position, yes? Because those coordinates seem to indicate the distance from which the ship is viewed, too.
So, my two questions are:
1. Is my first assumption (*) up there correct as such or not?
2. If I take a "basic" view_position, is it enough to make the three coordinates bigger if I want more distance or is it more complicated (not really up to the quaternion stuff atm)?
3. Below is a (well working) example for custom views from Charlie`s Condor ship (a very big ship, big viewing distance I assume). Could I use this as a template and just make the view_position bigger or smaller, then, for bigger or smaller ships?
Code: Select all
<key>custom_views</key>
<array>
<dict>
<key>view_description</key>
<string>External View 1</string>
<key>view_position</key>
<string>0.0 -100.0 -1000.0</string>
<key>view_orientation</key>
<string>1.0 0.0 0.0 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 2</string>
<key>view_position</key>
<string>703.55 -100.0 -703.55</string>
<key>view_orientation</key>
<string>0.9239 0.0 0.3829 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 3</string>
<key>view_position</key>
<string>1000.0 -100.0 0.0</string>
<key>view_orientation</key>
<string>0.7071 0.0 0.7071 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 4</string>
<key>view_position</key>
<string>703.55 -100.0 703.55</string>
<key>view_orientation</key>
<string>0.3829 0.0 0.9239 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 5</string>
<key>view_position</key>
<string>0.0 -100.0 1000.0</string>
<key>view_orientation</key>
<string>0.0 0.0 1.0 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 6</string>
<key>view_position</key>
<string>-703.55 -100.0 703.55</string>
<key>view_orientation</key>
<string>0.3829 0.0 -0.9239 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 7</string>
<key>view_position</key>
<string>-1000.0 -100.0 0.0</string>
<key>view_orientation</key>
<string>0.7071 0.0 -0.7071 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>External View 8</string>
<key>view_position</key>
<string>-703.55 -100.0 -703.55</string>
<key>view_orientation</key>
<string>0.9239 0.0 -0.3829 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
</array>
Cheers
L