Search

Search found 12 matches

by Rampoina
28 Oct 2018, 14:32
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

Demo files are automatically generated in your writeable data directory (search your system for infolog.txt to find it) under "demos". Bugtracker is here: https://springrts.com/mantis/ To be clear I was just using https://github.com/spring-archive/springtutorialgame.sdd so the steps to re...
by Rampoina
28 Oct 2018, 13:31
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

https://peertube.mastodon.host/videos/watch/f09afe5b-a93c-45ae-bbec-5da4c8604228 Reproducing this locally eludes me so I would like you to do the following: 1) grab Balanced Annihilation 10.13 (sdz) and extract it to an sdd directory 2) open units/ArmVehicles/armfav.lua and change acceleration/brak...
by Rampoina
27 Oct 2018, 13:57
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

Thank you very much kloot. I'm testing it and it seems like it's happening less often. I was able to catch this on video, I don't know it it's related but sometimes it happens while moving normally: https://peertube.mastodon.host/videos/watch/f09afe5b-a93c-45ae-bbec-5da4c8604228 This time it wasn't ...
by Rampoina
26 Oct 2018, 17:04
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

Thank you, the (quite fixable) problem here is that waypoint consumption does not keep pace at maxVelocity=10 with a turn-radius of effectively zero. Incidentally "startVelocity" is only used by certain weapon types, not units. Oh, that's good to know :P My intention was to avoid having t...
by Rampoina
26 Oct 2018, 13:58
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

Of course, here's the video: https://peertube.mastodon.host/videos/watch/a230d808-b466-40ac-af49-99f86ce86a5f I'll post the UnitDef later I've been playing with high acceleration/velocity but even if I use low values it seems to bug out, for the first video it was like this: Acceleration = 1, BrakeR...
by Rampoina
26 Oct 2018, 12:47
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

EDIT: done in build 822-gcf9c812 following good Hacktober spirit Damn, I didn't see your EDIT sorry. Thank you very much for your effort. I've tested it but unfortunately it seems like there's still issues. I'm testing it on the "Twin Lakes Park" map by moving the unit close to the hills,...
by Rampoina
21 Oct 2018, 17:27
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

No need, modWantedDir can no longer equal <0,0> as of 817-gfa7aedc. Fixing terrain interaction for high-turnrate units may take either a clever hack or a rewrite, so I hope you can tolerate it fttb. Sure, if I can help with anything let me know. EDIT: This would be an important feature for me, so I...
by Rampoina
21 Oct 2018, 16:05
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

Ok I found the cause of one of the issues. In https://github.com/spring/spring/blob/develop/rts/Sim/MoveTypes/GroundMoveType.cpp#L586 sometimes when stopping it wants to change heading from 0 to 0 GetHeadingFromVectorF returns -HALFPI in that case which is not correct https://github.com/spring/sprin...
by Rampoina
20 Oct 2018, 17:25
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

now it doesn't swerve but when it stops sometimes the orientation changes. Also when rapidly changing directions sometimes it lags and doesn't start moving immediately. The tendency of units to flip their orientation during a stop should be reduced in build 816-g8d93daa of the 104.0 maintenance bra...
by Rampoina
20 Oct 2018, 13:54
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

You can observe how I have fixed this in EvoRTS. Long story short, a turnrate of 5000 will achieve what you want without the drunk driving after the turn. Edit: Assuming you have implemented the above suggestions. This gadget is one of my little hobby horses of where I put things that are fixes to ...
by Rampoina
19 Oct 2018, 20:53
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Re: Instant turn rate?

Thank you, but it's not quite working for me, now it doesn't swerve but when it stops sometimes the orientation changes. Also when rapidly changing directions sometimes it lags and doesn't start moving immediately.
by Rampoina
19 Oct 2018, 18:44
Forum: Game Development
Topic: Instant turn rate?
Replies: 24
Views: 8469

Instant turn rate?

I tried to make a unit that turns instantly by setting a really high turnRate, but then it swerves like crazy when traveling in a straight path. I basically used https://github.com/spring-archive/springtutorialgame.sdd and just changed the turnRate of a unit. Am I doing something wrong? or is this a...

Go to advanced search