Attribute Submodule
Yassine Sen edited this page Sep 30, 2022
·
1 revision
"<enum>"
{
// Apply upd
"procedure" "ConfigEvent_AddAttribPlayer"
// depend on 'event_type', usually 'player' for calling player, check 'vsh2hooks*.sp'
// 'target' will assume the 'player' is an entity index
// while 'vsh2target' will assume the 'player' is a client userid
"vsh2target" "player"
// "target" "player"
"attributes"
{
"<enum>"
{
"name" "..."
"value" "2.0"
"duration" "2.0"
}
}
}
Key | Type | Description |
---|---|---|
vsh2target/target | String | Target from string |
attributes.*.name | String | Attribute's name |
attributes.*.value | Float | Attribute's value |
attributes.*.duration | Float | Attribute's duration to set |
"<enum>"
{
// Apply upd
"procedure" "ConfigEvent_SetAttribWep"
// depend on 'event_type', usually 'player' for calling player, check 'vsh2hooks*.sp'
// 'target' will assume the 'player' is an entity index
// while 'vsh2target' will assume the 'player' is a client userid
"vsh2target" "player"
// "target" "player"
"attributes"
{
"<enum>"
{
"index" "..."
"value" "2.0"
"duration" "2.0"
}
}
}
Key | Type | Description |
---|---|---|
vsh2target/target | String | Target from string |
attributes.*.index | Integer | Attribute's index |
attributes.*.value | String/Float | Attribute's value or reference in ConfigEvent |
attributes.*.duration | Float | Attribute's duration to set |
"<enum>"
{
// Apply upd
"procedure" "ConfigEvent_RemoveAttribWep"
// depend on 'event_type', usually 'player' for calling player, check 'vsh2hooks*.sp'
// 'target' will assume the 'player' is an entity index
// while 'vsh2target' will assume the 'player' is a client userid
"vsh2target" "player"
// "target" "player"
"attributes"
{
"<enum>"
{
"index" "..."
"slot" "2.0"
}
}
}
Key | Type | Description |
---|---|---|
vsh2target/target | String | Target from string |
attributes.*.index | Integer | Attribute's index |
attributes.*.slot | Integer | Weapon's slot index |
Wiki
Downloads Submodule
TFCond Submodule
Property Submodule
Rage Submodule
Ammo Submodule
AimTarget Submodule
Attribute Submodule
Airblast Submodule
Screen Shake Submodule
Zombie Submodule
Sounds Submodule
Chainstab Submodule