Page 1 of 4

Different color for non hostiles with bounty?

Posted: Fri Oct 09, 2009 8:56 am
by Screet
Hi,

I just made some very easy update to my scanner, took three lines.

Now it does use an additional color (orange) to help distinguish between non hostile "clean" ships and those with a bounty on their head: The clean stay yellow while those with a bounty are shown in orange.

Could even get some easy tweak to show "fugitives" in another color ;)

Anyone interested?

TBD: use a different color than orange? It's not that bright...but already makes decisions very much easier ;)

Screet

..

Posted: Fri Oct 09, 2009 9:16 am
by Lestradae
Would it be possible to create an oxp/patch that delivered this option as equipment?

Re: ..

Posted: Fri Oct 09, 2009 9:20 am
by Screet
Lestradae wrote:
Would it be possible to create an oxp/patch that delivered this option as equipment?
It should be easy to check for "advanced scanner" equipment or add it to bounty scanner functionality.

Screet

Posted: Fri Oct 09, 2009 12:32 pm
by pagroove
Yes make it buyable

Posted: Fri Oct 09, 2009 12:38 pm
by another_commander
Eh... guys, you need to have a modified exe to be able to use it, even in OXP form.

Posted: Fri Oct 09, 2009 1:38 pm
by Screet
another_commander wrote:
Eh... guys, you need to have a modified exe to be able to use it, even in OXP form.
That's why I asked wether people are interested in this. I'm not the one to make changes to the codebase yet, but I'd gladly tell which modification I did. Currently only three lines :)

The change is really a minimal and easy one, yet something I've missed all the time ;)

I suggest to add it, if more people like it...and I also suggest to make it eq dependant, although I don't yet know entirely how to do that. Currently, it simply changes the common visual feedback.

OT: Vista just reinstalled...now going for all the drivers and configuration. Funny thing is that when I tried to make a first test boot of the board, it did even boot up the old Vista installation, although that was for a different MoBo/CPU combination!

Screet

Posted: Fri Oct 09, 2009 1:47 pm
by Diziet Sma
Well Screet.. I'm very interested.. anything that makes the scanner more useful has got to be good.. 8) :D

Posted: Fri Oct 09, 2009 1:55 pm
by Cody
I'd like to see a different colour for Escape Pods. In a cloud of debris it can be difficult to pick out the pod.

OT. Do tell, Screet. Which Mobo/CPU?

Posted: Fri Oct 09, 2009 3:00 pm
by Screet
El Viejo wrote:
I'd like to see a different colour for Escape Pods. In a cloud of debris it can be difficult to pick out the pod.
Surely interesting, but might be a bit more difficult - as that would require further checks on what is shown.

Currently, I only had to modify the default non-hostile ship handling by adding an if for a ships bounty and a color that would be used ;)
El Viejo wrote:
OT. Do tell, Screet. Which Mobo/CPU?
MSI Eclipse SLI and Core i7 - that's why I was so astonished that after removing the Asus M3A / AMD Phenom 9500 Vista did boot at all!

The old combo had some problem which rapidly grew: It was causing hardware based blue screens and the sound output had been affected with electric noise, especially when the CPU was in use. I was able to stabilize it by increasing the Mobo voltage to over 30% above specs (I did not OC that machine!) but that did result in even more noise on sound output. The power sensors all did report normal operation, thus there must be something wrong behind those sensors...and last year the power supply of my old computer blew up because of faulty components - the room still smells. Given that it was an early stepping of the Phenom with a nasty bug that leads (via a non optional OS update) to 50% reduced CPU power, I did not like to simply replace the board and continue, thus I finally did rid myself of this AMD crap. While the Asus board had cheaper parts which can also blow up (which I was afraid of) the MSI Eclipse does not have that sort of "technology". Really feels better now...

Still configuring this system...but Vista was even functional without additional drivers 8)

Screet

Posted: Sat Oct 10, 2009 7:27 pm
by Sendraks
The corei7 is such and easy chip to OC. While the 920 isn't cheap, the performance boost you can get out of it makes it worth it, even for a novice OCer like myself.

Posted: Sun Oct 25, 2009 6:49 pm
by Screet
OK, I've had quite some time with it and I won't want to miss it anymore.

Here's the change required to draw non-hostile ships with bounty on them in a different color:

Code: Select all

ShipEntity.m
- (GLfloat *) scannerDisplayColorForShip:(ShipEntity*)otherShip :(BOOL)isHostile :(BOOL)flash
[...]
		default :
			if (isHostile)
				return hostile_color;
			else if (bounty > 0)
				return bounty_color;
and add this to the color definitions above that method:

Code: Select all

static GLfloat bounty_color[4] = 	{ 1.0, 0.66, 0.0, 1.0};	// orange
I really can recommend this change. It helps very much to understand the situation one is in. Should this be added, it might well be a good idea to link this to a required scanner enhancement.

Screet

..

Posted: Mon Oct 26, 2009 9:59 am
by Lestradae
I would second this change as an oxp-able core game option.

Imo it's interesting, not overpowering, would add to the game and Screet served it on a silver platter :wink:

8)

L

Re: ..

Posted: Mon Oct 26, 2009 11:45 am
by another_commander
Lestradae wrote:
I would second this change as an oxp-able core game option.

Imo it's interesting, not overpowering, would add to the game and Screet served it on a silver platter :wink:

8)

L
In order for this to be oxp-able, we need on a silver platter the code that makes it a)an equipment piece and b)visible to JS as well.

Re: ..

Posted: Mon Oct 26, 2009 12:28 pm
by Lestradae
another_commander wrote:
Lestradae wrote:
I would second this change as an oxp-able core game option.

Imo it's interesting, not overpowering, would add to the game and Screet served it on a silver platter :wink:
In order for this to be oxp-able, we need on a silver platter the code that makes it a)an equipment piece and b)visible to JS as well.
Screet? Pretty please? :D

Re: ..

Posted: Mon Oct 26, 2009 12:38 pm
by Screet
another_commander wrote:
In order for this to be oxp-able, we need on a silver platter the code that makes it a)an equipment piece and b)visible to JS as well.
If you do want it then, I'll write a bit more code for it ;)

Screet