Battlezone 1

Community Forum
Home Page * Home Page Home Page Home Page
  Register
Login 
View unanswered posts View active topics

Delete all board cookies

Contact Us | All times are UTC + 1 hour [ DST ]




Home Page Home Page  [ 9 posts ] 
  Print view
Previous topic | Next topic 
Author Message
Offline 
 Post subject: Follow me/Follow close
PostPosted: 06 Dec 2009, 00:45 
stratter :)

Joined: 20 Aug 2007, 14:17
Posts: 2120
Location: Zagreb, Croatia
No matter whether you give command "Follow me" or "Follow close", every unit will act the same, follow at 42m distance. One of those two commands is obviously broken.


Top
 Profile E-mail  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 06 Dec 2009, 01:14 
User avatar
poster

Joined: 29 Dec 2008, 09:44
Posts: 224
Location: The Converted Fury Flagship
I think the Follow Me command is broken; it should be a longer distance, like 50m or so.


Top
 Profile  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 06 Dec 2009, 13:11 
stratter :)

Joined: 20 Aug 2007, 14:17
Posts: 2120
Location: Zagreb, Croatia
This is not a quiz show. Ken has the code, he will look into it and give us the correct answer.

Code:
followRange = 125.0f*125.0f; follow closeRange = 75.0f*75.0f;


The real question is: why is it broken and can/should it be fixed?


Top
 Profile E-mail  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 06 Dec 2009, 20:26 
User avatar
Bz programmer

Joined: 20 Nov 2009, 22:17
Posts: 705
I looked in the AI code, and the follow range setting doesn't do all that much. OffensiveProcess will attack if it's within the follow range of the unit it's following and an enemy is within engagement range. Otherwise it reverts back to standard follow behavior, which seems to have fixed ranges. It follows normally until it gets more than 100 meters away, then engages "catch" behavior until it gets within 50 meters. Otherwise it tries to match velocity (or facing if stationary).


Top
 Profile E-mail  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 30 Dec 2009, 13:35 
stratter :)

Joined: 23 Aug 2007, 13:09
Posts: 130
Location: Norway - Kristiansand
Yes that is accurately how it works in practice in the game.

But the reason why the 2 command alternatives have offensive AI act exactly the same way, could this be that the programmers did not find any other function that would have made sence for the game? So maybe you guys gave up and just filled out something in the command display? Or could command 8 be broke..

If you for instance build a Scout and hit 1 key (offensive units), then hit 1 (unit 1 - the Scout), then you can hit either 1 or 8 in the command display list ("follow me", or "follow close"), but these 2 alternatives will make no difference whatsoever for the way the Scout will act.
The only difference is that the Scout says "follow the leader" or "protecting".

Just sort of wondering what you guys may have had in mind for command alternative 8, and the reason why you gave it up.
Or maybe there is a command alternative just waiting for being activated 8)


Top
 Profile  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 15 Jan 2010, 16:25 
User avatar
stratter :)

Joined: 04 Nov 2009, 10:37
Posts: 368
Location: North Carolina, USA
this has defiantely always been something ive been curious about. my experimentation yielded pretty much exactly what jonblund said.


Top
 Profile E-mail  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 13 Jun 2010, 12:38 
stratter :)

Joined: 20 Aug 2007, 14:17
Posts: 2120
Location: Zagreb, Croatia
Ultraken wrote:
I looked in the AI code, and the follow range setting doesn't do all that much. OffensiveProcess will attack if it's within the follow range of the unit it's following and an enemy is within engagement range. Otherwise it reverts back to standard follow behavior, which seems to have fixed ranges. It follows normally until it gets more than 100 meters away, then engages "catch" behavior until it gets within 50 meters. Otherwise it tries to match velocity (or facing if stationary).

There's no problem with the AI code, they execute each follow command well (1-follow me & 8-follow close). The issue is in both commands working the same way, and having 2 commands doing the same thing is obviously not intentional. There must be a mistake somewhere, probably with "follow close", since not every unit has that command.


Top
 Profile E-mail  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 22 Aug 2010, 19:55 
User avatar
stratter :)

Joined: 06 Nov 2009, 00:17
Posts: 259
Location: Kristianstad, Sweden
Mr. Spock wrote:
No matter whether you give command "Follow me" or "Follow close", every unit will act the same, follow at 42m distance. One of those two commands is obviously broken.




how about the speed, do they accelerate at the same speed?


Top
 Profile E-mail  
 
Offline 
 Post subject: Re: Follow me/Follow close
PostPosted: 24 Aug 2010, 14:15 
stratter :)

Joined: 20 Aug 2007, 14:17
Posts: 2120
Location: Zagreb, Croatia
Well, you can always test, but I doubt anything is different. The part of the code I posted is BZ code. I always assumed 75 and 125 were BZ distances and that's why I said one command must be broken.

Maybe Ken could investigate what is each "follow" supposed to do?


Top
 Profile E-mail  
 
Search for:
Display posts from previous:  Sort by  
Home Page Home Page  [ 9 posts ] 

Contact Us | All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  

cron
Donate Now
Donate Now


Powered by Skin-Lab © Alpha Trion
Hosted by FreeForums.org | Create a free forum