[Tutorial]Converting SoC models to CoC

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

[Tutorial]Converting SoC models to CoC

Postby olivius74 » 26 Nov 2016, 18:25

Hello
I write a little tutorial for those who want use some great SoC or CS models in CoC.

You need :

1 MilkShape 3D : http://www.milkshape3d.com/
with these last specific Russian Plugins : https://yadi.sk/d/q04vZyXIgRA9U

2 CoC SDK : http://www.moddb.com/mods/call-of-chernobyl/downloads/sdk-files-for-coc-full-editors-folder

So,first,we need to find the ogf model you want to convert.
For this tutorial ,I choose an awesome friend companion in mod Fallen Star : the Greek

Image

http://imgur.com/a/iqwlp

It's a little the "Heroe" of the 4 Zaurus mods,and it will be the most important person in future mod "Last Stalker"

https://www.youtube.com/watch?v=wMe71qhOelQ

That man is awesome.
He look like the French actor "Jean Reno",in movie "Léon" :)

Image

1 Conversion

We need to convert the model.ogf in model.object with the AXRToolSet Alundiao.
Or manually with the converter.exe in bin CoC,if you had the AXRToolSet installed.
You will have (once conversion done),a model.object,a model.bones and a model.skls ,but not always for skls.
Here for example the Greek have not his own motion.(Not important,the required is the model.object for the tutorial).

Image
Image

2 Textures files for the model

Now,we need to find all necessaries files for this model:I use OGFViewer.
The render is not very good but it's only necessary to find the name and the textures path of the model.

Image

Then I look if all is correct in SDK 0.4 (SoC):

Image

You can see on the screen I forgot a texture folder.

Image

Now is better.


3 Work with MilkShape 3D

Now it's time to use MilkShape.We need to import our model :

Clic on Tools -> Converter -> [/b] Image

Once the model is loaded ,we only need to export it in CoP format-> Image

Clic on Export -> Converter Stalker Cop Object.

And it's important to write the name enterely (here for example grec.ogf)in the little window,if not the model is not saved.

4 Work under Actor Editor CoC

First need to put the model files in correct path.
The model.object under rawdata\object and the textures files under gamedata\textures \act.
Need to install the script cop-cs.bones under Import folder.

https://www.dropbox.com/s/3qvo7pd1v1rxr6z/cop-cs.bones?dl=0

We open the new file ogf created.If all is good,no log or all is green in log.
In right part of Editor we need to select Object.
Need to work in four part Object,Surfaces,Motions,Bones

Object:
1 Bottom right need to double clic on the three point at user_data
2 A window appear and need to write #include "models\capture\stalker_neutral_1.ltx" for example to assign an existant model.

Surfaces :nothing to do

Motions :

Needed to assign correct animation to the model
- stalker_animation
- stalker_scenario_animation
- stalker_scripts_animation
- stalker_smart_cover_animation

Image

Bones :

Click Load and choose the import file cop-cs.bones and OK .

Image

If everything is well configured, you will have the confirmation :

Image

We can be happy... the big is done!

We can export the model in a format model.ogf :

Image


And finally now ,time to enjoy in game!
We have a new visual file avalaible under CoC,with correct number bones.
So there will be no deformed corpse when the PNJ die and all animations will be corrected.

Image

Image

Image


Sorry if my English is not correct,tell me so that I can correct...I can't use spoilers :oops:

Here all the screens to can zoom to see the details :http://imgur.com/a/rpmVx
Last edited by olivius74 on 01 Nov 2017, 03:56, edited 1 time in total.

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1368
Joined: 26 May 2012, 22:26

Re: [Tutorial]Converting SoC models to CoC

Postby Alundaio » 17 Mar 2017, 08:54

I have problems. Why does every mesh I load look like this: http://imgur.com/a/38FGI
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 17 Mar 2017, 13:22

Hello

Please,can you send me this model,to see if i have the same visual as you in my MS3D ?

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1368
Joined: 26 May 2012, 22:26

Re: [Tutorial]Converting SoC models to CoC

Postby Alundaio » 17 Mar 2017, 13:42

It's everything I open that is in CoC stalker_neutral_1 for example
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 17 Mar 2017, 14:34

Same for mine :
http://imgur.com/a/NIwFX
I remember,Darius said about...I search

User avatar
PYP
Scavenger
Posts: 3
Joined: 25 Aug 2015, 21:27

Re: [Tutorial]Converting SoC models to CoC

Postby PYP » 28 Mar 2017, 23:25

You probably already figured it out by now, but It looks like that because you need to go into your milkshape preferences and change joint size to a smaller value, i like 0.01. see pic https://puu.sh/v1STq/bb4e64180f.png

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1368
Joined: 26 May 2012, 22:26

Re: [Tutorial]Converting SoC models to CoC

Postby Alundaio » 29 Mar 2017, 00:15

Thanks :cat:
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 29 Mar 2017, 12:25

Thank you :)

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 12 Nov 2017, 11:21

Mes deux nouveaux personnages "uniques" :D

Ma nouvelle médecin :je la vois très bien dans notre appartement à Pripyat ;)

Image


La prochaine,experte en grenades et armes lourdes:

Image

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 19 Nov 2017, 10:37

I work slowly, a few hours here and there ... But it's a great fun, and I do not see the time: D
I love to much these femine models :D
All functional pluggins:

