External Views.oxp now on Oosat 2
Moderators: winston, another_commander
- Commander McLane
- ---- 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:
External Views.oxp now on Oosat 2
Ever bought yourself a Boa Class Cruiser, a Python or an Anaconda and wanted to have a look at your proud new ship from the outside? And--there was not much to see, because the view positions were much too close to the ship?
Ever been confused by the naming of the external views with number 3 twice and no number 8?
Ever wondered what your ship looks like from above or below?
Congratulations! Here's the solution for you: externalviews.oxp!
This OXP changes the external views of all the original Oolite-ships by adjusting the viewpoints to the size of the ship. This makes the ships appear smaller on the screen, so you really can see your whole Cobra or Python from the outside, not only part of it.
It also corrects the naming of the external views. They are now correctly numbered from 1 to 8.
Finally the OXP adds two more external views, a Down View and an Up View. These are quite handy for taking screenshots of your ship. Feel free to use this code for your own OXP-ships.
------
External Views.oxp now available on Oosat 2! (Thanks, Winston!)
Ever been confused by the naming of the external views with number 3 twice and no number 8?
Ever wondered what your ship looks like from above or below?
Congratulations! Here's the solution for you: externalviews.oxp!
This OXP changes the external views of all the original Oolite-ships by adjusting the viewpoints to the size of the ship. This makes the ships appear smaller on the screen, so you really can see your whole Cobra or Python from the outside, not only part of it.
It also corrects the naming of the external views. They are now correctly numbered from 1 to 8.
Finally the OXP adds two more external views, a Down View and an Up View. These are quite handy for taking screenshots of your ship. Feel free to use this code for your own OXP-ships.
------
External Views.oxp now available on Oosat 2! (Thanks, Winston!)
- Dr. Nil
- ---- E L I T E ----
- Posts: 983
- Joined: Thu Sep 28, 2006 5:11 pm
- Location: Nearest Hoopy Casino
- Contact:
Good job, Commander.
Your views should be made standard when/if the game is updated.
Your views should be made standard when/if the game is updated.
300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
- Commander McLane
- ---- 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:
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
- Commander McLane
- ---- 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:
I did it the sort of middle smart way, because there is no exact adjustment to each ship's dimensions. What I actually did was increasing all distances by multiples of sqr(2)/2, which worked fine. And it was an easy way, as it's already there in the original file (the viewponts at the corners of a regular octogon being at xy 0 1, 0.707 0.707 (which is actually sqr(2)/2), 1 0, -0.707 0.707 etc (any mathematicians out there who can follow this babble? ).
So yes, a bit boring, but that part of the work was done in ten minutes. The ten minutes before that were for browsing through the original shipdata.plist, erasing all NPC-entries and saving the resulting compilation of all player-ships only to the oxp.
It took me almost more time to write the readMe.
And it was fun! (My very first OXP!)
So yes, a bit boring, but that part of the work was done in ten minutes. The ten minutes before that were for browsing through the original shipdata.plist, erasing all NPC-entries and saving the resulting compilation of all player-ships only to the oxp.
It took me almost more time to write the readMe.
And it was fun! (My very first OXP!)
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Having a break from painting - which is drying nicely on my face and starting to crack - nice job Cmdr. McLane - I never bother with the outside views because they were pretty rubbish but you've done a great job - well done!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Commander McLane
- ---- 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:
By the way:
One nice feature of the external views is to enable you to see your ship fire its lasers. There is the
-method in each of the views, but it doesn't seem to work.
In fact when looking at any external view and hitting the laser it fires in the direction you used before hitting 'V'. So if you are switching to external views from let's say the port view and and then press 'A', you will see your port laser firing. And so on. That's also very useful for the designers among you to test whether your weapons are positioned well. Try it out!
One nice feature of the external views is to enable you to see your ship fire its lasers. There is the
Code: Select all
<key>weapon_facing</key>
<string>FORWARD</string>
In fact when looking at any external view and hitting the laser it fires in the direction you used before hitting 'V'. So if you are switching to external views from let's say the port view and and then press 'A', you will see your port laser firing. And so on. That's also very useful for the designers among you to test whether your weapons are positioned well. Try it out!
- HueijRevisited
- Dangerous
- Posts: 96
- Joined: Sat Sep 23, 2006 7:10 pm
- Location: Arnhem, The Netherlands
- Contact:
- Magus Zeal
- Above Average
- Posts: 24
- Joined: Sun Feb 18, 2007 8:48 am
- Contact:
Could some nice person fix that, I really miss the external views.......sob,Magus Zeal wrote:Some ships don't have external views defined. While I was using the Supercobra, no External Views would happen, but everything else I've used so far supports them.
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
- Commander McLane
- ---- 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:
It would be a little too much to include the correct external views of ALL ever-published OXP-ships in this OXP. But here is an easy solution for all of you:
Open the shipdata.plist in externalviews.oxp and the shipdata.plist of the ship you're using. In the latter one you have to find the player-version (e.g. "supercobra-player").
Then you choose one of the ships in externalviews.oxp, preferably one that fits the size of your own ship. If you've got a SuperCobra, the CobraMkIII-entry should work just fine.
Copy everything between
and
and paste it into the shipdata of your player ship. The best place for that is just above the final
of your ship's entry.
Save your shipdata.plist and restart Oolite. Now you've got yourself all the external views.
If your ship appears too small or too big on the screen, try another set of <key>custom_views</key>. The Adder has the closest viewpoints, the Anaconda and Boa the farthest. And finally: If you're flying an Ixian Cruiser or a Dredger you have to adjust the viewpoints yourself.
Open the shipdata.plist in externalviews.oxp and the shipdata.plist of the ship you're using. In the latter one you have to find the player-version (e.g. "supercobra-player").
Then you choose one of the ships in externalviews.oxp, preferably one that fits the size of your own ship. If you've got a SuperCobra, the CobraMkIII-entry should work just fine.
Copy everything between
Code: Select all
<key>custom_views</key>
<array>
Code: Select all
</array>
Code: Select all
</dict>
Save your shipdata.plist and restart Oolite. Now you've got yourself all the external views.
If your ship appears too small or too big on the screen, try another set of <key>custom_views</key>. The Adder has the closest viewpoints, the Anaconda and Boa the farthest. And finally: If you're flying an Ixian Cruiser or a Dredger you have to adjust the viewpoints yourself.
- HueijRevisited
- Dangerous
- Posts: 96
- Joined: Sat Sep 23, 2006 7:10 pm
- Location: Arnhem, The Netherlands
- Contact:
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Nope. :-) (I think it’s v, offhand.)zeep wrote:Hi. I just installed this exp in 1.69.1 and i'm afraid i can't get it to work. I have the default ship and the keys 1 to 8 are showing what they've always shown, the normal views and menu's.
Any tips on how i can get it to work. I am pressing the right keys.. right?
E-mail: [email protected]