(NEW RELEASE) NumericHUDv3.oxp
Moderators: winston, another_commander
Re: (NEW RELEASE) NumericHUDv3.oxp
An aside: NumHUD v3 is one of my must-have OXPs.
-
- ---- E L I T E ----
- Posts: 534
- Joined: Fri Jul 02, 2010 11:45 am
- Location: Around Rabiarce or Lasoce
Re: (NEW RELEASE) NumericHUDv3.oxp
Splendid work, V3 is quite impressive! I am just collecting up OXPs to outfit my new copy of Oolite after a rather long hiatus, and this was one of the very first I came looking for. I hoped it was updated, but didn't expect this degree of evolution. Trim, sleek and very functional.
Sleep? Who needs sleep? Got game. No need sleep.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: (NEW RELEASE) NumericHUDv3.oxp
Hey Ganelon... good to see you back again. Tip: get Randon Ship Names and Escort Formations.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
-
- ---- E L I T E ----
- Posts: 534
- Joined: Fri Jul 02, 2010 11:45 am
- Location: Around Rabiarce or Lasoce
Re: (NEW RELEASE) NumericHUDv3.oxp
Thanks El Viejo. I already grabbed Random Ship Names and it is a cool addition. Escort Formations, you say? I'll check it out.
Sleep? Who needs sleep? Got game. No need sleep.
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: (NEW RELEASE) NumericHUDv3.oxp
Thanx Ganelon.Ganelon wrote:Splendid work, V3 is quite impressive! I am just collecting up OXPs to outfit my new copy of Oolite after a rather long hiatus, and this was one of the very first I came looking for. I hoped it was updated, but didn't expect this degree of evolution. Trim, sleek and very functional.
Expect more improvements. V3.1 will have some code improvements. Version 4 will be for use with 1.77(currently trunk only) and use text for the numbers. This could get interesting.
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
Re: (NEW RELEASE) NumericHUDv3.oxp
I like to view the fuel level when buying equipment, so I modified numerichudv3computerequip.plist to show it.
If someone are interested, this is how I changed the code:
If someone are interested, this is how I changed the code:
Code: Select all
//Author: CommonSenseOTB(thinking outside-the-box for your playing enjoyment and the improvement of oolite)
//Completed: June 13, 2011 original release v1
//Completed: April 21, 2012 v3
//NumericHUDv3.oxp is the current version
//Licensed under Creative Commons: attribution, non-commercial, sharealike with clauses - see readme.txt
{
dials = //these are drawn, in order, after the legends
(
{ // missile display, x and y give the location, the x-spacing is given by spacing, the size defines the icon size
height = 12;
selector = "drawMissileDisplay:";
spacing = 16;
width = 12;
x = -90;
y = 65;
y_origin = -1;
},
{ // ship's clock, x and y give the location, the size defines the character size
height = 20;
selector = "drawClock:";
width = 20;
x = -240;
y = 70;
y_origin = -1;
},
{ // just draws a surround 2 units around the selected size, you could also use drawGreenSurround:
height = 14;
selector = "drawYellowSurround:";
width = 80;
x = -62;
y = 33;
y_origin = -1;
},
{ // fuel bar
height = 14;
selector = "drawFuelBar:";
width = 80;
x = -62;
y = 33;
y_origin = -1;
},
{ // fps counter, x and y give the location, the size defines the character size
height = 18;
selector = "drawFPSInfoCounter:";
width = 18;
x = -300;
y = -20;
y_origin = 1;
}
);
legends = // these are drawn, in order, before the dials, add any other images you want here
(
{
text = "MISSILE RACK";
x = -240;
y = 45;
height = 20;
width = 20;
y_origin = -1;
},
{
text = "FUEL";
x = -240;
y = 20;
height = 20;
width = 20;
y_origin = -1;
}
);
overall_alpha = 0.75;
message_gui = {
width = 620;
height = 72;
x = 0;
y = -75;
row_height = 18;
};
}
- Rese249er
- ---- E L I T E ----
- Posts: 647
- Joined: Thu Jun 07, 2012 2:19 pm
- Location: Well, I WAS in G3...
Re: (NEW RELEASE) NumericHUDv3.oxp
Was wondering: could the distanceTo features of Aad-HUD be implemented with NumericHUD?
Got all turned around, lost my nav connection... Where am I now?
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: (NEW RELEASE) NumericHUDv3.oxp
Should be fairly easy. I went with adding the basic original version to my Talkative Compass script.js file, days ago.Rese249er wrote:Was wondering: could the distanceTo features of Aad-HUD be implemented with NumericHUD?
Code: Select all
//distance to object
if (mode != "COMPASS_MODE_BASIC") {
dist = (player.ship.position.distanceTo(whom) - whom.collisionRadius)/1000;
player.consoleMessage(dist.toFixed(3)+" Klicks");
}
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- Rese249er
- ---- E L I T E ----
- Posts: 647
- Joined: Thu Jun 07, 2012 2:19 pm
- Location: Well, I WAS in G3...
Re: (NEW RELEASE) NumericHUDv3.oxp
I was thinking more in line with integrating it into the HUD like the rest instead of just like Talkative SC...
Got all turned around, lost my nav connection... Where am I now?
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: (NEW RELEASE) NumericHUDv3.oxp
Perhaps, I'll put it on the list of things to look at.Rese249er wrote:Was wondering: could the distanceTo features of Aad-HUD be implemented with NumericHUD?
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
- Captain Beatnik
- Deadly
- Posts: 154
- Joined: Sun Feb 27, 2011 10:15 pm
- Location: Eastern Bavaria (Average Agricultural Confederacy)
Re: (NEW RELEASE) NumericHUDv3.oxp
Somehow I must have read over this information previously . This will indeed come in handy when designing a new hud. Thanks, CSOTB!CommonSenseOTB wrote:The big improvement in number design came about as I was experimenting with the selector drawStatusLight and experimenting with its' dimensions led me to discover that if one dimension was under 4 that you would actually get a grey line drawn instead of the status light. So any hud could use this technique to draw equipment icons, animated crosshairs, custom bar gauges both straight and curved, custom number or letter animations, etc, etc.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams, 1952 - 2001)
You have to try the impossible to achieve the possible. (Emil Sinclair, 1877 - 1962)
You have to try the impossible to achieve the possible. (Emil Sinclair, 1877 - 1962)
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: (NEW RELEASE) NumericHUDv3.oxp
This was mentioned with you in mind, actually. I was hoping to eventually see one of your huds with this method for your equipment icons, guage markings, etc. And your welcome.Captain Beatnik wrote:Somehow I must have read over this information previously . This will indeed come in handy when designing a new hud. Thanks, CSOTB!CommonSenseOTB wrote:The big improvement in number design came about as I was experimenting with the selector drawStatusLight and experimenting with its' dimensions led me to discover that if one dimension was under 4 that you would actually get a grey line drawn instead of the status light. So any hud could use this technique to draw equipment icons, animated crosshairs, custom bar gauges both straight and curved, custom number or letter animations, etc, etc.
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: (NEW RELEASE) NumericHUDv3.oxp
And that's a feature I both love and make extensive use of! Many thanks for adding it!CommonSenseOTB wrote:the PPR guage in them not only gives the Proportion of Planetary Radius for your altitude but comes on ahead of the planetary mass lock so you can steer around it while remaining on torus-drive.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: (NEW RELEASE) NumericHUDv3.oxp
NumericHUDv3.oxp seems to block MarketObserver2.2.oxp . I am running 1.77. Any help would be appreciated.
Re: (NEW RELEASE) NumericHUDv3.oxp
This has been fixed by the new version of MarketObserver: 2.2.1.toltesi wrote:NumericHUDv3.oxp seems to block MarketObserver2.2.oxp . I am running 1.77. Any help would be appreciated.
Thanks so much!