Empires Events
From EventScripts Community Encyclopedia
|
Events for Empiresmod 2.24d //=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. ===========
//
// The copyright to the contents herein is the property of Valve, L.L.C.
// The contents may be used and/or copied only with the written permission of
// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
// the agreement/contract under which the contents have been supplied.
//=============================================================================
// No spaces in event names, max length 32
// All strings are case sensitive
//
// valid data key types are:
// string : a zero terminated string
// bool : unsigned int, 1 bit
// byte : unsigned int, 8 bit
// short : signed int, 16 bit
// long : signed int, 32 bit
// float : float, 32 bit
// local : any data, but not networked to clients
//
// following key names are reserved:
// local : if set to 1, event is not networked to clients
// unreliable : networked, but unreliable
// suppress : never fire this event
// time : firing server time
// eventid : holds the event ID
"empireevents"
{
"point_captured"
{
"team" "bool"
"location" "short"
}
"point_neutral"
{
"team" "bool"
"location" "short"
}
"player_death" // a game event, name may be 32 charaters long
{
"userid" "short" // user ID who died
"attacker" "short" // user ID who killed
"hide" "byte" // team to hide the message from
"weapon" "string" // weapon name killed used
}
"game_end" // a game event, name may be 32 charaters long
{
"team" "bool" // which team won
"entity" "short" // entity to watch
}
"voice_command" // a game event, name may be 32 charaters long
{
"team" "bool" // which team message is for
"command" "short" // what message to play
"sub" "byte" // sub identifier for some messages
}
"commander_alert" // a game event, name may be 32 charaters long
{
"team" "bool" // which team message is for
"command" "short" // what message to play
"coord_x" "float" // x coordinate
"coord_y" "float" // y coordinate
"coord_z" "float" // z coordinate
}
"commander_vote_time" // when the vote for a commander begins
{
"time" "short" // time left in the vote
"commander_exists" "bool" //allows us to use this event for warmup time on CVless maps
}
"commander_vote" // when a player casts a vote for a player to be the commander
{
"team" "bool" // which team
"voter_id" "short" // who is casting the vote
"player_id" "short" // who the vote is for
}
// Events for stats plugins
"player_class"
{
"userid" "local"
"class" "local"
}
"player_score"
{
"userid" "local"
"amount" "local"
"reason" "local"
}
"vehicle_purchase"
{
"userid" "local"
"recustomized" "local"
"cost" "local"
"chassis" "local"
}
"vehicle_enter"
{
"userid" "local"
"vehicleid" "local"
"seat" "local"
}
"vehicle_exit"
{
"userid" "local"
"vehicleid" "local"
}
// CLIENT-SIDE
"spec_target_updated"
{
}
}
|
