Jump to content
  • ¡Hola, Invitado! Únete a nuestra comunidad y construyamos juntos algo increíble.

    Welcome to our community! If it’s your first visit, we recommend checking out the help by clicking the link above. To actively participate, simply click the ‘Connect’ or ‘Register’ button. Once registered, you’ll be able to post messages and explore the different forums available. We look forward to seeing you soon!

Recommended Posts

Posted

Esto es algo que se había publicado hace MUUUUCHO acá en MZ, que después de la borrada masiva dejó de existir y nadie se acuerda.

 

La duda es: ¿Cuales eran los nombres que se le podían asignar a las entidades para que se activen mediante un evento especial (Su nombre)?

 

Un ejemplo para dejarlo más claro:

 

Cuando le asignabas el nombre "X", esa entidad se activaba cuando se detectaba que un player moría (ya sea aplastado, por un hurt, cayendo desde alto, etc.). Así podías hacer sonar un "grito" en la muerte de cada player.

 

Cuando le asignabas el nombre "Z", esa entidad se activaba cuando se detectaba un respawn.

Siempre andaban medio bugueadas estas cosas, es decir, nunca funcionó bien como para activarse tooodas las veces que un player moría, pero si funcionaba.

 

 

Si alguien recuerda algo de esto, por favor comentarlo. Gracias y saludos!

(No me acuerdo ni como empezaban los nombres).

Posted

Game Player Die

The game_player_die entity is used to fire an event either when a whole team is killed, or a person on a team has been killed. The targetname field for this entity MUST be game_playerdie, otherwise this entity will not function. Here the entity will fire 't2_alldeadmm' (which is a multimanager to scoring a notification entities) when all of 'The Mob' team is dead. The presence of spawnflags=1 makes the game_player_die entity fire its target only when a whole team is dead (when no body has any lives left). If the spanwflag=1 is not present or some other value, the entity will fire upon every death of a member of that team. The most important attribute for the game_player_die entity is the master. This must be set to be the same as the team's game_team_master if you wish to act on the death of all members of that team. Dependent on the type of team it is, you will need to set the spawnflags to either :

 

1 = Whole Team

2 = Sub Team (See Terrorist Leader in actionrail).

 

{

"origin" "-2573 3225 -1968"

"target" "t2_alldeadmm"

"master" "t2master"

"targetname" "game_playerdie"

"spawnflags" "1"

"noreset" "2"

"classname" "game_player_die"

}

 

Si te sirve..

Y los nombres esos no son classname eh, son nombres de entidad. Por ejemplo:

Creas una light con flag toggle activada y de nombre le pones game_player_die. Entonces cada vez que un jugador muera, esta luz se va a prender o apagar.

 

PD: Se que uno dice game_player_die y el otro game_playerdie pero bueno, proba las 2

15hn6dj.png
Posted

Si si es game_playerdie y sus variaciones como game_playerjoin, game_playerrespawn, game_playerleave, etc.

 

Lástima que funciona muy bugueado, pero bastante interesante para variar algun mapa.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using our website, you accept our Privacy Policy and agree to the established conditions.