![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
12-19-24, 02:10 AM
|
#1 |
|
Gunner
![]() Join Date: Aug 2014
Location: Wilhelmshaven
Posts: 100
Downloads: 419
Uploads: 0
|
Hi folks,
I am trying to import a fixed OBJ-file into my .dat and I keep getting this weird error message: startIndex cannot be less than zero: >> System.ArgumentOutOfRangeException: StartIndex darf nicht kleiner als Null sein. Parametername: startIndex bei System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) bei System.String.Substring(Int32 startIndex) bei e3.a(String A_0, IList`1& A_1) bei c.w() bei gv.c(Object A_0, LinkLabelLinkClickedEventArgs A_1) bei System.Windows.Forms.LinkLabel.OnLinkClicked(LinkL abelLinkClickedEventArgs e) bei System.Windows.Forms.LinkLabel.OnMouseUp(MouseEven tArgs e) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.Label.WndProc(Message& m) bei System.Windows.Forms.LinkLabel.WndProc(Message& msg) bei System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) << I tried to alter every possible export setting from Blender, but it keeps happening :/ |
|
|
12-19-24, 09:22 AM
|
#2 | |
|
Silent Hunter
![]() |
Quote:
Also, how many polygons is the model? Silent 3ditor will usually give error messages when you try to import items of more than 35,000 - 40,000 polygons. For that reason, I usually separate the hull and superstructure of my ships as different objects. |
|
|
|
12-19-24, 12:12 PM
|
#3 |
|
GLOBAL MODDING TERRORIST
|
Perhaps provide the obj file/files so We can check them.
You might have different counts in V between the main obj and AO obj. S3D don't like that! |
|
|
12-23-24, 08:32 AM
|
#4 | |
|
Gunner
![]() Join Date: Aug 2014
Location: Wilhelmshaven
Posts: 100
Downloads: 419
Uploads: 0
|
Quote:
It is simply the hull model from the 641-Foxtrot Sub published here many many years ago. I only exported it from S3D into Blender to slightly correct its orientation. After export from Blender (trying out numerous settings) upon reimport in S3D that error message keeps occuring. |
|
|
|
12-23-24, 11:36 AM
|
#5 | |
|
GLOBAL MODDING TERRORIST
|
Quote:
|
|
|
|
12-23-24, 12:52 PM
|
#6 | |
|
Gunner
![]() Join Date: Aug 2014
Location: Wilhelmshaven
Posts: 100
Downloads: 419
Uploads: 0
|
Quote:
I have no option to attach them here, are you on discord subsim? I tried to do the required x-axis rotation in S3D, but the game keeps ignoring in. I don't suppose there is a function to apply rotation in (so new value goes "0") in S3D? |
|
|
|
12-23-24, 01:00 PM
|
#7 |
|
GLOBAL MODDING TERRORIST
|
You can send the files through email if you want.
I'll PM you my email address. |
|
|
12-23-24, 02:00 PM
|
#8 | |
|
CTD - it's not just a job
|
Quote:
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
|
12-23-24, 02:15 PM
|
#9 |
|
GLOBAL MODDING TERRORIST
|
I don't believe his is a matter of X or Y up.
It's a total failure to import. I think it's a mismatch of Verts between the main obj file and the AO obj file. That's an easy mistake to make for newer users of S3D. You can set Blender to Import with the Y axis as up to avoid that standing on tail thing you know. Do I need to get my box of crayons out and draw a picture? ![]()
|
|
|
12-23-24, 02:20 PM
|
#10 | |
|
CTD - it's not just a job
|
Quote:
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
