Code that controls max device amount?
-
- 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?
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.
You can also have a variable like this one from the freighter.
This tells you that the Wolfen can have 8 devices at maximum, and only four of these can be non-weapons.Transcendence XML wrote: maxDevices= "8"
maxNonWeapons= "4"
You can also have a variable like this one from the freighter.
As you may have guessed, this one limits a ships maximum installed weapons.Transcendence XML wrote: maxWeapons= "2"
-
- Anarchist
- Posts: 4
- Joined: Sun Jun 10, 2007 6:07 pm
- Location: Middle of Nowhere
Ah, thanks.