Page 1 of 1

Weapon ID maximum number

Posted: 04 Aug 2005, 13:33
by maestro
Hi how many weapon ID number maximum in Spring ?
and how to write them ? (just like in OTA ?)

Posted: 04 Aug 2005, 13:49
by Torrasque

Posted: 04 Aug 2005, 15:07
by zwzsg
Just discard the ID= tag.

Posted: 05 Aug 2005, 13:06
by bobthedinosaur
really? i still used it thinking spring orders them in some way, but i geuss noy?

Posted: 05 Aug 2005, 16:42
by GrOuNd_ZeRo
I wish there was a higher maximum of weapon types per unit, 5 would be good :)

Posted: 05 Aug 2005, 17:01
by IMSabbel
5?
I want a star destroyer with every laser turret usable independently :D

Posted: 05 Aug 2005, 17:05
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.

Posted: 05 Aug 2005, 17:06
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...

Posted: 05 Aug 2005, 17:27
by zwzsg
:?:

Posted: 06 Aug 2005, 11:38
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 :)