![]() |
Re: draw beam
you think? ;) i am writing the waypoint system from scratch, but i am talking about 20 wpts to be needed to be drawn. It somehow does not get drawn! here is my beam code:
Code:
void WaypointDraw(edict_t *pEdict) |
Re: draw beam
could be the "fadeLength" parameter, try making it 255. Maybe make the width a bit more to see it easier too ;)
heres what i use for drawing a waypoint (try copying the values) Code:
g_pEffects->Beam( m_vOrigin - Vector(0,0,WAYPOINT_HEIGHT/2), m_vOrigin + Vector(0,0,WAYPOINT_HEIGHT/2), CWaypoints::waypointTexture(), |
Re: draw beam
well, ok, the width is abit thin, but i like slim wpts ;) :D
i will try the fadelength. |
Re: draw beam
okay looks as though I can't edit my old posts :'(
anyway. this code works for bots and players and maybe even ohter entities which I havne't been able to test with yet (works with players and bots). you may need GetIServerEntity PHP Code:
|
Re: draw beam
rofl, i somehow remember that you said that could be left out? ;) well i changed it into the above code and i will try it asap.
|
Re: draw beam
yeah I thought that because it would still compile and thought it would do basically the same thing but never actually tested it. Better look before i leap :P
|
All times are GMT +2. The time now is 17:49. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.