Page 2 of 3

Re: Casltevania Lords of Shadow 2 Demo

Posted: Mon Mar 10, 2014 4:00 pm
by unlimited32
as enyone found a way to import level models from los2 in the correct spots? for example where things should be placed and/or oriented? And one other thing, how to know exactly witch level models to import to complete a specific level?

Re: Casltevania Lords of Shadow 2 Demo

Posted: Sat Mar 15, 2014 10:21 am
by zaramot
Hi guys! Here's maxscripts to import Casltevania Lords of Shadow 2 models with bones (3ds max 2009-2011).
Don't try it on stages, script is for models from "chars" folder. Report errors here, PS3/Xbox-360 and PC version supported

ImageImage

Re: Casltevania Lords of Shadow 2 Demo

Posted: Sat Mar 15, 2014 7:34 pm
by matreco
Using it with 3DS max 2011 but getting na error on:

str += bit.intAsChar (ReadByte bstream #unsigned)

This on the chars folder as advised...

Re: Casltevania Lords of Shadow 2 Demo

Posted: Sat Mar 15, 2014 7:42 pm
by zaramot
PC, Xbox or PS3? And tell me which model gives an error.

Re: Casltevania Lords of Shadow 2 Demo

Posted: Sun Mar 16, 2014 2:37 pm
by kalrua
[quote="zaramot"]PC, Xbox or PS3? And tell me which model gives an error.[/quote]


PC
Model: Dracula
error:" str += bit.intAsChar (ReadByte bstream #unsigned)"


3dsmax2012

Re: Casltevania Lords of Shadow 2 Demo

Posted: Sun Mar 16, 2014 2:41 pm
by zaramot
Send me PC models which doesn't work without textures here or via PM, I don't have PC version to test. Thanks

Edit:
Good news, I tried Dracula PC model, it's an issue with skeleton (not with model )- it's a bit different than consoles have (some extra data), I used skeleton from console version and model imported very well. So, I will fix this soon, keep report problems especially with PC version, since I didn't have much model from there.

Edit2:
Fixed issue with PC Dracula model, but I would like kindly ask for more PC model+skeleton samples to test script (without textures). Thanks

Re: Casltevania Lords of Shadow 2 Demo

Posted: Mon Mar 17, 2014 11:00 am
by zaramot
Here's fixed maxscript for PC version of the game. Thanks to kalrua for providing samples, I tried them all and they imported fine.
Also I can't try script with 3ds max 2012, I have only 2009-2011 version, so please report will it work or not.

Edit: Fixed double-scaled UV's

ImageImage

Re: Casltevania Lords of Shadow 2 Demo

Posted: Mon Mar 17, 2014 4:07 pm
by kalrua

Re: Casltevania Lords of Shadow 2 Demo

Posted: Mon Mar 17, 2014 10:36 pm
by fil1969
For me this script doesn't work.. i can only import Dracula (wrong weights) and Dracula RAT that's all please fix your script :D

the error i have with 99% of the models:

Image

Re: Casltevania Lords of Shadow 2 Demo

Posted: Tue Mar 18, 2014 8:26 am
by zaramot
Okay, thanks for the bug report. What about you Kalrua? You reported about Uv's error for Marie model, so I guess you managed to import her. Could you confirm script isn't working for 99% of models and about wrong weights?

Re: Casltevania Lords of Shadow 2 Demo

Posted: Tue Mar 18, 2014 11:24 am
by fil1969
zaramot wrote:Okay, thanks for the bug report. What about you Kalrua? You reported about Uv's error for Marie model, so I guess you managed to import her. Could you confirm script isn't working for 99% of models and about wrong weights?

well.. i think i used the wrong bms script to extract the packages.. sorry :D now all the model are imported correctly and with all correct weights.. just a problem (that i can easy fix myself) the character eyes and teeth are imported away from the mesh.. The eyes on the 3dmax grid and the teeth a lot above the mesh if you can fix this little issue the script is perfect.. anyway thank you very much for this.

Re: Casltevania Lords of Shadow 2 Demo

Posted: Tue Mar 18, 2014 2:36 pm
by kalrua
[quote="zaramot"]Okay, thanks for the bug report. What about you Kalrua? You reported about Uv's error for Marie model, so I guess you managed to import her. Could you confirm script isn't working for 99% of models and about wrong weights?[/quote]

Imported with all correct weights, for me.

-Smooth group/cutting Error:
http://tof.canardpc.com/view/151b8e6a-a ... 2b2c56.jpg

Re: Casltevania Lords of Shadow 2 Demo

Posted: Thu Apr 03, 2014 2:12 pm
by kalrua
Hi!

fix for Uv PC
Change
[code]append UV_array([value,value,0]*2)[/code]

To

[code]append UV_array([value,(value + 1),0]*1)[/code]

For levels, I do not know.

Re: Casltevania Lords of Shadow 2 Demo

Posted: Mon Apr 07, 2014 7:31 pm
by unlimited32
Anyone knows if this orange map is a tangent space normal map or if it really is something else?
Maybe object space normal or maybe a "flipped" tangent space normal and so because of that it is orange?
This is from los2 dlc (content 4 .packed).

Re: Casltevania Lords of Shadow 2 Demo

Posted: Tue Apr 08, 2014 7:49 pm
by zardalu
Yes, it's a tangent space normal map. If you want it to resemble a "normal" normal map, then take the alpha channel from that image and move it into the red channel. The green channel can stay where it is. I use GIMP 2 for this, (colors -> decompose/compose). Usually you can leave the blue channel plain white.