Guardian/Ambusher problems

Guardian/Ambusher problems

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Klopper
Posts: 146
Joined: 10 Jan 2007, 14:31

Guardian/Ambusher problems

Post by Klopper »

Guardians and Ambushers on high trajectory seem to show some strange behavior for me when mountains are involved, maybe has something to do with the new spherical range. They seem to be unable to shoot over or onto some mountains from certain positions, and when built on mountains their range is reduced (occured in BA 5.4). You can try it well on Altored Divide: build one next to the mountain in right middle and try to shoot onto/over the mountain, or make one on the northern/southern high mountains (the ones bordering the starting territories), set it to high trajectory and compare its displayed and real range...
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Post by Pendrokar »

Well the range in high trajectory is fine but firing isn't! They rly don't shoot over hills(Well one thing that could be the cause is that you can't fire over hills in FPS!!!)!
Image
Klopper
Posts: 146
Joined: 10 Jan 2007, 14:31

Post by Klopper »

maybe that range reduction when they are on a mountain and on high trajectory doesn't happen always, i have a test replay where it occurs though...i tested it with a guardian on altored divide, built on a mountain and set to high trajectory afterwards, and it only was able to shoot at half or so of its displayed range...
miki
Posts: 18
Joined: 20 Feb 2007, 16:32

Post by miki »

i think that spring calculates the hight as distance, so its reduced, and the other way around...
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Pendrokar wrote:Well the range in high trajectory is fine but firing isn't! They rly don't shoot over hills(Well one thing that could be the cause is that you can't fire over hills in FPS!!!)!
Image
This is a good screenshot - a guardian there simply will not shoot at anything to the left or underneath it, even though it's well within range.
Klopper
Posts: 146
Joined: 10 Jan 2007, 14:31

Post by Klopper »

Don't forget it's set to high trajectory so it usually would have been able to shoot there...
User avatar
Spawn_Retard
Posts: 1248
Joined: 21 Dec 2006, 14:36

Post by Spawn_Retard »

i had this problem with my own mod seconds ago, where a guardian wouldnt fire off a mountain to a lower platform.
User avatar
BigSteve
Posts: 911
Joined: 25 Sep 2005, 12:56

Post by BigSteve »

I had this problem too, a toaster wouldnt fire from a mountian onto a lab which was in range and not not obstructed.
User avatar
VonGratz
Posts: 471
Joined: 03 May 2005, 05:25

Re: Guardian/Ambusher problems

Post by VonGratz »

Klopper wrote:Guardians and Ambushers on high trajectory seem to show some strange behavior for me when mountains are involved, maybe has something to do with the new spherical range. They seem to be unable to shoot over or onto some mountains from certain positions, and when built on mountains their range is reduced (occured in BA 5.4). You can try it well on Altored Divide: build one next to the mountain in right middle and try to shoot onto/over the mountain, or make one on the northern/southern high mountains (the ones bordering the starting territories), set it to high trajectory and compare its displayed and real range...
I think that could be the tsg highangle=1: in that mod...
VonGratz :wink:
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Didn't look at the source or test it, but it may be that cannons use spherical range checking instead of, um, parabolic.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

ALL weapons use spherical range checking as a fdefault in 75b*, except for the MeleeWeapon.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

this particular bug should be fixed in http://spring.clan-sy.com/mantis/view.php?id=565
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Post by Pendrokar »

this particular bug should be fixed in http://spring.clan-sy.com/mantis/view.php?id=565
But what about high trajectory not shooting over hills???
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

will investigate.

edit: guardian is able to shoot to the other side of the hill on small divide. is there something else wrong?
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

Just a wild idea:

Unless BA has adjusted them, the ambusher/guardian uses some fancy scripting (courtesy of Archangel Of Death) to give them that "huge damage on HT" "low damage on LT" effect... that might be what's confusing the game. The unit actually has two weapons, just different ones are allowed to fire under different circumstances... it was an unusual fix, I wouldn't be surprised if it causes problems in some circumstances.
User avatar
Spawn_Retard
Posts: 1248
Joined: 21 Dec 2006, 14:36

Post by Spawn_Retard »

you can check it with island of war 1.0 if you take the mountain nearest right on the bottom side.

i tried a firing off it, and even though the island was well in range of the shot nothing happend, HT or LT didnt work.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Yes, ive been having the same problem too. I think its connected to this: http://spring.clan-sy.com/phpbb/viewtopic.php?t=10493.
KDR said to enable old style you need to enable cylinder targetting... not that i know what that means.. neither does Noize to fix BA.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Lippy wrote:Yes, ive been having the same problem too. I think its connected to this: http://spring.clan-sy.com/phpbb/viewtopic.php?t=10493.
KDR said to enable old style you need to enable cylinder targetting... not that i know what that means.. neither does Noize to fix BA.
The problem is essentially unfixable now (as in "keep the old behaviour") - you can try setting cylinderTargetting to unit's weapon_range/unit_radius as something _somewhat_ viable. The real fix is in a patch I submitted, but Tobi being on vacation means no commit and no bugfix release.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Tobi is necessary for releases but any dev can commit.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Caydr wrote:Just a wild idea:

Unless BA has adjusted them, the ambusher/guardian uses some fancy scripting (courtesy of Archangel Of Death) to give them that "huge damage on HT" "low damage on LT" effect... that might be what's confusing the game. The unit actually has two weapons, just different ones are allowed to fire under different circumstances... it was an unusual fix, I wouldn't be surprised if it causes problems in some circumstances.
Excuse me? What's the justification for having a guardian do more damage with high trajectory?
Post Reply

Return to “Help & Bugs”