FOnline Development > General Discussion
Switch default npc to 3D npc model
Ghosthack:
--- Quote from: doon on July 12, 2014, 03:05:12 pm ---Hey all, im curently working on a solo fallout with fonline engine and i want change npc to 3D model but i haven't found any guide on :/ (sorry for my poor english) Thanks
--- End quote ---
Is this with TLA or 2238 SDK? Anyhow, you need to modify the critter proto files located in proto/critters/
Let's say you want to change all brahmins to use 3D model, you need to open the protos and replace the line:
--- Code: ---ST_BASE_CRTYPE=15
--- End code ---
with
--- Code: ---ST_BASE_CRTYPE=306
--- End code ---
These so called basetypes are defined in data/CritterTypes.cfg
--- Code: ---@ 15 mabrom 15 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000 0 8 0 0 0 -
@ 306 VbCow - 0 1 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 600 200 GenericM
--- End code ---
Of course 3D needs to be enabled too with this like
--- Code: ---__Enable3dRendering = true;
--- End code ---
in scripts\config.fos
Hope that helps a bit.
doon:
Thanks you Ghost, it work ! :)
Navigation
[0] Message Index
[*] Previous page
Go to full version