prankster wrote:Hello,
can u explain me how to use this script?
thanks =)
1) You put BAV7.12-sav1.54.sd7 next to BA712.sd7
2) You play the mod B.A. V7.12-sav1.54 instead of B.A. 7.12
3) Ingame, you press Esc for menu
R-TEAM wrote:the things that are in-build dont get the right ready state (20% as example). All beginning at 0% ready ....
[...]
Have found that on fabs that build anything i get partly strange results: The vehicle is twice in the fab with different "ready" states - one is at 4% the other at 10% .......
Yes. I can restore partially built stuff, but I cannot restore who was building it.
For mobile construction building static structure, that's usually not a problem: The constructor queue is restored, it sees that the next command is to build a structure, it finds an half complete nanoframe on where it's told to build, and so instead of starting a new building, it finishes the one it finds. That does not work when canAssist=0 but in BA and all other *A, cons are allowed to assit so that's okay.
For factories building vehicles, the partially built tank nanoframe is restored, but the factory doesn't remember that it was working on it. The factory ignore the restored vehicle nanoframe, and start a new one, while the old nanoframe slowly decay and vanish. That is why for factories, the construction restart at 0%, and why you see two nanoframes at different level of completion.
I asked the engine dev for a Lua command to re-assign a main builder, but it wasn't implemented. Then I understand that it would be tricky to code, and maybe less trickier to work around in my Lua by not spawning the frame but instead wait for the factory to initiate building and then bump the buildProgress.
R-TEAM wrote:The map generates rocks of metall, this rocks i have recycled.And have build on the free space a air fabric.After loading the rocks here again,and partly IN the air-fab.
Yes, I wipe and restore the features owned by a team, but not the gaia features. And indeed that means all the rocks and trees are back again when you reload, sometimes inside your buildings. Saving, wiping and restoring gaia features would be easy to add thought. Have not done it because I was afraid some maps have too many trees (but then now that I save heightmap, a few hundred trees wouldn't add that much save/load time and filesize), and to keep compatibility with Smoth's Feature Placer (but then I could just modify Feature Placer to perform at frame 2 instead of 10).
R-TEAM wrote:The build queue from builders (kbot/Vehicle/Commander) are NOT restored - the list is gone - only the actual building will build.
Hmm, right. It's odd that I had not noticed before. I guess I never went further that one item in cons queue in my testing.
R-TEAM wrote: continue testing [..] more errors
Other bugs that you have not found:
- Fails to restore units with a - in their name.
- Unit orientation incorrectly restored.
- Doesn't play well with the timers and Regenerative AI I use in my missions: They get reseted.
- Likes to replace people or unplayed teams with KAIK.
- Does not translate Features ID: Potentially very dangerous!