5 MODEL(SQUARE,
"models/pathlib/square.md3");
6 MODEL(SQUARE_GOOD,
"models/pathlib/goodsquare.md3");
7 MODEL(SQUARE_BAD,
"models/pathlib/badsquare.md3");
8 MODEL(EDGE,
"models/pathlib/edge.md3");
14 void pathlib_showpath(
entity start)
20 te_lightning1(e,e.origin,e.path_next.origin);
25 void path_dbg_think(
entity this)
27 pathlib_showpath(
this);
31 void __showpath2_think(
entity this)
48 void pathlib_showpath2(
entity path)
51 path.nextthink =
time;
54 void pathlib_showsquare2(
entity node ,
vector ncolor,
float align)
63 node.colormod = ncolor;
67 traceline(node.origin +
'0 0 32', node.origin -
'0 0 128',
MOVE_WORLDONLY, node);
73 void pathlib_showsquare(
vector where,
float goodsquare,
float _lifetime)
78 _lifetime =
time + 30;
85 s.nextthink = _lifetime;
89 setmodel(s, goodsquare ? MDL_SQUARE_GOOD : MDL_SQUARE_BAD);
98 void pathlib_showedge(
vector where,
float _lifetime,
float rot)
103 _lifetime =
time + 30;
110 e.nextthink = _lifetime;
#define setmodel(this, m)
#define MODEL(name, path)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector trace_plane_normal