• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
StephenT said:
Would these commands work as an event trigger?
OR = {
technology = 11306 # Armoured Warfare
technology = 11402 # Infiltration Tactics
}
Mind you, I suspect it will be much easier to have the invention of either of these land doctrines remove all fortifications, rather than to code a complex chain of events to remove only those fortifications in countries at war with the one developing that tech...

I think we had some submarine warfare events that depended on the player developing certain technologies in order to get them to trigger. Yet they seemingly didn't want to fire even when the necessary techs had been researched, which makes me believe that having 'technology = x' as a trigger condition is not the most reliable aspects of HOI event coding.

Thus, I believe that we are left with explaining these fort depreciating events in the language of 'better attacking techniques' of a certain ambiguous kind, even if the French or German player should have invested absolutely nothing in better technology whatsoever.


StephenT said:
I always thought that the 'Christmas' events were a good idea badly implemented (since they tended to happen in the middle of the year, with no explanation). To be fair to the player, though, we would need to make sure that they affected everybody the same way - so we're talking about a series of events for every major power, triggering on the same date each time (25 December?) if they're atwar. Call them 'War Weariness' events.

Christmas 1914 = +2% dissent
Christmas 1915 = +3% dissent
Christmas 1916 = +4% dissent
Christmas 1917 = +5% dissent
Christmas 1918 = +6% dissent &tc?
 
StephenT said:
Regarding the Russian revolution, I'd actually be quite sympathetic to an event that randomly wiped out 30-40 Russian units. Or even three or four such events. :eek: It doesn't really matter if they're infantry divisions or warships - since the crews of the Russian Navy were just as mutinous and rebellious as the soldiers.

Not sure YourNickname would appreciate that, though. :)

However, bear in mind that one of Trotsky's first acts as People's Commissar for War was to reinstate as much of the old Tsarist officer corps as possible (including General Brusilov) and raise a mass army millions strong. So rather than penalise SOV manpower, we should actually be giving them a huge bonus...

The problem with removing the ships is that hulls and gun turrets tend not to mutiny or desert. ;) I mean, it probably wouldn't take as long to train a new crew for the Gangut as to build a new battleship.
 
Gwalcmai said:
The problem with removing the ships is that hulls and gun turrets tend not to mutiny or desert. ;) I mean, it probably wouldn't take as long to train a new crew for the Gangut as to build a new battleship.
To quote Jane's 1919 edition:

The Baltic fleet is completely disorganised. Owing to desertion of personnel, executions of naval officers, looting and mishandling of ships, very few ships can now be deemed effective. During 1919, the Bolshevist Active Fleet was reported to consist of [1 BC, 1 B, 1 CL, 8 DD, 7 SS]. First two ships named are out of action and Oleg is sunk.

Of the Baltic Fleet's four dreadnoughts (BCs), one was sunk by a British motor boat, and the others were laid up as rusty hulks, no use to anyone. One of them, Poltava, caught fire 'because of total negligence' as Conway's puts it. :) The other two would eventually be rebuilt by Stalin in the 30s.
 
Still, the Ganguts received "small modifications" in 1925, so I'd assume they were in something approaching working condition. They were, supposedly, mothballed between 1919 and 1925, though.

But OK, taking a chance of getting rid of the russian ships might be appropriate. We can pretend they "mutinied and ended up being sunk". ;)
 
Allenby said:
Did anyone apart from the major powers get a 'defeat' event?

If you look at 'defeat.txt', you'll notice that there are more than 280 events dealing with various countries' defeat. They're designed to trigger when the major power is defeated on condition that they are aligned with that power. The events that make the major power leave their alliance should be designed to fire with a higher offset than the smaller powers, to ensure that they fire first.

Thus, change the offsets of 20838, 56835 and 21950 to '10' or even higher.

Also, remove the hash before the 'leave_alliance' command in 21950.

When you do that, try again and tell me what happens. :)

