View topic - Fix holdsteady



All times are UTC + 1 hour


Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: Fix holdsteady
PostPosted: 23 Jun 2010, 03:04 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
Would it be possible to make the holdsteady tags useful, mainly allow attached units to follow their above hierarchy's rotation, which they currently do not (as I demonstrated in viewtopic.php?f=11&t=23329 )

Currently holdsteady set to "false" aligns the attached unit to the map, so when the transport turns (during movement not script) the attached unit remains aligned to the map and rotates inside the transport unit's hierarchy. Why this is even useful, I don't know.

Holdsteady set to "true" (which is default and might be why not too many people noticed an issue), aligns the attached unit to the transports 0 degree heading, and the attached unit will remain that way regardless of any above hierarchy pieces rotating (script wise), but it does stay with the transport alignment as the transport moves around the map. I can see some reasons this may be helpful.

What I and many other modders/ game devs would love to see is either a third option or a fix to holdsteady false, that allows for attached units to be rotated using their transports parts.

Would there be any problems with this?


Last edited by bobthedinosaur on 23 Jun 2010, 06:27, edited 2 times in total.

Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 23 Jun 2010, 03:33 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
you have the options mixed up there, bob.

+1 to this, again. Maybe if I weren't so lazy I'd fix it myself. :regret:


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 23 Jun 2010, 04:54 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
FLOZi wrote:
you have the options mixed up there, bob.

what part?


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 23 Jun 2010, 12:38 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
bobthedinosaur wrote:
FLOZi wrote:
you have the options mixed up there, bob.

what part?


Quote:
Last edited by bobthedinosaur on Wed Jun 23, 2010 5:27 am, edited 2 times in total.


I c what u did thar


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 23 Jun 2010, 17:51 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Can you do a quick test for me Bob, it seems to me that piece movements are already taken into account, just not rotations?


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 23 Jun 2010, 18:51 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
Move works, just not rotation.


Attachments:
moveworks.jpg [612 KiB]
Downloaded 2 times
Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 23 Jun 2010, 23:10 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Holdsteady is so that units on a flying transport don't go all asstarded when flying over terrain. What you are asking for is something that aligns the unit to the link piece which is entirely different.


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 02:18 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Forboding Angel wrote:
Holdsteady is so that units on a flying transport don't go all asstarded when flying over terrain. What you are asking for is something that aligns the unit to the link piece which is entirely different.


That's not entirely accurate Forb, but I'm too drunk to explain why. :?


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 03:24 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
yes, holdsteady true is used for that forb, and that's okay, holdsteady false tells the unit to be aligned to the map (this is what it currently does not what I am asking for), but because it is not default its rarely seen. What game has a unit that actually uses false like this? If there is a reason for it to act like this, then add the third option or make another new tag. I don't care, as long as it works.

edit: To clear some things up. Look at the link to other post and the attached screen shots if you don't understand.


Last edited by bobthedinosaur on 24 Jun 2010, 06:56, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 05:23 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
You're missing the point. Aligning to map won't have the effect you want, you need align to link.

Anyway, try deleting the tag altogether. Spring may have some funkyness that assumes if the tag exists at all it's true.


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 06:54 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
Deleting the tag doesn't do any thing. And I agree I don't want it to align to the map, as I've said I don't think any one would use that. Please read more carefully.


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 16:09 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
I see no reason why anyone would want the attached unit to always align to the transporter's direction regardless of the piece it's attached to. If someone did want that, they can attach it to an invisible piece they control to always be aligned with the direction of the unit. This has to be a bug or oversight and I too would like it to be fixed.


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 16:17 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
My thoughts exactly. If they want it stuck to the unit's alignment, then don't mess with the attached pieces. Well, there are exceptions for air units and large rotating arms, but those could also be done in the script.

I still have not heard from any of the engine developers whether this issue is to be confirmed to be bug or not.


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 16:26 
User avatar

Joined: 23 Oct 2004, 00:43
CarRepairer wrote:
I see no reason why anyone would want the attached unit to always align to the transporter's direction regardless of the piece it's attached to. If someone did want that, they can attach it to an invisible piece they control to always be aligned with the direction of the unit. This has to be a bug or oversight and I too would like it to be fixed.


I assume there are a hojillion air-transports that would be broken by this change. Not that I'm saying the change is a bad thing, but that it probably would have to be implemented in a backwards-compatible format.


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 16:44 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Pxtl wrote:
CarRepairer wrote:
I see no reason why anyone would want the attached unit to always align to the transporter's direction regardless of the piece it's attached to. If someone did want that, they can attach it to an invisible piece they control to always be aligned with the direction of the unit. This has to be a bug or oversight and I too would like it to be fixed.


I assume there are a hojillion air-transports that would be broken by this change. Not that I'm saying the change is a bad thing, but that it probably would have to be implemented in a backwards-compatible format.


I don't see why that would be the case.

btw I would consider it an oversight rather than a bug. When the tag was first introduced it was solely for use on air trans to maintain the OTA-like behaviour. It was me that removed the check for the air movetype to allow it to be used on ground transports. Infact I think originally it was hardcoded to air transports and there was no possibility to set it in the unit def.


Last edited by FLOZi on 24 Jun 2010, 16:49, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 24 Jun 2010, 16:46 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Pxtl wrote:
I assume there are a hojillion air-transports that would be broken by this change. Not that I'm saying the change is a bad thing, but that it probably would have to be implemented in a backwards-compatible format.
I doubt any air transport has a transport-piece oriented differently than the plane. So you'd see no change.


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 25 Jun 2010, 21:55 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
mantis report: http://springrts.com/mantis/view.php?id=1965

Includes bob's example unit


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 26 Jun 2010, 00:33 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Kloot is awesome. All hail kloot.

http://github.com/spring/spring/commit/ ... dfbbbe4634


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 26 Jun 2010, 03:33 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
Thank you very much!


Top
 Offline Profile  
 
 Post subject: Re: Fix holdsteady
PostPosted: 13 Aug 2010, 05:29 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
play testing in the latest RC I noticed that attached unit turning is working, but it is acting strange:

Image


it looks like the parent piece goes one way and attached rotates the opposite direction?


Attachments:
beatdeadhorse.jpg [393.5 KiB]
Downloaded 2 times
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.