April 3, 2011

How to Add New IC

This event add new IC in the Province.

country_event = {

          id = 19751   
# id number must be unique

          is_triggered_only = yes

          title = "EVTNAME1404"
          desc = "EVTDESC1404"
          picture = "Danzig"

          option = {
                    name = "EVTOPTA1404"
                    ai_chance = { factor = 100 }
                    1739 = { industry = 10 }
                    1799 = { industry = 10 }
                    1740 = { industry = 8 }
                    1680 = { industry = 10 }
                    1623 = { industry = 10 }
                    1860 = { industry = 10 }
                    1800 = { industry = 10 }
                    1741 = { industry = 10 }
                    1681 = { industry = 10 }
                    1920 = { industry = 8 }
                    1976 = { industry = 10 }
                    1921 = { industry = 10 }
                    1801 = { industry = 10 }
                    1742 = { industry = 6 }
                    1862 = { industry = 10 }
                    1802 = { industry = 10 }
                    1743 = { industry = 10 }
          }
}

How to use

1- Copy the event.
2- Paste in empty txt file.
3- Give unique name txt file.
4- Move this file to "events" folder in "C:\Program Files\Paradox Interactive\Hearts of Iron III\".
5- Start HOI3.
6- Open Cheat Console ("ALT + 21" on the numeric keypad).
7- write
event 19751
and press Enter

I explain some important event commands :

"id = 19751" : Unique event id number.

"1739 = { industry = 10 }" : "1739" is the province id number. "industry = 10" is added to the number of the province's IC.

How to Change This Event :

1- Go to "provinces" folder in “C:\Program Files\Paradox Interactive\Hearts of Iron III\history\”.

2- Find the name of the province (use MS Windows search or etc.). When you find the province file. You will see some numbers in the file name. This number is the Province id number.

3- Copy this number and paste this number in the event code. For example :

 "Paste here" = { industry = 10 }

Don't forget. Only number.

Not : If you want, you can download this event file from the following link.

File Name : AddNewIC.txt

https://skydrive.live.com/redir.aspx?cid=ddae1d89946b12c9&resid=DDAE1D89946B12C9!108