LolTargeting

LolTargeting

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

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

LolTargeting

Post by Forboding Angel »

Image

Look guys, it's about time something was done about this. The sillyness that is spring targeting is to the point of causing real problems. With the lack of suggesting anything better, I suggest adding a tag allowing us to specify aimpoints in the model.

I'm sure there is a better way, but please devs, give us some sort of alternative.

Edit: in case anyone missed the memo, the default behavior would only be overridden if the tag existed.

Edit2: I guess what I am asking for is per-piece targetting
Last edited by Forboding Angel on 31 Jan 2012, 23:22, edited 2 times in total.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: LolTargeting

Post by knorke »

a tag allowing us to specify aimpoints in the model.
units target unit center (set in upspring)
if you move it down, it should fix at least this model.
Maybe there are models where it does not work but this isnt one I think.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: LolTargeting

Post by Forboding Angel »

Yeah, flozi pointed out the same thing and it works perfectly, but I think it's time to start discussing this, don't you?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: LolTargeting

Post by Kloot »

I suggest adding a tag

Code: Select all

modelCenterOffset = udTable.GetFloat3("modelCenterOffset", ZeroVector);
I suggest you reevaluate your suggestion.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: LolTargeting

Post by FLOZi »

Quick post before I go to bed, I seem to recall trying that tag recently and it not working. I'll take a look again when I can.

edit: Seems to be working correctly
Last edited by FLOZi on 01 Feb 2012, 18:03, edited 1 time in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: LolTargeting

Post by smoth »

even if it did work, many things calculate based on hitsphere.. so just moving the sphere can undesired ramifications.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: LolTargeting

Post by Forboding Angel »

Kloot wrote:
I suggest adding a tag

Code: Select all

modelCenterOffset = udTable.GetFloat3("modelCenterOffset", ZeroVector);
I suggest you reevaluate your suggestion.
I suggest you reevaluate your reevaluation :lol: :P

But as smoth said, bad side effects.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: LolTargeting

Post by knorke »

like?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: LolTargeting

Post by smoth »

Icons, Line Of Fire, explosion radius


off the top of my head.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: LolTargeting

Post by Google_Frog »

A tag for Forb's problem would be great. It is already possible to do in upspring.

Here is the line of fire problem:
Image
LLT on the left is allied to the factory in the middle. It cannot shoot the LLT on the right because the avoid friendly check uses the hitsphere.
Post Reply

Return to “Engine”