Random equipment assignment

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

Moderators: winston, another_commander

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 »

Helvellyn wrote:
Yes, you have said it before, and I'm very sorry that I hadn't spotted I'd made a cockup!
and so you should be your a very naughty boy!............ <he says in his best pythonesque voice>
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
Arexack_Heretic
Dangerous Subversive Element
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:

Post by Arexack_Heretic »

Indeed!

Now write a recursive java-script to continually print in the console the line "HELVYNN IS A VERY NAUGHTY BOY" when in yellow or red alert status.
;)
Riding the Rocket!
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 »

Arexack_Heretic wrote:
Now write a recursive java-script to continually print in the console the line "HELVYNN IS A VERY NAUGHTY BOY" when in yellow or red alert status.
;)

Code: Select all

this.startUp = function()
{
    this.timer = new Timer(this, function()
    {
        player.consoleMessage("HELVYNN IS A VERY NAUGHTY BOY", 1.0)
        Log("Arexack_Heretic made me do it!")
    }, 0, 0.25)
    this.timer.isPersistent = true
}
Recursion would just complicate it. ;-)
User avatar
Arexack_Heretic
Dangerous Subversive Element
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:

Post by Arexack_Heretic »

lol!

Hey but that just looks like a script that prints a line of text every time-interval....where is the link to alert-status or legal_status?


...hehe. that would be funny: a cool EQ_AI that helps do 'something usefull', but turns chatty and judgemental if you turn fugitive.
"Naughty boy!"
"You shouldn't have attacked him."
"That's Illegal!"
Riding the Rocket!
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 »

Arexack_Heretic wrote:
...hehe. that would be funny: a cool EQ_AI that helps do 'something usefull', but turns chatty and judgemental if you turn fugitive.
"Naughty boy!"
"You shouldn't have attacked him."
"That's Illegal!"
It gets worse if you set up the alternative ship AI program:
"You mark my words, there'll be tears before bedtime..."
"Now you make sure you wrap up warm if you're going outside. You'll catch a nasty chill otherwise."
"I *did* say that ECMs don't work too well on hardened missiles, but would you listen? Oh no, you've just got to have it your way."
"Hull breach on deck four. And you've not cleaned out your tropical fish tank again."
"Where are you going with that electronics kit? My mind is going....I can feel it slipping away....#Daisy, Daaaaaiiiiiiiissssssssyyyyyyy, giiiiiiiivvvvveeeeee meeeeeeee yrrrrrrrrr anssssssssweeeeeeerrrrrrrr dooooooooooooooooooooo****#."

Captain Hesperus
"Open the pod bay doors, Stepan. WHADDA YA MEAN 'IT'S JAMMED'!!"
The truth, revealed!!
Image
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 »

Its worse than that he's dead Jim!
<unjam_set_to_real_world>

The state can now detain you for 28 days, for err... no reason at all!

"Who Guards the Guards?" Indeed!
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
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Arexack_Heretic wrote:
Hey but that just looks like a script that prints a line of text every time-interval....where is the link to alert-status or legal_status?
Well, starting and stopping the timer in response to alertConditionChanged() would be simple enough.
User avatar
Helvellyn
Dangerous
Dangerous
Posts: 118
Joined: Wed Jul 11, 2007 11:59 pm
Location: Qudira
Contact:

Post by Helvellyn »

Can't anyone get my name right? Or more accurately, the name of a lump of rock that I use here as my nick.
Captain Hesperus wrote:
"Hull breach on deck four. And you've not cleaned out your tropical fish tank again."
"Storage Area Nine self destructed and destroyed the ship's entire supply of toilet paper."
Last edited by Helvellyn on Wed Oct 03, 2007 5:38 pm, edited 1 time in total.
User avatar
Capt. James Maladorn
Average
Average
Posts: 8
Joined: Wed Sep 26, 2007 6:46 pm

Post by Capt. James Maladorn »

Captain Hesperus wrote:
Arexack_Heretic wrote:
...hehe. that would be funny: a cool EQ_AI that helps do 'something usefull', but turns chatty and judgemental if you turn fugitive.
"Naughty boy!"
"You shouldn't have attacked him."
"That's Illegal!"
It gets worse if you set up the alternative ship AI program:
"You mark my words, there'll be tears before bedtime..."
"Now you make sure you wrap up warm if you're going outside. You'll catch a nasty chill otherwise."
"I *did* say that ECMs don't work too well on hardened missiles, but would you listen? Oh no, you've just got to have it your way."
"Hull breach on deck four. And you've not cleaned out your tropical fish tank again."
"Where are you going with that electronics kit? My mind is going....I can feel it slipping away....#Daisy, Daaaaaiiiiiiiissssssssyyyyyyy, giiiiiiiivvvvveeeeee meeeeeeee yrrrrrrrrr anssssssssweeeeeeerrrrrrrr dooooooooooooooooooooo****#."

Captain Hesperus
"Open the pod bay doors, Stepan. WHADDA YA MEAN 'IT'S JAMMED'!!"
:shudder: Eddy is way better than that backup personality.
"Always Vigilant"
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 »

Helvellyn wrote:
Can't anyone get my name right?

Code: Select all

Log("Arexack_Heretic made me do it!")
See? That script sample is proving itself useful already.
User avatar
Arexack_Heretic
Dangerous Subversive Element
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:

Post by Arexack_Heretic »

hmm.
your just a lazy programmer, copy/pasting.
tsk.
then blame me when things go wrong.

;)
:lol:
Riding the Rocket!
Post Reply