First I'd like to mention that
wars-gamenode (which I suggest you'll base your version on) is still
under development, but moving forward at a nice pace. After you install
node.js You can use the
instructions I gave j0n to get the game running on your computer.
Open
server/gameElements.js to modify the game terrains and units (basically, this file contains all the stuff in the "info" page of wars-django). The parts you are modifying are lists like armorList and unitTypeList. You can check the type declarations (like Armor) at the top of the file to see what all the parameters are (I'll gladly explain each if you have trouble making out what something does). I suggest you keep the number of tiles and units the same until you're familiar with the image_map.js file.
After you've defined your weapons, armors, unit types, terrains, etc. try modifying
client/img/themes/pixel/sprite_sheet.png to give your units a different appearance.
If you want to add/remove units or tiles, you'll need to modify the mapping between units/tiles and the sprite sheet. This is (at least, currently) done by modifying
client/image_map.js, which is a bit cryptic
(it's ugly, I know). Basically it contains an array with three items: "tiles", "units" and "other". The "tiles" item contains an array with an item for each terrain (same order as in terrainList). Those items contain an array with an item for each terrain subtype (like different road tiles). Those items in part contain an array with an item for each player that can own the tile (first is neutral, then player 1, player 2...). Those items contain the x and y coordinates of that specific tile type-subtype-owner combination in the sprite sheet. The "units" item is laid out the same way, but unit type-owner (no subtypes in units). The "other" item currently only contains the life indicator numbers. I plan to make this simpler in the future
I'm sure you have some questions after you check these out. Feel free to ask
EDIT: Also updated fusion theme sprite sheet
. The cruisers look nice, even when they're on bridges