My units dont work...

My units dont work...

Hearken back to the days of yore and enjoy the first major Spring module!

Moderators: Moderators, Content Developer

Post Reply
babbles
Posts: 564
Joined: 22 Jul 2008, 02:30

My units dont work...

Post by babbles »

Since the new spring version, a lot of my units seem to miss...

Mostly lasers I notice, such as llt/snipers...as the lasers just sometimes go straight through a unit doing no damage. But I noticed it was also with mavericks as my Mav was shooting at a crasher for about 30 seconds and did no damage...

Anyone else have this problem? I put it here 'cos I dunno if it's spring or xta
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: My units dont work...

Post by hoijui »

i guess a demo would be useful.
babbles
Posts: 564
Joined: 22 Jul 2008, 02:30

Re: My units dont work...

Post by babbles »

good thing they work, isn't it?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: My units dont work...

Post by Kloot »

XTA's (smaller) custom collision volumes need ray-based hit detection.
babbles
Posts: 564
Joined: 22 Jul 2008, 02:30

Re: My units dont work...

Post by babbles »

By the way, my response about replays was because XTA replays don't work...
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: My units dont work...

Post by Noruas »

Isn't Ray based hit collision take a lot more cpu usage?
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: My units dont work...

Post by knorke »

With arm lasertower vs maverick it is very easy to reproduce, just vary the distance a bit.
At the right positions, every laser shot will go straight through the maverick:

http://www.abload.de/img/screenshot_xta_spring_2gmr.jpg

on second thought it might be the angle not distance, maverick is not very fat. anyway it happens quite alot.
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Re: My units dont work...

Post by Noruas »

Argh, its turning more into a mmo, mavericks and zippers have high evasion, under some tests dgun can travel through tics and spidey mine clearers as well as roach and invader -_-.
babbles
Posts: 564
Joined: 22 Jul 2008, 02:30

Re: My units dont work...

Post by babbles »

it's not just maverick...
User avatar
azaremoth
Cursed Developer
Posts: 549
Joined: 17 Feb 2005, 22:05

Re: My units dont work...

Post by azaremoth »

This happens to all units with non-sphere-like hitsperes and can be fixed by adding

Code: Select all

  collisionVolumeTest 		= 1,
to all unit definitions. I had that probleme too with the new spring version until Kloot enlightened me... 8)
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: My units dont work...

Post by Deadnight Warrior »

Thanks azaremoth!
Oh, how I love Hex editor. Just compress .sdd folder into a 'store' (compressionless) 7z archive. Hex edit that file replacing all instances of "collisionVolumeTest = 0" with "collisionVolumeTest = 1" and extract the modified archive. 7-zip will complain alot about the CRC errors, but WGaF about those errors, we made them deliberatley.
Result: 176 files changed within 30 seconds. In fact, it took me much longer to write this post.

Damn, writing stuff like this makes me sound like an ├╝bergeek.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: My units dont work...

Post by zwzsg »

I gather you don't have Notepad++, or any other decent text editor? Because "search & replace in files" would be much easier for you then.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: My units dont work...

Post by malric »

So, where is this new release :) ? Can't wait for it :wink: . Thanks for doing the modification.
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: My units dont work...

Post by Deadnight Warrior »

zwzsg wrote:I gather you don't have Notepad++, or any other decent text editor? Because "search & replace in files" would be much easier for you then.
You're right on both statements (didn't try it in Dreamweaver though), but it wouldn't be nowhere nearly as geeky without using a Hex Editor and "hacking" an archive.
As we (students of my faculty, in response to lectured methods) say, "Why do things simpler way, when it can be done the harder."
malric wrote:So, where is this new release :)
On my HDD, and it will stay there for some time, until I get a list of things to improve.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: My units dont work...

Post by malric »

Except the heatmapping problems this was really really annoying. If you already did the modification, why not make a release ? It's very frustrating to see units fire through each other.
pintle
Posts: 1763
Joined: 19 Dec 2005, 16:01

Re: My units dont work...

Post by pintle »

Deadnight Warrior wrote:On my HDD, and it will stay there for some time, until I get a list of things to improve.
I feel now like I must spring to action! Still no response from my mate about installing Hamachi on his machine, I may just go ahead and do it, grab your build, then unininstall it, if he does not get back to me soon.
Post Reply

Return to “XTA”