Search found 131 matches

by Kossatx
Tue May 21, 2019 8:20 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: What's the difference between game_events.lua and game_diplomacy.lua?
Replies: 6
Views: 67

Re: What's the difference between game_events.lua and game_diplomacy.lua?

So, if an event is repeated in both files is because the version in game_diplomacy.lua is only for single player games and the version in game_events.lua is only for PBEM games?
by Kossatx
Mon May 20, 2019 3:24 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: What's the difference between game_events.lua and game_diplomacy.lua?
Replies: 6
Views: 67

Re: What's the difference between game_events.lua and game_diplomacy.lua?

You are right Robotron :lol:

Ok, but why there are some events in both files? For example, spawning units in Kerenski and the irish revolt events are defined in both files.... why? :?
by Kossatx
Mon May 20, 2019 8:58 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: What's the difference between game_events.lua and game_diplomacy.lua?
Replies: 6
Views: 67

What's the difference between game_events.lua and game_diplomacy.lua?

Hi! Anyone can explain what's the difference between game_events.lua and game_diplomacy.lua? Many events are scripted in these two files, aznd I have no idea why :? Moreover, I think many times the same event is defined in different ways in these two files... why? :|
by Kossatx
Sun May 19, 2019 10:18 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Any idea to fix this crash?
Replies: 2
Views: 52

Re: Any idea to fix this crash?

I'll make a test removing the "conquer bonus" as you say.
by Kossatx
Fri May 17, 2019 11:10 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Any idea to fix this crash?
Replies: 2
Views: 52

Any idea to fix this crash?

Hi, this is the error log message: [00:51:56][8596]game/game_events.lua:6393(global RussiaSupplyCrisis) game/game_events.lua:6393: attempt to index field 'originalFaction' (a nil value) This is the function section with 6393 line: ----- CONQUER BONUS --------- for hex in russia.hexes do if hex.origi...
by Kossatx
Thu May 16, 2019 10:20 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Why this script crashes?
Replies: 2
Views: 36

Re: Why this script crashes?

Thanks Robotron! :mrgreen:
by Kossatx
Wed May 15, 2019 1:34 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Only garrisons in fortress hexes?
Replies: 3
Views: 44

Re: Only garrisons in fortress hexes?

Robotron wrote:
Wed May 15, 2019 12:51 pm
Too complicated.
Too complicated for you, means IMPOSSIBLE :D
by Kossatx
Wed May 15, 2019 11:29 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Why this script crashes?
Replies: 2
Views: 36

Why this script crashes?

The part for austria in this script crashes and I don't know why, anyone can help me to fix it? local germany = game:GetFactionById(2) local austria = game:GetFactionById(3) local berlin = GetHex(101, 22) local budapest = GetHex(108, 33) if GetEvent("FortressGarrisons") == 0 then if berlin.alliance....
by Kossatx
Wed May 15, 2019 9:33 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Only garrisons in fortress hexes?
Replies: 3
Views: 44

Only garrisons in fortress hexes?

Hi, anyone knows if is it possible to make only garrisons can occupy fortress hexes? And, by the way, anyone knows if is it possible to delete fortress bonuses once have been occupied by enemy?
by Kossatx
Sun May 12, 2019 11:13 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.3 MAY11th 2019
Replies: 1346
Views: 86158

Re: POTZBLITZ V9.3 MAY11th 2019

@Robotron: I agree with you in most points, but not with the first. After 1907, when King Edward VII visited Cartagena, Britain agreed with Spain to transfer technology to build three dreadnoughts in exchange for joining allied navy if Italy joined CP. As you say, Spain was not prepared to fight in ...
by Kossatx
Sun May 12, 2019 1:13 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.3 MAY11th 2019
Replies: 1346
Views: 86158

Re: POTZBLITZ V9.3 MAY11th 2019

Great update! I hope someday you change your opinion about spanish IWW hypothetical participation :D
by Kossatx
Sat May 11, 2019 9:37 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: In which file are the conquests announcements scripts?
Replies: 2
Views: 33

In which file are the conquests announcements scripts?

Hi again! Anyone knows in which file are the conquests announcements scripts? These announcements like "Germans have taken Warsaw". I can't find them :|
by Kossatx
Tue May 07, 2019 12:38 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: If italy joins CP, then Spain joins Entente.
Replies: 9
Views: 126

Re: If italy joins CP, then Spain joins Entente.

The "pseudo-event" works fine :D

I'm sorry to be a bore Robotron, but If I'd like to make the "pseudo-event" become an event... what should I do? I think is necessary a picture with the event name, some text in language file... and something else?
by Kossatx
Mon May 06, 2019 2:26 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: If italy joins CP, then Spain joins Entente.
Replies: 9
Views: 126

Re: If italy joins CP, then Spain joins Entente.

Robotron wrote:
Mon May 06, 2019 2:21 pm
Note that the alignment change by the script will take place at the beginning of each turn.

Because the modifier value is set to a range of between 35 to 45 Spain would join Entente 2 turns after Italy has joined CP.
Oh! If I want this script triggers only once, ¿is it possible?
by Kossatx
Mon May 06, 2019 2:12 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.3 MAY11th 2019
Replies: 1346
Views: 86158

Re: POTZBLITZ V9.2 APR6th 2019

game_events.lua line 17616 where it reads: -- and GetEvent("TrentoDonation") +2 == game.turn uncomment the line by removing the -- at the beginning so that it is no longer skipped (lines beginning with -- are skipped) and change "==" into "<=" so it reads: and GetEvent("TrentoDonation") +2 <= game....
by Kossatx
Mon May 06, 2019 9:16 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.3 MAY11th 2019
Replies: 1346
Views: 86158

Re: POTZBLITZ V9.2 APR6th 2019

Robotron wrote:
Sun May 05, 2019 6:57 pm
Oh yes, I see, thanks for reporting.
I have read the script but I can't understand where is the error. If you are going to fix it, could you say how you will do?

Go to advanced search