Hi everyone!
Some of you may remember me from my player ship mods I made several years ago. I think they can still be found on Xelerus.
After a way too long time I remembered that this game existed, as well its strong modding community. Glad to see that this game is still active!
I see a lot has changed while I was away. The graphics in 1.6 are awesome!
Can I get a quick copypaste for the main elements of the ship code that I can then further modify?
Also, I'd like some resources for armor graphics and such. 6-8-12 plates are common in the ship sizes I tend to use.
All in all, I need to learn this whole thing all over again. Would like some help.
Some questions:
- Support for PNG graphics?
- Any good 3D programs that can easily output 120 facings? Or would I need to render each frame manually?
Player Ship Mods.
- AssumedPseudonym
- Fleet Officer
- Posts: 1190
- Joined: Thu Aug 29, 2013 5:18 am
- Location: On the other side of the screen.
Welcome back! Speaking for myself, I was hoping you’d show back up again. I remember your ship models (and wishing I was even half that good at it).
Basic code for a playership, copypasta’d out of one of my own mods (minus its <Events> coding):
Alas, no PNG support yet. As for model rotation, that one I’m going to leave for someone else. I do it pretty easily in POV-Ray, but that’s a completely different animal than actual 3D modeling software…
Basic code for a playership, copypasta’d out of one of my own mods (minus its <Events> coding):
Code: Select all
<ShipClass UNID="&scAELambdaPsiPlayer;"
manufacturer= "Lambda Coalition"
class= "Psi"
type= "gunship"
reactorPower= "150"
fuelCapacity= "37500"
cargoSpace= "25"
maxCargoSpace= "75"
mass= "40"
thrustRatio= "9"
maxSpeed= "25"
maxArmor= "8000"
maxDevices= "7"
maxWeapons= "3"
maxNonWeapon= "4"
leavesWreck= "25"
attributes= "00200000_PlayerShip"
characterClass= "&unidPilgrimClass;"
>
<Armor>
<ArmorSection start="315" span="90" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="225" span="90" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="45" span="90" armorID="&itHeavyTitaniumPlate;"/>
<ArmorSection start="135" span="90" armorID="&itHeavyTitaniumPlate;"/>
</Armor>
<Devices>
<Device deviceID="&itAEAlphaDampener;"/>
<Device deviceID="&itAEPhotonProjectileBlaster;"/>
<Device deviceID="&itAEPhotonProjectileBlaster;"/>
</Devices>
<Items>
<Item count="4d4" item="&itHelium3FuelRod;"/>
</Items>
<Maneuver
rotationCount= "120"
maxRotationRate= "18.0"
rotationAccel= "4.0"
rotationStopAccel= "9.0"
/>
<Image imageID="&rsAE48x48;" imageX="288" imageY="0" imageWidth="48" imageHeight="48"/>
<Effects>
<Effect type="thrustMain" posAngle="180" posRadius="8" posZ="0" rotation="180" effect="&efAELambdaThrust;"/>
</Effects>
<AISettings
fireRateAdj= "20"
fireAccuracy= "90"
perception= "4"
/>
<PlayerSettings
desc= "The Psi gunship, designed by the Lambda Coalition, sacrifices much of its flexibility for speed, maneuverability, and raw firepower."
largeImage= "&rsAELambdaPsiLarge;"
initialClass= "true"
startingCredits= "100d2"
startingSystem= "AEH0"
startingPos= "Start"
>
<ArmorDisplay>
<ShipImage imageID="&rsArmorHUDLambdaPsi;" imageWidth="136" imageHeight="136"/>
<ArmorSection name="forward"
imageID="&rsArmorLambdaPsi;"
imageX="0" imageY="0" imageWidth="46" imageHeight="23"
destX="45" destY="21" hpX="55" hpY="6"
nameY="8" nameBreakWidth="175" nameDestX="0" nameDestY="7"
/>
<ArmorSection name="starboard"
imageID="&rsArmorLambdaPsi;"
imageX="70" imageY="0" imageWidth="24" imageHeight="53"
destX="94" destY="45" hpX="108" hpY="98"
nameY="30" nameBreakWidth="325" nameDestX="0" nameDestY="7"
/>
<ArmorSection name="port"
imageID="&rsArmorLambdaPsi;"
imageX="46" imageY="0" imageWidth="24" imageHeight="53"
destX="18" destY="45" hpX="2" hpY="98"
nameY="52" nameBreakWidth="200" nameDestX="0" nameDestY="7"
/>
<ArmorSection name="aft"
imageID="&rsArmorLambdaPsi;"
imageX="94" imageY="0" imageWidth="60" imageHeight="27"
destX="38" destY="84" hpX="55" hpY="106"
nameY="74" nameBreakWidth="175" nameDestX="0" nameDestY="7"
/>
</ArmorDisplay>
<ShieldDisplay shieldLevelEffect="&efShieldHUDDefault;">
</ShieldDisplay>
<ReactorDisplay>
<Image imageID="&rsZubrinReactor;" imageX="0" imageY="0" imageWidth="256" imageHeight="60"/>
<PowerLevelImage imageID="&rsZubrinReactor;" imageX="0" imageY="60" imageWidth="202" imageHeight="14" destX="54" destY="9"/>
<FuelLevelImage imageID="&rsZubrinReactor;" imageX="0" imageY="74" imageWidth="194" imageHeight="14" destX="54" destY="37"/>
<FuelLowLevelImage imageID="&rsZubrinReactor;" imageX="0" imageY="88" imageWidth="194" imageHeight="14"/>
<ReactorText x="62" y="22" width="154" height="14"/>
<PowerLevelText x="62" y="0" width="154" height="9"/>
<FuelLevelText x="62" y="51" width="154" height="9"/>
</ReactorDisplay>
</PlayerSettings>
</ShipClass>
Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)
My mods on Xelerus: Click here!
Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
-
- Fleet Officer
- Posts: 1533
- Joined: Tue Mar 22, 2011 8:43 pm
- Location: Alaska
- Contact:
XML source- 1.6b5Xolarix wrote:Hi everyone!
Some of you may remember me from my player ship mods I made several years ago. I think they can still be found on Xelerus.
After a way too long time I remembered that this game existed, as well its strong modding community. Glad to see that this game is still active!
I see a lot has changed while I was away. The graphics in 1.6 are awesome!
Can I get a quick copypaste for the main elements of the ship code that I can then further modify?
Also, I'd like some resources for armor graphics and such. 6-8-12 plates are common in the ship sizes I tend to use.
All in all, I need to learn this whole thing all over again. Would like some help.
Some questions:
- Support for PNG graphics?
- Any good 3D programs that can easily output 120 facings? Or would I need to render each frame manually?
http://xelerus.de/index.php?s=mod&id=1492
the latest official download is 1.5 : the .xml files I was given are also posted on xelerus
P.S. Don't think we didn't notice you tried to live on a Planet...such a silly place for a Pilot.
Flying Irresponsibly In Eridani......
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..