Replacement of the basic ship set - building a dream team.

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Another solution which should allow ships in a given system to produce different numbers of pods is:

Code: Select all

      <key>death_actions</key> 
      <array>    
         <dict> 
            <key>conditions</key> 
            <array> 
               <string>d100_number greaterthan 30</string> 
            </array> 
            <key>do</key> 
            <array> 
               <string>spawn: escape-capsule 3</string> 
            </array>  
         </dict> 
         <dict> 
            <key>conditions</key> 
            <array> 
               <string>d100_number greaterthan 50</string> 
            </array> 
            <key>do</key> 
            <array> 
               <string>spawn: escape-capsule 3</string> 
            </array>  
         </dict> 
         <dict> 
            <key>conditions</key> 
            <array> 
               <string>d100_number greaterthan 90</string> 
            </array> 
            <key>do</key> 
            <array> 
               <string>spawn: escape-capsule 3</string> 
            </array>  
         </dict> 
      </array>
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 am generally a little reluctant to use pseudoFixedD100_number. That is mainly, because you never know which other scripts use them at the same time. If a couple of scripts use a pseudoFixedD100_number in the same system they all would finally work with one single number only. Perhaps that wouldn't even be bad, but it just doesn't seem to be a clean solution, from a programmer's point of view.

Fortunately pseudoFixedD100_numbers don't need to be used. You can easily replace them. All you need to do is to store the initial d100_number in a variable. That's a good time to use a local_ variable. (I have used this method in Anarchies.oxp to display different mission screens, depending on whose MultiPassed ID you just bought.)

It's only a small modification to LittleBear's script:

Code: Select all

<key>death_actions</key>
	<array>
		<string>set: local_escapePod_number [d100_number]</string>
		<dict>
			<key>conditions</key>
			<array>
				<string>"local_escapePod_number greaterthan 30"</string>
			</array>
			<key>do</key>
			<array>
				<string>spawn: escape-capsule 3</string>
			</array>
		</dict>
		<dict>
			<key>conditions</key>
			<array>
				<string>"local_escapePod_number greaterthan 40"</string>
			</array>
			<key>do</key>
			<array>
				<string>spawn: escape-capsule 1</string>
			</array>
		</dict>

(repeat for >50, >60, >70, >80, >90)

		<string>reset: local_escapePod_number</string>
	</array>
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

Hey dudes - since learning about this I've been beavering away on a bit of an idea for a slightly more details Krait, and this is the result:

Image

I've been experimenting with some texturing ideas based on the look of some of the works around the net (and here) and this is the result. It's my first attempt at trying to model scratches and exposed bare metal.

If it passes muster as a 'dream team' candidate then I'll try and finish it up and package it...
Last edited by Selezen on Thu Jun 09, 2011 10:07 am, edited 4 times in total.
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

Oh very nice. Welcome to the dream team I'd say.

One little thing I'd personally like to see is some work done on the cockpit area, I'm not a fan of the flat textured cockpit.

Talking of textures though, I really like what you've done. Not over the top in any way.

I've actually bought a texture pack (only £29) because I think texturing is a lot harder than modelling and, well, I want them to look as good as Griff's.
User avatar
Uncle Reno
---- E L I T E ----
---- E L I T E ----
Posts: 648
Joined: Mon Apr 24, 2006 12:54 pm
Location: UK

Post by Uncle Reno »

I agree with Ramon, it does look very nice. 8)
"Get back or I unleash my lethal spotted batoid!!"

What I do when not reading the Oolite bulletin board!
User avatar
Wolfwood
---- E L I T E ----
---- E L I T E ----
Posts: 735
Joined: Wed Mar 29, 2006 9:53 am
Location: Finland
Contact:

Post by Wolfwood »

Looks good to me! :)
Author of Tales from the Frontier - official Elite 4 anthology.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.
User avatar
Captain Hesperus
Grand High Clock-Tower Poobah
Grand High Clock-Tower Poobah
Posts: 2310
Joined: Tue Sep 19, 2006 1:10 pm
Location: Anywhere I can sell Trumbles.....

Post by Captain Hesperus »

Ooh, ooh! Do the Python next!

Okay, yeah. I'm a Python groupie.

Captain Hesperus
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

ramon wrote:
One little thing I'd personally like to see is some work done on the cockpit area, I'm not a fan of the flat textured cockpit.
Cockpits are a bugger to do well. It's about as 3D as I can make it without some serious remodelling. It's recessed and has a pseudo 3D texture (which doesn't show up well on the sample).

Thanks for the feedback though. I might tweak the cockpit look a little before final release.

I had to do a bit of tweaking - my face count came in at 540, just above the 512 limit, so I've had to remove a bit of the engine detail. Doesn't detract from it any though.

Now I just need to find a computer to run Oolite on to test and place the laser and exhausts.
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

ramon wrote:
One little thing I'd personally like to see is some work done on the cockpit area, I'm not a fan of the flat textured cockpit.
That's because the cockpit window blast shield is down...
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

Selezen wrote:
It's recessed and has a pseudo 3D texture (which doesn't show up well on the sample).
Recessed is good enough, that's all I really meant, it just didn't look like that from the image so, my bad :oops:
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

I hereby award Selezen with a Gold Star that he can attach to the Krait, in recognition of Texturing that is above and beyond the norm.

Absobloodylutely stunning, well done matey. Who needs itinerent CG artists when we have our own resident wizards.

Everyday in everyway, Oolite is gradually morphing into EliteIV.
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"
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

TGHC wrote:
Everyday in everyway, Oolite is gradually morphing into EliteIV.
SSSssshhhhhhht! Don't say that aloud or DB may sue...
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

Does anybody know the width x hight x depth measurements of a Cargo Pod?
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

Captain Hesperus wrote:
Ooh, ooh! Do the Python next!
Hmm...I was going to do the Adder next. Mind you, the Python could be fun. Or maybe I should do the Imperial Courier. And the TOGY... ;)

Thanks for the comments, guys.
User avatar
jonnycuba
Deadly
Deadly
Posts: 233
Joined: Fri May 21, 2004 1:04 pm
Location: Witchspace

Post by jonnycuba »

Very nice Mr Selezen!
Team Zorg are Go!
Post Reply