path_track and wtf?

st00pidity

2008-03-22 01:45:02

so, i wanted to put in something i havent seen before (since some of my original ideas have apparently started to appear in other maps). I thought of takign a cscanner, and attaching a camera too it and letting it go around the camera at its own free will... but theres apparently 0% npc support for the cscanner in dm, couldn't even get it to stay alive, the map would open and the thing would gib immediatly.


backup plan was attaching a dynamic model of it to a func_train.. something blah blah right, put my path_track things in there, got it going around the map with a camera attached to it, but it looks mad retarded... i know how to fix it.. shit i've done the fixing, i adjusted the angles on the path_tracks so it'd look like it was moving more realisticly, and not just faceing the direction it moves, i even selected the correct orientation and everything... im pretty stumped as to why its not working.

does anyone have any expierence with these? i've read over and over on the source sdk wiki... and im not seeing what i did wrong.

st00pidity

2008-03-22 03:40:31

idk how... but i fixed it... so thank you me

st00pidity

2008-03-22 03:42:54

what i think happend is, i had my func_tracktrain's orientation at "near path_tracks" or "1" which seemed logical, and since i had read that any other seemed jerky, and i randomly switched it to "2" or "linear blend" which now works, but is indeed a little jerky.. thats fine tho.

reaper47

2008-03-26 16:41:26

Just a quick word of warning: func_tracktrains, as well as pretty everything that moves, tend to stutter and break in Tick 100 servers.

st00pidity

2008-03-26 16:56:08

.......orly?

st00pidity

2008-03-26 17:00:05

Grape wrote:glad you got it working.

do you know how to get other NPCs to work in DM? I've only seen instructions on how to add them through console after the map's already spawned, but not how to set up the ai relationships in hammer... though I must admit I haven't put too much time into figuring it out for myself. specifically I want to spawn headcrabs that hate either all players or a specific player.. :?:
i havent every really bothered, as all of my maps have been pretty traditional deathmatch.. but i did add gman to one an early version of deathfan, that i wanted to stand behind a window and adjust his tie occasionally... i got him to work but the animation was really glitchy.

infact i've never even bothered playing role playing, do they have npcs in it? i always assumed they did, but with such poor support i wonder how efficiently.

[EYE] Valar

2008-03-26 18:06:07

reaper47 wrote:Just a quick word of warning: func_tracktrains, as well as pretty everything that moves, tend to stutter and break in Tick 100 servers.
not only. it also does that on 66 TR.

about NPCs....there is a way to do it and i can show u how. however...some NPCs have been removed from DM code altogether and will indeed crash the server OnMapSpawn.
there is also a way to make NPCs (or any other point based and brush based entity) immune.

hit me up on steam and ill show u how.
in any case...this is one of the prefabs-tuts i will add to the SDK section very soon.