aseboair.blogg.se

Historical flavor mod victoria 2 wiki
Historical flavor mod victoria 2 wiki




  1. Historical flavor mod victoria 2 wiki mod#
  2. Historical flavor mod victoria 2 wiki code#

It will also send an event to Oranje, Transvaal, and Natalia prompting them to unite #with their Union nation. #The allows case will also set a global flag, change the player to control Boerlandt with #change_tag = BDT, add 15 prestige and remove 2 militancy and conciousness from the #population. In this case the Boer States will lose their #cores and Boerlandt will gain them. #Effect is what will happen if the decision is enacted. #In this allows case it will return true if the target country is NOT at war and its prestige is equal to #100 or its a secondary or great power.

Historical flavor mod victoria 2 wiki code#

Please look over the code as well, I have made notes within it. This will fire IF you are the USA AND have 100 prestige OR Germany AND have 125 prestige. You can also make AND/OR structures as well. Means that it will return true if the criterea is false.įor example NOT = will return true if boerlandt does not exist. Means that it returns true if ONE of the criterea within the brakets is true. Means that it returns true if all the criterea within the brakets is also true. In this case Boerlandt, a nation I created TAG is BDT.Īllow, is what allows you to press the check mark of the in game GUI and set the decision into effect. There is a list of them within the game files and you must define one for a nation you wish to create but I will go more in depth with this later. A three letter word that usually consists of the nations initials. In the code nations are represented by a TAG. And the Union nation "Boerlandt" doesn't exist. It does not have the global flag "boer_landt"ģ. Potential is what allows the decision to be seen within the decisions section of the in game GUI and in this case will only fire if all the critera listed is true such as:Ģ. This for example is a decision you can enact if your nation is one of the Boer states such as Transvaal, Natalia, or Oranje, and you have met the proper criterea. I plan to make more guides going more in depth and covering specific parts of modding but I will provide some examples of what can be done with modding the game. Such as if you don't add the defaults into the modded version of the file they may not be in the game or it will probably crash on startup. Afterward you can edit it by rightclicking on the file and choosing edit from the drop down menu.Īlso worthy to note if you were to add national foci (or any other item) by creating a new text file it will overwrite the the vanilla foci. MOD file (so that it actually works) you must choose "Save as" the go to the "Save as type" drop down menu, choose "All Files" and when you name it put ".MOD" at the end of the file name and then save it. This is true when modding the code for decisions/events/pops/etc as well. The # (number symbol or hashtag) will prevent the code from being read and it will have no effect. Note: It will not DELETE them from your Vic 2 or any modded folder.įor example this will replace the national foci with ones that I custom created. Replace_path will essentially remove the vanilla files from the game and replace them with whatever you have in your modded file location. WARNING IT IS HIGHLY RECOMMENDED THAT YOU DO THIS TO PREVENT CORRUPTION WITH YOUR VANILLA AND OTHER MODDED SAVES. User_dir will create a different directory for user savegames and map files for your mod.

Historical flavor mod victoria 2 wiki mod#

Then you will define the name of the mod with To do this you will want to open notepad or its equivalent such as notepad++. This defines your mod as well as names it, initializes it, and lets you specify what files/folders you want to load/overwrite/modify.






Historical flavor mod victoria 2 wiki