Alexey_Andronov
Registered:1376558464 Posts: 78
Posted 1405877414
Reply with quote
#1
Can someone experienced with scripting and running missions tell me what exactly are the valid values for the fleetNumber? Mission file docs says: ATTRIBUTE: fleetnumber VALID: 1-99 If you use a fleet number that's illegal, crashes and wierd graphical glitches will occur. However, for a long time, Mission Editor was setting fleetNumber to -1 by default and it seems to work (no crashes or glitches). So, what are the correct values? If anyone knows it, I could change the values Mission Editor considers valid (or sets by default)
Xavier Wise
Registered:1375817447 Posts: 1,362
Posted 1405881493
Reply with quote
#2
If you want to assign a fleet number, use 1 to 99. Giving a ship a fleet number of -1 means it is not a member of any fleet.
__________________ Fleet Captain Xavier Wise - TSN SabreLink to TSN RP Community Website Want to follow development of the TSN Sandbox? Head here:https://ko-fi.com/xavierwise
Alexey_Andronov
Registered:1376558464 Posts: 78
Posted 1405896233
Reply with quote
#3
So, valid values are: * nothing (attribute not present in the element) * -1 * 1 to 99 And 0 or any other numeric value is invalid?
Xavier Wise
Registered:1375817447 Posts: 1,362
Posted 1405942420
Reply with quote
#4
The value -1 is the same as nothing . It tells the game not to assign a fleet number to the ship
I have never used 0 or any number above 99 as I see no need to. If it says numbers 1-99 are valid, that is what I use.
__________________ Fleet Captain Xavier Wise - TSN SabreLink to TSN RP Community Website Want to follow development of the TSN Sandbox? Head here:https://ko-fi.com/xavierwise
Mike Substelny
Administrator
Registered:1375273622 Posts: 2,990
Posted 1405948798
Reply with quote
#5
I once did use a number higher than 99 and yes, strange graphical glitches occurred.
__________________"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight." - Winston Churchill