Change rope/hook color?
Does someone know how can i change the color of +hook or +rope ?!
[ Edited ]
> kz_multiplugin.amx
search for these lines :
[blockquote]public beamentpoint(id)
{
message_begin( MSG_BROADCAST, SVC_TEMPENTITY )
write_byte( TE_BEAMENTPOINT )
write_short( id )
write_coord( gHookLocation[id][0] )
write_coord( gHookLocation[id][1] )
write_coord( gHookLocation[id][2] )
write_short( beam ) // sprite index
write_byte( 0 ) // start frame
write_byte( 0 ) // framerate
write_byte( BEAMLIFE ) // life
write_byte( 10 ) // width
write_byte( 0 ) // noise
if (get_user_team(id)==1) // Terrorist
{
write_byte( 255 ) // r, g, b
write_byte( 0 ) // r, g, b
write_byte( 0 ) // r, g, b
}
else // Counter-Terrorist
{
write_byte( 0 ) // r, g, b
write_byte( 0 ) // r, g, b
write_byte( 255 ) // r, g, b
}
write_byte( 150 ) // brightness
write_byte( 0 ) // speed
message_end( )
gBeamIsCreated[id] = get_gametime()
}[/blockquote]
and change the RGB values on these lines :
[blockquote]else // Counter-Terrorist
{
write_byte( 0 ) // r, g, b
write_byte( 0 ) // r, g, b
write_byte( 255 ) // r, g, b
}[/blockquote]
On my example : 0 0 255 = blue
[ Edited Sat Jan 28 2006, 07:40PM ]
where can i get the *.sma file of kz_multiplugin?
http://amxmodx.org => amxx
http://amxmod.net => amx
with programm opnes .amx and amxx files... i tried it with amx mod x studio... but didnt worked -.=
Mr.p!nk, notepad ftw
if i open it with notepad there r only hex... and nothing like it should be like noex has written...
U cannot open *.amx or *.amxx, u must open *.sma file (source file)
*.sma => compilation => *.amx/*.amxx
ok i open .sma file( use amx mod x ) and pls give me the exact line in file.... pls
and again i use amx mod x and in what file i have to look...
how can i change *.amx to *.amxx or *.amxx to *.amx, I need help plz!
..and does this works
*.amx => compilation => *.amxx
? thnx anyway..
U cannot open *.amx or *.amxx, u must open *.sma file (source file)
*.sma => compilation => *.amx/*.amxx
but where i can find compiler ? and how to compile :>
http://www.amxmodx.org/webcompiler.cgi
nice uber double post fatal. :P
well i want another color pls help me noex or fatalis or some good scripter pls help me and tell me numbers (RGB Format i think) for othere colors i need something like light orange and purple
:o :)
[ Edited Sun May 27 2007, 04:15PM ]
else // Counter-Terrorist
{
write_byte( 255 ) // r, g, b
write_byte( 162 ) // r, g, b
write_byte( 0 ) // r, g, b
}
_____
Orange i think.
http://www.dauerstress.de/utility/farben.htm
click on a color and see the r , g , b values ;)
wow 10x a lot troublm4k3r
can i change the colour in prokreedz_hook.sma ? because i tried but didn't succesed... maybe i did something wrong... can you tell me how can i change it? :D
in prokreedz_hook.sma :
line 164, 165, 166
write_byte(0) // r
write_byte(0) // g
write_byte(255) // b
juste change rgb valu ;)
Please log in to post replies.