Tescoo Bulk Carrier

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

Moderators: winston, another_commander

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Tescoo Bulk Carrier

Post by DaddyHoggy »

Well Ok this is a shameless crib of all of Doc's Handiwork as I can't model for toffee and I fully hope/expect it to be absorbed into Doc's mod's to YAW1 (and YAW2?) when he gets round to it.

Please note though that I did change the OO-haul textures a bit (apart from the obvious that it now says Tescoo rather than OO-Haul!) - it now has blue go faster stripes top and bottom on both sides of the main fuselage and I've added Sequenced Nav lights (Red - Port, Green Starboard) and warning lights on the nose (went off screen as I hit the screen dump :oops: ).

So that I can make this ship a standalone oxp until Doc does all the good stuff he does with these things can somebody tell me how to do the following:

Only appear in Corporate States and Democracies with populations above 3Billion. 2 of these ships to appear in these systems - one at the start of your journey (at the WS Beacon) and one some distance ahead - since this is how I seem to encounter them in real life on winding single carriageway roads - you just get past one and.... nuts... another one!

Cheers

DaddyH

@Doc - hope you're OK with this Doc - if you want the ship textures and script I can PM it to you? I've also made it slower and have less energy than the Oo-hauler version since this particular company in the real world skimps very heavily on extra's of its Scania's...

Image
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Using the technique LB pointed out in another unrelated thread - I now have a nose shot (and you can see the other nav light on this time)

Image
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

To make it appear in particular circumstances, you need a script:-

Eg

Code: Select all


<key>hardpirates1</key> 
   <array> 
      <dict> 
         <key>conditions</key> 
         <array> 
            <string>status_string equal STATUS_EXITING_WITCHSPACE</string>
	    <string>systemGovernment_number equal 0</string>
	    <string>d100_number greaterthan 70</string> 
         </array> 
         <key>do</key> 
         <array> 
	   <string>addSystemShips: hardpirate 2 0.1</string>
         </array> 
      </dict> 
   </array>

This makes this ship only appear in an Anarchy (and only then with a 30%) chance.

Govenments are coded 0 - 7 (with 7 being a Corperate State)
Position is done with the second number after hardpirate (this is the role of the ship added). The first number is the number of ships added. The last number is position. 1.0 is near the station and 0.0 is near the witchspace point.

If you wanted to further resrict the ship to a system with a particlular poplulation the you could add a further condition of:-

<string>systemPopulation greaterthan XXXX</string>

So you'd need a:-

<string>addSystemShips: tesco 1 0.0</string>
<string>addSystemShips: tesco 1 0.1</string>

To get two of them comming up a short distance from the w.s point.

See here on the Wiki for further info:-


http://wiki.alioth.net/index.php/Methods
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2278
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

Cracking ship :-)

re the lights - i've added flashers to my cop ship. when it's on the Buy Ship screen, rotating about, they look great. when she's out in the world, no lights. what gives? i tried shooting her to make her hostile, thinking perhaps the cop lights don't work unless they're attacking, nothing. can't see any on normal vipers either, though the Interceptor is usually lit up like a xmas tree :-/
dajt
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 364
Joined: Tue Aug 17, 2004 7:05 am
Location: Orange, NSW, Australia

Post by dajt »

Try the switchLightsOn AI command. See http://wiki.alioth.net/index.php/OXP_howto_AI. If you've defined the lights the same way as on the vipers it will probably work.
Regards,
David Taylor.
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 »

Damn good point, I would expect police vipers to put their flashing lights on when they go into attack mode.
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
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 »

TGHC wrote:
Damn good point, I would expect police vipers to put their flashing lights on when they go into attack mode.
The blue (or red and blue in the States) flashing lights make every honest citizen suddenly wonder if they've ever done anything to get pulled over. I know when I see the purple lollipops on my scanner, I always check my status screen, just in case I'm at Offender status and didn't notice....

Captain Hesperus
"Honest, officer! I never saw the guy until it was too late! I was just clearing out asteroids with my beam laser....Yes, I know there isn't any asteroids around, but I was clearing them...and then he just came out of nowhere, straight across my gunsights. Honestly!"
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

@LB - thanks for the snippets of script - I did look at the Methods link prior to you posting I thought it was a little complicated but having looked at how you've used them (for me) and then looked at the Methods page again it starts to make sense! Much appreciated.

