Are Tank models broken in 221?
Posted: Sat Jun 04, 2016 1:43 pm
I am now 99% convinced that the answer to this question is YES.
As I have reported, I have been struggling with creating models for the past two weeks, with rather sporadic and unpredictable success. And, I have to say that in principle, creating models is not that difficult (probably the hardest part is the events, and functiondescript, which Vic written and you can use).
The problem that I have experienced is that after you edit a scenario for a single model, when I start a random game and try to create the model, the game crashes with an error message that a subscript is out of bounds. This happens to me if I create a single model, say Light Tanks in an attempt to convert Anewdawn to Anewdawn2.
This got me to thinking and I decided to "time-travel". I uninstalled ATG, reinstalled based on v200c, and upgraded to v220beta and later v220c. I then started to convert Anewdawn to Anewdawn2 starting with Light Tanks. And it worked. That is there was no error in the creation of the model after starting a random game. I could create other models, and no crashes occurred when I added new models.
I then continued to upgrade to 221d, at which point the problem reappeared. This happens both when I start over and generate a new scenario file or use one of the scenario files I created previously with v200.
This leads me to conclude that something has happened with models between v200 and v221. Although, strangely, Anewdawn2 continues to work. But, I was also able to get models to work with v221, but only when I created all the models ranging from Light Tank to Assault Gun. In addition, I found sometimes, this worked as well: create a model, and it would crash. Follow this up with a new SFT and assign it to a new item, and the model would work.
Lastly, even in v200 I was never able to get model upgrades (when researching I -> II) to work as they do in Anewdawn2. I set the research levels as they are set in Anewdawn2, and it never worked. I basically did the following. I created a Light Tank model by copying the Std. Light Tank SFT, set all the boxes on the Models 1 tab. For research, I first set SMG to zero (since by default all SFTs have it set to 1), then set Light Tank research to zero. This now sets the research button to Light Tanks. Then go to Light Tank II, III, and IV, and set the research level to 1,2,3, respectively. Since the SFT is a copy, its upgrade still points to the Light Tank II SFT. When, I start a random game, models created this way do not show that they can be upgraded after I research Light Tank II.
As I have reported, I have been struggling with creating models for the past two weeks, with rather sporadic and unpredictable success. And, I have to say that in principle, creating models is not that difficult (probably the hardest part is the events, and functiondescript, which Vic written and you can use).
The problem that I have experienced is that after you edit a scenario for a single model, when I start a random game and try to create the model, the game crashes with an error message that a subscript is out of bounds. This happens to me if I create a single model, say Light Tanks in an attempt to convert Anewdawn to Anewdawn2.
This got me to thinking and I decided to "time-travel". I uninstalled ATG, reinstalled based on v200c, and upgraded to v220beta and later v220c. I then started to convert Anewdawn to Anewdawn2 starting with Light Tanks. And it worked. That is there was no error in the creation of the model after starting a random game. I could create other models, and no crashes occurred when I added new models.
I then continued to upgrade to 221d, at which point the problem reappeared. This happens both when I start over and generate a new scenario file or use one of the scenario files I created previously with v200.
This leads me to conclude that something has happened with models between v200 and v221. Although, strangely, Anewdawn2 continues to work. But, I was also able to get models to work with v221, but only when I created all the models ranging from Light Tank to Assault Gun. In addition, I found sometimes, this worked as well: create a model, and it would crash. Follow this up with a new SFT and assign it to a new item, and the model would work.
Lastly, even in v200 I was never able to get model upgrades (when researching I -> II) to work as they do in Anewdawn2. I set the research levels as they are set in Anewdawn2, and it never worked. I basically did the following. I created a Light Tank model by copying the Std. Light Tank SFT, set all the boxes on the Models 1 tab. For research, I first set SMG to zero (since by default all SFTs have it set to 1), then set Light Tank research to zero. This now sets the research button to Light Tanks. Then go to Light Tank II, III, and IV, and set the research level to 1,2,3, respectively. Since the SFT is a copy, its upgrade still points to the Light Tank II SFT. When, I start a random game, models created this way do not show that they can be upgraded after I research Light Tank II.