Fortress Forever

Go Back   Fortress Forever > Editing > Mapping > Lua

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-13-2008, 03:13 PM   #1
Sh4x
Retired FF Staff
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
Need LUA help for ff_fatties

I'm trying to finish ff_fatties and I'm stuck with lua and material proxies problems... if anyone could help me with this...

I found a good page about material proxies here: http://developer.valvesoftware.com/w...terial_Proxies

What I'm trying to do is display the score of both teams and a countdown timer ingame using material proxies. The score would be a two digit number. I got a peice of code that partly works in that numbers are changing based on the blue team score but one of the digit doesnt work, I dont recall if its the TENS or UNITS and if they're mixed up or whatever... anyways, I need help to sort all of this.

Code:
	"Proxies" 
     { 
		"FF_TeamScore_Blue_Proxy"
		{
			"resultVar" "$valueA"
		}	
     }
About the count down timer, I already got a variable in the lua that counts from 60 to 0 then resets everything so it's fully working. Now I'd like to show that timer ingame... I don't know if that would be possible or not.

Here's the ingame scoreboard I'm talking about. The upper digits are the timer, on the sides you got team scores.


Last edited by Sh4x; 02-13-2008 at 03:28 PM.
Sh4x is offline   Reply With Quote


 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 05:49 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.