Code that controls max device amount?

Freeform discussion about anything related to modding Transcendence.
Post Reply
The Next Ghost
Anarchist
Anarchist
Posts: 4
Joined: Sun Jun 10, 2007 6:07 pm
Location: Middle of Nowhere

Hey, does anyone know the code which affects the maximum amount of devices which can be installed on a ship at once?
Sponge
Militia Commander
Militia Commander
Posts: 250
Joined: Sun Jan 28, 2007 7:51 pm

I'm going to assume you're working with XMLs here. When you look at the code for a player ship, you'll find a couple variables for device slots. Here are the ones from the Wolfen.
Transcendence XML wrote: maxDevices= "8"
maxNonWeapons= "4"
This tells you that the Wolfen can have 8 devices at maximum, and only four of these can be non-weapons.

You can also have a variable like this one from the freighter.
Transcendence XML wrote: maxWeapons= "2"
As you may have guessed, this one limits a ships maximum installed weapons.
The Next Ghost
Anarchist
Anarchist
Posts: 4
Joined: Sun Jun 10, 2007 6:07 pm
Location: Middle of Nowhere

Ah, thanks.
Post Reply