04-26-2016, 03:36 AM
I have made some commits to CAMM.
Yesterday and today, I asked Josh what our current priorities are on the project overall.
Well, it's map loading. (or rather, .camm map loading)
So, josh spent his time working on code to load camm data into CAC via the wrapper.
I adapted a few scripts from CAC's source code, taking advantage of the fact Flash ActionScript 1 and 2 are virtually incidental to JavaScript at the basic level. The end results of this are a very hacked-together level data dumping utility that exports not only tiles (something CAMM actually can do) , but the exact positions of units and buildings when they're created in CAC. After using this utlility a few times, and ironing out some bugs, I managed to produce CAMM maps of all of the original CAC levels.
And Josh has updated these already, so I'll just point here:
https://github.com/leveleditor/CAMM-Crys...fault_Maps
my original commit, and a quick patch, however, are here:
https://github.com/leveleditor/CAMM-Crys...eb3e9b1007
and
https://github.com/leveleditor/CAMM-Crys...6b63b40f19
Yesterday and today, I asked Josh what our current priorities are on the project overall.
Well, it's map loading. (or rather, .camm map loading)
So, josh spent his time working on code to load camm data into CAC via the wrapper.
I adapted a few scripts from CAC's source code, taking advantage of the fact Flash ActionScript 1 and 2 are virtually incidental to JavaScript at the basic level. The end results of this are a very hacked-together level data dumping utility that exports not only tiles (something CAMM actually can do) , but the exact positions of units and buildings when they're created in CAC. After using this utlility a few times, and ironing out some bugs, I managed to produce CAMM maps of all of the original CAC levels.
And Josh has updated these already, so I'll just point here:
https://github.com/leveleditor/CAMM-Crys...fault_Maps
my original commit, and a quick patch, however, are here:
https://github.com/leveleditor/CAMM-Crys...eb3e9b1007
and
https://github.com/leveleditor/CAMM-Crys...6b63b40f19