Sorry for taking that long, but mit Internet broke down.. :(

Anyway, I did what you suggested, after I reinstalled the game completely. The changes kept Italy from fireing the defeat event until UK were defeated too. Russia was defeated very late, I was already marching behind the Urals. The smaller countries like Nepal, Oman and Buthan seemed to be pretty happy with staying in war with me after UK fell. Can't say something about Japan since she offered a peace deal to me to fight China instead.
 
Christmas dissent events:

The penalty increases by an extra 1% each year, so 2% for 1914, 3% for 1915, and so on:

Code:
# Christmas 

event = { 
    id = 62300
    random = no 
    style = 0
    country = ENG 

    name = "Christmas" 
    desc = "Soldiers in the many armies at war settle down to celebrate
 Christmas amidst the bloodshed." 

    trigger = { 
        war = { country = ENG country = GER }
    } 

    date = { day = 25 month = december year = 1914 } 

    action_a = { 
        name = "Damn." 
        command = { type = dissent value = 2 } 
    } 
} 

# Christmas 

event = { 
    id = 62301
    random = no 
    style = 0
    country = GER

    name = "Christmas" 
    desc = "Soldiers in the many armies at war settle down to celebrate
 Christmas amidst the bloodshed." 

    trigger = { 
        war = { country = ENG country = GER }
    } 

    date = { day = 25 month = december year = 1914 } 

    action_a = { 
        name = "Damn." 
        command = { type = dissent value = 2 } 
    } 
}

# Christmas 

event = { 
    id = 62302
    random = no 
    style = 0
    country = FRA

    name = "Christmas" 
    desc = "Soldiers in the many armies at war settle down to celebrate
 Christmas amidst the bloodshed." 

    trigger = { 
        war = { country = FRA country = GER }
    } 

    date = { day = 25 month = december year = 1914 } 

    action_a = { 
        name = "Damn." 
        command = { type = dissent value = 2 } 
    } 
} 

# Christmas 

event = { 
    id = 62303
    random = no 
    style = 0
    country = RUS

    name = "Christmas" 
    desc = "Soldiers in the many armies at war settle down to celebrate
 Christmas amidst the bloodshed.  Except in Russia, who will do it next week" 

    trigger = { 
        war = { country = RUS country = GER }
        war = { country = U11 country = RUS }
    }  

    date = { day = 25 month = december year = 1914 } 

    action_a = { 
        name = "Damn." 
        command = { type = dissent value = 2 } 
    } 
}

# Christmas 

event = { 
    id = 62304
    random = no 
    style = 0
    country = U11

    name = "Christmas" 
    desc = "Soldiers in the many armies at war settle down to celebrate
 Christmas amidst the bloodshed." 

    trigger = {
        war = { country = U11 country = RUS }
    } 

    date = { day = 25 month = december year = 1914 } 

    action_a = { 
        name = "Damn." 
        command = { type = dissent value = 2 } 
    } 
}

# 25th December

event = { 
    id = 62305
    random = no 
    style = 0
    country = TUR

    name = "25th December" 
    desc = "Soldiers in the many armies at war settle down to celebrate
 Christmas amidst the bloodshed.  Except in the Turkish army, who are mostly
 of Islamic faith." 

    trigger = { 
        war = { country = TUR country = FRA }
    } 

    date = { day = 25 month = december year = 1914 } 

    action_a = { 
        name = "Damn." 
        command = { type = dissent value = 2 } 
    } 
} 

# Christmas 

event = { 
    id = 62306
    random = no 
    style = 0
    country = ITA

    name = "Christmas" 
    desc = "Soldiers in the many armies at war settle down to celebrate
 Christmas amidst the bloodshed." 

    trigger = { 
        war = { country = GER country = ITA }
        war = { country = U11 country = ITA }
    } 

    date = { day = 25 month = december year = 1914 } 

    action_a = { 
        name = "Damn." 
        command = { type = dissent value = 2 } 
    } 
}
 
Allenby, you might just want to add and atwar = yes command in the triggers. Since christmas only affected the warring powers. i doubt that El Salvador would be very upset if there were christmas celebrations at the front.
 
If you look closer, you might notice that the events are only supposed to happen to certain countries. Namely, the ones whose war is checked in the trigger.
 
Gwalcmai said:
If you look closer, you might notice that the events are only supposed to happen to certain countries. Namely, the ones whose war is checked in the trigger.

Yes that's right. They only effect the major powers.

If I put in an 'atwar = yes' trigger, then if Siam declares war on Ecuador, then they'll receive a dissent hit at Christmas, even though they aren't involved in the First World War.

Also, the events for 1923 hand very large dissent hits - if they were to have 'atwar = yes' commands, then anyone who goes to war in a later year is going to get punished disproportionately.
 
Can I request a different event title rather than just "Christmas"? Since it's pretty obscure, and many players will wonder why a festival of peace and celebration should result in a dissent increase. "War weariness increases" would be appropriate IMO, or if you want to mention Christmas, make it "Christmas - but the war continues" or similar.

Also, add a line to the description on the lines of "However, despite the politicians' promises, there seems to be no end in sight to the war. Separated from their loved ones and forced to endure shortages and discomfort, the civilian population is starting to grow restive." (or "growing increasingly restive" in subsequent years)

However, I did like the subtle change to the Turkish event description. :) Does anybody know when Eid fell in 1914? And should the Russian event trigger on 6 January instead?
 
