
- #COSSACKS BACK TO WAR MODS HOW TO#
- #COSSACKS BACK TO WAR MODS CODE#
void SetPDistribution(int OnFood,int OnWood,int OnStone) – How to distribute them on food, wood and stone.CostPercent – Create unit only if the the cost of creating the resource is this much percentage of the total.Max – Maximum number of that particular unit allowed.TryUnit(GAMEOBJ* UnitType,int Max,byte CostPercent,byte Probability) – Try to create/build a unit/building depending on the constraints available.At a later point, maybe I'll seperate them file-wise, but too difficult to do it right now. Containing all of the gameplay features of Cossacks: European Wars and Cossacks: The Art of War, this is a complete care package for all current and future Cossacks fans.
Extremely pleasant, on the other hand, is the stand-alone version Cossacks: Back to War. These are the various functions in the code. To stand alone in war is extremely unpleasant. When you play the game, you will see that the units aren’t doing anything
Create empty function void Dummy(void) in Extraction.h.
In the Switch statement, add Dummy() under case LT_LAND and add break. Execution starts in Scripts.h in the function MainScript(). changing the AI of one will change it for all countries All countries are linked to the same Dependencies i.e. Most of the countries have all header files in ‘External Dependencies’. To build for all countries, run build batch and check the ‘Release’ versions for all countries. Use the workspace (dsw) file in 112_C_I_BTW_AI_Sour\Cossacks_I_BTW_AI_Source\AI_0995\AI. I can be reached at (Hint: Very popular email by very popular search engine whose name starts with G) :) Installationįollow these steps to get a working environment: (no Ship of line or Frigate) I've tried Islands and Continents. I built and researched everything - the biggest possible ship is still a Ketch. I'm not sure if it's legal yet, depends on what GSC Gameworld allows (following on the pattern of everything else, there's not really much information about it!). The mouse didnt appear and the menu screens were frozen, but I could still hear the menu sound effects and click on menu items (by using the Windows feature where you press CTRL and a big white O appears around the cursor). Hi I'm playing cbtw with the imperia mod. #COSSACKS BACK TO WAR MODS CODE#
If possible, will also put the source code here at a later point. I'll keep updating this document as and when I make progress. This document is a work in progress of all the details that I've been able to understand by trying and testing each part of the code.