Does anyone know if it would be possible to make coastals visible?
-
- Member
- Posts: 1781
- Joined: Thu Jan 01, 1970 12:00 am
Does anyone know if it would be possible to make coastals visible?
Would make sense if the attacker could see those. Maybe something similar to the small wonders. You could see the coastal with a middle click.
- HanduMan
- Member
- Posts: 115
- Joined: Thu Jan 01, 1970 12:00 am
You can flag it as visible by others.
I have not tested if it shows up in the list of buildings by middle-click. I think it should.
Code: Select all
; ** Building flags **
; "VisibleByOthers" = Anyone who can see your city knows whether it has
; this improvement. (Great and small wonders are
; always visible.)
Code: Select all
[building_coastal_defense]
name = _("Coastal Defense")
genus = "Improvement"
flags = "VisibleByOthers" ; <===========
reqs =
{ "type", "name", "range"
"Tech", "Navigation", "Player"
"TerrainClass", "Oceanic", "Adjacent"
}
graphic = "b.coastal_defense"
graphic_alt = "-"
obsolete_by = "None"
build_cost = 60
upkeep = 1
sabotage = 100
sound = "b_coastal_defense"
sound_alt = "b_generic"
; /* xgettext:no-c-format */
helptext = _("\
Gives a +100% bonus to the intrinsic defense strength of units within \
a city when defending against enemy ships. For small cities the defense \
strength is doubled by this improvement; for cities larger than size 8, \
it is increased by two-thirds.\
")
Last edited by HanduMan on Sun Apr 23, 2017 8:56 am, edited 1 time in total.
- arkan
- Member
- Posts: 39
- Joined: Thu Jan 01, 1970 12:00 am
I would prefer to have both Coastal defense and SAM batteries invisible until you attack that city (or use a diplomat/spy). It adds some fun to the game when you take the risk of an attack only to discover it had such an improvement.
On the other hand I'm fine with making airports visible as those are much harder to hide.
On the other hand I'm fine with making airports visible as those are much harder to hide.
- cgalik
- Member
- Posts: 279
- Joined: Thu Jan 01, 1970 12:00 am
I think it'd also be nice to make Barracks and Port Facility Visible as well. Otherwise you have to ask your ally, "does it have barracks?" and if your teammate is on the other side of the world and offline, they often don't respond right then. But that does give info to the opposition as well, but I'm fine with that although others may not be.