.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old July 12th, 2008, 03:59 PM

Anton Anton is offline
Corporal
 
Join Date: Jul 2008
Posts: 81
Thanks: 7
Thanked 12 Times in 6 Posts
Anton is on a distinguished road
Default Re: Opfire (no, not about the draining problem...)

Well, even as old a game as X-COM did have a methood for deciding when a reaction can happen. It XCOM a unit would reacct only if a certain function depending on his Time Units was greater than a similar function for the target. As the result, the reacting unit wasn't always able to shoot first. Althoght the above method is absurd, it was there, and sometimes you could move around in an enemy's LOS before he started to shoot.

The easiest and most obvious technique could be to calculate the times needed to aim and take a shot for both units (using the units's specs as arguments: speed, turret speed, aiming mechanism...) and conclude the sequence of shots.

P.S.: Do you mean that being in the passive phase guaranties for a unit to be the first to shoot at anyone who enters his LOS, if both units spot each other simultaneously?

P.P.S: Thanks for the reply!
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.