Speedometer, etc.
Moderators: GSH, VSMIT, Red Devil, Commando
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Speedometer, etc.
this was on my wishlist/to do list, so this my crude first attempt. thought of changing the shape to something like the hull/ammo shapes, but thought that might be confusing.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: Speedometer, etc.
Neat. Although for some reason on my firefox, there's no scroll bar across the bottom, the right half of the image simply gets cut off.
I had to right click > copy image location, and paste it into a new tab to view.
I had to right click > copy image location, and paste it into a new tab to view.
Battlezone Classic Public Forums
*****General BlackDragon*****
*****General BlackDragon*****
- DarkCobra262
- Sabre
- Posts: 275
- Joined: Sat Feb 25, 2012 9:13 pm
- Contact:
- Axeminister
- Sabre
- Posts: 442
- Joined: Sat Feb 19, 2011 4:03 pm
- Location: Texas, USA
- Contact:
Re: Speedometer, etc.
Same here but with IE. By the way, I like it.
He who does not advance themselves, endlessly becomes themselves.
http://www.reverbnation.com/tunepak/3606640
http://www.reverbnation.com/tunepak/3606640
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Speedometer, etc.
weird, not with me were you logged in?
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: Speedometer, etc.
The lellowish BG colour looks non native. It would also be nice to use a display capable of telling you just how ridiculously fast your unit is now going under unusual circumstances. (thinks of UEP DF mode)
The Silence continues. The War Of Lies has no end.
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: Speedometer, etc.
I agree, the BG should be light blue to match the rest of the UI.
And, MrTwosheds, I believe the bottom number under the bar will indicate actual speed, even if it goes beyond the bar...
And, MrTwosheds, I believe the bottom number under the bar will indicate actual speed, even if it goes beyond the bar...
Battlezone Classic Public Forums
*****General BlackDragon*****
*****General BlackDragon*****
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Speedometer, etc.
this would not have been possible without Nathan adding the callback, so thanks and a tip of the hat to him for it
been 'experimentating' with color, so i used that.
i have version i use for my fast test units which i could upload. here's the dll code i am using now:
top of .cpp file:
Vector CraftVelocity;
inside execute:
CraftVelocity = GetVelocity(m_Player);
f_PlayerVectorx = CraftVelocity.x;
IFace_SetInteger("options.instant.int31", abs(int(f_PlayerVectorx)));
(yes, i could condense everything into a line or two, but i cherish readability, especially now.)
cfg
(embedded it in the weapon cfg instead of its own so i didn't have to add a call for it)
edit: i originally made it to just show the speed in numbers, without the graph.
thanks, rs
been 'experimentating' with color, so i used that.
i have version i use for my fast test units which i could upload. here's the dll code i am using now:
top of .cpp file:
Vector CraftVelocity;
inside execute:
CraftVelocity = GetVelocity(m_Player);
f_PlayerVectorx = CraftVelocity.x;
IFace_SetInteger("options.instant.int31", abs(int(f_PlayerVectorx)));
(yes, i could condense everything into a line or two, but i cherish readability, especially now.)
cfg
(embedded it in the weapon cfg instead of its own so i didn't have to add a call for it)
edit: i originally made it to just show the speed in numbers, without the graph.
thanks, rs
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Speedometer, etc.
i should have mentioned that that was for IA; probably want to make that a member varb fro MP.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Speedometer, etc.
thuggin' in G66 IA:
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Re: Speedometer, etc.
Might I suggest you try isolating the local left, right, forward, and back magnitudes and apply it to a + shaped gauge alignment? The method you use now gives the absolute velocity.
Also, if you haven't, try reading the top speed from the ODF, add some too it, and then scale the gauge % and set the marker numbers on it appropriately.
I take it you set this to always be visible in the CFG. I have been trying to get the DLL to load extra CFGs on demand, but the issue comes when you try to DLL create vars that already exist, DLL access vars that don't, or exec a CFG only once (when first needed) and then display it at the right times.
The speedometer probably only has a good place in racing maps though. If you make sure its a separate CFG, you can allow people to more easily customize it.
Also, if you haven't, try reading the top speed from the ODF, add some too it, and then scale the gauge % and set the marker numbers on it appropriately.
I take it you set this to always be visible in the CFG. I have been trying to get the DLL to load extra CFGs on demand, but the issue comes when you try to DLL create vars that already exist, DLL access vars that don't, or exec a CFG only once (when first needed) and then display it at the right times.
The speedometer probably only has a good place in racing maps though. If you make sure its a separate CFG, you can allow people to more easily customize it.
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: Speedometer, etc.
successfully duplicated the activity in Natty's vid
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact: