path corner still used?


(damocles) #1

In my map I just added a path corner entity, gave it the targetname radar_path and then used a goto marker in the script file. The map now bopmbs with the error:

g_scripting error: can’t find entity with “targetname = radar_path”

So I checked, double checked, triple checked, quadrouple checked, kicked it, checked again, kicked it again. Recompiled several times. Kicked it some more. Screamed a little.

You get the picture. The names are fine, the entity is in a normal place. The script is fine (checked and kicked that too). So all I can assume ios either the entity is for some reason not being compiled into the map or the path corner entities are no longer used. (there is a path corner 2 now but that says it doesn’t count towards then entity list so I’m not entirely sure how it would work)


(sock) #2

The “path_corner” entities are tracked by the server/client and therefore are included in the server entity limit of 1024. (This list is generated at run time of the map and includes alot of stuff) So basically “path_corner” entities are a limited resource. They are still used in the ET maps but for really simply things like door switches etc. They should work fine.

The new and improved “path_corner2” entities are not tracked by the server and have a limit of 512 per map. Because “path_corner” entities are always static in the map (they cannot be moved) it seemed pointless that they where being tracked by the server. These entities where used on all the movement systems in ET until the development of the spline corner system. All vehicles in ET used the spline path system because of its extremely powerful movement system and the fact it is very smooth.

Sock
:moo:


(digibob) #3

If you were doing that without a wait, the entity likely hasn’t spawned yet.


(damocles) #4

/me slaps himself on wrist

D’OH! What a rookie mistake. I’ve written enough scripts to know it was the lack of a wait, but it didn’t stop me doing it. :bash:

Well…I’m an idiot.