Weapon ID maximum number

Weapon ID maximum number

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
maestro
Posts: 352
Joined: 08 Jun 2005, 11:10

Weapon ID maximum number

Post by maestro »

Hi how many weapon ID number maximum in Spring ?
and how to write them ? (just like in OTA ?)
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Just discard the ID= tag.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

really? i still used it thinking spring orders them in some way, but i geuss noy?
User avatar
GrOuNd_ZeRo
Posts: 1370
Joined: 30 Apr 2005, 01:10

Post by GrOuNd_ZeRo »

I wish there was a higher maximum of weapon types per unit, 5 would be good :)
IMSabbel
Posts: 747
Joined: 30 Jul 2005, 13:29

Post by IMSabbel »

5?
I want a star destroyer with every laser turret usable independently :D
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

No limit would be better

Weapon1=..;
...
Weapon1544564=..;

Instead of Primary, Secondary, Tertiary, use 1,2,3,4,... in script function names:

AimFrom1544564(piecenume), Query1544564(piecenume), etc...
Still call both AimPrimary and Aim1, etc...,etc... so as not to break old TA units.
Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Post by Torrasque »

CAn't we have weapon stored in an array instead of first/second/third etc..?
Like that, we can have an "infinite" number of weapons.


So the same idea as Zwzsg : weapon[x] , Aim[x] etc...
Last edited by Torrasque on 06 Aug 2005, 18:27, edited 1 time in total.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

:?:
maestro
Posts: 352
Joined: 08 Jun 2005, 11:10

Post by maestro »

zwzsg wrote:No limit would be better

Weapon1=..;
...
Weapon1544564=..;

Instead of Primary, Secondary, Tertiary, use 1,2,3,4,... in script function names:

AimFrom1544564(piecenume), Query1544564(piecenume), etc...
Still call both AimPrimary and Aim1, etc...,etc... so as not to break old TA units.
genius idea :)
Post Reply

Return to “General Discussion”