Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Discussion > General Altitude Discussion
FAQ Community Calendar

General Altitude Discussion Discuss anything Altitude related that doesn't belong in another forum.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2009, 05:49 PM
tec27 tec27 is offline
Super Moderator
 
Join Date: Apr 2009
Posts: 178
Default TimeFlies - Customizable Ingame Clock Overlay

There were a few people wanting an ingame clock, and since I was working on some other OpenGL overlay stuff, I decided to make one. As a side effect of how this works, it should work with effectively any OpenGL game (just inject the DLL with a seperate program), but it definitely works with Altitude.

(And before people get excited for no reason, this is Windows-only. Unfortunately the way this overlay works is very OS-specific, so I cannot develop a Linux/Mac version at this time).

Screenshots:

A small version:


A little thicker, ingame:


For those manly men who like extra large pink clocks:


For people who just can't get enough clock:


Here are the files for people who want to jump right in and figure it out themselves; for the rest of you, there's an install/usage/customization guide below:

Base files: http://tec27.com/timeflies/TimeFlies.zip
Customization file: http://tec27.com/timeflies/timeflies.ini

Installation
  1. Download the zip file above. Extract it somewhere you can find it easily.
  2. If you plan on customizing your clock, download the Ini file above (not necessary if you don't plan on doing customizations).
  3. Place the Ini file in your Altitude directory (usually C:\Program Files\Altitude\)

Usage
To use TimeFlies, simply run Altitude, then run AltInjector.exe. This program will load TimeFlies into Altitude's process and allow it to draw the clock overlay.

Customization
To customize the size, color, position, or time display of TimeFlies, simply modify timeflies.ini. Open the file in a text editor, and you should see a few fields with different values. The following is a list of all possible fields, their default values, and explanations of what they do:
Code:
[Time]
UseUTC=False  -- If true, UTC time will be used rather than local time
[Position]
X=0  -- The X position, ignored if UseAutoCornering or CenterX is true
Y=0  -- The Y position, ignored if UseAutoCornering or CenterY is true
Corner=2  -- The corner to place the clock in for UseAutoCornering, can be 0, 1, 2, or 3. 0 is the bottom-left corner and it moves clockwise from there.
UseAutoCornering=True  -- Whether or not to place the clock in the corner specified by the Corner field.
CenterX=False  -- Whether or not to center the clock on the X-axis (ignored if UseAutoCornering is true)
CenterY=False  -- Whether or not to center the clock on the Y-axis (ignored if UseAutoCornering is true)
[Size]
Thickness=6  -- The thickness of the blocks used to create numbers
Length=12  -- The length of the blocks used to create numbers
BorderThickness=1  -- The thickness of the border on numbers
[Color]
Red=0.300000  -- The red component of the foreground color (1.0 = 100%, 0 = 0%)
Green=0.600000  -- The green component of the foreground color (1.0 = 100%, 0 = 0%)
Blue=0.900000  -- The blue component of the foreground color (1.0 = 100%, 0 = 0%)
BorderRed=0.000000  -- The red component of the border color (1.0 = 100%, 0 = 0%)
BorderGreen=0.000000  -- The green component of the border color (1.0 = 100%, 0 = 0%)
BorderBlue=0.000000  -- The blue component of the border color (1.0 = 100%, 0 = 0%)
Just play around and you should be able to make the clock look how you desire. I will try to post some custom configurations with screenshots when I get a chance, but it should be pretty easy for you guys to share your own as well.

Enjoy, and let me know if there are any problems/suggestions!

Quick Note for people worried about viruses
I wrote all of the components included in this package myself (both AltInjector.exe and TimeFlies.dll), so I know them to be virus free. I went ahead and ran the above zip file through VirusTotal:
http://www.virustotal.com/analisis/1...3a6-1257528909

As you can see, the only virus scanner that found anything was McAfee-GW-Edition, and that is a very obvious false positive.

Hopefully this helps to assure anyone that this is virus free. Again, enjoy!
Reply With Quote
  #2  
Old 11-06-2009, 06:48 PM
Vi* Vi* is offline
Super Moderator
 
Join Date: May 2008
Posts: 468
Send a message via AIM to Vi*
Default

Tec I love you!

"TimeFlies."

I don't play fullscreen though, so I already have enough clock.

Clock clock,
Vi
Reply With Quote
  #3  
Old 11-06-2009, 07:27 PM
Luke Luke is offline
Senior Member
 
Join Date: May 2009
Posts: 171
Default

Not working on Windows 7.
Not a problem for me tho, I do not play fullscreen either.
Reply With Quote
  #4  
Old 11-06-2009, 07:45 PM
tec27 tec27 is offline
Super Moderator
 
Join Date: Apr 2009
Posts: 178
Default

I'll pull out my laptop (that has Windows 7) and get it working there as well.

Edit:
It works for me on Win7 X64, just make sure you run AltInjector as an Adminstrator (right-click on AltInjector.exe, hit properties, go to the Compatibility tab, and check 'Run as Administrator' at the bottom)

Last edited by tec27; 11-06-2009 at 08:48 PM.
Reply With Quote
  #5  
Old 11-06-2009, 08:51 PM
jeppew jeppew is offline
Member
 
Join Date: May 2009
Posts: 79
Default

works fine for me in 32 bit windows 7 aswell.
Reply With Quote
  #6  
Old 11-06-2009, 10:56 PM
Beagle Beagle is offline
Senior Member
 
Join Date: Jun 2009
Location: a little bit about CCN: he is 22 yrs old, blonde hair blue eyes, athletic build, great smile/persona
Posts: 1,687
Default

Its like the 24 clock. Jack Bauer defusing the bomb in objective?

Boop.
Beep.
Boop.
Beep.
Boop.
Beep.
Reply With Quote
  #7  
Old 11-06-2009, 11:38 PM
omnicron245 omnicron245 is offline
Banned
 
Join Date: May 2009
Location: NA
Posts: 127
Send a message via Skype™ to omnicron245
Default

Quote:
Originally Posted by Luke View Post
Not working on Windows 7.
Not a problem for me tho, I do not play fullscreen either.
erm... im a mac user and its not working for u probably because of this:
http://www.apple.com/getamac/ads/

edit: hehe
Reply With Quote
  #8  
Old 11-07-2009, 12:30 AM
mikesol mikesol is offline
Super Moderator
 
Join Date: Jul 2009
Location: Portland, OR
Posts: 2,183
Default

Omnicron please don't embarrass us mac users by posting such nonsense. It doesn't even work on any mac. It was programmed for windows and I'm sure it will work fine with a bit of tweaking.
Reply With Quote
  #9  
Old 11-07-2009, 03:04 PM
bong bong is offline
Senior Member
 
Join Date: Jul 2009
Location: In Nipple house, with his sis <3
Posts: 328
Default

can u make it for mac please, sexy?
Reply With Quote
  #10  
Old 11-10-2009, 08:38 PM
tec27 tec27 is offline
Super Moderator
 
Join Date: Apr 2009
Posts: 178
Default

Fixed an issue found by jeppew that caused Altitude to draw in the wrong background color. Everyone that already downloaded it should redownload it.
Reply With Quote
  #11  
Old 11-10-2009, 09:10 PM
Luke Luke is offline
Senior Member
 
Join Date: May 2009
Posts: 171
Default

Like tec said, it was simply a matter of running it as administrator.
Even if I'm not using it, thx for the answer.
Reply With Quote
  #12  
Old 02-02-2010, 05:07 PM
idk idk is offline
Senior Member
 
Join Date: Feb 2010
Location: Sweden
Posts: 120
Default

Wow, great job!

Is it possible to get my hands on that source code, please?
Reply With Quote
  #13  
Old 02-02-2010, 06:29 PM
CCN CCN is offline
Senior Member
 
Join Date: Jun 2009
Location: Xiang Gang
Posts: 1,992
Default

awesome, lets see if I can tinkle with this to get it to show the auto balancer.
*starts to learn more code*


N1!
Reply With Quote
  #14  
Old 02-02-2010, 07:20 PM
Ajuk999 Ajuk999 is offline
Senior Member
 
Join Date: Dec 2009
Location: United States
Posts: 3,823
Send a message via AIM to Ajuk999
Default

OMG Tec! I was just thinking about how cool it would be for Altitude to have a clock in fullscreen mode so you can see what time it was, Thanks So Much!
Reply With Quote
  #15  
Old 02-03-2010, 12:59 AM
gameguard gameguard is offline
Senior Member
 
Join Date: Apr 2009
Posts: 268
Default

Quote:
Originally Posted by Beagle View Post
Its like the 24 clock. Jack Bauer defusing the bomb in objective?

Boop.
Beep.
Boop.
Beep.
Boop.
Beep.
bo beep bo beep bo beep ah?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC