Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Nov 24, 2026 2:51 pm
All times are UTC + 0
TurretOffset bug
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
SuperJoe
Commander


Joined: 03 Sep 2009

PostPosted: Sun Oct 07, 2012 4:46 pm    Post subject:  TurretOffset bug Reply with quote  Mark this post and the followings unread

Is there any way to fix the bug that happens when you move a turret with the TurretOffset key? This key correctly moves the turret, but creates a massive problem for the PrimaryFireFLH. The starting point of the PrimaryFireFLH seems to rotate around the unit, even if the turret stays in place. As you can see in the pic, firing infront of the unit seems all fine, but when the turret turns to fire behind the unit, the missiles spawn from the front of the unit.

Already tried messing with the PrimaryFireFLH and PBarrelLength keys. You can make it look bit less stupid by adjusting the PrimaryFireFLH forward value to be the same as the TurretOffset is, but then the firing location will be equally bugged no matter of the turret facing. I also tried to edit the turret voxel by adding alot of empty voxels to the front of the turret, but it doesn't change anything. Adding an invisible barrel doesn't help since the PrimaryFireFLH is calculated from the turret center, not barrel.



turretbug.png
 Description:
 Filesize:  49.91 KB
 Viewed:  2197 Time(s)

turretbug.png



_________________

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Oct 07, 2012 4:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

Unfortunately no. It's simply too messed internally to be fixed with ini coding.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Oct 07, 2012 4:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Are you using an invisible turret? It looks like the turret HVA is not aligned properly, which causes it to rotate around the center of the vehicle.

_________________


Back to top
View user's profile Send private message
SuperJoe
Commander


Joined: 03 Sep 2009

PostPosted: Sun Oct 07, 2012 5:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Crimsonum wrote:
Are you using an invisible turret? It looks like the turret HVA is not aligned properly, which causes it to rotate around the center of the vehicle.


The turret is that small thingy at the back of the bus. The turret does stay in place, but the missiles spawn incorrectly.

Lin Kuei Ominae wrote:
Unfortunately no. It's simply too messed internally to be fixed with ini coding.


Wonder if it could be helped by editing the voxel or HVA somehow? I tried adding empty rows of voxels to the front of the turret voxel, but it didn't help. Could the turret have multiple sections or something? Argh... what an annoying little bug.

_________________

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Oct 07, 2012 5:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

The only way to avoid this is by moving the turret as good as possible to the center or to not use the key with such high values.
For example you could move the chassis of the unit forward in the hva, so the turret moves to the center while visually still on the rear of the chassis. Then it doesn't needs turretoffset.

vxl, hva don't share any data towards the weapons firing point. This is completely ini controlled.
Maybe this helps, but i'm quite sure you know all this already: Primary/SecondaryFireFLH, TurretOffset & PBarrelLength explained

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Dubzac
Commander


Joined: 21 May 2004
Location: New Zealand

PostPosted: Mon Oct 08, 2012 5:12 am    Post subject: Reply with quote  Mark this post and the followings unread

I never had this problem like ever. even with FLH's, some of mine have very big FLH values well over 150. man this error just looks far-out i had no idea the TS game could do that.

doesn't look to me that you did anything worng though, very odd bug indeed. I Guess we all learn something new every day. Confused

PS: i never use PBarrelLength i think its not very usefull other than making the projectile act differently ... you don't think that... oh nevermind i ramble too much. Anyway i think that shread of code was usefull ofr all long barrel units. IMO missile units don't really need it.

_________________
Link to a document to see what mods i have and/or working on or working with
Click

Back to top
View user's profile Send private message Yahoo Messenger Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1769s ][ Queries: 12 (0.0132s) ][ Debug on ]