SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Cloning Objects in "Plainer English" by stljeffbb1 (https://www.subsim.com/radioroom/showthread.php?t=84285)

Commander1980 09-16-05 03:19 PM

Nice work, very interesting!

But i get an error when using it:

"Exception in thread "main" java.lang.NoClassDefFoundError: Pack3D"

i installed the latest Java JRE...

What i have done wrong?

Rubini 09-16-05 03:31 PM

Quote:

But i get an error when using it:

"Exception in thread "main" java.lang.NoClassDefFoundError: Pack3D"

i installed the latest Java JRE...
The same here. :(

Rubini.

Sansal 09-16-05 03:59 PM

Can you say me if there are a file named in Pac3D.class in the directory? I think that the zip have a classpath and extrat .class files in a subdirectory named bin.

After the extration all files need to be in the same directory of the dat......sorry, sorry, sorry :oops:

There are one solution: Unmark "use folder name" in the extractor

Commander1980 09-16-05 04:05 PM

Well, it works :up:

But where are the cloned files copied to?

Sansal 09-16-05 04:20 PM

It don't make new filest (but its a improvement that i can do).

Transform the actual .dat and associates files. You need work with a copy of the object that you need clone. Pack3D don't clone the skin, her id need to be altered by hand with a hexeditor.

Rubini 09-16-05 05:03 PM

Hey Sansal, it works! :sunny:

I have my first clone in a few seconds!

I just clone a small merchant. Do you think that it will be work on the milk mod for more variation on ships to milk cow purposes?

Great, incredible!

Rubini.

Rubini 09-16-05 05:06 PM

Sansal:

More questions:

It's possible to clone uboats?
It's possible to clone airplanes?
It's possible to "see" or list the objects/properties on sim, zon and val files?

Rubini.

Sansal 09-16-05 05:44 PM

Quote:

It's possible to "see" or list the objects/properties on sim, zon and val files?
.
Now you can see objects, but not the properties.
I'm working on it, there are many subtypes of type 100. In this type there are the properties of the units, ia, flotability, velocity, resistance.......... :ping:
In the final tool you can change this properties in decimal valours.

The list in .dat files is a little big. Make this:

pack3d l file.dat >list.txt

This command make a ASCII file with name list.txt in the same directory.



Quote:

It's possible to clone airplanes?
All :sunny: (I think)

Quote:

It's possible to clone uboats?
Yes, and the interiors :) In fact this tool is a creator of .dats. If i can to finish it all this comunity will have a SDK to make anything; playable ptboat, ¿dd?, minisubs, humans..... animals. But I need that Sergbuto, and others, make news ways of development. This tool mechanizes his discoverys.

Cheers

Jace11 09-16-05 06:06 PM

oh I think it works too..

The number you input to clone.? is that a random number that is added to all ID tags?

Serg says it isn;t necessary to clone all ID's just main ones.

ANyway this issue has been sonfising me for a LONG TIME but it is far simpler now...

Cheers sensal..

Rubini 09-16-05 06:14 PM

Sansal,

I don't know if you need, but I will make a ship, a airplane and a uboat clone, test and post my feedbacks to you soon.

Rubini.

Sansal 09-16-05 06:27 PM

Quote:

oh I think it works too..

The number you input to clone.? is that a random number that is added to all ID tags?

Serg says it isn;t necessary to clone all ID's just main ones.
Yes, a random number more large than 10.000.000 for ensure that your clone not is equal with the work of other modder (that nobody put 1 ¡¡¡¡PLEASE!!!!!).

This change all ids....it's the same work :D and ensure not colision with properties of the objects in a future.

Quote:

I don't know if you need, but I will make a ship, a airplane and a uboat clone, test and post my feedbacks to you soon.
Thanks Rubini, i need any bug or improvement. For the uboat remember clone the interior too.


Salutes,

Sansal 09-16-05 06:28 PM

:sunny:

AG124 09-16-05 06:30 PM

I can't get the program to work - normally I can install programs without any problems, but this time I'm making some stupid mistake or another.

I've extracted the file using IZArc, but I didn't see any option to "use a folder name" that I could uncheck. I also have the latest JRE. The problem is that the program runs only for fraction of a second and shuts down - there's an error message but I can't tell what it is. If anyone knows what I've done wrong, please help me out here.

Sansal 09-16-05 06:36 PM

Quote:

Originally Posted by AG124
I can't get the program to work - normally I can install programs without any problems, but this time I'm making some stupid mistake or another.

I've extracted the file using IZArc, but I didn't see any option to "use a folder name" that I could uncheck. I also have the latest JRE. The problem is that the program runs only for fraction of a second and shuts down - there's an error message but I can't tell what it is. If anyone knows what I've done wrong, please help me out here.

Two things:

1.- Move the files that are in "bin" folder to unit directory (that's my fault)

2.- You need work in the console (MS-DOS command) Start->All Programs -> Accesories

Rubini 09-16-05 06:43 PM

Sansal

Any tip about the names?
To clone a B24 for example. The original name: ALB_B24Liberator, any new name is OK? Any problem with the tga names in the unit folder (ALB_B24Liberator_shp.tga for example)? And the name of the log files (ALB_B24Liberator_en.log for example)?

Rubini


All times are GMT -5. The time now is 11:58 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.