Ex-external view

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

I'd like to come back to the topic, if I may.

Talking about external views I should also mention that there is a small bug in Giles' code. Really nothing big, but did anybody ever notice that there a TWO "External View 3"? So the second one should get number 4 and so on, until the last one is number 8, not 7.

I corrected the view numbers in my Oolite. You have to right-click the Oolite-Icon and then choose "Open Package". After that you have to open -> Content -> Resources -> Config and find "shipdata.plist". Then it's an easy "find all and replace"-exercise. You just have to start with the high numbers, so first change "7" to "8", than "6" to "7" and so on. The last change however, half of the "3"s to "4"s, has to be made one by one of course. And of course you have to search for "External View 7" and to replace it with "External View 8", not just replace all "7"s with "8"s, in order to be sure not to change ALL numbers in the shipdata.plist, which would be pretty bad. Save it, and you're done.

For the Imperial Courier I'm flying (thanks, Selezen, for an awesome ship) I have modified the external views slightly and added two more, a Down View and an Up View. The modification was to set the viewpoint further away so there is less ship and more background on the screen. Here's the code for everybody who likes to use it (and of course the credits go to Giles):

Code: Select all

		<array>
			<dict>
				<key>view_description</key>
				<string>External View 1</string>
				<key>view_position</key>
				<string>0.0 20.0 -141.42</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>100.0 20.0 -100.0</string>
				<key>view_orientation</key>
				<string>0.9239 0.0 0.3827 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>141.42 20.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>100.0 20.0 100.0</string>
				<key>view_orientation</key>
				<string>0.3827 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 20.0 141.42</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>-100.0 20.0 100.0</string>
				<key>view_orientation</key>
				<string>0.3827 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>-141.42 20.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>-100.0 20.0 -100.0</string>
				<key>view_orientation</key>
				<string>0.9239 0.0 -0.3827 0.0</string>
				<key>weapon_facing</key>
				<string>FORWARD</string>
			</dict>
			<dict>
				<key>view_description</key>
				<string>Down View</string>
				<key>view_position</key>
				<string>0.0 150.0 0.0</string>
				<key>view_orientation</key>
				<string>-0.7071 0.7071 0.0 0.0</string>
				<key>weapon_facing</key>
				<string>FORWARD</string>
			</dict>
			<dict>
				<key>view_description</key>
				<string>Up View</string>
				<key>view_position</key>
				<string>0.0 -150.0 0.0</string>
				<key>view_orientation</key>
				<string>0.0 0.0 0.7071 0.7071</string>
				<key>weapon_facing</key>
				<string>FORWARD</string>
			</dict>
		</array>
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1759
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

Yes, Giles was aware of the bug, but it was reported *just* after 1.65-final was released, so it would've been fixed in .66... but then Giles burned out :(
Post Reply