Thread: Wall Text
View Single Post
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-03-2009 , 22:56   Re: Wall Text
Reply With Quote #3

Fuck Alejandro. I was about saying: First.

Nice, stupok. Taking a look at the code now.

Edit:

I've looked at the code now. There isn't much to say. Its pretty straight forward, there's nothing to optimize i guess. The only think i can see that you can modify is in "CreateNewMessage()":

PHP Code:
fAimVector[0] = fAimVector[0] * 9999.0 fPlayerOrigin[0]
    
fAimVector[1] = fAimVector[1] * 9999.0 fPlayerOrigin[1]
    
fAimVector[2] = fAimVector[2] * 9999.0 fPlayerOrigin[2]
    
    
// execute traceline, grab normal vector and end position
    
new iTr create_tr2()
    
engfuncEngFunc_TraceLinefPlayerOriginfAimVectorIGNORE_MONSTERSidiTr )
    
get_tr2iTrTR_vecEndPosfAimOrigin )
    
get_tr2iTrTR_vecPlaneNormalfNormalVector )
    
free_tr2iTr 
Changing the 9999.0 to a closer, clearly visible, position, check if the trace "happened" and if don't say something like "You are too distant from a wall".

Nothing, really.

Edit 2:

What about cvars to change the colors/backgrounds of the printed characters?
__________________

Last edited by joaquimandrade; 04-03-2009 at 23:13.
joaquimandrade is offline