+ Reply to Thread
Page 1 of 111 1 2 3 11 26 51 76 101 ... LastLast
Results 1 to 20 of 2218

Thread: Quick modding questions

  1. #1

    Question Quick modding questions

    I would like to propose that this thread be used for quick questions like the similarly named thead in the main forums, except for modding related questions.

    I would like to start things off with a couple of questions. First, how do I slow down the rate at which provences defect into the horde nations, or disable defections all together?

    Also, is there any way to edit the amount of units a nation start off with in the grand campaign?

  2. #2
    First Lieutenant vonlinchen's Avatar
    EU3 CompleteHearts of Iron IIIHeir to the ThroneDivine Wind

    Join Date
    Dec 2009
    Location
    Steam
    Posts
    287
    1. Go into the common folder and edit the defines file.

    Look for the line: 12 #_DDEF_NOMAD_MIN_OCC_TO_OWN_CORE_MONTHS_


    2. No this is not possible, it is determined automatically depending on how much manpower the country has, income and support limit.

  3. #3
    Where is the file that defines the inheritance core rule?

  4. #4
    I want to have the max zoomed out map on DW to be on all the time. What files should I change?
    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/...lank-Gfx-files

  5. #5
    First Lieutenant vonlinchen's Avatar
    EU3 CompleteHearts of Iron IIIHeir to the ThroneDivine Wind

    Join Date
    Dec 2009
    Location
    Steam
    Posts
    287
    Quote Originally Posted by GreyHuge View Post
    Where is the file that defines the inheritance core rule?
    please specifiy

    Quote Originally Posted by Supeerme View Post
    I want to have the max zoomed out map on DW to be on all the time. What files should I change?
    pritty sure thats impossible

  6. #6
    I'm tinkering with aenariel's cultural migrations events, and am trying to get an event to fire if a province: (a) has people in it (either natives or a country's population) and (b) neighbours a province without people, either natives or nationals. The trigger I have is:

    Code:
    trigger = {
    	OR = {
    		native_size = 1
    		citysize = 1
    	}
    	any_neighbor_province = {
    		AND = {
    			NOT = { native_size = 1 }
    			NOT = { citysize = 1 }
    		}
    	}
    }
    This never fires on its own, even after 20 years with with a MTTH of 12 months. When I fire the event for a populated province, it fires, but the second part - the any_neighbour_province part - has a red asterisk.

    I have a similar line in the first and only option for the event:
    Code:
    option = {
    	name = "EVTOPTA10201"
    	set_global_flag = copyculture
    	set_global_flag = migration_in_progress
    	set_province_flag = spread_culture
    	citysize = -250
    	random_neighbor_province = {
    		limit = {
    			AND = {
    				NOT = { native_size = 50 }
    				NOT = { citysize = 50 }
    			}
    		}
    		set_province_flag = copy_culture
    		native_size = 200
    	}
    }
    Here, it seems to read the first part, and reduces the citysize by 250, but does nothing else. I have a feeling I've stuffed something up with the limit, but I can't find any proper explanation on how to use that command.

    What am I doing wrong?

  7. #7
    Captain Jerzul's Avatar
    Europa Universalis: RomeEU3 CompleteHeir to the ThroneVictoria 2Divine Wind
    Crusader Kings IISword of the Stars IIHearts of Iron III Collection

    Join Date
    Mar 2005
    Location
    Rockville, Maryland, USA
    Posts
    382
    1. Can you edit "normal" difficulty

    2. If not, how do you edit the base badboy_limit?
    "Therefore a wise prince will seek means by which his subjects will always and in every possible condition of things have need of his government, and then they will always be faithful to him."
    Niccolo Machiavelli
    The Prince

  8. #8
    Quote Originally Posted by Jerzul View Post
    1. Can you edit "normal" difficulty

    2. If not, how do you edit the base badboy_limit?
    1. Static modifiers
    2.Defines.lua (use a notepad.)
    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/...lank-Gfx-files

  9. #9
    Captain Jerzul's Avatar
    Europa Universalis: RomeEU3 CompleteHeir to the ThroneVictoria 2Divine Wind
    Crusader Kings IISword of the Stars IIHearts of Iron III Collection

    Join Date
    Mar 2005
    Location
    Rockville, Maryland, USA
    Posts
    382
    Quote Originally Posted by Supeerme View Post
    1. Static modifiers
    2.Defines.lua (use a notepad.)
    Thank you Supeerme, but I already know about static modifies.txt, but can I simply add a "normal_player" line and go at it? Would the game recognize that?

    Also, I see a defines.txt but no defines.lua? Is the lua in the Steam version? Because I don't have the steam version. Also, which line in the "defines" file actually define the base badboy limit?
    "Therefore a wise prince will seek means by which his subjects will always and in every possible condition of things have need of his government, and then they will always be faithful to him."
    Niccolo Machiavelli
    The Prince

  10. #10
    Static modifiers have split the two apart. The top one is for the player and hte bottom one is for the AI.

    I was thinking it was like V2 sorry.

    Here is the line: 25 #_CDEF_BADBOY_LIMIT_,
    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/...lank-Gfx-files

  11. #11
    Field Marshal jdrou's Avatar
    EU3 Collectors Edition OwnerHoI AnthologyNapoleonic MarshalDeus Vult!Hearts of Iron 2: Armageddon
    Victoria: RevolutionsEuropa Universalis III: In NomineEU3 CompleteRome GoldEast India Company
    Hearts of Iron IIISupreme Ruler 2020 GoldFor The GloryArsenal of DemocracyHeir to the Throne
    200k ClubSemper FiVictoria 2Divine WindEU3: Chronicles
    Darkest HourCrusader Kings IIFor the MotherlandHOI3: Their Finest Hour

    Join Date
    Jun 2002
    Location
    Michigan, USA
    Posts
    22,039
    Quote Originally Posted by ticattack View Post
    What am I doing wrong?
    Not sure if this is the problem but based on the code I suspect you are not aware that the native_size = 1 trigger means the province has at least 100 natives and the native_size = 200 effect would put 20000 natives in that province.

    Instead of NOT = { citysize = 1 } you might want to experiment with empty = yes instead.
    Last edited by jdrou; 08-08-2011 at 07:46.
    "The trouble with fighting for human freedom is that one spends most of one's time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all." --H. L. Mencken

    Playing EU3 Divine Wind 5.2 latest beta

    Download the Fix-it-Yourself Pack for HoI 1.06c (updated 11/14/05)
    Download the Unofficial fixpack for EU3 4.1b 4/29 beta or final 11/24 patch (updated 12/25/10)
    Download the text fixpack for EU3 Divine Wind (updated 2/11/11)

  12. #12
    Trainee Scocou's Avatar
    EU3 CompleteHeir to the ThroneDivine Wind

    Join Date
    Jan 2011
    Location
    Hither & thither, perchance anon whither... ?
    Posts
    1,963
    Q: Does having many "Duplicate ID" localization entries (for why-ever) slow the game by an appreciable amount?

    I'm asking here first, if nobody knows I'll time it myself...

    Cheers

  13. #13
    Level 7 BRK's Avatar
    Deus Vult!Victoria: RevolutionsVictoria 2Cities in MotionEU3: Chronicles
    Sword of the Stars

    Join Date
    Jul 2008
    Location
    Bharatavarsha.
    Posts
    325
    Here's another one: messing around with the research efficiency figures in Technology.txt bizarrely changes the number of ships a tech group starts out with, I increased it to over 100% (2.0) and the affected tech group nations start out with a ridiculously massive navy and go into insta-debt: what is the connection between these two?

  14. #14
    Field Marshal jdrou's Avatar
    EU3 Collectors Edition OwnerHoI AnthologyNapoleonic MarshalDeus Vult!Hearts of Iron 2: Armageddon
    Victoria: RevolutionsEuropa Universalis III: In NomineEU3 CompleteRome GoldEast India Company
    Hearts of Iron IIISupreme Ruler 2020 GoldFor The GloryArsenal of DemocracyHeir to the Throne
    200k ClubSemper FiVictoria 2Divine WindEU3: Chronicles
    Darkest HourCrusader Kings IIFor the MotherlandHOI3: Their Finest Hour

    Join Date
    Jun 2002
    Location
    Michigan, USA
    Posts
    22,039
    Quote Originally Posted by Scocou View Post
    Q: Does having many "Duplicate ID" localization entries (for why-ever) slow the game by an appreciable amount?
    Unlikely. I would expect that the game loads all the localisation files only at the start of the game (and leaves out the dups).
    "The trouble with fighting for human freedom is that one spends most of one's time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all." --H. L. Mencken

    Playing EU3 Divine Wind 5.2 latest beta

    Download the Fix-it-Yourself Pack for HoI 1.06c (updated 11/14/05)
    Download the Unofficial fixpack for EU3 4.1b 4/29 beta or final 11/24 patch (updated 12/25/10)
    Download the text fixpack for EU3 Divine Wind (updated 2/11/11)

  15. #15
    Trainee Scocou's Avatar
    EU3 CompleteHeir to the ThroneDivine Wind

    Join Date
    Jan 2011
    Location
    Hither & thither, perchance anon whither... ?
    Posts
    1,963
    Quote Originally Posted by jdrou View Post
    Unlikely. I would expect that the game loads all the localisation files only at the start of the game (and leaves out the dups).
    Yeah, that would make sense. Good enough for me, thanks!
    Cheers

  16. #16
    Does anyone know where I can change the name of the provinces as they appear on the world map? I added a couple new provinces, but they just say prov1886, prov1887 etc. on the world map.

  17. #17
    Prime Minister lukew's Avatar
    EU3 OwnerEU3 CompleteHearts of Iron IIIHeir to the ThroneDivine Wind
    EU3: ChroniclesCrusader Kings IIMount & Blade: With Fire and SwordPride of NationsSengoku
    Victoria II: A House DividedMarch of the Eagles

    Join Date
    May 2011
    Location
    HM Government
    Posts
    4,456
    Quote Originally Posted by Sarastro View Post
    Does anyone know where I can change the name of the provinces as they appear on the world map? I added a couple new provinces, but they just say prov1886, prov1887 etc. on the world map.
    You need to change the name in the localisation files (eu3/localisation).
    In this world nothing can be said to be certain, except death and taxes -Benjamin Franklin

    England to Great Britain in 'Newbie Collosseum I', 'Newbie Collosseum II', 'Death Taxes and Glory I', 'Death Taxes and Glory II' and 'Death Taxes and Glory IV', Castille to Spain in 'The Hotseat', Brittany in 'Victis Honor II', Milan to Italy in 'Dulce et Decorum Est I' and 'Fight for Supremacy', Venice in 'Nitman's', France in 'Novus Aevum', 'Dulce et Decorum Est II', 'Total War II', 'Total War III', 'Death Taxes and Glory III', 'Independence Day', 'Saturday Night's Alright for Fighting' and 'Rock n Roll', Sweden to Scandinavia in 'Game 7', Hindustan in 'Vacca Pugnax', Austria in 'Total War I' and 'Victis Honor', Muscovy to Russia in 'Glory Days', Ottoman Empire in 'Fight For Supremacy II', Brandenburg to Prussia in 'Diligimus Furorem Mammalia', Portugal in 'Slothurday Night's Alright for Slothing' and The Knights in 'Death, Taxes and Glory VI'

  18. #18
    Prime Minister lukew's Avatar
    EU3 OwnerEU3 CompleteHearts of Iron IIIHeir to the ThroneDivine Wind
    EU3: ChroniclesCrusader Kings IIMount & Blade: With Fire and SwordPride of NationsSengoku
    Victoria II: A House DividedMarch of the Eagles

    Join Date
    May 2011
    Location
    HM Government
    Posts
    4,456
    Quote Originally Posted by Sarastro View Post
    Also, is there any way to edit the amount of units a nation start off with in the grand campaign?
    You could give them a triggered modifier before 1400 increasing their force limit. This would give them a bigger starting army/navy.
    In this world nothing can be said to be certain, except death and taxes -Benjamin Franklin

    England to Great Britain in 'Newbie Collosseum I', 'Newbie Collosseum II', 'Death Taxes and Glory I', 'Death Taxes and Glory II' and 'Death Taxes and Glory IV', Castille to Spain in 'The Hotseat', Brittany in 'Victis Honor II', Milan to Italy in 'Dulce et Decorum Est I' and 'Fight for Supremacy', Venice in 'Nitman's', France in 'Novus Aevum', 'Dulce et Decorum Est II', 'Total War II', 'Total War III', 'Death Taxes and Glory III', 'Independence Day', 'Saturday Night's Alright for Fighting' and 'Rock n Roll', Sweden to Scandinavia in 'Game 7', Hindustan in 'Vacca Pugnax', Austria in 'Total War I' and 'Victis Honor', Muscovy to Russia in 'Glory Days', Ottoman Empire in 'Fight For Supremacy II', Brandenburg to Prussia in 'Diligimus Furorem Mammalia', Portugal in 'Slothurday Night's Alright for Slothing' and The Knights in 'Death, Taxes and Glory VI'

  19. #19
    Field Marshal chatnoir17's Avatar
    Deus Vult!EU3 CompleteHeir to the ThroneVictoria 2Divine Wind
    Darkest HourCrusader Kings IISengokuCrusader Kings II Holy Knight

    Join Date
    Sep 2009
    Location
    CL Final
    Posts
    2,799
    Quote Originally Posted by Sarastro View Post
    Also, is there any way to edit the amount of units a nation start off with in the grand campaign?
    Or, you could also create an "opening event" to give units, money, manpower and so on.

    Quote Originally Posted by Sarastro View Post
    Does anyone know where I can change the name of the provinces as they appear on the world map? I added a couple new provinces, but they just say prov1886, prov1887 etc. on the world map.
    If you added new provinces, please make a new localization file and write like this
    Code:
    PROV1883;Jeju;Jeju;Jeju;Jeju;Jeju;Jeju;Jeju;Jeju;;;;;;x
    PROV1884;Sangju;Sangju;Sangju;Sangju;Sangju;Sangju;Sangju;Sangju;;;;;;x
    (Attention:You have to make a blank line at the end of the province list)
    If you have simply renamed existed provinces in vanilla, please rewrite the localization file as lukew said.
    (Attention hier:Some province have changed their name in HttH or DW expansion.)
    Last edited by chatnoir17; 10-08-2011 at 13:19.
    Monumenta Iaponiae Historica : total improvement mod for Sengoku (ver.0.6832:updated on 23.11.2012)
    Additional Scenarios (1180, 1561, 1582 and 1600), More Historical Characters and Rebalancing
    General description about MIH for non registered forum users is here in Sengoku main forum

    Eurus (an improvement mod of Asian regions from Japan to India) for EU3: DW (ver.1.4: updated on 29.09.2012)
    Three Mods for CK2
    :Climate Classification/Trade Spheres (the former Hanseatic League)/Bookmarks

    Sweden in a Japanese game: AAR of Koei's Genghis Khan IV

  20. #20
    Celtic Map Tweaker Evander's Avatar
    Deus Vult!Penumbra -  Black PlagueVictoria: RevolutionsEU3 CompleteHearts of Iron III
    Heir to the ThroneMount & Blade: WarbandSemper FiVictoria 2Divine Wind
    MagickaCities in MotionEU3: ChroniclesCrusader Kings IIMount & Blade: With Fire and Sword
    For the MotherlandSengokuVictoria II: A House DividedCrusader Kings II Holy KnightHOI3: Their Finest Hour
    War of the RosesThe Showdown EffectMarch of the EaglesVictoria 2: Heart of DarknessLeviathan: Warships

    Join Date
    Nov 2007
    Location
    Missing Localization
    Posts
    713
    I'd like to know if there is a way to change the value of a variable directly via the console ?

    Also, if yes, is there a thread/tutorial about the scripting language of EU3 :
    - is it the LUA syntax ?
    - does the if/for/while/until instructions work for event files ?

    CK2
    MotE
    [WIP] - DEIOU - THE CK2 map replacement !
    [WIP] - CK2 blank/numbered/custom reference maps (not up-to-date)
    [DONE] - CINCy (Colony Ingame Name Changer sub-mod for MEIOU)
    [DONE] - MotE blank/numbered/custom reference maps


+ Reply to Thread
Page 1 of 111 1 2 3 11 26 51 76 101 ... 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