+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 37

Thread: Quick modding questions DH

  1. #1

    Quick modding questions DH

    I think we need a Thread that allows people to ask questions about modding without creating a thread for it.


    Here is my Qeustion, How can I make 3 nations stay at war with each other untill 1 nation remains? I am getting annoyed with my moded game having Germany having a truce with one of it's rebels.
    Darkest Hour Helpful Links:
    How to modify the Darkest Hour Technology Tree:

    http://forum.paradoxplaza.com/forum/...-the-tech-tree.
    A collection of Blank Graphic files for Darkest Hour.
    http://forum.paradoxplaza.com/forum/showthread.php?645555-Resource-Blank-Gfx-files

    EU4 Mod Links:
    Cheat Mod:

    http://forum.paradoxplaza.com/forum/...2#post17580322

  2. #2
    ferocity = yes in AI files or something like that (try looking at MEX U57 U58 U59 in WWI scenario).

  3. #3
    Ok then These Events aren't showing up for some reason. Can you tell me why?

    Code:
    #########################################################################
    #  German Civil War -Democary Wins!
    #########################################################################
    event = {
    	id = 81000
    	random = no
    	country = DFR
    
    	trigger = {
    		NOT = {
    			exists = GER
    			AND = {
    			exists = DDR
    		}
    		}
    		atwar = no
    	}
    
    	name = "Democary Prevails!"
    	desc = "After long and bitter fighting We have beaten back the Fascists and Communist and made sure that Democarcy Prevails! Now we need to rebuild our beloved country and seek to it that this will never happen again!"
    	style = 2
      	picture = "scw"
    
    	action_a = {
    		name = "Victory!" 
    		command = {type = setflag which = Rebuild}
    		command = { type = dissent value = -17 }
    		
    	}
    }
    ############REBUILD############
    event = {
    	id = 81001
    	random = no
    	tag = {GER DDR DFR }
    
    	trigger = {
    	flag = Rebuild
    	}
    
    	name = "What shall we rebuild first?"
    	desc = "Now that we need to rebuild our beloved country, we can choose where to start with first. We can choose to repair the roads or we can start a few industrys. We can also try to improve our army but the civillians will not be amused to see vital resouces go to the army."
    	style = 2
      	picture = "scw"
    
    	action_a = {
    		name = "Start the Autobahn Project!"# Increase Infrastructe to 3 random provinces by 10%
    		command = { type = dissent value = -5 }
    						command = { type = construct which = infrastructure where = -1 value = 10 }
    						command = { type = construct which = infrastructure where = -1 value = 10 }
    						command = { type = construct which = infrastructure where = -1 value = 10 }
    						command = { type = supplies value = -500} #It's very expenvise!
    						command = { type = money value -100 }
    						command = {type = clrflag = Rebuild}
    	}
    		action_b = {
    		name = "Build a few factorys here and there."# Increase by 10 IC randomly
    		command = { type = dissent value = -8 }
    						command = { type = construct which = ic where = -4 value = 5 }
    						command = { type = construct which = ic where = -4 value = 5  }
    						command = { type = supplies value = -1000} #It's very expenvise!
    						command = { type = money value 20 } #New Owners will buy land from you.
    						command = {type = clrflag = Rebuild}
    	}
    			action_c = {
    		name = "The Army needs to be improved!"# Gives suppiles and 2 new units but give you 5 dissent.
    						command = { type = dissent value = 5 }
    						command = { type = industrial_modifier which = supplies value = 10 }#Improvment of army suppiles.
    						command = { type = supplies value = -1500}
    						command = { type = add_division value = militia when = 5 }
    						command = { type = add_division value = militia when = 5 }
    						command = { type = add_division value = militia when = 5 }
    						command = { type = add_division value = militia when = 5 }	
    command = {type = clrflag = Rebuild}						
    	}
    }
    
    #########################################################################
    #  German Civil War -Fascism Wins!
    #########################################################################
    event = {
    	id = 81002
    	random = no
    	country = GER
    
    	trigger = {
    		NOT = {
    			exists = DFR
    			AND = {
    			exists = DDR
    		}
    		}
    		atwar = no
    	}
    
    	name = "Fascism Prevails!"
    	desc = "After long and bitter fighting We have beaten back the Democratics and Communists and made sure that Fascism Prevails! Now we need to rebuild our beloved country and seek to it that this will never happen again!"
    	style = 2
      	picture = "scw"
    
    	action_a = {
    		name = "Victory!" 
    		command = {type = setflag which = Rebuild}
    		command = { type = dissent value = -17 }
    	}
    }
    
    
    #########################################################################
    #  German Civil War -Commuism Wins!
    #########################################################################
    event = {
    	id = 81003
    	random = no
    	country = DDR
    
    	trigger = {
    		NOT = {
    			exists = DFR
    			AND = {
    			exists = GER
    		}
    		}
    		atwar = no
    	}
    
    	name = "Communism Prevails!"
    	desc = "After long and bitter fighting We have beaten back the Democratics and Fasicst and made sure that Commuism Prevails! Now we need to rebuild our beloved country and seek to it that this will never happen again!"
    	style = 2
      	picture = "scw"
    
    	action_a = {
    		name = "Victory!" 
    		command = {type = setflag which = Rebuild}
    		command = { type = dissent value = -17 }
    	}
    }
    Darkest Hour Helpful Links:
    How to modify the Darkest Hour Technology Tree:

    http://forum.paradoxplaza.com/forum/...-the-tech-tree.
    A collection of Blank Graphic files for Darkest Hour.
    http://forum.paradoxplaza.com/forum/showthread.php?645555-Resource-Blank-Gfx-files

    EU4 Mod Links:
    Cheat Mod:

    http://forum.paradoxplaza.com/forum/...2#post17580322

  4. #4
    Missing date or date+offset+deathdate.

  5. #5
    Duke of Abrantes vanadio's Avatar
    Arsenal of DemocracyCities in MotionCrusader Kings IIDarkest HourDeus Vult
    EU3 CompleteDivine WindFor the MotherlandHearts of Iron IIIHOI3: Their Finest Hour
    Heir to the ThroneMagickaSemper FiVictoria 2Victoria II: A House Divided
    Victoria II: Heart of DarknessMount & Blade: WarbandMount & Blade: With Fire and SwordCK2: Holy Knight500k club
    Europa Universalis IV: Pre-orderEUIV: Wealth of Nations

    Join Date
    Jan 2010
    Location
    Abrantes, Portugal
    Posts
    739
    To add 3 or 4 provinces do i need to change the map like doing a brand new map? Or there is something easier?

  6. #6
    If you want to add 3/4 provinces to the map, you have to modify the map, yes (all zoom levels of course).

  7. #7
    Duke of Abrantes vanadio's Avatar
    Arsenal of DemocracyCities in MotionCrusader Kings IIDarkest HourDeus Vult
    EU3 CompleteDivine WindFor the MotherlandHearts of Iron IIIHOI3: Their Finest Hour
    Heir to the ThroneMagickaSemper FiVictoria 2Victoria II: A House Divided
    Victoria II: Heart of DarknessMount & Blade: WarbandMount & Blade: With Fire and SwordCK2: Holy Knight500k club
    Europa Universalis IV: Pre-orderEUIV: Wealth of Nations

    Join Date
    Jan 2010
    Location
    Abrantes, Portugal
    Posts
    739
    Quote Originally Posted by ^_AC_^ View Post
    If you want to add 3/4 provinces to the map, you have to modify the map, yes (all zoom levels of course).
    I read the tutorial to edit the map but it looks too hard for me...
    Is There something with images or a video tutorial ?
    Last edited by vanadio; 24-03-2012 at 13:51.

  8. #8
    No, it's really difficult. I never tried doing it for example.

  9. #9
    Duke of Abrantes vanadio's Avatar
    Arsenal of DemocracyCities in MotionCrusader Kings IIDarkest HourDeus Vult
    EU3 CompleteDivine WindFor the MotherlandHearts of Iron IIIHOI3: Their Finest Hour
    Heir to the ThroneMagickaSemper FiVictoria 2Victoria II: A House Divided
    Victoria II: Heart of DarknessMount & Blade: WarbandMount & Blade: With Fire and SwordCK2: Holy Knight500k club
    Europa Universalis IV: Pre-orderEUIV: Wealth of Nations

    Join Date
    Jan 2010
    Location
    Abrantes, Portugal
    Posts
    739
    Ok I was trying to do a portuguese colonial war mod, but angola have only 6 provinces...

  10. #10
    What is the maxium amount of tech component a tech team can have? I heard that it was 5.
    Darkest Hour Helpful Links:
    How to modify the Darkest Hour Technology Tree:

    http://forum.paradoxplaza.com/forum/...-the-tech-tree.
    A collection of Blank Graphic files for Darkest Hour.
    http://forum.paradoxplaza.com/forum/showthread.php?645555-Resource-Blank-Gfx-files

    EU4 Mod Links:
    Cheat Mod:

    http://forum.paradoxplaza.com/forum/...2#post17580322

  11. #11
    Darkest Hour Developer MartinBG's Avatar

    Join Date
    Nov 2007
    Posts
    4,789
    Quote Originally Posted by supeerme View Post
    what is the maxium amount of tech component a tech team can have? I heard that it was 5.
    6 iirc

  12. #12
    I'm trying to enter some events in the mod I'm working on:

    In a text similar to the peace_negotiations one, I added this treaty which is supposed to end hostilities between the Ottomans and the Balkan League. I guess I also need to give an event of Military Defeat to the Ottomans which triggers the peace treaty:

    event = {
    id = 2024501 # Treaty of London
    country = OTT

    trigger = {
    random = 25
    OR= {
    event = 2192513 # Military defeat
    }
    }

    name = "EVT1914_2024501_NAME"
    desc = "EVT1914_2024501_DESC"
    style = 2
    picture = "news_paper"

    date = { day = 1 month = january year = 1912 }
    offset = 7
    deathdate = { day = 30 month = december year = 1925 }

    action_a = {
    ai_chance = 100
    name = "EVT1914_2024501_ACTIONA" # Austria lives its Darkest Hour...
    command = { trigger = { war = { country = OTT country = BUL } } type = peace which = BUL value = 1 }
    command = { trigger = { war = { country = OTT country = GRE } } type = peace which = GRE value = 1 }
    command = { trigger = { war = { country = OTT country = MTN } } type = peace which = MTN value = 1 }
    command = { trigger = { war = { country = OTT country = SER } } type = peace which = SER value = 1 }
    command = { trigger = { } type = secedeprovince which = BUL value = 319 }
    command = { trigger = { } type = secedeprovince which = BUL value = 320 }
    command = { trigger = { } type = secedeprovince which = BUL value = 363 }
    command = { trigger = { } type = secedeprovince which = BUL value = 370 }
    command = { trigger = { } type = secedeprovince which = BUL value = 385 }
    command = { trigger = { } type = secedeprovince which = GRE value = 365 }
    command = { trigger = { } type = secedeprovince which = GRE value = 366 }
    command = { trigger = { } type = secedeprovince which = GRE value = 367 }
    command = { trigger = { } type = secedeprovince which = GRE value = 369 }
    command = { trigger = { } type = secedeprovince which = GRE value = 383 }
    command = { trigger = { } type = secedeprovince which = SER value = 328 }
    command = { trigger = { } type = secedeprovince which = SER value = 329 }
    command = { trigger = { } type = secedeprovince which = SER value = 333 }
    command = { trigger = { } type = secedeprovince which = SER value = 334 }
    command = { trigger = { } type = secedeprovince which = MTN value = 335 }
    }
    }
    Is this right?
    As the Greek ambassador to Sofia had put it during the negotiations that led to Greece's entry in the League: "Greece can provide 600,000 men for the war effort. 200,000 men in the field, and the fleet will be able to stop 400,000 men being landed by Turkey between Salonika and Gallipoli."

  13. #13
    Yes, but the OR section in the trigger makes no sense (OR event Military Defeat OR...?). If you want it to trigger from another event, then you'll have to remove the trigger and the date+offset+deathdate from this event.

  14. #14
    Recruit Hopekeeper's Avatar

    Join Date
    Feb 2009
    Location
    Kyiv, Ukraine
    Posts
    9
    Hi to all members and developers here!
    I'm asking if someone can post here graphics templates (for tech-teams, models, brigades, inventions)
    Have some pictures of military planes of 1920-40th for different minor European countries, wanna see them ingame)
    Thanks, Hopekeeper
    Last edited by Hopekeeper; 28-03-2012 at 01:01. Reason: Wrong symbols entered :(

  15. #15
    Quote Originally Posted by supeerme View Post
    what is the maxium amount of tech component a tech team can have? I heard that it was 5.
    Quote Originally Posted by MartinBG View Post
    6 iirc
    Incorrect. A tech team may have more than 6. The maximum that will display is 6.

    Indefinitely retired from modding Paradox games.

  16. #16
    Quote Originally Posted by ^_AC_^ View Post
    Yes, but the OR section in the trigger makes no sense (OR event Military Defeat OR...?). If you want it to trigger from another event, then you'll have to remove the trigger and the date+offset+deathdate from this event.
    I want the Treaty to be triggered by this military defeat event:

    event = {
    id = 2192513 # Military defeat
    tag = { OTT }

    trigger = {
    atwar = yes
    OR = {
    NOT = { control = { province = 333 data = -1 } }
    NOT = { control = { province = 361 data = -1 } }
    NOT = { control = { province = 365 data = -1 } }
    NOT = { control = { province = 367 data = -1 } }
    NOT = { control = { province = 370 data = -1 } }
    NOT = { control = { province = 383 data = -1 } }
    NOT = { control = { province = 385 data = -1 } }
    }
    }

    name = "EVT1914_2192513_NAME"
    desc = "EVT1914_2192513_DESC"
    style = 2
    picture = "Peace_conference"

    date = { day = 29 month = june year = 1912 }
    offset = 3
    deathdate = { day = 30 month = december year = 1925 }

    action = {
    name = "EVT1914_2192513_ACTIONA" # We have been defeated
    command = { trigger = { war = { country = OTT country = BUL } } type = peace which = BUL value = 1 }
    command = { trigger = { war = { country = OTT country = GRE } } type = peace which = GRE value = 1 }
    command = { trigger = { war = { country = OTT country = MTN } } type = peace which = MTN value = 1 }
    command = { trigger = { war = { country = OTT country = SER } } type = peace which = SER value = 1 }
    command = { type = dissent value = -10 }
    }
    }
    How should each event look like?
    As the Greek ambassador to Sofia had put it during the negotiations that led to Greece's entry in the League: "Greece can provide 600,000 men for the war effort. 200,000 men in the field, and the fleet will be able to stop 400,000 men being landed by Turkey between Salonika and Gallipoli."

  17. #17
    First of all, is there is only one country you shouldn't use tag = { OTT } but country = OTT.

    Second, just add command = { type = trigger which = 2024501} to this event (right after command = { type = dissent value = -10 }) and finally, as I said earlier, remove the trigger and the date+offset+deathdate from event 2024501.

  18. #18
    Quote Originally Posted by ^_AC_^ View Post
    First of all, is there is only one country you shouldn't use tag = { OTT } but country = OTT.

    Second, just add command = { type = trigger which = 2024501} to this event (right after command = { type = dissent value = -10 }) and finally, as I said earlier, remove the trigger and the date+offset+deathdate from event 2024501.
    Ah, got it, thanks a lot mate.
    As the Greek ambassador to Sofia had put it during the negotiations that led to Greece's entry in the League: "Greece can provide 600,000 men for the war effort. 200,000 men in the field, and the fleet will be able to stop 400,000 men being landed by Turkey between Salonika and Gallipoli."

  19. #19
    Another thing: It seems that some event descriptions and names do not appear as they should. For example I get events in this format: EVT1914_2000000_NAME;
    As the Greek ambassador to Sofia had put it during the negotiations that led to Greece's entry in the League: "Greece can provide 600,000 men for the war effort. 200,000 men in the field, and the fleet will be able to stop 400,000 men being landed by Turkey between Salonika and Gallipoli."

  20. #20
    Did you add the names and descriptions in a config file?
    Darkest Hour Helpful Links:
    How to modify the Darkest Hour Technology Tree:

    http://forum.paradoxplaza.com/forum/...-the-tech-tree.
    A collection of Blank Graphic files for Darkest Hour.
    http://forum.paradoxplaza.com/forum/showthread.php?645555-Resource-Blank-Gfx-files

    EU4 Mod Links:
    Cheat Mod:

    http://forum.paradoxplaza.com/forum/...2#post17580322

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts