lemonz086
Trained Noob
Where do i put my personal text?
Posts: 14
|
Post by lemonz086 on Aug 16, 2011 8:57:49 GMT
What I'm trying to do is in the video. I know the quality is shitty but i recorded it with CamStudio.
|
|
|
Post by Zeph on Aug 16, 2011 9:35:10 GMT
sod it, trying to explain all that is tough . First of all, please explain a little more for what teams do what? One terrorist goes in the middle, then one-by-one a CT is teleported inside and the Terrorist has to defeat them? What happens when all Ts dead? what happens when all CTs dead? Do Ts get made to fight Ts? What if no one is in any side zone when you wand to teleport? When a terrorist goes into the area (on start touch), you need to (via a team filter) +1 to a math counter. When he dies (on end touch, i hope), -1 from this counter. Now the counter holds how many terrorists are inside the area. This may also be achieved using a game zone player, but it needs to be asked how many are inside. You can set up another system for counting the CTs inside. Have the math counter output to a logic case (set the logic case's keyvalues to case01 = 0, case 02 = 1, etc). When math counter = 0 (case01), open doors. On all the others, close the doors (or enable the func_brush, trig_push or whatever). You also want when the CT one = 0, ask another logic case for a random output, which picks a origin to teleport from. As for randomly inside, you'll need multiple teleport destinations and another random event to pick which one, using a logic case creating the links to the teleport origin each time. Yeah... I could attempt to make this for you, but i'll need more details as described above. It's doable, but it'll need a lot of lovely logic!
|
|
lemonz086
Trained Noob
Where do i put my personal text?
Posts: 14
|
Post by lemonz086 on Aug 16, 2011 10:30:11 GMT
First of all, please explain a little more for what teams do what? Basically 1 CT and 1 T go into the arena and knife fight to the death. One terrorist goes in the middle, then one-by-one a CT is teleported inside and the Terrorist has to defeat them? Kind of, If the terrorist dies, then the doors to his side opens allowing one of them to go through. What happens when all Ts dead? Then the CT team wins. What happens when all CTs dead? Then the Terrorists win. Do Ts get made to fight Ts? No, if there are no more CT's then the Terrorists win and it brings you back to the beginning (a multi minigame map) What if no one is in any side zone when you wand to teleport? I'm not sure if i want to do the teleport. There are pros and cons for teleporting them and opening the door for them.
|
|
|
Post by Zeph on Aug 16, 2011 10:48:27 GMT
Ah, so it's one at a time from each side, until one side dies. Winner stays on. Doable. Easiest method is when the team's counter goes to 0, open door. greater than 0, close door. EDIT: 0 = open door for that team. 1 = close door for that team. 2+ = kill all of that team inside the arena! No cheating! 0 and 1 go to case01 and case02 of a logic case, directly. the output is also checked by a logic_compare, which sees if its greater than 1 (ie 2+), then fires case03 of the logic case. I could build this in an hour or so tonight, but would be unable to test it, if you want.
|
|
lemonz086
Trained Noob
Where do i put my personal text?
Posts: 14
|
Post by lemonz086 on Aug 16, 2011 12:46:01 GMT
If you could, that'd be awesome and you would earn my eternal love and respect (whatever that's worth). I started to attempt this with 1 filter name naming the terrorists (vice verse with ct's) and 2 trigger_multiples. However it would only work the counter terrorists and not the terrorists (which was quite weird considering they both have the same outputs, only renamed accordingly). I like your way better to be honest, i hate cheaters. Though i guess i should add a hudhint warning them.
|
|
|
Post by Zeph on Aug 17, 2011 11:11:04 GMT
I got this mostly working. I thought of a good bit of fun - what if they get slowly healed while inside the arena? Encourages speed, else your opponent is getting healed! However, i can't find a trig_hurt type that doesn't make a sound, except 'FALL' damage. However, 'FALL' slows the player down inside the area Other than that, it's pretty much done. Some little tweaks and testing with multiple players yet to be made.
|
|
lemonz086
Trained Noob
Where do i put my personal text?
Posts: 14
|
Post by lemonz086 on Aug 17, 2011 15:30:06 GMT
That's actually a good idea. I attempted to get this working with the least amount of entities but, I'm not so good with logic. I got to where if the person steps inside the arena OnStartTouch -> ctfilter -> TestActivator or something along those lines. Then on the ctfilter i make OnPass -> ctmath -> Add -> 1. However I'm not quite sure how to make it subtract one and even if i figure that out i don't know how i would link the math with the case. I had it like OnGetValue -> InValue.
|
|
|
Post by Zeph on Aug 17, 2011 16:01:17 GMT
for each team you need:
Filter_Activator_Team
Trigger_Multiple Filter = Filter_Activator_Team OnStartTouch -> Math_Counter -> Add -> 1 OnEndTouch -> Math_Counter -> Subtract -> 1 OnNotTouching -> Math_Counter -> Set -> 0 (Fail Safe)
Math_Counter InitialValue = 0 OutValue -> Logic_Case -> InValue OutValue -> Logic_Compare -> SetValueCompare (Set Value, Then Compare)
Logic_Compare CompareValue = 1 OnGreaterThan -> Logic_Case -> InValue -> 2 (Fire Case03)
Logic_Case Case01 = 0 Case02 = 1 Case03 = 2 OnCase01 -> Func_Door -> Open OnCase02 -> Func_Door -> Close OnCase03 -> Logic_Relay -> Trigger
Logic_Relay OnTrigger -> Trigger_Hurt -> SetDamage -> 200 OnTrigger -> Trigger_Hurt -> SetDamage -> -5 -> Delay -> 1 OnTrigger -> Trigger_Multiple -> TouchTest -> Delay -> 1
Trigger_Hurt Damage = -5
And globally you need: Logic_Auto OnMultiNewRound -> Trigger_Multiple -> TouchTest
Game_Player_Equip weapon_knife = 1
|
|
|
Post by Zeph on Aug 17, 2011 18:55:11 GMT
And here's my version. Attachments:
|
|
lemonz086
Trained Noob
Where do i put my personal text?
Posts: 14
|
Post by lemonz086 on Aug 19, 2011 6:18:33 GMT
Awesome man, thank you. I love you...
|
|
|
Post by Zeph on Aug 19, 2011 10:40:43 GMT
Since i've practically made the map for you, i do expect some major credit to myself and www.UberMicro.co.uk. Normally i'm not too bothered, but unlike most of my maps, this is almost a finished, playable map by itself.
|
|
lemonz086
Trained Noob
Where do i put my personal text?
Posts: 14
|
Post by lemonz086 on Aug 19, 2011 18:30:11 GMT
Yeah, of course. I've got a Knife Arena done, Volleyball done, Sliderace done, not sure what other ones i should make next but i do know i will add Fight Yard, Bhop, Surf, and grenade. Maybe a soccer... It's still not done and i still need to detail them to make them look pretty and tidy them up.
|
|