EngFunc_TraceTexture
Crashes server...
Tried it this way in the Ham_TraceAttack forward. PHP Code:
|
Re: EngFunc_TraceTexture
If I remember you have to do something like :
Code:
|
Re: EngFunc_TraceTexture
Shouldn't you use xs in this situation?
xs_vec_copy(origin, end)? And, for walls does this work? |
Re: EngFunc_TraceTexture
If the array is the same size, you can do that directly.
No you can't do that on the wall, the trace has to be straight down from you. You don't walk on the wall. :p |
Re: EngFunc_TraceTexture
That is why it crashed. I tried doing that on a wall.
Question. is it possible to determine the material of the wall? |
Re: EngFunc_TraceTexture
Don't know :/ Try to walk on the wall and execute the code. :p
|
Re: EngFunc_TraceTexture
Quote:
|
Re: EngFunc_TraceTexture
It's weird because in the HLSDK a trace_texture is done after you fire.
Code:
Code:
|
Re: EngFunc_TraceTexture
Then it is a fakemeta error?
Edit: Code:
|
Re: EngFunc_TraceTexture
I don't think, and I don't see anything wrong. Plus, it works fine if you do like my code above.
In CBaseEntity *pEntity = CBaseEntity::Instance(ptr->pHit); Instance() returns pent->pvPrivateData; and as comment we can read : Quote:
|
All times are GMT -4. The time now is 05:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.