Image

But always little problem :

Image


Finally ...
Blue eyes Isabelle has
Isabelle has blue eyes ...
But it will be Anya here: some screens of the "subject n ° 9":

Image

Image

Image

https://imgur.com/a/dafVp


So I remembered an old post from Master Bangalore :

I have no such export problems with 3DS Max 8, this version has the most stable plugins. Although there can be problems with very big objects,because it's only 32 bit program. I would try Max 9 x64, but i can't find this version anymore...

The russian modders recommend Maya for Stalker 3d editing. I tried Maya 8.5 and Maya 2008 x64, both works perfectly, exports perfectly, and it has far the most stable plugins.
It's no wonder, because the maya plugins were developed from the official GSC plugins, which you can find in the x-ray soc sdk.


So let's go, I'll try to configure that too :

Image

And who knows, maybe that will solve the last problem I have left.
The hunt for pluggins is still open, what a pain itis , strongly that I have everything ok.

And if by a lucky chance you go through El_chupacabra, I made a little archive for you ...
With a little explanation ...
And I'm sure you in a few clicks you will have solved the trick: D

As I would have liked to learn all this younger ...
But at the time of my studies we were under DOS: lol :: D

gkirmathal
Scavenger
Posts: 7
Joined: 19 Oct 2017, 12:54

Re: [Tutorial]Converting SoC models to CoC

Postby gkirmathal » 23 Nov 2017, 06:58

Hey I'm looking for some help. I've been trying to import some models and combining/changing parts on stock models.
Having little actual experience with 3d modelling (a bit with Blender), I have been using (learning to use) Milkshape 3D to do this.

For example, adding the stock backpack model to a player & NPC armor model, also tested adding SAM61's 1PN94 nv scope to the Abakan.
Both do "work", but after compiling their in-game models are not smooth. All recompiled models, in-game, become 'flat shaded'.

Checked them in the AXRTools model viewer/X-ray SDK/Milkshape and there they seem okay.
Tried most of the X-ray v1.6 SDK compiler options and the individual models shader settings thus far. Non seem to have an in-game effect.

I cannot find the cause. I think I'm might be using the wrong software combination and need to be looking into Maya or an older SDK version?

If any one has tips or know what I am doing wrong help is much appreciated!

Regards,
Gkirmathal

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 24 Nov 2017, 15:13

Hello

Sorry for my poor english,but 'flat shaded' is bad shadowed ("ombré")?
Perhaps,it's necessary to get correct shadows under different lighting?
Can you put a screen of the problem?

User avatar
Balathruin
Scavenger
Posts: 35
Joined: 18 May 2017, 13:36

Re: [Tutorial]Converting SoC models to CoC

Postby Balathruin » 24 Nov 2017, 16:05

olivius74 wrote:Hello

Sorry for my poor english,but 'flat shaded' is bad shadowed ("ombré")?
Perhaps,it's necessary to get correct shadows under different lighting?
Can you put a screen of the problem?


Just a random image from Google.

gkirmathal
Scavenger
Posts: 7
Joined: 19 Oct 2017, 12:54

Re: [Tutorial]Converting SoC models to CoC

Postby gkirmathal » 24 Nov 2017, 16:49

olivius74 wrote:Hello

Sorry for my poor english,but 'flat shaded' is bad shadowed ("ombré")?
Perhaps,it's necessary to get correct shadows under different lighting?
Can you put a screen of the problem?


That's no problem, my English is not perfect either ;) The google image Balathruin's posted is the exact effect, but very extreme.
So instead of a smooth model, like a smooth round helmet or round gun barrel, my recompiled models look like that only textured. It looks ugly in my opinion.

Made a few in game screenshots: https://imgur.com/a/01Z1P
Look closely at the CS armor model, helmet shows it best. You can also see it on the Vintorez it's barrel.


Ps. I added the backpack to the SC medium armor model as a test for an idea for a mod I have and used the VSS to learn Blender/Milkshape editing.

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 25 Nov 2017, 02:26

Hello
Ah thank you both for screens and precisions.
Yes I understand now and I have exactly the same for some models and I don't know how to correct that.

Some models appear smooth under Soc 1.006,but when I convert under CoC,I have the same line on arms or helmet.
I don't think how we can improve the process conversion,so after perhaps using better texture materials to smooth the default...
I will try to use Maya now to see if I look some improvment,many great moddders said it was the best for models.

gkirmathal
Scavenger
Posts: 7
Joined: 19 Oct 2017, 12:54

Re: [Tutorial]Converting SoC models to CoC

Postby gkirmathal » 27 Nov 2017, 11:21

olivius74 wrote:Hello
...snip...
I will try to use Maya now to see if I look some improvment,many great moddders said it was the best for models.


Yeah most tutorials I found were for Maya and maybe that is for a reason ;)
If you do find any solution with Maya, please let me know!

I'll see if I can find something with Blender and the X-ray import plugin I have installed. Though the plugin has problem with exporting to .ogf, maybe I did not configure it good.

User avatar
olivius74
Loner
Posts: 467
Joined: 12 Apr 2014, 17:09

Re: [Tutorial]Converting SoC models to CoC

Postby olivius74 » 27 Nov 2017, 13:12

Ok.
Also others great modders said use ClearSky Actor Editor...


Return to “Modding Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest