OFPSDEV / BECTI

Mission Development for OFPS
3 stars 4 forks source link

Military Installation, base area bugs #119

Closed SpanishSurfer closed 9 years ago

SpanishSurfer commented 9 years ago

Sometimes commanders are unable to put any more buildings after placing a Military installation. This has been happening quite a bit on the Guerrilla mission. It says something like "The xxx needs a military installation to be created" which tells me it's not registering the base area.

I believe it may have something to do with elevation but I'm not sure.... Ideas?

thecoolestname36 commented 9 years ago

Are you sure this problem exists in the main mission file. I remember I merged my commander cam the same time that you were creating the gurella mode. I think maybe the code wasn't transferred correctly.

SpanishSurfer commented 9 years ago

Confirmed on normal BECTI, it doesn't like hills

MarkusNemesis commented 9 years ago

make sure the code is using the correct getpos, as getpos, getposASL and getposATL all work differently. So, the code that checks the military installation's proximity needs to use the same function for getting positions and finding distances, etc.

On 9 February 2015 at 09:49, SpanishSurfer notifications@github.com wrote:

Confirmed on normal BECTI, it doesn't like hills

— Reply to this email directly or view it on GitHub https://github.com/OFPSDEV/BECTI/issues/119#issuecomment-73446708.

thecoolestname36 commented 9 years ago

Kk ill take a look into this once i get a chance.

thecoolestname36 commented 9 years ago

ad929902fd969a3b4e3971bb35e7696e1aa811f6

Should be done

SpanishSurfer commented 9 years ago

Cool, way too many changes on here that have nothing to do with base construction. Please only upload a base construction fix. You've got edits on here on adaptive group size, which was painstakingly worked on for the server. Your town activation near bases is also there, which I'm not sold on. You have a ton of edits on here with multiple things....just one issue at a time please.

thecoolestname36 commented 9 years ago

These things are all disabled and assigned a parameter so it will have no effect. Adaptive groupsize was explicitly stated as 12 inside of its .sqf file and overriding its respective parameter, this is a fix. The base construction bug fix is completed in the function 'Client_ConstructionCam_PlacingBuilding.sqf'

thecoolestname36 commented 9 years ago

d3b9cc2480ac8abda2b57641854230079099c829