Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 05:46:10 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Credit Cost Entity
Pages: [1]
Author Topic: Credit Cost Entity  (Read 6228 times)
Citizen_001
Build Tester
*
Posts: 3733


Male_07


« on: October 02, 2010, 02:32:44 PM »

So I've been pondering how I want to set up certain traps or events for a map, and I thought of something I think would make the system pretty unique, but I'm pretty sure it's impossible (with the current entities that is). It also would have plenty of potential for use on tons of other maps as well.

What about some sort of entity, possibly ttt_credit_manager or something to that effect that allows for a button (or other form of input that designates an !activator) to send to that entity an output of "GiveCredits" that can give or take credits from the activator of a button/trigger/whatever. It could rely on a parameter value which could be negative to take credits or positive to give credits to the traitor. It would of course only function if it was a traitor who was the !activator. If the traitor did not have enough credits it could make a message pop up for them saying "Insufficient credits" and if they did have enough it would cause the ttt_credit_manager to fire an output of OnTrigger so you could tell when a traitor payed the toll. This then allows for traps that cost a credit (making huge one time use traps that have a lot of potential more balanced) and making certain map-specific things that can give a large tactical advantage to a traitor if they sacrifice a credit. Not to mention, allowing for traitors to be rewarded with a credit if they complete a traitor specific task.

1200+ hours in Source SDK, and the Source engine is still a mystery.


Quote from:  Dinner
The first time you see him he comes onto you so hard.
[/quote]
Silverstream
Poster

Posts: 174


Project Suburb Developer


« Reply #1 on: October 02, 2010, 03:03:18 PM »

This sounds quite interesting. I'd definitely like to test this out if of course BKU deems it useful and implements it.
Fuffe
Poster

Posts: 128


Crummycradle was a mistake


« Reply #2 on: October 02, 2010, 03:15:40 PM »

I was having the same thought.
Nasu
Poster

Posts: 28


« Reply #3 on: October 02, 2010, 09:24:50 PM »

Would be very interesting if map makers would use it :P
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #4 on: October 02, 2010, 09:28:29 PM »

Should be pretty easy to do.

I won't make the entity deal with stuff like "insufficient credits" messages, instead it'll fire an output you can hook up yourself.
Citizen_001
Build Tester
*
Posts: 3733


Male_07


« Reply #5 on: October 02, 2010, 09:40:05 PM »

Okay that's perfect. Thanks.

1200+ hours in Source SDK, and the Source engine is still a mystery.


Quote from:  Dinner
The first time you see him he comes onto you so hard.
[/quote]
Fuffe
Poster

Posts: 128


Crummycradle was a mistake


« Reply #6 on: October 02, 2010, 10:07:51 PM »

Was my post removed? I guess it was for the better.
Secone
Build Tester
*
Posts: 4289


Welcome to the Church of Rock and Roll!


« Reply #7 on: October 02, 2010, 10:41:07 PM »

Was my post removed? I guess it was for the better.


What?

Worbat: When we're playing I love to hear him scream as I rape his ass 
9:19 PM - Nel: Why is my 16 year old son married to a 20 year old man
Citizen: I want to see Morpheus' big black penis damn it!
Citizen_001: I JUST WANT TO HIT A BABY
Fuffe
Poster

Posts: 128


Crummycradle was a mistake


« Reply #8 on: October 02, 2010, 11:52:11 PM »

Nevermind it.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #9 on: October 03, 2010, 07:48:28 AM »

No posts were removed in this thread.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #10 on: October 03, 2010, 10:43:01 AM »

I've added the entity. There's some documentation in the mapping guide, but it's pretty straightforward.
Citizen_001
Build Tester
*
Posts: 3733


Male_07


« Reply #11 on: October 03, 2010, 04:24:39 PM »

Thanks a bunch.

1200+ hours in Source SDK, and the Source engine is still a mystery.


Quote from:  Dinner
The first time you see him he comes onto you so hard.
[/quote]
Mr. Gash
Poster

Posts: 382


www.nonerdsjustgeeks.com


« Reply #12 on: October 03, 2010, 09:28:01 PM »

If only this was on lost temple... :)
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Credit Cost Entity « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.011 seconds with 18 queries.