devilmania66
Registered:1375370026 Posts: 5
Posted 1375370210
Reply with quote
#1
So I have a custom ship (well two actually) and I have no idea how to use them in game, and so far Google has been no help at all. Does anybody know how to use custom ships?
Zacharyah
Registered:1375298122 Posts: 77
Posted 1375371041
Reply with quote
#2
You have to make sure the models and the interior systems files are in the same folder as the other models and then you have to edit the vesselData.ini file. Copy one of the existing ship descriptions (looks like the following)- <vessel uniqueID="0" side="0" classname="Light Cruiser" broadType="player"> <art meshfile="dat/artemis.dxs" diffuseFile="dat/artemis_diffuse.png" glowFile="dat/artemis_illum.png" specularFile="dat/artemis_specular.png" scale="0.2" pushRadius="150" /> <internal_data file="dat/artemis.snt" /> <shields front="80" back="80" /> <performance turnrate="0.004" topspeed="0.6" efficiency="1.0" /> <beam_port x="-102.14" y="8.35" z="258.74" damage="12" arcwidth="0.4" cycletime="6.0" range="1000" /> <beam_port x="102.14" y="8.35" z="258.74" damage="12" arcwidth="0.4" cycletime="6.0" range="1000" /> <torpedo_tube x="0" y="8.35" z="258.74" /> <torpedo_tube x="0" y="8.35" z="258.74" /> <torpedo_storage type="0" amount="8" /> - <!-- Type 1 Homing" --> <torpedo_storage type="1" amount="2" /> - <!-- Type 4 LR Nuke --> <torpedo_storage type="2" amount="6" /> - <!-- Type 6 Mine" --> <torpedo_storage type="3" amount="4" /> - <!-- Type 9 ECM" --> <engine_port x="82.93" y="5" z="-240.89" /> <engine_port x="-82.93" y="5" z="-240.89" /> <engine_port x="0" y="-9.22" z="-300" /> <engine_port x="0" y="29.64" z="-300" /> <long_desc text="TSN Cruiser^Standard long patrol vessel of the TSN.^2 forward beams^2 Torpedo tubes^Stores for 2 nukes, 8 homing, 6 mines, 4 ECM." /> </vessel> And then change the uniqueID, classname, meshfile, diffuseFile, glowFile, specularFile and internal_date file locations. Scale is a multiplier used if the model you made is bigger/smaller than the ship is supposed to be. pushRadius is the radius from the center for collision detection. Then you can change the rest of the parameters to fit what your ship is supposed to be. You can add or subtract beam ports, torpedo tubes, and engine ports, and using the same program you used to generate the internal systems file you can get the coordinates for those features. If you want to add a ship as an enemy ship or a neutral, you'll need to change the side and broadType classifications. Take a look at the other vessels in vesselData to get an idea of the different identifiers.
devilmania66
Registered:1375370026 Posts: 5
Posted 1375372135
Reply with quote
#3
Thanks, I can't do this now but Ill post results when I do.
MarkBell
Administrator
Registered:1375205710 Posts: 2,018
Posted 1375378062
Reply with quote
#4
Also, for a look at what people have done with custom ships and files, check out some of the mods in the off topic section. Several of those have entirely replaced the vesseldata file with new ships and factions.
__________________ Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
russjudge
Registered:1375270963 Posts: 234
Posted 1375379755
Reply with quote
#5
My Artemis Mod Loader has a nice user interface for modifying the vesselData.xml file. You could check it out: https://dl.dropboxusercontent.com/u/14746342/AML30.msi .
__________________ Russhttps://russjudge.com Author of:Artemis Manager Artemis Mod Loader. The Big Red Button of Death! ArtemisSBS-Protocol Sharp DMX Commander (and all are free) Visit my Patreon page and buy me coffee.
Zacharyah
Registered:1375298122 Posts: 77
Posted 1375395975
Reply with quote
#6
I can definitely attest to the ease of use of the Mod Loader. I've used it quite a bit.
devilmania66
Registered:1375370026 Posts: 5
Posted 1375463302
Reply with quote
#7
I have mod loader actually I just didn't realize I could modify the vesseldata.xml file with it. How exactly do I edit it using modloader?
russjudge
Registered:1375270963 Posts: 234
Posted 1375465329
Reply with quote
#8
You need to start with the Mod Developer button. From there, you create a new mod--this way your original stock version can still be available. From the new mod you created, there is a tab to the vesselData file. If you need more information, feel free to ask.
__________________ Russhttps://russjudge.com Author of:Artemis Manager Artemis Mod Loader. The Big Red Button of Death! ArtemisSBS-Protocol Sharp DMX Commander (and all are free) Visit my Patreon page and buy me coffee.
devilmania66
Registered:1375370026 Posts: 5
Posted 1375471712
Reply with quote
#9
oh that's easier than what I was doing. I was just using the mission scripter, but loading the VesselData.xml with it. I have another question though. I finished my ship, it has lasers and torpedoes and everything, but when I play with it, the engine trails just stream out the back of the ship (but in the right place). Is there some kind of engine mesh or something that I can put in front of it to make it look like there isn't just engine exhaust pouring out the back of my ship?
MarkBell
Administrator
Registered:1375205710 Posts: 2,018
Posted 1375472472
Reply with quote
#10
If you'd rather not have engine streams coming out the back, just don't include engine_port tags. It doesn't affect the performance of the ship at all, just visuals.
__________________ Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
devilmania66
Registered:1375370026 Posts: 5
Posted 1375472570
Reply with quote
#11
meh, I want them, it's just that I want to figure out how to make an engine design or something so that the exhaust looks like it's coming out of an engine. Also is there a way to change the skin of the ship? i did it in the ship generator but it doesn't seem to stick when playing.
JSpaced
Registered:1376049197 Posts: 116
Posted 1376052291
Reply with quote
#12
Hooboy! ALL the first-timer questions at once! Which is good! Questions are GOOD. OK, the VesselData.xml contains EVERYTHING about your ship, including:Defining the type of ship: uniqueID needs to be, well unique. Side defines whose team the ship is on. 0 is the player team. Classname and broadtype define how and where it will be used: <vessel uniqueID="0" side="0" classname="Light Cruiser" broadType="player"> How it looks:
<art meshfile="dat/artemis.dxs" diffuseFile="dat/artemis_diffuse.png"
glowFile="dat/artemis_illum.png" specularFile="dat/artemis_specular.png" scale="0.2" pushRadius="150"/> Art defines the model and skins used. Diffuse is the hull texture, glow is the shiny lights, specular is the hull's shininess, scale is how big the model is drawn in the game and pushradius is how much "elbow room" its shields have. Experiment with these numbers.
Internal Data: Where the crucial bits of your ship are inside. (Corridors, weapons, engines etc.) These are the bits that get blasted when you get hit. We'll come back to that. <internal_data file="dat/artemis.snt" /> Shields: Well... how strong shields are.
<shields front="80" back="80" /> Performance: How quickly you turn, topspeed at impulse (I believe) and how quickly the custom ship uses energey to all systems. <performance turnrate="0.004" topspeed="0.6" efficiency="1.0" />
Beam_port and torpedo_tube. Defines the spot on your mesh where your ship goes "pew-pew" from. Defines the firing arc too. If you've got it, open up the shipeditor tool. Load up the .dxs file of your custom ship. Use W,A,S,D to move the yellow crosshair around. Jot down the coordinates given whenever the crosshair is at the point on the ship's skin where you want the ray beam to shoot out of. Create an entry in your custom ship, matching those x,y,z numbers: <beam_port x="-102.14" y="8.35" z="258.74" damage="12" arcwidth="0.4" cycletime="6.0" range="1000"/> NOTE: Arcwidth is a proportion of 1.0 (1.0 being 1 circle, so a ninety-degree firing arc is: "0.5". cycletime is how quickly it recharges and range is how far the MIDDLE of your ship is from the MIDDLE of the other ship before it fires. Torpedo tubes are more of the same EXCEPT that torpedos always come from the same spot in Artemis 1.X
<torpedo_tube x="0" y="8.35" z="258.74"/>
Torpedo_storage: What can your custom ship carry at any given time? <torpedo_storage type="0" amount="8" /> <!-- Type 1 Homing"-->
<torpedo_storage type="1" amount="2" /> <!-- Type 4 LR Nuke-->
<torpedo_storage type="2" amount="6" /> <!-- Type 6 Mine"-->
<torpedo_storage type="3" amount="4" /> <!-- Type 9 ECM"-->
Engine_port: remember the yellow crosshairs on the ship editor? Repeat the process again but this time, move the crosshairs to the exhaust ports of your ship. Scribble down those numbers and replace them in the X, Y, Z listings as below. As many exhausts as you have, that's how many engine_port entries you need. <engine_port x=" 82.93" y="5" z="-240.89" />
Long_desc is how the information appears on ship selection screen. The ^ symbol (Shift+6) is the new paragraph indicator. <long_desc text="TSN Cruiser^Standard long patrol vessel of the TSN.^2 forward beams^2 Torpedo tubes^Stores for 2 nukes, 8 homing, 6 mines, 4 ECM." />
Close the Vessel tag to indicate you have finished this ship: </vessel>
Oh yeah, I said I'd come back to internal setup didn't I? Let's go back to ShipEditor. (ShipGen08.exe) Click "Generate Int System". Then click "Edit Int System". It's a REALLY tricky process and I keep hoping someone clever will post a tutorial on how to do it properly. The controls are not intuitive and the whole thing is provided "as is" to us, the end-user. When you've finished, save it with a unique name ending in .snt and reference that in your VesselData.xml entry under "Internal_Data". (The more your ship has of, say primary beam, the more redundancy you have in terms of how much damage that system can take before it goes offline.) For more info, check out the Artemis wiki: http://artemiswiki.pbworks.com Hope this helps get you started!
__________________"Universal law is for lackeys. Context is for kings."
JSpaced
Registered:1376049197 Posts: 116
Posted 1376052541
Reply with quote
#13
Oh yeah, almost forgot. You might be yelling: "Why won't my cross-hairs go near the engine exhausts in ShipGen08?" Well, they do, but you have to hold the "W" key and make the yellow line/ crosshairs roll all the way over the top of the ship model then use A and D to move them into place. Again, it's a rough and ready system, could do with some work. J
__________________"Universal law is for lackeys. Context is for kings."
MarkBell
Administrator
Registered:1375205710 Posts: 2,018
Posted 1376825722
Reply with quote
#14
Good info, JSpaced! Can we pin this in the off topic section too?
__________________ Note - this is in no way intended to be an official position of Thom or Artemis, as I am not an official representative of the creator or game.
JSpaced
Registered:1376049197 Posts: 116
Posted 1377118005
Reply with quote
#15
It needs the 2.0 stuff added. I'll make a point to write up a custom ship guide and hopefully get it stickied, or put in the new mods forum when/if it gets made.
__________________"Universal law is for lackeys. Context is for kings."