|
Post by fallschirmjager on Oct 29, 2021 21:47:15 GMT 1
Never thought you could script something like that, but I agree the crashing and freezing is soooooo frustrating even with latest mods.
FJ
|
|
|
Post by danzig70 on Oct 30, 2021 17:02:20 GMT 1
I find the game is more stable in windowed mode. You can edit the shortcut with command line parameters to force windowed mode.
|
|
|
Post by koragon on Nov 21, 2021 12:53:37 GMT 1
Hellow are you still here? ;p
|
|
|
Post by Quintaxel on Nov 21, 2021 14:06:07 GMT 1
This is very interensting. The GZM most have changed something to the game engine. To my knowlegde this cannot be achieved through script.
|
|
|
Post by Squire James on Nov 23, 2021 8:43:15 GMT 1
This is very interensting. The GZM most have changed something to the game engine. To my knowlegde this cannot be achieved through script. I would doubt that, if only because editing the game engine in such a manner requires the source code.
|
|
|
Post by Quintaxel on Nov 23, 2021 23:17:29 GMT 1
This is very interensting. The GZM most have changed something to the game engine. To my knowlegde this cannot be achieved through script. I would doubt that, if only because editing the game engine in such a manner requires the source code. Yes, I agree that you would need the source code. However I see no way how you can point a position on the map and trigger an action using Lua. If this is the case then it would open a whole lot of new possibilities. I'm really curious how it's done.
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,124
|
Post by kaoz on Nov 24, 2021 0:17:37 GMT 1
I find it hard to understand what this 'air cube' is supposed to be... but the first comment clearly says:This function is written in the script. And a bit further:The card maker can make in the script that the air support disappears after the loss of this unit, so try to save it. *edit* You probably mean how this is done:To find out how many flights you have left, you need to select the indicated unit with the mouse and wait literally a few seconds. After that, the script will work and you will receive something like the following message from the top left: So indeed: how does the lua script knows when a specific unit is selected
|
|
|
Post by Quintaxel on Nov 25, 2021 13:09:52 GMT 1
Lua script is a way to interact with the code of the game. As I see it the the script would somehow have to captures the x,y position of the mouse pointer and then draws a circle on the map with x,y as a centre. This means that there would be function in the game engine to do this and this function can be called by a Lua script. If you could get the x,y position of the mouse pointer and the status of the mouse buttons then this would open lot of new possibilities for scripters. So I’m intrigued and would like to know more about how this is done.
|
|
Grot
General
Posts: 4,055
|
Post by Grot on Nov 25, 2021 15:52:57 GMT 1
So I’m intrigued and would like to know more about how this is done. I know that itch contact GZM team to find out.
|
|
|
Post by Quintaxel on Dec 12, 2021 19:26:03 GMT 1
This is very interensting. The GZM most have changed something to the game engine. To my knowlegde this cannot be achieved through script. I would doubt that, if only because editing the game engine in such a manner requires the source code. I have to change my opinion. It could be possible to achieve this by script but I think that the GZM scripters have knowledge about functions which are unknown to us or at least to me.
|
|
Grot
General
Posts: 4,055
|
Post by Grot on Dec 13, 2021 0:28:35 GMT 1
|
|
Grot
General
Posts: 4,055
|
Post by Grot on Dec 16, 2021 19:58:01 GMT 1
|
|
BigJoe
General-major
Posts: 539
|
Post by BigJoe on Dec 22, 2021 4:49:03 GMT 1
How are you friend, I hope you're fine
|
|
Grot
General
Posts: 4,055
|
Post by Grot on Dec 22, 2021 11:52:42 GMT 1
How are you friend, I hope you're fine hi Big Joe , I am OK welcome back!
|
|
Grot
General
Posts: 4,055
|
Post by Grot on Jan 9, 2022 12:34:59 GMT 1
|
|