dll 101 for ships
tools needed
FLEDId dll editor found in the DL page
a text editor
why not make it a scripted shiparch.ini entry
<data file="DATA\SHIPS\Shiparch.ini" method="append">
<source>
[Ship
ids_name = 0 ;GENERATESTRRES("YourShipName"
--- a short nickname would be nice
ids_info = 0 ;GENERATEXMLRES("<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT> </TEXT><PARA/><TRA data="1" mask="1" def="-2"/><JUST loc="center"/><TEXT>Stats</TEXT><PARA/><TRA data="0" mask="1" def="-1"/><JUST loc="left"/><TEXT> </TEXT><PARA/><TEXT>Gun/Turret Mounts: 4/0</TEXT><PARA/><TEXT>Armor: 1000</TEXT><PARA/><TEXT>Cargo Space: 20</TEXT><PARA/><TEXT>Max Batteries/Nanobots: 20/20</TEXT><PARA/><TEXT>Optimal Weapon Class: 4</TEXT><PARA/><TEXT>Max. Weapon Class: 6</TEXT><PARA/><TEXT>Additional Equipment: M, CM, CD/T</TEXT><PARA/><PARA/><POP/></RDL>"
ids_info1 = 0 ;GENERATEXMLRES("<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TRA data="1" mask="1" def="-2"/><JUST loc="center"/><TEXT>Experimental Scout "Ghost X-9"</TEXT><PARA/><TEXT></TEXT><PARA/><TRA data="0" mask="1" def="-1"/><JUST loc="left"/><TEXT>Military Reconassaince has always placed scouts at high risk due to their weak armor and poor combat ability. To counter this, a joint Liberty-Kusari project was initiated to build a small fighter that could outrun anything on conventional drives and outmaneuver cruise disruptor armed foes.</TEXT><PARA/><PARA/><TEXT>And so the Ghost X-9 was born. Using an experimental CHAOS Linear Drive system, the Ghost is capable of reaching near cruise speeds without activating its cruise drives. Its dual thruster hardpoints allow it to even exceed cruise speeds for short periods of time.</TEXT><PARA/><PARA/><TEXT>Built with speed and manueverbility in mind, the Ghost is capable of conducting lightning hit and run tactics on even large ships with its torpedo mount while evading any defenses with its high yield maneuvering thrusters allowing it to jet engine plasma directly into its lateral thrusters for extreme amounts of side strafing for short periods of time.</TEXT><PARA/><PARA/><TEXT>With its advanced flight systems taking up a majority of on board space, the Ghost suffers greatly by trading off protection for speed and its cargo capacity is cruelly small. Its greatest armor is in its speed and ability to avoid hostile fire.</TEXT><PARA/><PARA/><POP/></RDL>"
ids_info2 = 0 ;GENERATEXMLRES("<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TRA data="1" mask="1" def="-2"/><TEXT>Stats</TEXT><PARA/><TRA data="0" mask="1" def="-1"/><TEXT> </TEXT><PARA/><TEXT>Gun/Turret Mounts:</TEXT><PARA/><TEXT>Armor:</TEXT><PARA/><TEXT>Cargo Space:</TEXT><PARA/><TEXT>Max Batteries/NanoBots:</TEXT><PARA/><TEXT>Optimal Weapon Class:</TEXT><PARA/><TEXT>Max. Weapon Class:</TEXT><PARA/><TEXT>Additional Equipment: </TEXT><PARA/><POP/></RDL>"
ids_info3 = 0 ;GENERATEXMLRES("<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT> </TEXT><PARA/><TEXT> </TEXT><PARA/><TEXT>4/0</TEXT><PARA/><TEXT>1000</TEXT><PARA/><TEXT>20</TEXT><PARA/><TEXT>20/20</TEXT><PARA/><TEXT>4</TEXT><PARA/><TEXT>6</TEXT><PARA/><TEXT>M, CM, CD/T </TEXT><PARA/><POP/></RDL>"
ship_class = 0
.
.
.
type here the rest of the YourShip shiparch entry
ids_info1 contains the story of your ship.
be sure that you have a script.xml and make it YourShipName.xml or you can insert this in you script.xml.
BTW any GENERATe...RES must be on one line only or else fl will crush.
TAKE NOTE THIS IS A MOD SCRIPT. it will automatically generate its own dll file.
All I do for LOVE
Edited by - firebase on 23-11-2003 04:09:00