rlcevg

Results comments of rlcevg

Well, this sucks: [fake_weapon used only to filter stuff from displaying](https://github.com/ZeroK-RTS/Zero-K/blob/55941370d36cb554967ede38b96f19b562381acb/LuaUI/Widgets/gui_contextmenu.lua#L1132). And [DGun is hardcoded to slot 3](https://github.com/ZeroK-RTS/Zero-K/blob/55941370d36cb554967ede38b96f19b562381acb/LuaUI/Widgets/gui_chili_selections_and_cursortip_old.lua#L839). Apparantly that's the only way to query DGun state, through hardcoded slot...

Theoretically issue remains. As i understood GoogleFrog: fake_weapon doesn't mean anything, except that it won't be displayed in gui. Such weapon may have non-zero (or zero, see corcrw_specialtrigger) damage and...

It's not about windgens only, replay shows also mexes.

``` ./amgeo.lua:37: maxSlope = 255, ./armwin.lua:45: maxSlope = 255, ./cormex.lua:43: maxSlope = 255, ./geo.lua:49: maxSlope = 255, ./thicket.lua:33: maxSlope = 255, ./wolverine_mine.lua:45: maxSlope = 255, ./fakeunit.lua:30: maxSlope = 255, ./terraunit.lua:39:...

As ZK uses only engine save/load mechanics this issue may be closed. /home/bob/.spring/save-team0_id0.tmp /home/bob/.spring/load-team0_id0.tmp apparantly valid buffers, and it's possible to read/write them through direct file operations, instead of using...

https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaRules/Gadgets/api_saveload.lua#L513 Ehm, what is this thing doing here? Seems #units == 0. I don't see reasons to call Spring.DestroyUnit and Spring.DestroyFeature on loading. Unless someone is mixing creg-save with lua-save...

This deserves a ticket on mantis. Spring should ignore any map's unit/feature because they're already saved in separate unit/feature section of savefile.

I'll make few tests... Yes, all playable comms. dyntrainer_support_base, dyntrainer_strike_base, dyntrainer_assault_base, dyntrainer_recon_base.

Now i look stupid. **Sorry**. I shouldn't work with code so late and I misinterpreted call to CircuitAI function as engine API call. The bug is in CircuitAI.

Was "LOS cheating" enabled in OP's battle (AIOptions.lua)? If not then there must be a bug in gadget/engine. In normal mode terraunit is not visible to ai, doesn't generate ai...