[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Sub Command » » Hex-editing of existing 3D Modells possible! (large pics)
Author Hex-editing of existing 3D Modells possible! (large pics)
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2002-04-16 14:45   


Guess who sussed this out?

Me?

Nah, never...

Ludger Styra aka serpent46!

Above the explaining picture of the interesting part of the *.j3d files. When you open one and scroll down to the end of the file, you'll see a bunch of names and whatnot - and above the 'who's-who' of it.

I removed the Newports' bow crane thingie on the Aussie ones by changing the yello encircled value to '10' - apparently doing the same with launchers is something which SC doesn't really like, as at the 4th or 5th I edited that way, SC crashes - so I changed - as Ludger suggested to be the safest way - the value for 'faces' to '0000', which means that the part in question is still there, but SC doesn't need to calculate anything for it, thus it is invisible.

Currently I am mucking around with the 'Almirante Brown' j3d, to get it to look like a Aussie/Kiwi ANZAC frigate (yep am obsessed by them - I also love obsessions! )
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-04-16 14:50   
Te Kaha,

Does this mean that if we finally get my Alfa exported to j3d format you can add a prop to it, or can proppellers be attached in SCEdit anyway?
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2002-04-16 14:56   


Here. As you can see, the 4 40mm guns, the 2 Exocet launchers and the Sea Sparrow launcher are gone (invisible).

And as you also can see, I moved one of the stacks slightly forward - am currently testing to... move stuff - and it works.

So, what's possible, is to
a) remove
b) move
stuff around, provided it's listed as separate part at the end of the j3d, and there is a lot to be found there, basically all launchers, masts, radar antennas and even parts of the superstructure (at one ill-fated test I had the whole middle segment of the superstructure disappearing).

There's one BIG thing which needs to be sussed out; [i]replacing[I] stuff, for example the Sea Sparrow launcher with a CIWS.

I attempted this already -

a) by changing the 'index of next anim part' number - stupid, as it has obviously nothing to do with what's displayed, seems to be some sort of counter

b) changing the 'names of anim_part' to one of a CIWS I found in the Perry.j3d

c) combining b) with editing the 3d anim parts in Ludger's SCEdit 1.07.4 - maybe interesting, that everywhere the CIWS is referred to as 'CWIS' - both in j3d's as well as in 'animated parts' of the database files, that's why I thought to try it this way.

I failed.

But I know it must be possible, as NWS uses default launchers in their Fleet Command database - a Canadian Halifax has a default CIWS attached...

Any ideas?

This seems to be the last - and IMHO most important - issue; replacing launchers and radar antennas...

A big thanks to Ludger!

- I would have never been able to get all the meanings of the numbers right, what they are, what they do, and why they do what!


_________________
Te Kaha's Missions

Kaore e mau te rongo - ake ake!

[ This Message was edited by: Te Kaha on 2002-04-16 14:57 ]


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2002-04-16 15:01   


Here's another one - a Seahawk (which acts as a SH-2G Seasprite, which is a sort of crossover of a Sea King and a Seahawk) takes off - to get after me in my sub nearby...)

Xabba, basically this means that we can muck around with existing j3d's - although, or at this moment, limited.

I have not yet found out how to add parts and models to a existing Modell which are not already there in the first place - only moving exisiting parts around.

But yes, if NWS can handle it, then we can do as well!

You just need to suss out how to convert/export anim8or files to j3d files. then, and maybe I am too optimistic, everything should be possible
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-04-16 15:03   
Te Kaha another question.

In SCEdit I noticed rotateable check box for launchers. Does that mean things like gun turrets rotate when viewed in the game and they have a target.

I'm asking because I have never seen a Launcher or gun Turret rotate to face a target, This is with Show Truth On.

Any ideas?
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2002-04-16 15:13   
Xabba, the 'rotatable' in launchers has to do with the 'firing cone' or whatsitcalled of the weapon - no turret or launcher moves in any way in SC (unlike as in DC, which looks so cool to watch!)
_________________
Te Kaha's Missions

America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-16 15:22   
Hi TK

Good Going.....

It's much easier to do this stuff using 'AXE'(Advanced Hex Editor), rather than 'Hex Edit'.

With 'AXE' you can arrange all the Part Names one below the other, and toggle between ANSI and HEX.

It's what I use....and what I used to figure the 'Damaged' j3ds with....before Ludger put the facility in the Editor.

I find it much easier to sort thru the data when I can auto-format it to align all the records...one below the other.

You should give it a try.

Keep up the good work.

Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Te Kaha


Joined: Feb 28, 2002
Posts: 1697
From: Austria & Aotearoa
Posted: 2002-04-16 15:28   
Thanks for the hint, Thomasew - but I am getting more and more familiar with HexWorkshop 3.11 I think, and I'm a lazy bone with learning new programmes!

I guess you got experience with hex-editing:

Question: do files have some sort of 'checksum', sort of value which tell's 'I am file suchandsuch and I am suchandsuch large', and if, do j3d's have them as well?

I ask because I'd like to duplicate the 'cone' mast aft the bridge in the (now) anzac.j3d - to get closer to the real one. But this would make the file longer...

_________________
Te Kaha's Missions

Kaore e mau te rongo - ake ake!

[ This Message was edited by: Te Kaha on 2002-04-16 15:30 ]

[ This Message was edited by: Te Kaha on 2002-04-16 15:34 ]


  View Profile of Te Kaha   ICQ status       Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-16 15:37   
Hi TK

'AXE' is much easier to use, and learn, than 'Hex Workshop' or 'UltraEdit-32'.

Re Checksums....can't say for sure. Primarily data files have 'CRC' checks etc.

Haven't tried adding anything to a j3d, but I would say that if you added something and saved it....it would update the 'Checksum'...or at least it should do.

Haven't really done that much Hex Editing .... bit messy.

Only do it....when I have no other choice.

Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-04-16 15:41   
That's something I want to think about if and when my Alfa gets released presuming all goes well. My feeling is a sub wouldn't get bent too much from a torp hit, well not as much as they do in SC. So I was thinking of just having damage bitmap...

What do you guys think to that?
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-16 15:57   
Hi Ben

Much better idea.....the bent Subs don't quite crack it for me.

Look's like a mangled sausage.....

Make it so that bits fall off....

Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
serpent46


Joined: Feb 28, 2002
Posts: 61
From: Bielefeld, Germany
Posted: 2002-04-16 16:05   
@Te Kaha
CRC's are primarily used, if an application is dependent on the validity of the data.
In a game this isn't so very necessary, so the coders just let it crash if something is wrong [guess you've seen this quite a lot]

@Tom
Can you post a link to AHX, the features are sounding very useful for me

Ciao
Ludger





  View Profile of serpent46   Email serpent46        Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-04-16 16:19   
Hi Ludger

Here's the link....however, it doesn't seem to work at the moment.

http://www.kahei.com

I don't know if the site has moved, or closed down etc.

However, I'll try and find the Zip (it's on one of the Servers at the office)...and I'll e-mail it to you.


Cheers
Tom

_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
serpent46


Joined: Feb 28, 2002
Posts: 61
From: Bielefeld, Germany
Posted: 2002-04-17 06:44   
Found the AXE downloadable under
http://www.softlookup.com/download.asp?id=7641


Thx
Ludger


  View Profile of serpent46   Email serpent46        Edit/Delete This Post   Reply with quote
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.049019 seconds.