n00b in need of information

This is the location for all mods to collaborate. Anyone making or planning their own mod should post help requests, screen shots and news here.

Moderators: Omega, tillias, Mod Contributor

Post Reply
Daon Rendiv
Star Pilot
Star Pilot
Posts: 6
Joined: Sun Nov 30, 2003 9:47 pm

n00b in need of information

Post by Daon Rendiv »

Two questions:

1. What determines the upgrades available to a ship?

2. Where is the behavior of upgrades defined?
jump gate hypocrate
Trader
Trader
Posts: 28
Joined: Sun Dec 07, 2003 11:58 pm
Location: Down under you 0.19% of the time, Buisness the other part.

um..

Post by jump gate hypocrate »

I note that this should be in another forum like help or something. I'll answer them as best I can anyway.

A ship is limited by certain upgrades as what one can fit onto the ship.
Or something like that. Ask someone else.
One may fly with honour, or with a death wish. You're going to get yours.
peteyg
Elite
Elite
Posts: 1465
Joined: Thu Jan 02, 2003 12:01 pm
Location: Seattle, WA
Contact:

Post by peteyg »

This is an issue that desperately needs to be added somewhere in the Wiki, because I haven't really seen it around that much.

The upgrades available to a ship are located in the ship's .template file:

Code: Select all

<Upgrade file="reactor_level_3"/>
<Upgrade file="mult_gun_cooler"/>
<upgrade file="add_reactor_capacitance"/>
The template can be generated off of your milspec (aka, the ship unit file with no extension) ship, but I am not sure where to obtain a program to do this. This generator also makes a .blank version, which you can then add the upgrades defined in the .template file to.

Take a look in one of the ship directories in your units folder.

The actual upgrades and how they behave are defined by unit files located in the units/factions/upgrades directory. Just look at a few of the files in there and it should be pretty straightforward.

PS- there is nothing wrong with this question in this forum
Post Reply