Quote:
Originally Posted by Armandito13x
How to add ships to our server 9.0?
1) Add to db> main> ship
2) Add to resource.xml> spacemap> xml> resources.xml
3) Open with a swf decompiler the file main.swf in> spacemap> then search in databinay the file "176_net.bigpoint.darkorbit.mvc.common.model.asset s.UberAssetsLib_LIB_SHIPS_XML"
Unzip it to your pc, add the ship in this example:
*<asset id = "ship_pusat_design_pusat-lava" comment = "Vengeance Pusat Lava">
********<display2D srcKey = "ship_pusat_lava" resKey = "mc" replacement = "ship_vengeance_design_pusat_lava" />
********<display3D tex_settings = "ship" geometry = "vengeance-pusat" texture = "vengeance-pusat" diffuse = "pusat-design-lava" glow = "pusat-design-lava" visualSize = "1.4" scale = "0.75" / >
****< / asset>
Src Key = It is the name that you will put to the swf file, in your grapichs / ship folder.
After you edit and save with any notebook, replace the file edited by the file that is in swf decompiler of the main.swf
4) Add the swf, in your grapichs> ship / with the name as we have already mentioned
That would be it.
Any questions you can send me a message to the live or also if you need a swf, ask me!
sorry my english
|
Hey, thanks for the help. I'm developing in the newest 10.0 CMS published here:
[Only registered and activated users can see links. Click Here To Register...]
I'm adding some new designs, I use JPEXS to decompile the main.swf and I modify its .bin containing the ships, as like you said. But I have a problem, I just tried to use the native main.swf that comes inside of DarkOrbit 10.0 CMS, and I can't add new designs that aren't declared before in that main.swf, so I downloaded another swf where contains much more models already, and I can modify the declared designs and it works very well, but if I wanna add a NEW design in that 187_net.bigpoint.darkorbit.mvc.common.model.assets .UberAssetsLib_LIB_SHIPS_XML.bin, after I save the changes and replace the old .bin with the new, it appears the famous ! SHIP TYPE ... NOT DEFINED !. It isn't problem of cache, because I configured the .htaccess to clear cache every time I reload the page. So, are there another place where do I need to edit?
For example:
This is a model that was already declared when I downloaded in that main.swf:
[Only registered and activated users can see links. Click Here To Register...]
If I change the ship ATF file name, it will work well, because the model are already declared.
Now, I will add a new design that was never declared before:
[Only registered and activated users can see links. Click Here To Register...]
Then I register the model in the resources.xml and resources_3d.xml, after I go to JPEXS and I replace the new .bin and I save the new .swf inside, I add the model in the database and now I can use it in the Hangar, so I choose my new design, and booom:
[Only registered and activated users can see links. Click Here To Register...]
Some help to know If I'm doing something bad?
Edit
I've been trying to find the issue, and I saw this ActionScript with this directory in the scripts:
[Only registered and activated users can see links. Click Here To Register...]
In this .as script, you can see some ships declared here:
[Only registered and activated users can see links. Click Here To Register...]
What confuses me is that not all the designs are there, and there are many ships that I have registered in the .bin that are not declared here, but I don't know if this ActionScript has something to do with the new designs that I'm trying to add...
If someone can help me, add me on Discord: EH | Mirame#2163