Jump to content

Home

Surfaces in SP


Joshy

Recommended Posts

it doesn't work, many have tried. just multi

but you can play around for kiks

 

Yep, I've used my new skin in multiplayer, works great. Here's how it works essentially: For every .skin file you have, you also do a .surf file (ie, you have a model_default.skin, you need a model_default.surf). These .surf files are in the same directory as the rest of your skin. You don't edit npcs.cfg, you just use the chunk of code in the npcs.cfg that controls surfaces. Here's an example of the entirety of what your .surf file would contain:

 

surfOff "hips_chaps torso_computer head_goggles torso_comp hips_belt l_hand_watch"

surfOn "hips_augment_off"

 

That's all. Find the surfaces you want on and off in ModView, test them in there, then specify them in the .surf file. If the .surf file is properly written, you should see the modifications if you can see your skin in general.

 

You don't need the .wvs files in the skin itself for gameplay, those are simply used in ModView to save any settings you've made in ModView to the model (ie, turned off Jan's chaps, then write a .wvs file, so next time you view the jan model, you can go Read Script that file and it will load your view settings). When you pack your skin for distribution, don't include the .wvs.

Link to comment
Share on other sites

For the LAST TIME:

 

You can turn surfaces on OR off in SP for NPCs ONLY. Just edit the NPC files and put surfon/surfoff "head head_face" etc. For the player in SP you can turn things off and ONLY off if you set the texture to nodraw.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...