SRCDS Steam group


mani admin texturelist effects [RESOLVED]
#1
i tryed using the effects, it didn't work everytime i write ma_lightning it says "unknown command" or "not complete argument" =/ any help would be appreciated thanx
my texturelist:

"texturelist.txt"
{
// List textures to be available for custom effects via ma_effect
// The first label is the name you use within the ma_effect command to reference
// the sprite texture, the second is the location of the sprite itself withing /hl2/materials/
// You can view the sprites from the Valve Hammer Editor.

// "lightning" "sprites/lgtning.vmt"
// "smoke" "sprites/steam1.vmt"
// "blueglow" "sprites/blueglow1.vmt"
// "crystalbeam" "sprites/crystal_beam1.vmt"
// "rib" "models/gibs/hgibs_rib.mdl"
// "scapula" "models/gibs/hgibs_scapula.mdl"
// "spine" "models/gibs/hgibs_spine.mdl"
// "skull1" "models/gibs/hgibs.mdl"

"downloads"
{
// Add your auto downloads here, each player will be forced
// to download this content
//

// "my_vmtfile.vmt" "materials/sprites/custom/mani_admin_plugin/mani_logo.vmt"
// "my_vtffile.vtf" "materials/sprites/custom/mani_admin_plugin/mani_logo.vtf"
}
}
Reply
#2
Remove the //. It's for comments.
Reply
#3
thanks for the fast reply ok i did remove // for lightning so like i wrote ma_effect 1 and still didn't work

"texturelist.txt"
{
// List textures to be available for custom effects via ma_effect
// The first label is the name you use within the ma_effect command to reference
// the sprite texture, the second is the location of the sprite itself withing /hl2/materials/
// You can view the sprites from the Valve Hammer Editor.

"lightning" "sprites/lgtning.vmt"
// "smoke" "sprites/steam1.vmt"
// "blueglow" "sprites/blueglow1.vmt"
// "crystalbeam" "sprites/crystal_beam1.vmt"
// "rib" "models/gibs/hgibs_rib.mdl"
// "scapula" "models/gibs/hgibs_scapula.mdl"
// "spine" "models/gibs/hgibs_spine.mdl"
// "skull1" "models/gibs/hgibs.mdl"

"downloads"
{
// Add your auto downloads here, each player will be forced
// to download this content
//

// "my_vmtfile.vmt" "materials/sprites/custom/mani_admin_plugin/mani_logo.vmt"
// "my_vtffile.vtf" "materials/sprites/custom/mani_admin_plugin/mani_logo.vtf"
}
}
Reply
#4
isn't it ma_effect lightning
Reply
#5
ahh i found out how it works thanks for ur help but i want to know how to use these effects when you die =/
Reply
#6
Create an Eventscript. As this one.

Code:
event player_dead
{
     ma_effect lightning
}

Or is it player_death, I don't remember.
Reply
#7
thanks for the backup its called "body dissolver". i did get the eventscript to load but am still working on it =)
Reply
#8
If this has been resolved, please add [RESOLVED] to the threads title Smile

Post #800!!! w00t!
Reply
#9
ok thanx for ur help guys but the eventscript loads for me but still dosn't work for me =/ but i'll try to solve it =]
Reply
#10
i did everything and mostly all the event scripts start working by just loading them from the console pressing ~ and then writing rcon es_load (name of the script) <<< this should also be written in the autoexec.cfg in order to load it and then everything would be fine XD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)