"Bounty: n Cr."

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

Moderators: winston, another_commander

Post Reply
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:

"Bounty: n Cr."

Post by Commander McLane »

Short question:

Is it possible to suppress the "Bounty: n Cr." console-message after killing a pirate? I would like to subsitute it with something else in some cases (not generally) and am using the shipDestroyedTarget event-handler to display my own message. But the built-in message is also displayed. I would like to suppress it. Possible?

On a related note: I already tried to set the target.bounty to 0 in the script, but this didn't work. Obviously the message to the engine is already sent earlier, although my console-message is displayed first. Even when I in the script already have subtracted the bounty again, still the higher player.credits are displayed in the "Bounty: n Cr.", although on the F5-screen the value will be lowered again.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: "Bounty: n Cr."

Post by JensAyton »

Commander McLane wrote:
Is it possible to suppress the "Bounty: n Cr." console-message after killing a pirate? I would like to subsitute it with something else in some cases (not generally) and am using the shipDestroyedTarget event-handler to display my own message. But the built-in message is also displayed. I would like to suppress it. Possible?
Nope.
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:

Re: "Bounty: n Cr."

Post by Commander McLane »

Ahruman wrote:
Commander McLane wrote:
Is it possible to suppress the "Bounty: n Cr." console-message after killing a pirate? I would like to subsitute it with something else in some cases (not generally) and am using the shipDestroyedTarget event-handler to display my own message. But the built-in message is also displayed. I would like to suppress it. Possible?
Nope.
:Sigh:
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 »

Put it in the Scripting Requests thread. I really will go through that some day. :-)

(Actually, I’m considering scheduling that for after MNSR. Putting every feature into the next release isn’t a good plan. I mostly need to nail down some bits of the JS stuff and fix the lighting in the shaders… oh, and fix some bugs, that’s a good idea.)
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 »

Ahruman wrote:
Actually, I’m considering scheduling that for after MNSR.
May I take this as a hint that you are actually willing to stay on after the MNSR? That would be great news all by itself! :D
Post Reply