I have some ideas about entities enhancements and new entities.
Please tell me if you find them usefull and realistic
Enhancements of existing entities:
- target_score should accept negative count ( penality )
- teleport should preserve the current angles of the player
- lightJunior should suport attribute style
- trigger_gravity should accept the keyword "default" in gravity attribute
- path_corner should have a STOP flag ( only solution for the moment is wait 99999, and then retrig the related func_train )
- allow more than 50 chars in target_print
New entities:
target_loose_equipment
flags:
- NEGATE
attributes:
- equipment: a comma delimited list of equipment which will trigger this entity.
description:
When triggered, this remove the equipment a human is carrying. Apply on player that cause the trigger.
target_add_credits
flags:
-
attributes:
- team: 1 for aliens, 2 for humans
- min: cannot be less than this value
- max: cannot be more than this value
- count: value to add to the player's credit/evolution counter
description:
- When triggered, add or remove (if count < 0) credits/evolutions to the human/alien that cause the trigger
note:
- for alien team, credits are evolutions
target_stage
flags:
-
attributes:
- team: 1 for aliens, 2 for humans
- stage: 1 for stage 2, 2 for stage 3
description:
- When triggered, this causes an unconditional stage change for the team.
target_build_points
flags:
-
attributes:
- team: 1 for aliens, 2 for humans
- points: build points for the team.
description:
- set the build points for the specified team
note:
- coupled with trigger_stage it can be intresting to incrase gradually the build points.
trigger_previous_game_winners
flags:
-
attributes:
- team: 1 for aliens, 2 for humans, 3 for nobody (drawn)
description:
- fire its target if the previous game was won by the specified team
note:
- this can be more flexible than map rotation based system
trigger_player_count
flags:
-
attributes
- team: 1 for aliens, 2 for humans, 3 for total
description:
- fires its target when "count" players are presents on the server
target_logic
flag:
-
attributs:
- gate: or / and / not
description:
- this target accepts multiple sources. if the logical condition is true, its target is fired
note:
- "or" can be already performed using multiple sources for the same target
target_counter
flag:
- RESET: when count is reach, the counter resets
attributs:
- count: value to reach
description:
- fire its target when count is reach. The initial value is 0, the counter is incremented by 1 when triggered.
target_toggle
flag:
- INVERSE
description:
- fire its target each time it is triggered twice
note:
- don't know how a target can maintain a "1" state, perhaps by fire its trigger periodically ( need a wait attribute? ).
trigger_destruct_buildable
flags:
-
attributes:
- buildables: a comma delimited list of buildables which will trigger this entity.
description:
- fires this trigger will destroy all buildables it contains
trigger_allow_buildable
flag:
- NEGATE
attributes:
- buildables: a comma delimited list of buildables
description:
- only the specified subset of buildables can me constructed in this space
trigger_nodismantle
flag:
- NEGATE
attributes:
- team: 1 for aliens, 2 for humans, 3 for both
- buildables: a comma delimited list of buildables
description:
- specified buildables cannot be dismantled
note:
- perhaps a surfparam is better for this ?
trigger_third_person
flag:
-
description:
- Any player that touches this will switch to third person.
note:
- usefull when falling in a pit