So, about this...
How about u make a Video about how do i defend my expansions against Ship of the Line(or normal Frigats) attack's if i know it's coming (expecialy the 3 ranged ones that were trained on CS) if my Capital is not on the See.
thats somthing i could need help at, because i failed to do that so far
What are you hoping to see in such a video? The "problem" is that Frigate/Ship of the Line rushes are something that happens in multiplayer rather than single player...not really sure how to "make" the AI do such an attack. And even if it did, it wouldn't have the 3 range units trained on CSes.
I can give you some tips to help in text form right now, though. If you have a save game where the AI attacked in such a manner I could make a video of that, sure. I could also make a video of a game where I showed the initial settling of expansion cities with an eye toward preventing frigate rushes.
Something I did in one game in multiplayer was that I literally never settled a coastal city on the continents map. Had my capital inland and my other three cities all had at least two tiles between them and the sea because I was sure at least one person would try to Frigate rush. Sure enough, the person in the "lead" on the other continent tried to Frigate rush me right on schedule...and immediately rage quit because he saw that I had zero cities he could even attack. All those hammers and diverting from the ideal tech route...wasted.
In terms of specific tips, though, those would fall into at least two main categories: terrain and units.
Terrain
The problem here is that terrain will wildly vary from game to game. So you have to look for general patterns/opportunities in terms of landscape, but there's no guarantees. Some stuff to look for...
- Any kind of inlet. Having a city on the coast within an inlet means less ocean/coast tiles for the frigates to swarm on, which means less ships firing on your city (and more places to put things like Crossbowmen).
- Hills/Forests/Jungles that block LoS. Unlike Battleships, Frigates don't have indirect fire and thus can't fire over Hills/Forests/Jungles to hit your city. Hills are better than Forests/Jungles because a truly determined opponent will bring workers and melee units to remove the Forests/Jungles (which you'll need to be destroying...but due to the whole simultaneous turns thing and people being asses you'll get things like them moving a worker/melee unit last second and getting a chop in at the start of the next turn. If a few of those get off the Forest/Jungle is history). You might even be able to get spots where you can place a Crossbowman on a Hill that's two tiles from the sea but has another Hill or lowland Forest/Jungle as the coastal tile...meaning you can fire at the ship but it can't fire at your Crossbowman.
Units
- Walls/Castle (even Arsenal) all make a massive difference. They alone won't save you but your city will take a lot less damage, heal more per turn, and hit harder in response.
- I'm assuming your point about a non-coastal capital basically boils down to "I can't possibly pump out enough ships to win a naval battle and thus I need to defend the city with land units"
- Given the typical tech route, Crossbowmen will be your bread and butter. Now, your opponent can churn out Frigates with 46.5ish effective strength (28 with a 66% bonus against land units) while your Crossbowmen will have about 23.4 (18 with a 30% bonus against targets in open terrain...aka water). This obviously is not a good match-up. But it's the best you can realistically do (plus a Frigate of your own in the city itself firing out).
- It basically boils down to this being a stalling action -- you need to string out the attack so that you advance to techs that can counter him. Great War Bombers are a prime example -- until your opponent gets access to Carriers (and puts Triplanes in them) his Frigates (and/or Battleships) will be easy pickings for the bombers. On the other land, if this progresses to the point where he has a Carrier or three with full-on Fighters plus Submarines in the water plus an armada of Battleships...you're just kind of screwed unless you can manage to get as much or Oil as he has (since every Fighter means one less Battleship). His Fighters can intercept twice per turn so you're basically having to use Fighters of your own to Air Sweep and keep damaging them faster than they heal...and buy yourself an opening to actually attack the Battleships. And those Battleships are presumably attacking your city this whole time which means you can't afford to take 6 turns to wear down the fighters or something because the Battleships will have reduced the city to 0 HP by then and a Privateer will have rushed in.
- Oh, and the actual Carriers will be placed at like range 9 from your city so that they protect the Battleships but your own Fighters can't attack the Carriers (without a range upgrade, at least). And if the opponent is halfway decent he'll have back-up Carriers if he thinks you're going to Fighter spam his Carriers so that he can rotate his planes around and send his wounded Carriers back to heal.
- Placing a Privateer or Frigate in front of the city each turn (or some other cheap unit) to force the opponent to take time destroying it can help...but it's still a stalling action.
- None of this is even really getting to the point about him training on CSes -- if he's bringing Frigates with Logistics and Range or something then you're simply screwed unless you train your units yourself. Unlike land wars, you can't build things like Forts, can't Fortify on rough terrain, units move obscene distances per turn, etc. A Fortified Pikeman with Double Cover in a Fort on rough terrain has like 47ish strength. Couple that with roads that allow you to easily move that Pikeman away to heal while a new one replaces his spot and you can stall a ground offensive. Not so for naval combat.
TL;DR: Naval units are brokenly overpowered in general. (Nuclear) Submarines will either one or two shot enemy naval units, Frigates/Battleships have a 100% bonus against land units which means even Artillery/Rocket Artillery aren't that effective, Bombers will eat Frigates/Battleships alive but are in turn easily countered by Fighters. Ultimately you're probably just trying to stall for Nukes and use those to Nuke his navy.
P.S. It's late and I'm tired and I may have made some mistakes above and/or forgotten some things, so I apologize in advance if so. I hate Naval Combat in Civ. Does it show?