Posted: Sun Jun 21, 2020 6:15 pm Post subject:
Custom foundation question
I have trouble with custom foundation(it's like "r" letter) - building isn't touches central cell where the units shoots so it's kinda immune to non AOE weapon.
Any way to resolve this and keep foundation as it is?
I knew I'd seen this before, so after about 30 minutes of searching through ModEnc, I found:
TargetCoordOffset = X,Y,Z
Specifies the offset, in pixels, at which enemy fire is directed when this BuildingType is fired upon. Is specified in X,Y,Z format with 0,0,0 being the exact center of the structure.
The only instance of its use in the games is with NavalYards, and the numbers used there imply that for your purpose, you're looking at a number like:
TargetCoordOffset = -256,-128,0
Also, IIRC = If I Recall/Remember Correctly. Last edited by silverwind on Mon Jul 06, 2020 9:30 am; edited 1 time in total QUICK_EDIT
I knew I'd seen this before, so after about 30 minutes of searching through ModEnc, I found:
TargetCoordOffset = X,Y,Z
Specifies the offset, in pixels, at which enemy fire is directed when this BuildingType is fired upon. Is specified in X,Y,Z format with 0,0,0 being the exact center of the structure.
The only instance of its use in the games is with NavalYards, and the numbers used there imply that for your purpose, you're looking at a number like:
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum