Raised This Month: $12 Target: $400
 3% 

Tracing bug/glitch/lack?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UMTeleporter
SourceMod Donor
Join Date: Feb 2009
Old 01-24-2013 , 14:25   Tracing bug/glitch/lack?
Reply With Quote #1

I have been attempting various ways of using TraceRay to pick up children of parented entities, such as prop_dynamic(_override)s.

Can't seem to get children to register WHATSOEVER.

Heres an example plugin.

Use sm_tracetest_spawn twice. This places a prop at your aim's destination. Obviously best to place them at different locations.
It will return the ent IDs of those two props.

sm_tracetest_parent <one> <another> <- use this to parent one of those ents spawned with another.

bind k "say /tracetest_trace" is what I used to test the trace. When you use this on the Child, you can see the beam going right through the child, as well as the world returning as the result (0.)

EDIT: Also. This is on TF2, latest Metamod dev snapshot, latest SourceMod dev snapshot.
Attached Files
File Type: sp Get Plugin or Get Source (tracetest.sp - 257 views - 3.3 KB)

Last edited by UMTeleporter; 01-24-2013 at 14:31.
UMTeleporter is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:00.


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