Author Topic: Switch default npc to 3D npc model  (Read 5484 times)

Switch default npc to 3D npc model
« 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



Re: Switch default npc to 3D npc model
« Reply #1 on: July 13, 2014, 08:25:11 pm »
Ask hexer because he is making game which will use 3d models.

Re: Switch default npc to 3D npc model
« Reply #2 on: July 17, 2014, 01:21:48 pm »
second question:

How can i remove all location on my new worldmap and quest with tla sdk ?
with sdk 2238 same step than sdk tla i try to add wm and server crash or wm dont show up :/
Thanks

Doon
« Last Edit: July 17, 2014, 01:26:04 pm by doonmecha »

Re: Switch default npc to 3D npc model
« Reply #3 on: October 23, 2014, 11:17:15 am »
I also do not really do very hard.

Offline Ghosthack

  • Rotator
  • Bytecruncher
Re: Switch default npc to 3D npc model
« Reply #4 on: November 13, 2014, 06:38:12 pm »
second question:

How can i remove all location on my new worldmap and quest with tla sdk ?
with sdk 2238 same step than sdk tla i try to add wm and server crash or wm dont show up :/
Thanks

Doon

Not sure if this is what you're asking but, you can open maps\GenerateWorld.cfg and remove all the "@" prefixes for the locations and no location will be created when the world is generated, which happens first time you start the server on a new save.

Offline Ghosthack

  • Rotator
  • Bytecruncher
Re: Switch default npc to 3D npc model
« Reply #5 on: November 13, 2014, 06:54:31 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

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: [Select]
ST_BASE_CRTYPE=15
with
Code: [Select]
ST_BASE_CRTYPE=306

These so called basetypes are defined in data/CritterTypes.cfg
Code: [Select]
@   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

Of course 3D needs to be enabled too with this like
Code: [Select]
__Enable3dRendering     = true;
in scripts\config.fos

Hope that helps a bit.

Re: Switch default npc to 3D npc model
« Reply #6 on: November 14, 2014, 04:50:53 pm »
Thanks you Ghost, it work ! :)