Page 1 of 1

"Bounty: n Cr."

Posted: Fri Jul 11, 2008 11:28 am
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.

Re: "Bounty: n Cr."

Posted: Fri Jul 11, 2008 11:58 am
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.

Re: "Bounty: n Cr."

Posted: Fri Jul 11, 2008 12:31 pm
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:

Posted: Fri Jul 11, 2008 3:36 pm
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.)

Posted: Sat Jul 12, 2008 9:26 am
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