StephenT said:
Also, add a line to the description on the lines of "However, despite the politicians' promises, there seems to be no end in sight to the war. Separated from their loved ones and forced to endure shortages and discomfort, the civilian population is starting to grow restive." (or "growing increasingly restive" in subsequent years)

I agree, and perhaps instead of exclaiming 'Damn', each country could have a nation-specific-but-still-contemporary-expletive such as 'blast' or 'curses'?


StephenT said:
And should the Russian event trigger on 6 January instead?

It might be unfair to give them a dissent hit after everyone else. Taking out the references to Christmas in their events might be the best option.
 
Germany/Austria: Scheisse
France: Merde
Italy: Merda (??)
Russia: Nyet Vodka!! (sorry, dont know)
Britain: Damn/oh blast it/other cliche rubbish from My Fair Lady
USA: Damn/Leaping lizards/holy moly/other crap from early 20th century speech.

Turkey - perhaps something during Ramadan?
 
Would early C20 Germans/French/Italians really be so vulgar? :) Perhaps "Sacre bleu!" for France. The Russian curse would probably involve the Devil's grandmother. I do like 'Holy moly!' for the US, though...
 
ptan54 said:
Turkey - perhaps something during Ramadan?
It took a bit of researching, but I eventually worked out that Eid al-Fitr (the celebration at the end of Ramadan) was on 23 August in 1914. So it wouldn't really fit in with the other events.

In subsequent years:
12 August 1915
1 August 1916
21 July 1917
10 July 1918
 
StephenT said:
Would early C20 Germans/French/Italians really be so vulgar? :) Perhaps "Sacre bleu!" for France. The Russian curse would probably involve the Devil's grandmother. I do like 'Holy moly!' for the US, though...

The germans would. :p

Maybe something like "Maledetta!" for the italians?
 
Sacrebleu isn't cut :) But it seems very old... Quite... medieval!


I don't know if "merde" was more vulgar during WW1 as it is today (well... we can say that it's quite common), but I think it's quite well suited for TGW.
At Waterloo :( Général Cambronne, commander of the Imperial Guard answered "MERDE !!" to some British officers who asked him and his troops for surrender after they were surrounded (?).Then, the "mot de Cambronne" is quite old...

Or maybe one other expression: "Nom de Dieu!" (expresses surprise and anger)
But I do prefer Cambronne's word ;)