gmax,yagg,dbox oddity

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Guest

gmax,yagg,dbox oddity

Post by Guest »

i am having some odd problems with exporting models made of bod parts in x2. i am using dbox to import and export parts and yagg as a grabber but somewhere along the way something is going wrong.

this is a sample of a ship from the cut files

// Converted with x2bc from "C:\Documents and Settings\Jake\My Documents\mod\2\cut\04163.bob" at Thu Dec 24 19:25:23 2009

/# $PATH: F:\SRC\Xtract\Xtract\cut\04163.BOD SRC: F:\SRC\3DSMAX-Work\X2_The-Threat\Scenen-Ships\revised\4163_Tel-M5-mark2b.max TIME: Aug 15 2003 22:22:02 Copyright 1 2003 by EGOSOFT$

VER: 4;

P 0; B 885; C 1; N 885_1b; // idx 0, flags: 0
{ 0x2002; 936;0;23; 0.000000;0.000000;0.000000;0.000000; -1; -1; } // 0

P 1; B 107; C 1; N 107_1laser; // idx 1, flags: 0
{ 0x2002; -1417;143;-1856; 0.000000;0.000000;0.000000;0.000000; -1; -1; } // 0

P 2; B -1; N Camera01; c // idx 2, flags: 1
{ 0x808; 6041;3200;-5778; -9;0;-42; 0.000000; 1.570786; -1; -1; } // 0

P 4; B 905; N 905bf; // idx 3, flags: 0
{ 0x2002; -2826;49;-3936; 0.000000;0.000000;0.000000;0.000000; -1; -1; } // 0

P 5; B 905; N 905bb; // idx 4, flags: 0
{ 0x2002; 3735;49;-3934; 0.000000;0.000000;0.000000;0.000000; -1; -1; } // 0

P 6; B 886; N 886boost; // idx 5, flags: 0
{ 0x2002; -2831;148;-1579; 0.000000;0.000000;0.000000;0.000000; -1; -1; } // 0

P 7; B 886; N 886boost01; // idx 6, flags: 0
{ 0x2002; 3729;148;-1579; 0.000000;0.000000;0.000000;0.000000; -1; -1; } // 0

P 8; B 940; N 940Mainbody; // idx 7, flags: 0
{ 0x2002; 0;0;0; 0.000000;0.000000;0.000000;0.000000; -1; -1; } // 0




now here is the same ship imported and then exported using the tools

[fopen file="C:\Documents and Settings\Jake\My Documents\mod\2\fff.bod" newline="~"
/# Exported with dbox2 1.10 at 23/03/2010 17:00:11~ ~VER: 4;~ ~P 0; B 885; C 1; N 885_1b; // idx 0~{ 0x2002; 935; 0; 23; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 0~~P 1; B 107; C 1; N 107_1laser; // idx 1~{ 0x2002; -1417; 143; -1856; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 0~~P 2; B 905; N 905bf; // idx 2~{ 0x2002; -2826; 49; -3936; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 0~~P 3; B 905; N 905bb; // idx 3~{ 0x2002; 3734; 49; -3934; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 0~~P 4; B 886; N 886boost; // idx 4~{ 0x2002; -2831; 148; -1579; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 0~~P 5; B 886; N 886boost01; // idx 5~{ 0x2002; 3729; 148; -1579; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 0~~P 6; B 940; N 940Mainbody; // idx 6~{ 0x2002; 0; 0; 0; 0.000000; 0.000000; 0.000000; 0.000000; -1; 1; } // 0~~P 7; B 566; C 32; N B566_32bi; // idx 7~{ 0xa002; -2863; -366; -3418; 0.333327; -0.577350; 0.577350; 0.577350; 0.000000;0.000000;0.000000;0.000000;0.000000; 99; 1; } // 0~{ 0x2002; -2863; -366; -3418; 0.257204; -0.955703; 0.208116; 0.208133; 99; 2; } // 1~{ 0x2002; -2863; -366; -3418; 0.272473; -0.867892; -0.351271; -0.351244; 99; 3; } // 2~{ 0x2002; -2863; -366; -3418; 0.328015; -0.599846; -0.565780; -0.565754; 32; 4; } // 3~{ 0x8002; -2863; -366; -3418; 0.499985; 0.000000; -1.000000; 0.000000; 0.000000;0.000000;0.000000;0.000000;0.000000; 99; 5; } // 4~{ 0x2002; -2863; -366; -3418; 0.293203; -0.759679; -0.459844; -0.459817; 99; 6; } // 5~{ 0x2002; -2863; -366; -3418; 0.250007; -0.999932; 0.008265; 0.008287; 99; 7; } // 6~{ 0x2002; -2863; -366; -3418; 0.304242; -0.706350; 0.500533; 0.500537; 32; 8; } // 7~{ 0x8002; -2863; -366; -3418; 0.499985; 0.000000; 1.000000; 0.000000;

both are just samples but both are very different. ive checked all of the settings but they seem sound so can anyone see whats wrong, if its a common problem?
User avatar
Shadow dream
Posts: 1840
Joined: Thu, 1. Mar 07, 11:39
x3tc

Post by Shadow dream »

that's a problem that I've got too. I don't know exactly what's wrong. well, basicly there is nothing wrong since all the informations ARE in the file. it just isn't structured as you postet in the first part :P
for my part I'll try to get the files again to be up-to-date (again).
in the end it's something with YAGG, so try to look at it's installation first

Shadow
Wahre Gentlemen behalten sogar umzingelt von Löwen ihren Leitsatz: Ladies first.
Wann lernt die Gesellschaft endlich, dass Geld erst die Probleme macht, die wir haben?
[ external image ]
Topic - Gallery - Forum - Freiheit
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

Check your DBox-Settings. The best way is to edit the dbox.ini (in gmax-directory/PlugCFG) directly.

It should contain these values:

Code: Select all

[exporter_settings]
compatibility=x2
grabber=yagg
gmaxGrabberName=
gmaxGrabberPath=D:\YAGG\YAGG.exe
--------------------------------

[ external image ]
Guest

Post by Guest »

i tried these things but still it doesnt work. should i just reinstall yagg and dbox then?
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

Is your YAGG running in snoop mode at all?

If you prefer grab mode, you need to change the grabber to "generic".

If you don't know what I'm talking about: RTFM :!: :evil:
(Grab mode is when you have the small YAGG window with the "GRAB"-Button. In snoop mode, YAGG is running in the Taskbar).

If this doesn't help, I don't know. Both setups work perfectly for me (on XP SP3).
--------------------------------

[ external image ]
Guest

Post by Guest »

i am feeling really stupid right now. i never realised that it had to be in snoop mode. i am really sorry, i must really annoy you. if its any consolation , that means i can now make a mock version of my finished M0 mod.

Return to “X²: The Threat - Scripts and Modding”