Editing and Customization > Community Content
[Gameplay] Freeze Tag Mode
Joe:
Hi,
I think would be a fun mode to play in GE:S, so I'm going to try to make a mode script for it.
"Freeze Tag" mode is a team play elimination mode in which eliminated players can be resurrected by their team mates.
The latest version of this mode can be downloaded from here: http://forums.geshl2.com/index.php/board,139.0.html
major:
hmm I kinda like it.
killermonkey:
Unfortunately we don't provide a way to "freeze" players using the Python API interface. You would have to combine the python code with a standard server plugin to provide the freezing effect.
You could accomplish this using server-side custom events to pass information across:
GEUtils.EmitGameplayEvent( ... )
Here is the wiki article: http://wiki.geshl2.com/index.php/GoldenEye:_Source_Plugin_Support#gameplay_event
Joe:
--- Quote from: killermonkey on October 27, 2012, 01:18:14 pm ---Unfortunately we don't provide a way to "freeze" players using the Python API interface. You would have to combine the python code with a standard server plugin to provide the freezing effect.
You could accomplish this using server-side custom events to pass information across:
GEUtils.EmitGameplayEvent( ... )
Here is the wiki article: http://wiki.geshl2.com/index.php/GoldenEye:_Source_Plugin_Support#gameplay_event
--- End quote ---
Thanks for your help.
Joe:
When players die in this mode I want the game to spawn an entity at the vector where they died so that their team mates can interact with this entity to trigger their resurrection. I would like the entity to use the victim's character model.
I've not seen a function in in the token manager class which can spawn a token entity at a given vector, so I've thought that tokens can only be spawned at spawn point entities.
I can see that there is a function in GEUtil which creates a temporary entity at a given vector ( CreateTempEnt(type,vector) ). I've got 2 questions about this function:
1) How is the created entity temporary? (or is a temporary entity a type of entity?)
2) How can a script reference an entity object which has been created by this function?
Navigation
[0] Message Index
[#] Next page
Go to full version