VTOL circle radius

For AI and campaign script related discussions and questions
Post Reply
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

VTOL circle radius

Post by aubergine »

Hi - what's the tile radius of VTOLs that are set to "circle"?
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
Cyp
Evitcani
Evitcani
Posts: 784
Joined: 17 Jan 2010, 23:35

Re: VTOL circle radius

Post by Cyp »

From order.cpp

Code: Select all

					xoffset = iSinR(angle, 1500);
					yoffset = iCosR(angle, 1500);
The radius seems to be 1500/128 = 11.71875 tiles.
User avatar
aubergine
Professional
Professional
Posts: 3459
Joined: 10 Oct 2010, 00:58
Contact:

Re: VTOL circle radius

Post by aubergine »

Awesome, thanks!
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
Post Reply