View unanswered posts | View active topics It is currently Sat Apr 27, 2024 8:31 am



Reply to topic  [ 4 posts ] 
 Putting the K/D counter back on the HUD 
Author Message
User avatar

Joined: Tue Jul 24, 2007 1:13 am
Posts: 1183
Location: eating sock's face like a cupcake
Reply with quote
Post Putting the K/D counter back on the HUD
this has been asked for a billion times before but all we have are base blocks with counters on them. is there any way someone could put the counter back up in the upper right hand corner of the screen?


Wed Nov 23, 2011 7:42 am
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Putting the K/D counter back on the HUD
The death count could probably be displayed by a script on a brain, using sprites. If you make the sprites (0-9) and define the particles for the digits, I'm sure someone is willing to help you.

You can copy and paste this code in to the console as a temporary solution:
Code:
for i = 0, 3 do print(”Team ” .. i+1 .. “: ” .. ActivityMan:GetActivity():GetTeamDeathCount(i)) end


Wed Nov 23, 2011 8:03 am
Profile
User avatar

Joined: Tue Jul 24, 2007 1:13 am
Posts: 1183
Location: eating sock's face like a cupcake
Reply with quote
Post Re: Putting the K/D counter back on the HUD
so only if your screen is on the brain you can see the counter?


i want to be able to see the counter no matter where my screen is centered


Wed Nov 23, 2011 9:23 am
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Putting the K/D counter back on the HUD
I think it is possible to calculate the positions of the players screen using SceneMan:GetOffset(player_no), and then use FrameMan.PlayerScreenWidth and FrameMan.PlayerScreenHeight to calculate where the upper right corner of the screen is located on the map.


Thu Nov 24, 2011 9:27 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.111s | 15 Queries | GZIP : Off ]