Hi there,
the Problem:
When setting the player.ship.target property and the ident system is online then a message will be displayed. Is there a way to supress this message?
I'd prefer an alternative way to identify the target without setting the cursor over it and of course without any message, but the only way I found to identify ships anyways, is to set the players target.
If there is an alternative way, please let me know.
Amy
Is there a way to supress console messages?
Moderators: winston, another_commander, Getafix
Re: Is there a way to supress console messages?
The two relevant messages are
so you could suppress them by having a file containing
placed in
As far as other ways to identify targets go, that's probably OXPable, but it depends on how you want to identify them.
Code: Select all
"missile-locked-onto-@" = "Missile locked onto %@.";
"ident-locked-onto-@" = "Ident system locked onto %@.";
Code: Select all
{
"missile-locked-onto-@" = "";
"ident-locked-onto-@" = "";
}
AddOns/Config/descriptions.plist
As far as other ways to identify targets go, that's probably OXPable, but it depends on how you want to identify them.
Re: Is there a way to supress console messages?
Hi cim,
thank you for your quick reply.
What I need is a way to store identified targets in ships memory without any message or sound signal. To get and store the targets is very simple, but they must be identified and the player should be able to cycle trough the targets too.
I'm going to set this project on hold until I get more experience and will then try to get a better solution and maybe there might be an oxp to publish as result. First I'm going to realize some other ideas.
Amy
thank you for your quick reply.
I tried your solution, but there are too much side effects (missiles activated without warning, some targets are lost, the messages disappeared but the "target locked" sound was still alive, ...).cim wrote:The two relevant messages areso you could suppress them by having a file containingCode: Select all
"missile-locked-onto-@" = "Missile locked onto %@."; "ident-locked-onto-@" = "Ident system locked onto %@.";
placed inCode: Select all
{ "missile-locked-onto-@" = ""; "ident-locked-onto-@" = ""; }
AddOns/Config/descriptions.plist
As far as other ways to identify targets go, that's probably OXPable, but it depends on how you want to identify them.
What I need is a way to store identified targets in ships memory without any message or sound signal. To get and store the targets is very simple, but they must be identified and the player should be able to cycle trough the targets too.
I'm going to set this project on hold until I get more experience and will then try to get a better solution and maybe there might be an oxp to publish as result. First I'm going to realize some other ideas.
Amy
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Is there a way to supress console messages?
Have you tried timer's Target System Upgrade OXP? It's available in the download manager.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Is there a way to supress console messages?
You can edit the "[ident-locked-on]" sound definition in customsounds.plist like in [wiki]BGS[/wiki].Amy Wong wrote:"target locked" sound was still alive
Check Telescope for ideas which maintain a list of all nearby targets, you can cycle these when primed, can lock the most centered target not only in the crosshairs and if you turn off your weapons then continually set your target lock to the most centered target so you can do a fast check over many targets just by turning your ship across them.Amy Wong wrote:the player should be able to cycle trough the targets too.
Re: Is there a way to supress console messages?
Hi and sorry for my late reply!
The "Telescope" is a very nice equipment, but the rings are confusing and the auto target function is conflicting with my oxp. But don't worry about it. I'm still coding just to learn the object model, so it doesn't matter anyways. And I have a lot to learn about the oolite object model.
The "Target System Upgrade" didn't help me, but it also didn't conflict with my oxp.
Thanx for all your advices. I appreciate it. Meanwhile I have some good brandnew ideas for new oxps. Hopefully I'm able to finish them soon.
Amy
The "Telescope" is a very nice equipment, but the rings are confusing and the auto target function is conflicting with my oxp. But don't worry about it. I'm still coding just to learn the object model, so it doesn't matter anyways. And I have a lot to learn about the oolite object model.
The "Target System Upgrade" didn't help me, but it also didn't conflict with my oxp.
Thanx for all your advices. I appreciate it. Meanwhile I have some good brandnew ideas for new oxps. Hopefully I'm able to finish them soon.
Amy