Search found 137 matches

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: 437

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: 437

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.51 AUG23th 2019
Replies: 1399
Views: 102700

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.51 AUG23th 2019
Replies: 1399
Views: 102700

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?
by Kossatx
Mon May 06, 2019 9:13 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: If italy joins CP, then Spain joins Entente.
Replies: 9
Views: 437

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

Thanks a lot Robotron! Your point of view about spanish alliances is interesting, but I've read most generals and politicians were pro-ententente, including Alfonso XIII. The only plans I know about an hypothetical spanish participation in WWI were naval activities against Italian navy in the Medite...
by Kossatx
Sun May 05, 2019 9:34 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: If italy joins CP, then Spain joins Entente.
Replies: 9
Views: 437

If italy joins CP, then Spain joins Entente.

Hi, I would like to script if Italy joins CP then Spain joins Entente. I think it would be something like this, but I'm not sure if it's wrong and even if only must be written in game_events.lua file. Any suggestion? if italy.alliance.id == 2 then ChangeFactionAlignment(game:GetFactionById(15), spai...
by Kossatx
Sun May 05, 2019 4:48 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1399
Views: 102700

Re: POTZBLITZ V9.2 APR6th 2019

I think there is a bug in "Trento donation" event. If, for any reason, you have no unit in Trento when the event triggers, automatically the donation is triggered without waiting a turn. I think It happened to me because I disbanded the smallgarrison detached in Trento, so I had no unit in the hex. ...
by Kossatx
Mon Apr 29, 2019 10:19 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to immobilize this belgian unit?
Replies: 1
Views: 1019

Re: How to immobilize this belgian unit?

I've already fixed the crash writting "unit.faction.id" instead of "hex.unit.faction.id": local belgium = game:GetFactionById(6) local Brussels = game:GetHex(86, 26) if Brussels.unit ~= nil and unit.hex ~= nil and unit.hex.x == 86 and unit.hex.y == 26 and unit.type == Unit.LAND and unit.faction.id =...
by Kossatx
Sun Apr 28, 2019 10:50 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to increase british effort in Balkans theatre?
Replies: 4
Views: 1060

Re: How to increase british effort in Balkans theatre?

Ok, I thought it could be any file for countries AI behaviour as paradox games have... but not :|
by Kossatx
Sun Apr 28, 2019 10:45 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to immobilize this belgian unit?
Replies: 1
Views: 1019

How to immobilize this belgian unit?

Hi! I'm trying to immobilize in Brussels only belgian units that move in the hex. I've written this code, but the game crashes :cry: Any idea? local belgium = game:GetFactionById(6) local Brussels = game:GetHex(86, 26) if Brussels.unit ~= nil and unit.hex ~= nil and unit.hex.x == 86 and unit.hex.y =...
by Kossatx
Sun Apr 28, 2019 9:29 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to increase british effort in Balkans theatre?
Replies: 4
Views: 1060

Re: How to increase british effort in Balkans theatre?

Ok, but I mean how the IA can send to Balkans theatre new built units along the game :?:
by Kossatx
Sun Apr 28, 2019 5:40 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to increase british effort in Balkans theatre?
Replies: 4
Views: 1060

How to increase british effort in Balkans theatre?

Hi, I've never modded AI in CTGW, but I'd like to try it. I would like to begin increasing the british effort in the Balkans theatre sending more units. Anyone could help me about how to do it?
by Kossatx
Fri Apr 26, 2019 4:33 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Where is ctgw.log logfile?
Replies: 2
Views: 1019

Re: Where is ctgw.log logfile?

Ok, thanks very much again :)
by Kossatx
Fri Apr 26, 2019 4:28 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to immobilize units?
Replies: 7
Views: 1146

Re: How to immobilize units?

Great, thanks Robotron!
by Kossatx
Fri Apr 26, 2019 4:14 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to immobilize units?
Replies: 7
Views: 1146

Re: How to immobilize units?

Yes, it works, but I don't know if this solution only works with the initial deployment in turn 1, or it works all the game.
by Kossatx
Fri Apr 26, 2019 4:12 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Where is ctgw.log logfile?
Replies: 2
Views: 1019

Where is ctgw.log logfile?

I can't find the ctgw.log logfile to fix a crash, where it is?
by Kossatx
Fri Apr 26, 2019 3:34 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: How to immobilize units?
Replies: 7
Views: 1146

Re: How to immobilize units?

This order to immobilize units affects to units not deployed in the beginning turn? If Paris is empty but in turn 10 an infantry unit is deployed in Paris, it will be immobilized?
by Kossatx
Thu Apr 25, 2019 10:44 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1399
Views: 102700

Re: POTZBLITZ V9.2 APR6th 2019

Hi Robotron, I have been looking at some of your mod events and I can't find where the "right to passage" event is written. I can't find it in game_events neither game_diplomacy files, could you tell me where it is? I'm looking for the units change in Ypres. After a few months I've returned to play ...

Go to advanced search