Author Topic: Feature request: allow $uvec to override turret normal  (Read 2047 times)

0 Members and 1 Guest are viewing this topic.

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Feature request: allow $uvec to override turret normal
It'd be handy if a turret subobject which uses $uvec and $fvec could also feature an extra property ("$normal_from_uvec"?) which would tell the game to use the uvec as the turret's normal (overriding any turret normal that might have been set in the turrets section). In most (all?) cases they're supposed to be exactly the same, and it's rather annoying to have to copypaste the uvec value from the properties box to the turret normal field and then change the commas to colons...once per every turret per every time you convert. Pretty much anything that allows you to do things in the modelling app before exporting, instead of having to do it in PCS2 every time you convert, is good.

Of course an alternative would be to have PCS2 simply check if the turret has an uvec set, and if yes, then use that as the default value for the turret normal, but the chances of anyone implementing new stuff into PCS2 and then releasing new versions seem much more slim.

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Feature request: allow $uvec to override turret normal
Problem is, not all turrets have their barrels pointing straight up. Take a look at the watchdog/cerberus. Heck, a lot of turrets don't have their barrels pointing straight up.

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Feature request: allow $uvec to override turret normal
Problem is, not all turrets have their barrels pointing straight up. Take a look at the watchdog/cerberus. Heck, a lot of turrets don't have their barrels pointing straight up.
I don't see how that'd be any kind of a problem. Elaborate?

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Feature request: allow $uvec to override turret normal
Hm...

I thought you were talking about having it do it automatically. As long as it's not automatic, then no, it wouldn't be a problem.

Too bad Kazan is letting PCS2 die... really I reckon it'd be more popular if he'd just fix the 'nothing works' bug... and maybe changed source code rights / commit rights so that others can help. I wonder if the license he's using forbids us from taking the code and creating our own SVN version based on it...

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Feature request: allow $uvec to override turret normal
Well I don't want to piss him off but I'm pretty sure anything hosted on Sourceforge is under some license that allows forking.  I could be wrong though.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Feature request: allow $uvec to override turret normal
Well I don't want to piss him off but I'm pretty sure anything hosted on Sourceforge is under some license that allows forking.  I could be wrong though.

I already started a separate topic about this one.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Feature request: allow $uvec to override turret normal
Code is now in to force turret_normal into same as the uvec if both uvec and fvec have been properly defined
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Feature request: allow $uvec to override turret normal
Would it make more sense to not be an override, but a fallback in the case of omission?
otherwise I can see some people not realizing it's on and wondering why changing one isn't making anything happen.

(If that sounds familiar I copy-pasta'd from #scp)
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

  

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Feature request: allow $uvec to override turret normal
Thanks Wanderer. This will be very handy. :yes: