Are unit healthbars implemented?

You have a problem with TA3D, it doesn't run or it crashes...
/
Vous avez un problème avec TA3D, il ne se lance pas ou plante...
Post Reply
slogic
Posts: 75
Joined: Wed Mar 26, 2008 5:23 pm
Location: RF, Bryansk
Contact:

Are unit healthbars implemented?

Post by slogic » Fri Sep 25, 2009 3:11 pm

I'm sorry i haven't tried the latest 0.6.x alpha, just played a bit with 0.5.4. I wonder, are healthbars implemented? Pressing "~" (tilda) key does nothing for me.

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: Are unit healthbars implemented?

Post by Balthazar » Fri Sep 25, 2009 5:43 pm

AFAIK healthbars are not implemented yet. Will be later for sure.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Sun Sep 27, 2009 10:32 am

It's planned, I've just added a ticket for it in the Trac :)
=>;-D Penguin Powered

slogic
Posts: 75
Joined: Wed Mar 26, 2008 5:23 pm
Location: RF, Bryansk
Contact:

Re: Are unit healthbars implemented?

Post by slogic » Sun Sep 27, 2009 4:51 pm

zuzuf, may be it is easier for you to make my inputs right into the Trac next time?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Tue Sep 29, 2009 10:05 pm

I've just implemented health bars, you can toggle them with the HOME key (there were problems with ~ so let's use HOME at least for now).
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: Are unit healthbars implemented?

Post by Balthazar » Wed Sep 30, 2009 6:38 am

Yeah, that`s good :P

Also might be interesting

http://tauniverse.com/forum/showthread.php?t=40240

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: Are unit healthbars implemented?

Post by milipili » Wed Sep 30, 2009 7:51 am

zuzuf wrote:I've just implemented health bars, you can toggle them with the HOME key (there were problems with ~ so let's use HOME at least for now).
It could not be "M" like in the original TA ?
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Wed Sep 30, 2009 9:41 am

M is the short cut for move :P
=>;-D Penguin Powered

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: Are unit healthbars implemented?

Post by milipili » Thu Oct 01, 2009 7:16 am

I will make a shortcuts editor :D
Damien Gerard
Ta3d & Yuni Developer

slogic
Posts: 75
Joined: Wed Mar 26, 2008 5:23 pm
Location: RF, Bryansk
Contact:

Re: Are unit healthbars implemented?

Post by slogic » Fri Jan 08, 2010 8:15 pm

By the way, what's wrong with "~" key? It breaks TA3D main idea to make fully compatible TA but in 3D.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Sat Jan 09, 2010 1:36 am

well when you press it, TA3D doesn't detect it properly ... this is a platform dependent thing that should be worked around.
=>;-D Penguin Powered

slogic
Posts: 75
Joined: Wed Mar 26, 2008 5:23 pm
Location: RF, Bryansk
Contact:

Re: Are unit healthbars implemented?

Post by slogic » Sat Jan 09, 2010 3:04 pm

Make it compatible at least for WIN platform, please. For *NIX & others platforms make whatever you want. They have never had native OTA binary.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Sat Jan 09, 2010 4:24 pm

You can play OTA in wine on Linux and other wine supported platforms so everyone is concerned. The platform dependency problem not only depends on the OS but also on locales (it depends on keyboard and the way keys are mapped on it). Since I don't have never played OTA with a qwerty keyboard I don't know how to map the keys properly otherwise I would already have fixed it :(
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Are unit healthbars implemented?

Post by xpoy » Sat Jan 09, 2010 5:29 pm


User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Sat Jan 09, 2010 6:14 pm

That's not the problem. The problem is a keyboard mapping problem. It's SDL related, see http://www.libsdl.org/cgi/docwiki.cgi/SDLKey for more info.
=>;-D Penguin Powered

slogic
Posts: 75
Joined: Wed Mar 26, 2008 5:23 pm
Location: RF, Bryansk
Contact:

Re: Are unit healthbars implemented?

Post by slogic » Sat Jan 09, 2010 8:10 pm

I think it should be
SDLK_BACKQUOTE '`' grave
Also you can make simple SDL app which prints key codes in SDL context (?) & then i can report you the result. Hope SDL has some code to detect type of keyboard. Mine is QWERTY of course.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Sat Jan 09, 2010 8:26 pm

That's the problem with SDL keyboard stuffs :( but I think I have an idea to overcome this limitation: use input from keyboard buffer. This should be portable.

PS: humpf, after looking closer to the problem, it would not always work :cry: because of Caps lock things ... we need to find something else
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Are unit healthbars implemented?

Post by xpoy » Sun Jan 10, 2010 5:45 am

/:^]
Why not make a TA3D self KEY map, I mean:

Code: Select all

#ifdef _WINDOWS_
#define TA3DKEY_A VK_A
#elif  _LINUX_
#define TA3DKEY_A LINUX_A// .............
#endif 

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Sun Jan 10, 2010 1:06 pm

It's already done but it's the same for all OSes because you can't write:

Code: Select all

#ifdef __KEYBOARD_QWERTY__
...
#elif defined __KEYBOARD_AZERTY__
#elif defined __KEYBOARD_****
...
#endif
since you don't know at build time which keyboard you'll have to handle.
=>;-D Penguin Powered

slogic
Posts: 75
Joined: Wed Mar 26, 2008 5:23 pm
Location: RF, Bryansk
Contact:

Re: Are unit healthbars implemented?

Post by slogic » Sun Jan 10, 2010 2:50 pm

You may implement two sets of ambiguous keys and make a new option in config dialogue: keyboard layout. Values are: QWERTY, and yours (i have no idea what you're using).

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Are unit healthbars implemented?

Post by zuzuf » Sun Jan 10, 2010 4:08 pm

Let's say making a keymap for all existing keyboards (there are more than just QWERTY and French AZERTY) is not a priority yet and it's not an easy solution.
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Are unit healthbars implemented?

Post by xpoy » Sun Jan 10, 2010 6:46 pm

/:^]

well, doesn't linux support virtual-keycode?
There no diffrent from diffrent keyboard for windows APP, when used VK_A for 'A'

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests