Important information: this site is currently scheduled to go offline indefinitely by end of the year.

-NFS:Shift 2 Unleashed-

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Veegie
advanced
Posts: 66
Joined: Sun Apr 04, 2010 7:54 pm
Has thanked: 5 times
Been thanked: 4 times

Re: -NFS:Shift 2 Unleashed-

Post by Veegie »

I ran the script (tried both the car and the track) within the MAXScript Listener, but with no luck.
It just remains completely blank as if the script was empty.
There's no sign of any initialization.

If I open the script in the editor itself, highlight everything, and hit enter, the Listener does show a bit of population.

Code: Select all

#Struct:theme(
  name:<data>; Public,
  offset:<data>; Public,
  size:<data>; Public)
#Struct:elmts(
  firstChild:<data>; Public,
  nextSibling:<data>; Public,
  numChildren:<data>; Public,
  firstAttr:<data>; Public,
  numAttrs:<data>; Public)
#Struct:attrs(
  type:<data>; Public,
  num_values:<data>; Public,
  val:<data>; Public,
  nextAttr:<data>; Public,
  id:<data>; Public)
#Struct:colls(
  unknown1:<data>; Public,
  unknown2:<data>; Public,
  unknown3:<data>; Public,
  id:<data>; Public)
#Struct:amatrix(
  position:<data>; Public,
  orientation:<data>; Public)
#()
#()
undefined
27482
readCarXML()
importPart()
readMaterials()
readAlignedString()
getFilesRecursive()
applyuvw()
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: -NFS:Shift 2 Unleashed-

Post by vagos21 »

for those new to installing/using maxscripts, this will be useful info:

http://www.scriptspot.com/3ds-max/tutor ... in-3ds-max

and here's a link to the tutorial i had for the TDU2 scripts, the first step contains installing/using a maxscript

viewtopic.php?f=10&t=5747&start=109

good luck!
Veegie
advanced
Posts: 66
Joined: Sun Apr 04, 2010 7:54 pm
Has thanked: 5 times
Been thanked: 4 times

Re: -NFS:Shift 2 Unleashed-

Post by Veegie »

Thanks for the clarification :)


Image

Code: Select all

"Importing car: C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9"
"Loading Materials and Textures..."
"Done!"
"Importing meshes..."
-- Error occurred in importPart(); filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\Shift2 car import.mcr; position: 3874; line: 129
--  Frame:
--   b6: undefined
--   amesh: undefined
--   position: [0,0,0]
--   numchars: undefined
--   UVWarr: #()
--   orientation: [0,0,0,1]
--   numVertProps: undefined
--   normarr: #()
--   varr: #()
--   hasnormals: false
--   f: undefined
--   b7: undefined
--   b8: undefined
--   b1: undefined
--   partName: undefined
--   b2: undefined
--   farr: #()
--   faceMatID: #()
--   b3: undefined
--   filename: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\Pagani_C9\PAGANI_C9_KIT04_BODY_LODA.meb"
--   b4: undefined
--   numverts: undefined
--   NumBones: undefined
--   b5: undefined
--   multiplier: undefined
--   bytesToJump: undefined
--   numPrims: undefined
--   called in readCarXML(); filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\Shift2 car import.mcr; position: 3080; line: 92
--  Frame:
--   texpath: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\Pagani_C9\PAGANI_C9_KIT04_BODY_LODA.meb"
--   num_matrices: 41
--   modelpath: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9"
--   name: "PAGANI_C9_KIT04_BODY_LODA"
--   f: <File:C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9\pagani_c9.vhf>
--   filepath: "vehicles\Pagani_C9\PAGANI_C9_KIT04_BODY_LODA.meb"
--   matrixIdx: 19
--   words: #("C:", "Users", "Nate", "Desktop", "shift2", "Huayra", "vehicles", "pagani_c9")
--   filename: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9\pagani_c9.vhf"
--   lastname: "pagani_c9"
--   called in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\Shift2 car import.mcr; position: 1789; line: 40
--  Frame:
--   modelpath: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9"
>> MAXScript MacroScript Error Exception: -- Unknown property: "count" in undefined <<
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: -NFS:Shift 2 Unleashed-

Post by vagos21 »

i'm trying to upload the fixed script that works, but i'm getting this error:

"Could not upload attachment to ./files/33067_ab3922fc3d3548d2c98f7d116cb0cad4."
a server problem i suppose?

i'll try again later!
vagos21
veteran
Posts: 128
Joined: Thu Feb 10, 2011 10:48 am

Re: -NFS:Shift 2 Unleashed-

Post by vagos21 »

Sorry i tried 3 times to upload it and i keep getting the same error, anyone having the same problem? is it a temporary server problem?
Veegie
advanced
Posts: 66
Joined: Sun Apr 04, 2010 7:54 pm
Has thanked: 5 times
Been thanked: 4 times

Re: -NFS:Shift 2 Unleashed-

Post by Veegie »

Maybe try rapidshare or megaupload as a temporary solution.
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: -NFS:Shift 2 Unleashed-

Post by TomWin »

I loaded Monza, with few problems, many polys are missing :(

Image

Uploaded with ImageShack.us
quadcoremax
n00b
Posts: 11
Joined: Sun Jan 30, 2011 1:33 pm

Re: -NFS:Shift 2 Unleashed-

Post by quadcoremax »

Thanks for your tool !

Still, I also have a 'count' issue like Veegie...
I might port Shift tracks to Racer (racer.nl)...
Testing it with XP SP3 + 3DS MAX 2009
kudan
ultra-n00b
Posts: 1
Joined: Fri Jun 11, 2010 6:47 pm
Has thanked: 1 time

Re: -NFS:Shift 2 Unleashed-

Post by kudan »

script in any occasion does nothing :\
i tried max 2009 32\64 and 2011

i tried to place it to the main ui but no luck does nothing
any ideas?
D1Racer
n00b
Posts: 16
Joined: Mon Jun 07, 2010 2:21 am
Has thanked: 1 time

Re: -NFS:Shift 2 Unleashed-

Post by D1Racer »

Great tool, Thanks :)

Works well for me, on Max 2011 x64 bit. Only issue is some parts appear doubled but with no mesh. Anyway no biggy at all.

One request though, could you make it import the meshes from the cockpit .bml too please :)
justspeeding
n00b
Posts: 12
Joined: Mon Nov 01, 2010 8:33 pm

Re: -NFS:Shift 2 Unleashed-

Post by justspeeding »

Veegie wrote:Thanks for the clarification :)


Image

Code: Select all

"Importing car: C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9"
"Loading Materials and Textures..."
"Done!"
"Importing meshes..."
-- Error occurred in importPart(); filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\Shift2 car import.mcr; position: 3874; line: 129
--  Frame:
--   b6: undefined
--   amesh: undefined
--   position: [0,0,0]
--   numchars: undefined
--   UVWarr: #()
--   orientation: [0,0,0,1]
--   numVertProps: undefined
--   normarr: #()
--   varr: #()
--   hasnormals: false
--   f: undefined
--   b7: undefined
--   b8: undefined
--   b1: undefined
--   partName: undefined
--   b2: undefined
--   farr: #()
--   faceMatID: #()
--   b3: undefined
--   filename: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\Pagani_C9\PAGANI_C9_KIT04_BODY_LODA.meb"
--   b4: undefined
--   numverts: undefined
--   NumBones: undefined
--   b5: undefined
--   multiplier: undefined
--   bytesToJump: undefined
--   numPrims: undefined
--   called in readCarXML(); filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\Shift2 car import.mcr; position: 3080; line: 92
--  Frame:
--   texpath: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\Pagani_C9\PAGANI_C9_KIT04_BODY_LODA.meb"
--   num_matrices: 41
--   modelpath: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9"
--   name: "PAGANI_C9_KIT04_BODY_LODA"
--   f: <File:C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9\pagani_c9.vhf>
--   filepath: "vehicles\Pagani_C9\PAGANI_C9_KIT04_BODY_LODA.meb"
--   matrixIdx: 19
--   words: #("C:", "Users", "Nate", "Desktop", "shift2", "Huayra", "vehicles", "pagani_c9")
--   filename: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9\pagani_c9.vhf"
--   lastname: "pagani_c9"
--   called in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2011\Scripts\Shift2 car import.mcr; position: 1789; line: 40
--  Frame:
--   modelpath: "C:\Users\Nate\Desktop\shift2\Huayra\vehicles\pagani_c9"
>> MAXScript MacroScript Error Exception: -- Unknown property: "count" in undefined <<
same for me max 2010 86x and I'm correctly install the script I did it more than ones but not working also the track is not working
I try to import zolder and pagani c9 (huyara)
looks great keep going and I look forword to import it in max
D1Racer
n00b
Posts: 16
Joined: Mon Jun 07, 2010 2:21 am
Has thanked: 1 time

Re: -NFS:Shift 2 Unleashed-

Post by D1Racer »

Follow the tutorial for installing a maxscript for TDU as posted above, make sure to hit ctrl E about 4 times, I was getting same errors until I done this, I hit Ctrl E 4 times and then it imported fine (Pagani C9).
SoniKalien
beginner
Posts: 27
Joined: Sun Mar 13, 2011 4:02 am
Has thanked: 14 times
Been thanked: 3 times

Re: -NFS:Shift 2 Unleashed-

Post by SoniKalien »

Script working fine here. Everyone you just gotta make sure you choose the right folder to import.
D1Racer wrote:Works well for me, on Max 2011 x64 bit. Only issue is some parts appear doubled but with no mesh. Anyway no biggy at all.
I suspect those empty meshes are deformers for damage etc.
justspeeding
n00b
Posts: 12
Joined: Mon Nov 01, 2010 8:33 pm

Re: -NFS:Shift 2 Unleashed-

Post by justspeeding »

he

I test the AC cobra and it works fine
Great tool but the pagani c9 is not working

here is a screen of the error
Image

I gonne try to do a other car to
let you know the progres
Simon
mega-veteran
mega-veteran
Posts: 180
Joined: Sun Sep 20, 2009 5:41 pm
Has thanked: 31 times
Been thanked: 20 times

Re: -NFS:Shift 2 Unleashed-

Post by Simon »

Are you able to write a 3DS Max Export Script? :)

(Max to Shift 2)
Post Reply