TLasers and custom weapons limit

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
SteelRush
Posts: 548
Joined: Wed, 6. Nov 02, 20:31
x4

TLasers and custom weapons limit

Post by SteelRush »

I thought the modders would like to know, the laserbit mask is indeed a 32-bit integer. That means we can have no more than 32 weapons in the game.

Even if you try the HUD equip trick, any weapons beyond 32 will not work. That does mean 3 new weapon slots will work for mods, so that at least is good news.
Augustini
Posts: 1604
Joined: Tue, 13. Dec 05, 21:55
x4

Post by Augustini »

There *is* a little workaround this that allows an additional 2 new custom weapons...

There are 2 special plot related weapons... 1 Beta PBE and 1 Beta Kyon Emitter. The PBE is only used during certain plot missions and the Kyon is not used at all... This gives total freedom to mod in 2 new weapons after finishing the plot or in custom games.
User avatar
-XTM-
Posts: 1277
Joined: Sat, 12. Nov 05, 19:46
x3

Post by -XTM- »

Throw out all the Gamma types, compensate A and B of those a little and this gives you more free slots.
Ofcourse this means you got to keep close tabs on the lasermasks and adjust them accordingly....only a 100 or so :lol:
The Xtended Mod

Need Help?

Ask Questions / View the FAQ's at TheXUniverse Forums
Read the News on Mod Developments at our Website
User avatar
SteelRush
Posts: 548
Joined: Wed, 6. Nov 02, 20:31
x4

Post by SteelRush »

augustini wrote:There *is* a little workaround this that allows an additional 2 new custom weapons...

There are 2 special plot related weapons... 1 Beta PBE and 1 Beta Kyon Emitter. The PBE is only used during certain plot missions and the Kyon is not used at all... This gives total freedom to mod in 2 new weapons after finishing the plot or in custom games.
Yeah, but that's still within the boundries of 32 weapons. Pretty much, you can redo the whole weapons grid, as long as the Lasertower Weapon, Repair Laser, Tractor Beam, and the Mobile Drilling System, are in their same positions.

Lasertower, so NPC lasertowers that spawn in work properly, Repair, Tractor, and MDS are self-explanitory. The Alpha IRE position is used for fighter drones, and drones won't spawn weapons properly if you set it to something else.
doubleshadow
Posts: 671
Joined: Fri, 12. Mar 04, 08:14
x3

Post by doubleshadow »

SteelRush wrote:Yeah, but that's still within the boundries of 32 weapons.
It is not.
There is no limit of number of records in TLasers. The only limit is the... hmm... "limit" :D - I mean the laser mask. When you set it to -1 you can equip all the weapons (beyond 32). If you set it to "magic" value (which I forgot already...) you can achieve different results. Check here.

Return to “X³: Reunion - Scripts and Modding”