
Poll & Discussion: We wish the site to continue (Y/N)
Dead Rising 4 model import maxscript (.mdl .tex)
- zaramot
- double-veteran

- Posts: 783
- Joined: Wed Jan 05, 2011 12:41 pm
- Has thanked: 39 times
- Been thanked: 853 times
Dead Rising 4 model import maxscript (.mdl .tex)
Hi guys! Here's maxscript for Dead Rising 4 (PC 2017) 3ds max 2009-2014. Script is for rigged (skinned) meshes, haven't tried static ones because wasn't interested, but maybe will make/update script for them too. Script is quite slow, because of amount of bones and meshes, LODs. Prepare for some wating xD


Last edited by zaramot on Sat Nov 11, 2017 6:00 pm, edited 1 time in total.
Making model-import scripts, PM
-
DJLarryt
- n00b
- Posts: 11
- Joined: Sun Oct 19, 2014 5:15 am
- Location: Ontario, Canada
- Has thanked: 5 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
WOW, I was beginning to think modders had abandoned this game, there's so much room for cool adjustments if somebody could figure out how to apply mods.
Script crashes when trying to extract Frank, it only works on the in-game npc models. Any plans to continue working on this as a model export/import?
---fseek f (bigInfo[(findItem names "SharedZPassSecondCommandBuffer")][3]) #seek_set
"--runtime error: array index must be positive number, got: 0"
This was on 3DSMax 2016. My guess is that Frank has a different skeleton since he's the 1st-person character (was same setup in DR3).
Script crashes when trying to extract Frank, it only works on the in-game npc models. Any plans to continue working on this as a model export/import?
---fseek f (bigInfo[(findItem names "SharedZPassSecondCommandBuffer")][3]) #seek_set
"--runtime error: array index must be positive number, got: 0"
This was on 3DSMax 2016. My guess is that Frank has a different skeleton since he's the 1st-person character (was same setup in DR3).
Last edited by DJLarryt on Sat Nov 11, 2017 5:22 pm, edited 1 time in total.
- zaramot
- double-veteran

- Posts: 783
- Joined: Wed Jan 05, 2011 12:41 pm
- Has thanked: 39 times
- Been thanked: 853 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Import yes, export no
What is the name of the file which is crashing? I have an update for this script already. But might check this problematic model with it first, before publishing it
Making model-import scripts, PM
-
DJLarryt
- n00b
- Posts: 11
- Joined: Sun Oct 19, 2014 5:15 am
- Location: Ontario, Canada
- Has thanked: 5 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
I added a few more details above, the file I tried importing was Frank's default head: head_frank_m0.mdl
-
DJLarryt
- n00b
- Posts: 11
- Joined: Sun Oct 19, 2014 5:15 am
- Location: Ontario, Canada
- Has thanked: 5 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Check pm. I've never been able to figure out DR3 or DR4 based on their principle of model rendering, but I pwned DR2:OTR inside and out and CC uses many of the same techniques in it, with some adjustments. Would be great to be able to mod DR4 as it was a total half-assed rushed product and there's lots of room for 'fixes'.
-
DJLarryt
- n00b
- Posts: 11
- Joined: Sun Oct 19, 2014 5:15 am
- Location: Ontario, Canada
- Has thanked: 5 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Great! let me know when you release the new script.
If I can help figure something out in any way just drop me a line. As I said, ultimate goal would be to re-inject models back into this game and I know it's possible based on how the previous games worked (and RE6 uses the same engine and it had already been modded). The only hurdles would be encryption and bucket variables.
If I can help figure something out in any way just drop me a line. As I said, ultimate goal would be to re-inject models back into this game and I know it's possible based on how the previous games worked (and RE6 uses the same engine and it had already been modded). The only hurdles would be encryption and bucket variables.
- zaramot
- double-veteran

- Posts: 783
- Joined: Wed Jan 05, 2011 12:41 pm
- Has thanked: 39 times
- Been thanked: 853 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Of course export thing is possible, not sure who's gonna take this task. But definately it should be a DR fan of some sort 
Making model-import scripts, PM
- zaramot
- double-veteran

- Posts: 783
- Joined: Wed Jan 05, 2011 12:41 pm
- Has thanked: 39 times
- Been thanked: 853 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Sure, here's the script.
EDIT: Try this one. Should be stable with your max
EDIT: Update
EDIT: Try this one. Should be stable with your max
EDIT: Update
You do not have the required permissions to view the files attached to this post.
Last edited by zaramot on Mon Nov 20, 2017 2:36 pm, edited 2 times in total.
Making model-import scripts, PM
-
DJLarryt
- n00b
- Posts: 11
- Joined: Sun Oct 19, 2014 5:15 am
- Location: Ontario, Canada
- Has thanked: 5 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Thanks zaramot!
Hmm, I'm still getting errors when importing. I'm using 3dsMax 2016 and trying to open head_frank_m0.mdl.
The error is --Unknown property: "count" in undefined
If I try to run the script again I see this error:
-- Unable to convert: [0.843196,-0.0152287,0] to type: String
Essentially it locks Max up and I re-open it. But anything else I try importing gives me the "count" undefined error again.
Hmm, I'm still getting errors when importing. I'm using 3dsMax 2016 and trying to open head_frank_m0.mdl.
The error is --Unknown property: "count" in undefined
If I try to run the script again I see this error:
-- Unable to convert: [0.843196,-0.0152287,0] to type: String
Essentially it locks Max up and I re-open it. But anything else I try importing gives me the "count" undefined error again.
-
Crazy31139
- veteran
- Posts: 120
- Joined: Fri Dec 02, 2016 5:53 pm
- Has thanked: 312 times
- Been thanked: 56 times
- Contact:
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Script work perfect
Phanx
How convert .Tex to any format
Phanx
How convert .Tex to any format
- zaramot
- double-veteran

- Posts: 783
- Joined: Wed Jan 05, 2011 12:41 pm
- Has thanked: 39 times
- Been thanked: 853 times
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Yeah, here's tool for textures
You do not have the required permissions to view the files attached to this post.
Making model-import scripts, PM
-
Crazy31139
- veteran
- Posts: 120
- Joined: Fri Dec 02, 2016 5:53 pm
- Has thanked: 312 times
- Been thanked: 56 times
- Contact:
Re: Dead Rising 4 model import maxscript (.mdl .tex)
Zaramot phanx
your script .tex work perfect
Dead_Rising 4 UPD sometimes when importing produces an error then you choose Scripting-Run Script
i choose Scripting-Open Script in window script choose Tools-Evaulate All
head_frank_m0.mdl imported without problems
Sorry for bad English i am Russian use Google Translate
Zaramot thanks again.
your script .tex work perfect
Dead_Rising 4 UPD sometimes when importing produces an error then you choose Scripting-Run Script
i choose Scripting-Open Script in window script choose Tools-Evaulate All
head_frank_m0.mdl imported without problems
Sorry for bad English i am Russian use Google Translate
Zaramot thanks again.

