Change rope/hook color?

Started by HotshoT
28/01/2006 15:06
Page 1 of 2
HotshoT28/01/2006 15:06

Does someone know how can i change the color of +hook or +rope ?!
[ Edited ]

NoEx mapper28/01/2006 19:39

> 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 ]

HotshoT07/02/2006 18:07

where can i get the *.sma file of kz_multiplugin?

NoEx mapper07/02/2006 20:02

http://amxmodx.org => amxx

http://amxmod.net => amx

Mr. p!nk12/02/2006 14:25

with programm opnes .amx and amxx files... i tried it with amx mod x studio... but didnt worked -.=

shamal12/02/2006 15:03

Mr.p!nk, notepad ftw

Mr. p!nk12/02/2006 15:35

if i open it with notepad there r only hex... and nothing like it should be like noex has written...

NoEx mapper13/02/2006 09:37

U cannot open *.amx or *.amxx, u must open *.sma file (source file)

*.sma => compilation => *.amx/*.amxx

macman9020/09/2006 18:54

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...

Grrr30/03/2007 17:09

how can i change *.amx to *.amxx or *.amxx to *.amx, I need help plz!
..and does this works
*.amx => compilation => *.amxx
? thnx anyway..

Fatalis31/03/2007 01:35

U cannot open *.amx or *.amxx, u must open *.sma file (source file)

*.sma => compilation => *.amx/*.amxx

NoEx

Grrr31/03/2007 15:33

but where i can find compiler ? and how to compile :>

Fatalis31/03/2007 17:21

http://www.amxmodx.org/webcompiler.cgi

Volsfootball31/03/2007 20:18

nice uber double post fatal. :P

zomby27/05/2007 16:15

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 ]

theL0w^27/05/2007 16:37

else // Counter-Terrorist
{
write_byte( 255 ) // r, g, b
write_byte( 162 ) // r, g, b
write_byte( 0 ) // r, g, b
}

_____

Orange i think.

trb27/05/2007 18:34

http://www.dauerstress.de/utility/farben.htm

click on a color and see the r , g , b values ;)

zomby27/05/2007 19:23

wow 10x a lot troublm4k3r

TeRRoRbOy20/07/2007 15:58

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

PrEn1uMz21/07/2007 01:27

in prokreedz_hook.sma :

line 164, 165, 166

write_byte(0) // r
write_byte(0) // g
write_byte(255) // b

juste change rgb valu ;)

Page 1 of 2

Please log in to post replies.