Task #17029

paramDefenseCollide

Added by Bomba1 over 4 years ago. Updated almost 4 years ago.

Status:Assigned Start date:01/28/2011
Priority:Normal Due date:
Assignee:Benny % Done:

0%

Category:-
Target version:Future
Affected Version: I am using some Mods:No
Affected ArmA II version:Please select... Reproducible for you:No

Description

paramDefenseCollide allow build defences inside stones, homes, buildings and other large objects without checking.
player can build defense in some building near town depot, command own AI soldier - sitting to this defense. Such town enemy side never cant capture.

                    _skipFlat = false;
                    if !(paramDefenseCollide) then {
                        if !(_itemcategory == 0) then {_skipFlat = true};
                        if (surfaceIsWater(position _preview)) then {_color = _colorRed};
                        if (_color != _colorRed) then {
                            //--- Prevent Wall'in.
                            if (count((position _preview) nearEntities [['Man','Car','Motorcycle','Tank','Air','Ship'],10]) > 0) then {_color = _colorRed};
                        };
                    };

History

Updated by Bomba1 over 4 years ago

affected to 2.0.67

Updated by Benny over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Benny
  • Target version set to Warfare BE 2.068

It's meant to be like that, disable it in the meantime if you don't like it. i'll add a little security to prevent stacknig near depot's range, that's all.

Updated by Bomba1 over 4 years ago

I think be better check is really position empty, for all construction objects.

try this, it really worked :-)
http://code.google.com/p/arma2warfare/source/browse/trunk/Warfare.Bomba.Takistan/Common/Functions/Common_GetIsFlatPosition.sqf

i see this func in new 2.0.67 but it never used. i some extend this func earlier, for check with stone collision in takistan (stones not returned by function nearObjects :( )

Updated by Trauma over 4 years ago

People have also taken to building solid blocks from walls inside and around factories making them very hard to take out and also looking ridiculous. The param is great for defenses but so easy to exploit.

http://img822.imageshack.us/i/arma2oa2011021115324371.jpg/

Updated by Benny about 4 years ago

  • Target version changed from Warfare BE 2.068 to Warfare BE 2.069
  • I am using some Mods set to No
  • Reproducible for you set to No

Updated by MrNiceGuy almost 4 years ago

  • Target version changed from Warfare BE 2.069 to Future

is to be reworked

Updated by MrNiceGuy almost 4 years ago

  • Tracker changed from Bug to Task

Also available in: Atom PDF