@KW - I can't take credit for the ship design - only the retexturing - Doc designed the ship which was originally the Oo-Hauler which was based on an Ad I did for him (my very first contribution to the BB) for "Your Ad Here" - I've now taken his ship and retextured using Tescoo which will appear in YAW2 (I presume) both as a set of Ads and as an alternative to the Pi-42 con shops. Its pretty insidious relationship really! :wink:

I just figured why would a ship manufacturer that had made such an excellent ship limit itself to just one company (Oo-Hauler) - it would sell them to anybody who wanted a bulk transporter (after all Scania sell their trucks to anybody and everybody).

I'm doing a snoopes entry for it which will be seen in the OXP when ever I finish it and I'll probably offer it up to Cap'n H for the wiki if Doc is happy for me to do so (as he created the ship in the first place and might have an idea for it himself - background wise that is).

Doc's original concept:

Image

My redesign for the Pi-42's:

Image

So eventually if Doc decides how/if he's going to incorporate the Tescoo Oxpresses (sp?) and/or the Tescoo Bulk Carrier you might see them restocking their stores. (my idea was that whereas the Pi-42s sell a little bit of everything - the T_oxpresses would sell mostly food, liquor and wines and fuel but have lots and lots of it and it would be cheap)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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 »

DaddyHoggy wrote:
the T_oxpresses would sell mostly food, liquor and wines and fuel but have lots and lots of it and it would be cheap)
That's fair, since Food tends to be cheap anyway and Liquor & wines almost so. I think the best trade route would be in a system with a Tescoo Ooxpress and a Rock Hermit :twisted: :twisted: No fuel costs, quick turn-around, likely to be a good profit.

Captain Hesperus
"MWAhahahahaha!"
Brianetta
Competent
Competent
Posts: 47
Joined: Sat Jan 27, 2007 5:02 pm
Location: Newcastle upon Tyne, UK
Contact:

Post by Brianetta »

Shouldn't it be Ooxpress?

Elite -> Oolite
Express -> Ooxpress
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

@Brianetta. Since they're actually called T**** Express and we call our expansions OXPs - I thought it would be nice to call it OXPress (maybe Cap'n H would think that was reading material for bovines :wink: ) but I discovered that the original 'E' leant itself very nicely to becoming an 'O' and so 'Oxpress' is what it became. Rolls nicely off the tongue too!
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 983
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Re: Tescoo Bulk Carrier

Post by Dr. Nil »

@DH: Glad to see you release an OXP. It looks really fine. Good job
DaddyHoggy wrote:
@Doc - hope you're OK with this Doc
:D

Of course. This is the creative commons. OXP'ing relies of people using each others ideas, models etc. Take Commies for instance - v1.0 was a re-textured Viper, a re-textured Executive Spaceways and a re-textured Anaconda.
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2278
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

@ dajt "Try the switchLightsOn AI command"
the what now? i searched for that in the OOlite folder, came up w/nothing - i'd already copied bits of the Viper shipdata so i assum i'd gotten al relevant bits, especially since they appeared flashing in the Buy SHips screen :-/
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

It needs to go in the AI you've assainged the ship under attack ship. Eg:-

Code: Select all

"ATTACK_SHIP" = {
        ENTER = (switchLightsOn, performAttack); 
        "ATTACKED" = (setTargetToPrimaryAggressor); 
        "ENERGY_LOW" = (setTargetToPrimaryAggressor, "commsMessage: [bot-hail]", "setStateTo: SHUTDOWN"); 
        "INCOMING_MISSILE" = (fightOrFleeMissile, setTargetToPrimaryAggressor, "setStateTo: ATTACK_SHIP");
        "TARGET_DESTROYED" = ("setStateTo: LOOK_FOR_TARGETS"); 
        "TARGET_LOST" = ("setStateTo: LOOK_FOR_TARGETS"); 
        EXIT = (); 
	  UPDATE = (performAttack); 
     };
That should make the ship turn its lights on before it attacks somthing.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
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 »

LittleBear wrote:
That should make the ship turn its lights on before it attacks somthing.
Excellent, now all we need is a YeeeeHaaaa voice over :D :D
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"
Post Reply