NPC questions

Avatar
Katloverr
23 Posts
Posted Mar 01, 2014
There's probably a tutorial for this someplace, and if there is could someone please direct me to it... I'm looking to (possibly) create a new skin for (or use an existing one of) a personality core, attach it to rails, make it move and speak, etc.
Advertisement
Registered users don't see ads! Register now!
Avatar
Katloverr
23 Posts
Posted Mar 13, 2014
Replied 11 days later
...How come no one replied?? D: I'm having no luck figuring it out on my own...
Avatar
TeamSpen210
608 Posts
Posted Mar 13, 2014
Replied 55 minutes later
It's sort of complex. This thread would be helpful for making a new skin. You'll need to have image editing software to edit the model skin.

For moving the core around, you'll need to parent the core model to a func_tank so it will look at the player, then parent that to a func_tracktrain.
Build it facing right (top 2d view), and send the SetTargetEntity input to the func_tank with an argument of "!player" to make the core look at the player (probably with a logic_auto, you can send other target names to make the core look at other important objects.)

There's special sounds for the management rail. For the func_tracktrain, you'll want to setup some path_tracks, set the First Stop Target of the tracktrain to the starting position, and then you should be able to fire the MoveToPathNode input to make the core move to the path_track specified as a parameter.

Advertisement
Registered users don't see ads! Register now!
Avatar
Katloverr
23 Posts
Posted Mar 14, 2014
Replied 1 day later

TeamSpen210 wrote:
It's sort of complex. This thread would be helpful for making a new skin. You'll need to have image editing software to edit the model skin.

Thank you very much! How would I get at the file to edit? would I simply extract the file w/ GFCScape from dir_01.vpk or someplace similar, edit it, then recompile it into a .bsp?