+1ORIGINAL: wololoh
Anyway, I think it is great that we have this capability now! [:)]
You would be amazed at some of the other things that CSlint can do. (Some other time.)
Moderator: Campaign Series Matrix Edition Development Group
+1ORIGINAL: wololoh
Anyway, I think it is great that we have this capability now! [:)]
Victory!ORIGINAL: zoikkis
Finally managed to generate the .lua file!!!
Yes. Sorry that was not clearer.I had to remove the game folder from the path, like this:
***************************************
cslintroot "/mnt/d/Games/Matrix Games/Campaign Series Vietnam/Tools/CSlint"
gameroot "/mnt/d/Games/Matrix Games/"
***************************************
I am guessing it doesn't like the highlighted / above.It did spit out this:
/mnt/d/Games/Matrix Games/Campaign Series Vietnam/Tools/CSlint$ ./csmklua.pl -a -p -b -g vn -f myScenario.scn -o myScenario.lua
sh: 1: /mnt/d/Games/Matrix: not found
sh: 1: /mnt/d/Games/Matrix: not found
sh: 1: /mnt/d/Games/Matrix: not found
I wonder if those "not found" lines matter anything. The scenario seems to launch fine at least. The .lua file is 21KB in size
ORIGINAL: zoikkis
Set org lists looks a bit too empty though...
******************************************
function set_org_lists (turn, side)
-- called in on_startup(), in every on_next_turn(), and potentially again (and again) in any subsequent on_resume()
--traceon()
turn = turn or 1
side = side or "a"
ALLA = counters_all(SIDE_A)
ALLB = counters_all(SIDE_B)
-- auto-generated org lists to follow; rename, resequence, regroup, and reorganize as necessary
-- KEY:
-- [P] Platoon
-- [C] Company
-- Battalion
-- [R] Regiment
-- [G] Brigade
-- [D] Division
-- [K] Corps
-- [A] Army
-- hand-crafted org lists, if any, to follow
--traceoff()
end
**************************************
No list of the units I placed into the scenario. So maybe something is not quite working still
sh: 1: /mnt/d/Games/Matrix: not found
sh: 1: /mnt/d/Games/Matrix: not found
sh: 1: /mnt/d/Games/Matrix: not found
Awesome!!ORIGINAL: wololoh
No errors, and org lists are generated [8D]