Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vehicle digging #123

Merged
merged 39 commits into from
Apr 12, 2022
Merged

Vehicle digging #123

merged 39 commits into from
Apr 12, 2022

Conversation

nomisum
Copy link
Contributor

@nomisum nomisum commented Mar 29, 2022

Working condition and tested on dedicated

Supports vanilla nemera and GM Bpz.

To dig: lower plow (vehicle action), drive forward
To deploy: Reverse

Lowering plow limits speed to 7 kmh.

things that might be nice to have:

  • cba settings (though i dont know if this is really needed and for what exactly)
  • adjusted GEOM or physX LOD of vehicleTrench to prevent instantly bumping into trench after deployment (no damage taken but still annoying)
  • Future release: decaying trench by driving over it (lineintersects from trench mempoints to find out that tank is on top)
  • Future release: repicking up trench by bumping into it. Too dangerous with current GEOM LOD.

nomisum and others added 2 commits March 30, 2022 10:01
Co-authored-by: Moritz Schmidt <fusselwurm@gmail.com>
Co-authored-by: Moritz Schmidt <fusselwurm@gmail.com>
@nomisum
Copy link
Contributor Author

nomisum commented Mar 30, 2022

There needs to be either a check if an animation is running or another variable that says "lowering in progress"

edit: ah wait… the 1.5m distance for the action means that only the driver will be able to do it? then thats ok too I guess

not exactly but i will configure it to be driver only, just forgot. otoh for singleplayer / AI driver it would come in handy to have this available in other roles as well.

@nomisum
Copy link
Contributor Author

nomisum commented Apr 1, 2022

ready for last dedi test

@nomisum nomisum merged commit 222de70 into master Apr 12, 2022
@Nerexis
Copy link

Nerexis commented May 5, 2023

I'm trying to test it, I drive Nemmera with a lowered pillow, and I see speed limited and some ground particles of dug land, but when I Reverse nothing happens. Am I doing something wrong or does anyone have a demo video for this feature?

@nomisum
Copy link
Contributor Author

nomisum commented May 5, 2023

drive forward on diggable ground until the trench rises.

if this does not work this is a bug, then i would need to know the map and location to reproduce.

@twidjr
Copy link

twidjr commented May 6, 2023

I am having this issue as well and if I had to guess the problem is that the trench is not rising because when I was testing I could see it clipping out of the terrain this could be either caused by the constant stopping to achieve the 6-8 km speeds or something regarding the "attach to" the script. because you asked I tested this on a hill and saw it sticking out and not moving up or down just being still even though I'm driving forward. another time I tried was on Altis salt flats I was driving forward and just drove for ~1km and even though I edited the dig time on the mission nothing happened. I would love to see this working though!

@nomisum
Copy link
Contributor Author

nomisum commented May 6, 2023

i will take a look. thanks for the report!

@nomisum
Copy link
Contributor Author

nomisum commented May 6, 2023

@Nerexis @twidjr apparently some commits are missing from the new release. for a quick workaround pick the pre release until a new version is ready.

should look like this when working: https://www.youtube.com/watch?v=EhcA_tlpbtY

@twidjr
Copy link

twidjr commented May 6, 2023

awesome! I can't wait to see it working!

@nomisum
Copy link
Contributor Author

nomisum commented May 7, 2023

needed to dig a bit further. there were some changes to the vehicle trench p3d rendering the attach offset unusable. will be fixed in the upcoming version.

@twidjr
Copy link

twidjr commented May 7, 2023

hey just checked the updated version and it's working now! good stuff!

@Nerexis
Copy link

Nerexis commented May 8, 2023

I also checked, works fine now! BTW it would be cool to have the possibility to also dig a trench for infantry purposes, like a LONG trench.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants