Post by keepitsimple on Feb 16, 2020 12:24:46 GMT 1
Sometimes you get in a game that supply and sapper trucks commit suicide by running straight into enemy lines. The reason that this happens is because a warehouse behind the enemy line is assigned to player and as it closer the trucks move there. If the warehouses behind the enemy line are assign to enemy this will not happen. Throwback, if player takes such a warehouse trucks will not automatically go there to refill. First you need to place a squad inside to use it and the player has to send his trucks there or they go back automatically to original warehouse to refill.
This problem is only related to true warehouses and not to field supply depots.
By script you might be able to solve this problem. If you check if the warehouse is occupied by the player then you could change the building to the player. This has to be tested but this might work.
This doesn't work. You can't seem to change the player of a warehouse by script. You can't also not delete a warehouse by script (and hence replace it with a new one).
You can't also not delete a warehouse by script (and hence replace it with a new one).
kis, you could attach the building with ScriptID to a reinforcement and then delete it with killreinforcement. But it would be weird to see warehouses disappear and reappear whenever you catch one, no? Easier to just put a squad in it, i guess, and keep an eye on those trucks.
I did give both warehouses a scriptID and where LandReinforcement works, DeleteReinforcement doesn't. If you leave just a 10th of second between delete and land command you would as player almost not notice the replacement.
DeleteReinforcement should work... I never tried it on Warebases however. Have you tested without Field Supplies? I can only think their connection with the WB might prevent it from being deleted. It works with any other building, right?
Post by keepitsimple on Feb 19, 2020 23:33:47 GMT 1
Warehouses are special. For instance, they are the only think that can't be destroyed. (and not delete it seems)
I had no Field supplies. I had three warehouses, the player has one and AI has two at the start. Of which the one in the middle is placed as LandReinforcement after a few seconds after the start of the game. This one I tried to change sides or delete/replace.
Post by keepitsimple on Jan 24, 2022 23:22:58 GMT 1
The problem of not being able to remove a warehouse by script seem to be simple that you can't remove a building from a map. You can add a building to map as a reinforcement so isnt there from the beginning. But ones on the map you can remove it.
I have a LCM-3 which is a building. On the plus side you can land it with a truck or tank inside. You can land them as reinforecment with doors close (upper picture) and then by script open the ramp so the truck or tank can move out. Once the unit is clear of the LCM you can even closed the ramp by script again. However. you cann't seem to let it disappear again by using DeleteReinforcement.
jmww2: Does somebody know how to play gsm 11 in multiplayer?
Oct 13, 2022 23:19:37 GMT 1
jmww2: I am also looking for the tank and flora passability fix
Oct 13, 2022 23:20:11 GMT 1
vojta: actually, some of them are (successful)
Oct 14, 2022 10:45:40 GMT 1
vojta: 30% i would say
Oct 14, 2022 10:46:16 GMT 1
Grot: vojta Interesting , I couldn't dl anything and now cant even access that site
Oct 19, 2022 16:59:00 GMT 1
Warlord: Lads, does anyone know if in the Burma Road map (Chinese Campaign) of GZM11, the Jap bomber and strike planes ever run out? I have been shooting them down for about three hours now, and they just keep showing up! My strategy is based on air supremacy...
Oct 30, 2022 21:07:39 GMT 1
Squire James: Try and load it in the map editor and have a look at the aviation section. If the numbers seem normal, it might be a scripting thing (if so, that'd be rather neat)
Oct 31, 2022 4:07:32 GMT 1
Warlord: Thank you, mate.
Nov 1, 2022 21:48:30 GMT 1
mariotim: Hello! I do not have sound any longer in Blitzkrieg, using Windows 11 Home N. Do you know how to restore the sound? Thank you!
Nov 6, 2022 8:39:27 GMT 1
Grot: who bombed my tractor!
Nov 16, 2022 12:08:35 GMT 1
Warlord: Lads, has anyone had issues playing Operation Trident, 1960, in GZM11? Mission crashes once you deploy the paratroopers...
Nov 22, 2022 22:08:07 GMT 1
Grot: Warlord works fine for me
Nov 24, 2022 23:30:01 GMT 1
Warlord: Mate, this same mission?
Dec 1, 2022 1:25:14 GMT 1
Grot: Si Señor , delete maps and scenarios folders . Restart mission see if it helps
Dec 1, 2022 14:15:55 GMT 1
Grot: If nothing works I can upload save file for you after para drop .. there is another drop just after paratroopers landed (from helicopter this time) with 2 mortars and heavy MG
Dec 1, 2022 22:27:26 GMT 1