Notices

Domination HUD entity set-up  Thread Tools Reply
Old 07-18-2012, 12:49 PM   #1
PDT
the cervine
 
PDT's Avatar
 
PDT is offline
Posts: 396
Thanks: 236
Thanked: 246

Default Domination HUD entity set-up


So I was planning on designing a map that has the same qualities as dom_canalzone, i.e. 8 points, domination style.

My question is: how would I set up the entities for the domination gamemode? I can figure out how to set up the 8 points neutral, but how do I link them to the HUD in order to make the domination percentage appear and rise in accordance to the number of points owned (like dom_canalzone)?

I could not find any of this anywhere, as no pages exist detailing setup for domination maps and I cannot figure out how to put changing text on the HUD that rises proportionately to the number of caps owned like canalzone does.

Thanks in advance.

(I hope my question does not confuse you: I am asking how to set up a percentage based HUD element that will rise proportionately to the number of caps owned (and how to make the team that reaches 100% first win), NOT how to put capture points on the HUD nor how to set neutral 8 point CP up because I know how to do that)

__________________


 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 07-18-2012, 12:53 PM   #2
yyler
Guest
 

Posts: n/a

Default Domination HUD entity set-up


Decompile it and look!
 
Reply With Quote
Old 07-18-2012, 01:05 PM   #3
Ravidge
Grand Vizier
 
Ravidge's Avatar
 
Ravidge is offline
Posts: 1,777
Thanks: 492
Thanked: 2,282

Default Domination HUD entity set-up


Took me one search to find: http://forums.tf2maps.net/downloads.php?do=file&id=282
The logic used in canalzone is the one TheBladeRoden created back in 2008 afaik (his map was dom_complex, never finished).

__________________
Finished: Silvertrail | System
WIP: Panic | Fusion | Saxton Hills | Evergreen | Hysteria

Download mIRC and Join #tf2maps on (IRC) Quakenet (Guide)
Direct link: irc://quakenet/tf2maps
Or use the webchat if you're really lazy!
 
Reply With Quote
The Following User Says Thank You to Ravidge For This Useful Post:
Old 07-18-2012, 01:10 PM   #4
PDT
the cervine
 
PDT's Avatar
 
PDT is offline
Posts: 396
Thanks: 236
Thanked: 246

Default Domination HUD entity set-up


So I decided to decompile it like yyler said and there was a lot of math_counters. I'll be looking into the map and figuring out how to make such a game mode.

Ravidge, how close does that prefab come to an 8CP dom setup? I'll have to look through it again but the main reason I didn't want to use that is it utilized a jail and I wanted it to be more player-friendly like canalzone (that's an oxymoron but oh well)

__________________


 
Last edited by PDT; 07-18-2012 at 01:15 PM.
Reply With Quote
Old 07-18-2012, 01:16 PM   #5
yyler
Guest
 

Posts: n/a

Default Domination HUD entity set-up


So find what controls the jail and just remove it.
 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply

Previous Thread Next Thread
Thread Tools

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



All times are GMT -5. The time now is 07:42 AM.