NPC Editing - A Comprehensive Guide

Hello. Now a question. Is it possible to add in different hair or facial hair to the npc's xtbl file? Like adding in a beard or stubble instead of just the mustache the current npc has? Or is it like the clothing, where you can't add more to them.
Hair is basically just a clothing item. Whatever's in an NPC's .cmesh is what you're stuck with.
Hmm I see. Gotcha. Such a shame, lol. Not even editing the gpeg and cpeg?
Story centric characters (eg: npc_Gat) tend to have their own unique skin textures which you could draw facial hair onto. Most NPCs share the Playa's skin texture though.
What about skin colors? Can you change skin colors as well for an npc?
Skin color names can be found in "skin_color_pool.xtbl". I'm unsure if they will all work though. You should at the very least be able to swap skin colors between an NPC's different Variants.
 
Hair is basically just a clothing item. Whatever's in an NPC's .cmesh is what you're stuck with.

Story centric characters (eg: npc_Gat) tend to have their own unique skin textures which you could draw facial hair onto. Most NPCs share the Playa's skin texture though.

Skin color names can be found in "skin_color_pool.xtbl". I'm unsure if they will all work though. You should at the very least be able to swap skin colors between an NPC's different Variants.
Right I see. I see the skin color ones, but how do I know which one is which skin color in skin color pool xtbl? Just trail and error or?
 
Well I looked inside skin_color_pool and it doesn't say which skin color is which race.
well.. they arent named with skin colors like Caucasian or Asian. They are named like skin_1 or something related with.

Not sure if this will help, but if you open the game.. and go to to the surgery and open the interface to switch skin color, you can see the skin colors. on skin_color_pool should be in the same order as in the game. So if you want SR1 Playa's skin for example, your option should be skin A1
 
I know this isn't tech NPC editing but it's vehicle editing. I was wondering, where are the files for the emergency light system? Was wondering if it is possible to change some of it around, like make the headlights flash at the same time instead of alternate? For each vehicle, ambulance, firetruck and police?
 
I know this isn't tech NPC editing but it's vehicle editing. I was wondering, where are the files for the emergency light system? Was wondering if it is possible to change some of it around, like make the headlights flash at the same time instead of alternate? For each vehicle, ambulance, firetruck and police?
I don't think it's possible in that level of detail. But you can probably assign a siren to a Vehicle, or remove it.

I haven't actually tried this, but the Siren sound can be changed in the "_veh.xtbl" file (eg: car_4dr_police01_veh.xtbl), and (I assume) the lights can be changed by changing the value of <Siren>1</Siren> in a Vehicle's ".xtbl" file (eg: car_4dr_police01.xtbl).
 
I don't think it's possible in that level of detail. But you can probably assign a siren to a Vehicle, or remove it.

I haven't actually tried this, but the Siren sound can be changed in the "_veh.xtbl" file (eg: car_4dr_police01_veh.xtbl), and (I assume) the lights can be changed by changing the value of <Siren>1</Siren> in a Vehicle's ".xtbl" file (eg: car_4dr_police01.xtbl).
Well I looked at the police, ambulance and fbi vehicle xtbls and they all say Siren<1>Siren. So it isn't that for lights. It must he somewhere else. I hope it isn't in the rigging. Is there also a way to have NPCs keep the cars on after getting out of the cars instead of them turning off every time?
 
Last edited:
Back
Top