Aircraft hit spheres... Da Fuq???

Aircraft hit spheres... Da Fuq???

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Aircraft hit spheres... Da Fuq???

Post by Forboding Angel »

Image

What the hell? Why are the hit spheres for aircraft miniscule? Why do they not follow the same rules as every other unit???
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Aircraft hit spheres... Da Fuq???

Post by knorke »

What the hell? Why are forbodings posting habits silly? Why do they not follow the same rules as every other poster???
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Aircraft hit spheres... Da Fuq???

Post by Forboding Angel »

This is obvious an issue with the engine. Ergo, engine forum.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Aircraft hit spheres... Da Fuq???

Post by Forboding Angel »

I found a suitable workaround. Was not aware that this tag had been added: useFootPrintCollisionVolume = true, < box instead of sphere, but who cares?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Aircraft hit spheres... Da Fuq???

Post by FLOZi »

Ugly workaround.

I thought engine half-scaling of aircraft hitvols had been removed a while back, guess not?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Aircraft hit spheres... Da Fuq???

Post by smoth »

Iirc it wasn't because assbackwards compatibility for the lazy projects which, if they were not maintained shouldn't even run to begin with
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Aircraft hit spheres... Da Fuq???

Post by FLOZi »

Can't find it in the source anywhere
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Aircraft hit spheres... Da Fuq???

Post by smoth »

woot someone removed it!?!
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Aircraft hit spheres... Da Fuq???

Post by FLOZi »

smoth wrote:woot someone removed it!?!
As I said - thought it went a while back, which begs the question; what version is Forbs post form, and or what else is causing it.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Aircraft hit spheres... Da Fuq???

Post by Forboding Angel »

Flozi, this is in spring 96.

I wasn't going to bring it up, but it there was a unitdef tag that countered the silly scaling, however that tag was removed several engine versions ago. I ranted and raved in a thread about it but never got anywhere.

If you look in the evo sauce, there is a workaround using custom colvols that states in comments --because the engine devs are silly. That is a direct result of that tag being removed.

If you want I could find the thread again, but I imagine I was much less than nice in it due to it screwing my aircraft over.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Aircraft hit spheres... Da Fuq???

Post by FLOZi »

I can't be 100% but I thought it finally died, and can;t find it in present source. It's possible one of your gadgets is actually now responsible? I assume the model itself is s3o and radius is all set hunky-dory in Upspring.

edit: Yep, was removed WAY back in 83 (3 years ago!):

http://springrts.com/mediawiki/index.ph ... ldid=26886

https://github.com/spring/spring/commit ... 61959e7f0d

Note the commit message!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Aircraft hit spheres... Da Fuq???

Post by Forboding Angel »

FLOZi wrote:It's possible one of your gadgets is actually now responsible? I assume the model itself is s3o and radius is all set hunky-dory in Upspring.
Grepped gadgets for
canfly (found awards gadget... unrelated)
colvol (found nothing as expected)
collision (found boxxy gadget by knorke that I use for scaling doing custom boxxen)
volume (found lups manager - unrelated)

I'm thinking that a game gadget is not responsible. Perhaps a gadget in spring's basecontent is doing it?

Evo gadgets:
http://goo.gl/DO2Sk6

Edit: doesn't seem like anything in basecontent would do it.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Aircraft hit spheres... Da Fuq???

Post by knorke »

make numbers bigger
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Aircraft hit spheres... Da Fuq???

Post by Forboding Angel »

Found it. Ironically, the workaround that I used ages ago to combat the original problem, was in this case causing it.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Aircraft hit spheres... Da Fuq???

Post by FLOZi »

Forboding Angel wrote:Found it. Ironically, the workaround that I used ages ago to combat the original problem, was in this case causing it.
:wink: Welcome to Spring.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Aircraft hit spheres... Da Fuq???

Post by knorke »

That is a fancy way to say "putting collisionVolumeScales = [[35 35 35]] into unitdef file gave me a 35 sized collisionVolume, but 35 was not what I wanted"
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Aircraft hit spheres... Da Fuq???

Post by Forboding Angel »

Yes knorke, it was a workaround because the tag that doubled the hitspheres was removed. As a result I added hitspheres manually. Some spring versions later (so possibly as much as a year or so) the stupid code that halved the hitspheres was removed.

Make sense now?
Post Reply

Return to “Game Development”