Warning: Undefined array key "birthday" in phar://.../vb/vb.phar/api/notice.php on line 1
Sonar Buoys -
Apolyton Civilization Site
The Altera Centauri collection has been brought up to date by Darsnan. It comprises every decent scenario he's been able to find anywhere on the web, going back over 20 years.
25 themes/skins/styles are now available to members. Check the select drop-down at the bottom-left of each page.
Call To Power 2 Cradle 3+ mod in progress: https://apolyton.net/forum/other-games/call-to-power-2/ctp2-creation/9437883-making-cradle-3-fully-compatible-with-the-apolyton-edition
The Sonar Buoys in Cradle cannot actually see submarines. In the tileimp.txt file, they are the only improvement with the "CanSee:Underwater" attribute.
I guess the game has hardcoded that tile improvements can't have this ability?
As a mod idea I would like to be able to send a ship to a far corner of the world and drop off a sonar buoy to get a sense of the enemy navy.
To do so, I have added that Sonar Buoys have a IntBorderradius of 0, with a SquaredBorderRadius of 0 as well.
However, when the improvement is complete, you get a snap shot of what the area looks like for that turn only. After the first turn, the "vision range" component of the tileimprovement text seems not to function anymore. Does anyone know a way around this?
I have tried giving it a vision range equal to its border, which works, but I don't want to use this as an ocean-borne land grab.
BTW, It's getting kinda lonley on this thread:
Hey you! out there beyond the wall,
breaking bottles in the hall,
Can you help me?
-- Pink
Originally posted by ahenobarb
To do so, I have added that Sonar Buoys have a IntBorderradius of 0, with a SquaredBorderRadius of 0 as well.
However, when the improvement is complete, you get a snap shot of what the area looks like for that turn only. After the first turn, the "vision range" component of the tileimprovement text seems not to function anymore. Does anyone know a way around this?
It seems that the improvement loses its owner afterwards. You could try to increase one of IntBorderradius and SquaredBorderRadius only and see what happens.
It seems that the improvement loses its owner afterwards. You could try to increase one of IntBorderradius and SquaredBorderRadius only and see what happens.
-Martin
Thanks for the tip, Martin. It's working fine now. I have posted the script below. The only thing is that the game seems to pick up a few weird ticks evey now and then. For instance, now the buoys can see both above and below water, which is great, but it was having problems with this before.
Also, when I built a new buoy with the script below at first, you could not build another buoy within the visionrange of the first one unless you saved and reloaded the game. I have since shutdown the computer and rebooted and this problem has gone away. I don't know what to say except that it's strange.
Here the script:
## 26 ################################################## ########
Comment