AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Beacon Shadow Color (https://forums.alliedmods.net/showthread.php?t=173266)

NiceGuyx 12-02-2011 19:49

[HELP] Beacon Shadow Color
 
Hello, I have this beacon:

PHP Code:

public beacon(id)
{
    static 
origin[3]

    
get_user_origin(idorigin)
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
    
write_byte(TE_BEAMCYLINDER)
    
write_coord(origin[0])//position.x
    
write_coord(origin[1])//position.y
    
write_coord(origin[2]-20)//position.z
    
write_coord(origin[0])    //axis.x
    
write_coord(origin[1])    //axis.y
    
write_coord(origin[2]+200)//axis.z
    
write_short(beacon_sprite)//sprite index
    
write_byte(0)       //starting frame
    
write_byte(1)        //frame rate in 0.1's
    
write_byte(6)        //life in 0.1's
    
write_byte(2)        //line width in 0.1's
    
write_byte(1)        //noise amplitude in 0.01's
    
write_byte(0)      //red
    
write_byte(0)      //green
    
write_byte(255)     //blue
    
write_byte(200)     //brightness
    
write_byte(6)       //scroll speed in 0.1's
    
message_end()


It's giving me a circle Like this:

http://s3.noelshack.com/uploads/imag...90_beacon1.png

I want it to be like this:

http://s3.noelshack.com/uploads/imag...14_circle2.png

What i have to EDIT? Please.

joshknifer 12-02-2011 23:19

Re: [HELP] Beacon Shadow Color
 
Please only post in one section...


All times are GMT -4. The time now is 08:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.