Skip to content

Add distance when Hercules spawned vehicules because they always collide#98

Open
Queton1-1 wants to merge 2 commits into
ciribob:masterfrom
Queton1-1:spawnedFromHercules
Open

Add distance when Hercules spawned vehicules because they always collide#98
Queton1-1 wants to merge 2 commits into
ciribob:masterfrom
Queton1-1:spawnedFromHercules

Conversation

@Queton1-1

Copy link
Copy Markdown
Contributor

When vehicules spawn from Hercules, they collide and damage the plane.

Add distance in 'function ctld.spawnDroppedGroup'
_xOffset + 10 >> _xOffset + 30

Add vehicules exemples to Hercules
in ctld.vehiclesForTransportRED
in ctld.vehiclesForTransportBLUE
in ctld.vehiclesWeight

When vehicules spawn from Hercules, they collide and damage the plane.
Add distance in 'function ctld.spawnDroppedGroup'
_xOffset + 10 >> _xOffset + 30
Add vehicules exemples to Hercules
@davidp57

Copy link
Copy Markdown
Collaborator

Hi, did you test this change on your side, specially the added vehicles?

@Queton1-1

Copy link
Copy Markdown
Contributor Author

Hi,
Alter vehicule tested, works great.

But other thing (no link with alter vehicules), function 'function ctld.spawnDroppedGroup' fail to spawn vehicules on my 6
I continue testing this part.

@RexAttaque

RexAttaque commented Jan 7, 2024

Copy link
Copy Markdown
Contributor

I'm confused why you would increase the distance between each spawned units and not the xOffset and yOffset values ? The problem is the first unit spawning inside the Hercules no ? This modification will increase the spacing between each vehicule, not just the first.

In any case this part of the code needs a rework because the way it's done will not spawn units behind the aircraft and so might very well spawn units into you anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants