Tremulous Forum

General => Feedback => Topic started by: Lachu on November 10, 2009, 08:17:17 pm

Title: Global Events
Post by: Lachu on November 10, 2009, 08:17:17 pm
It could be very useful to set gap into map by player. Gap can be only set if all team approves it. Which gap/condition type we should use?
Examples:
- Building [number/name] under attack
- Human(or alien) break [name] point
  or Human(or alien) arrived/achieved some condition
- Some building is begin built
- etc.

Of course, the gap will be connected only to some area.

Some condition could also be private, so there's no need to vote to set it up. We can use it only on team member, so it's no gap - it will be attached on team member. Which private condition we should allow:
- [Player] have less than [amount] hp
- [Player] don't have ammunition for primary weapon
- [Player] is in too far distance
- [Player] arrived to base
- [Player] respawned
- [Player] leave base
Title: Re: Global Events
Post by: danmal on November 10, 2009, 08:55:53 pm
I'm not sure if I understand what you mean. What's a "gap"?
Title: Re: Global Events
Post by: David on November 10, 2009, 11:50:48 pm
I'm guessing something got lost in translation, but I'm pretty sure gap isn't the word you want.
Title: Re: Global Events
Post by: cactusfrog on November 11, 2009, 05:24:37 am
i think he wants tremulous players to be able to set binds that can include booleans. For example if he wants the ability to set a bind like this: If Hp is less then 30 then use medkit otherwise do nothing. He also wants a team to be able to call a vote that includes booleans like /callvote if turret is destroyed brocast message "turret destroyed".
Title: Re: Global Events
Post by: Celestial_Rage on November 11, 2009, 06:21:06 am
It sounds more to me like he wants to set up an announce system...
Title: Re: Global Events
Post by: HellsAngelz on November 11, 2009, 04:20:32 pm
Gaps are probably an ancient way to state an if, elseif, statement on a game. Meaning let's say you have 2hp, and are trying to push a door open. Well there is a 50x50 grid that you walk on before you hit the door. This will check if you have over 10hp, and if you have over 10 hp, then you can open the door. If you have less than 10 hp, the door won't open.
Like:
if hp>10
function
{
openDoorPlease
}
else
{
doorDenialLolol
}

Probably syntax errors etc, but it took me like 30 seconds to write so IM SORRY D:
Title: Re: Global Events
Post by: A Spork on November 11, 2009, 05:40:30 pm
If statments could be handy... But very easily abused....
Title: Re: Global Events
Post by: Lachu on November 11, 2009, 05:58:49 pm
I have using word as gap as area/placemark.

Gap is kind of placemark, so we set a gap on the floor and tell to system: if human live there, send message, etc.

It can be helpful to create custom rules by both team, like:

- In first four minutes don't attack. To prevent from attacking we can set gap near our base and other team should accept it. If four minutes remaining, we can remove gap.
- Create area, where only few character can hide (stupid idea, but possible to realize).
- Set gap in the base, so there's no sneaking, etc.

So my idea is to allow creating custom rules, using gap system.
Title: Re: Global Events
Post by: Lachu on November 11, 2009, 06:02:01 pm
Using this system we can negotiate some rules in game time.

In the future observers might to propose objective too, but observers can give point to each objective/gap. If both team accept objectives, it will be active.