Search found 1235 matches

by Robotron
Fri Aug 30, 2019 7:00 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Why this unit never is able to move?
Replies: 4
Views: 119

Re: Why this unit never is able to move?

break is used to exit a loop before the loop is finished.

in our case we have a "for" loop and the break is not really needed but I hoped you would ask so I could show you this link here and you learn something new

https://www.tutorialspoint.com/lua/lua_ ... tement.htm

:wink:
by Robotron
Fri Aug 30, 2019 4:54 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Why this unit never is able to move?
Replies: 4
Views: 119

Re: Why this unit never is able to move?

Oh dear...your script is severely messed up. :mrgreen: Important: you cannot just set a unit.mp to 0 via events, this will not work but must be done in: function SetUnitMovePenalty(unit) which is in: game_supply.lua For the effect you described I would try add this to the end of function SetUnitMove...
by Robotron
Thu Aug 29, 2019 6:41 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1397
Views: 101450

Re: POTZBLITZ V9.51 AUG23th 2019

This "new" PotzBlitz mod thread has now received over 100.000 clicks since it was started about two years ago in 2017. The "old" one was clicked over 80.000 times within a year from 2016-2017. This even beats the "clicks per time" ratios of most modding threads for Panzer Corps which is about the mo...
by Robotron
Fri Aug 23, 2019 7:41 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Trouble with Bohm event
Replies: 2
Views: 90

Re: Trouble with Bohm event

You are lucky that the bug was not caused by your own modding or else I might not be able to help.

Thanks for reporting nonetheless.

Check the PotzBlitz thread for the update.
by Robotron
Sun Aug 18, 2019 10:18 pm
Forum: Commander the Great War : Opponent Finder
Topic: C1mon guys the lobby is almost empty!
Replies: 3
Views: 62

Re: C1mon guys the lobby is almost empty!

aha...I see a new chapter of "Commander the Great War in the Air" coming up :mrgreen:
by Robotron
Fri Aug 09, 2019 8:01 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1397
Views: 101450

Re: POTZBLITZ V9.5 AUG9th 2019

@Ailurus: 1. fixed: you will now see an empty research panel and will be able to remove all labs to reinvest your production points. However this is a quick and dirty fix so please don't try to click on anything else in the panel like tech info. I really don't feel like going deeper into fixing this...
by Robotron
Sat Aug 03, 2019 8:53 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Withdrawal Event
Replies: 7
Views: 216

Re: Withdrawal Event

If you mean "unitcheck" that's not a command but a local variable which in our case will be either 0 or 1 and is used to decide whether the desired conditions have been met. Local variables are variables that are only operating within the bounds of a specific function in contrast to global variables...
by Robotron
Fri Aug 02, 2019 9:27 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Withdrawal Event
Replies: 7
Views: 216

Re: Withdrawal Event

To be honest, I'm confused why that worked for you. Be aware that as long as you are using the ancient V1.5.1 I might run into trouble trying to find out why certain things are not working right because of stuff having changed between versions. Please update your game (if possible) to the last offic...
by Robotron
Fri Aug 02, 2019 6:26 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1397
Views: 101450

Re: POTZBLITZ V9.4 JUN19th 2019

Some clarifications: Choosing the "Schlieffen's Legacy" event will raise the chance for Russia to launch a surprise attack on turn 3 or 4. Also "Full Russian Mobilization" if played by the Entente will delay the Russian attack for several turns. Choosing the "German Army Redeploys" event will preven...
by Robotron
Fri Aug 02, 2019 9:13 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Withdrawal Event
Replies: 7
Views: 216

Re: Withdrawal Event

Of course you inserted the function call into TriggerTurnevents(), right?
by Robotron
Wed Jul 31, 2019 9:08 pm
Forum: Commander The Great War AAR's
Topic: mrdozer(E) vs operating(CP) AAR
Replies: 14
Views: 1374

Re: mrdozer(E) vs operating(CP) AAR

Good to see you are back.

I truly enjoyed reading your new AAR posts....oh my, what a crazy game.

Hope you're fine. :)
by Robotron
Wed Jul 31, 2019 8:53 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1397
Views: 101450

Re: POTZBLITZ V9.4 JUN19th 2019

Hi Panzernutt, welcome to the forums and thanks for your interest in this CTGW mod. :) Playing a single CP faction is not possible as per game design: the game knows only 3 alliances made up of several factions each: CP, Entente and neutral, nothing else and there is nothing that will change that be...
by Robotron
Wed Jul 31, 2019 7:39 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Withdrawal Event
Replies: 7
Views: 216

Re: Withdrawal Event

1. What you want to do: trigger the event if no Serbian troops are within 2 hexes of Belgrade 2. What the event does: trigger the event as soon as one or more CP unit is within 2 hexes of Belgrade 3. how the check part of the event can be improved: local unitcheck = 0 local hexes = game.map:GetHexes...
by Robotron
Sat Jul 27, 2019 10:00 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: Battle Event in Cities
Replies: 4
Views: 177

Re: Battle Event in Cities

Feel free to ask me anything about modding the game. But be careful: I might steal your ideas and put them into my PotzBlitz mod if they are good enough. ;)
by Robotron
Fri Jul 26, 2019 8:43 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: Battle Event in Cities
Replies: 4
Views: 177

Re: Battle Event in Cities

According to the crash log, the AI attacks a defending unit without a hex (maybe because the unit is already destroyed), so you must include a check in your event to make sure that the defender's hex is not nil: and defender.hex ~= nil So the whole event looks like: function MetzBattle(attacker, def...
by Robotron
Wed Jul 17, 2019 11:00 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1397
Views: 101450

Re: POTZBLITZ V9.4 JUN19th 2019

This is not easily done because multiple parts of the scripts were heavily modified. It would be easier to turn off the music (in this case weather sounds) altogether while listening to the original music in an external player. Find the original files in: CTGW/Data/Music These are in .ogg format so ...
by Robotron
Sun Jul 07, 2019 3:39 pm
Forum: Commander - The Great War
Topic: Cheaters
Replies: 12
Views: 466

Re: Cheaters

In your case your opponent is not only trying to cheat but rather trying to make fun of you by blatantly cheating. Cheating is easily done, there are small programs available that can mess with internal values of games, alternatively if the game is open to modding you can apply your own cheats if yo...
by Robotron
Fri Jul 05, 2019 7:14 pm
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1397
Views: 101450

Re: POTZBLITZ V9.4 JUN19th 2019

To prevent further misunderstandings I have merged the old 4.7 main mod with the latest 9.4 update.
This new COMPLETE version's size is now 344mb.

The latest update 9.4 is also still available separately.

Download links in opening post.

Salute!
by Robotron
Thu Jul 04, 2019 7:09 am
Forum: Commander the Great War : Mods & Scenario Design
Topic: POTZBLITZ V9.51 AUG23th 2019
Replies: 1397
Views: 101450

Re: POTZBLITZ V9.4 JUN19th 2019

Maybe you did not realize: when you install the mod for the FIRST time you need to install the main mod first and then the latest update . To see what version you have installed, you can either: 1. click on "information" when choosing the campaign Clipboard02.jpg or 2. read the text of the splash sc...

Go to advanced search