Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Trade and naval warfare

Sun Apr 19, 2020 11:26 am

Well I was looking at Wars of Succession and really liked the operation of the Treasure Fleet in the game. Would it be possible to mimic it through events in Wars of Napoleon?

I'm thinking along the lines of establishing large convoys for the British. These would be directed to three areas, India, the Mediterranean and the Baltic, with the establishment of a fourth to South America and Caribbean when/if the French turned on the Spanish. The intention is to mimic British arrangements made during the war when convoys where organised in areas with potential enemies lurking.

However, the WOS Treasure Fleet had a Gold carrying galleon and I'm not sure if it is indispensable for such an event. My 'plan' would be to use Indiamen mostly, which are available in massive quantities (and actually hinder British warmaking coz the AI starts building them like crazy to the exclusion of almost everything else leading to massive amounts of money but nothing more). Also they would be escorted by third rate squadrons and brigs that historically seemed to form the backbone of such escorts. That would make the French more dangerous in the sense that they would have a fighting chance of interdicting British trade and inflicting real economic damage and make privateers an interesting proposition (go Surcouf!) with French overseas territories becoming marginally useful. Currently the boxes are so heavily patrolled (to the exclusion of blockading fleets it seems) meaning that any raiders get stomped early on.

Also can such an event be made for a minor nation ex the USA?

Another thought that came to mind is if it was possible to actually make privateers capable of seizing merchant ships in the game. I understand that it was possible when the game was initially released but that it was removed later on.

Thanks for any tips!

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Wed Apr 22, 2020 4:12 pm

Anyone?

BTW is it possible to create new units and/or generals?

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Wed Apr 29, 2020 4:46 pm

Bump...

Anyone has an idea whether a convoy system like the one in WSS can be implemented and/or whether it is possible to create new units and generals?

User avatar
Bohémond
Posts: 2799
Joined: Wed May 14, 2008 8:47 pm

Re: Trade and naval warfare

Wed Apr 29, 2020 6:39 pm

Convoy system ( WSS Like) is feasible in WON. As well as generals and units creation.
Both will require a significant amount of time and dedication for modding and testing.
Best available tools are AGEOD Wiki ( https://www.leqg.org/doc/age/www.ageod.net/agewiki/Main_Page.html)
and games databases ( http://ftp.ageod.com/pub/DB/)

Regards

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Fri May 01, 2020 6:31 am

Thanks for the pointers!

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Fri May 22, 2020 5:45 am

Is it possible to create naval groups via event? I have tried to follow the same steps as creating a group of land units, using the $Nav but these events never seem to activate. Is there a different procedure to follow?

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Mon May 25, 2020 5:56 am

Anyone has any idea regarding the creation of naval groups?

User avatar
Bohémond
Posts: 2799
Joined: Wed May 14, 2008 8:47 pm

Re: Trade and naval warfare

Tue May 26, 2020 1:30 pm

Offworlder wrote:Anyone has any idea regarding the creation of naval groups?


Naval groups creation follow the same procedure as land groups one.

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Tue May 26, 2020 3:07 pm

For some reason its not working... is $Nav the right moniker to identify a naval force or is it something else?

User avatar
Nikel
Posts: 2893
Joined: Sun Apr 20, 2008 8:38 pm

Re: Trade and naval warfare

Tue May 26, 2020 3:41 pm

Why don't you post the text of the event you tried and that is not working?

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Fri May 29, 2020 5:09 am

Ok. I tried to recreate the Bombardment of Copenhagen in 1807. The idea is to simulate as much as possible what happened in that a British fleet appeared off Copenhagen, bombarded the city, carried off both ships and shipbuilding materials and disabled the shipping yards rendering construction of man-o-war next to impossible for the Danes. This event is then followed by another where the captured ships are recommissioned in Britain with a long waiting period (about 5-6 months) which also doesn't work.

BTW I was also working on creating events related to annual creation of merchantmen for several factions (coz governments did not build merchantmen - the private sector did), events related to French orders of warships from Italy and Naples and had a long term project of creating British convoys across the map but I stopped coz I can't create a fleet via event. I know that the below is crude but I'm no expert in IT though I love this game!



SelectFaction = GBR
SelectRegion = $Kobenhavn

StartEvent = evt_nam_CMN_BombardmentCopenhagen1807|1|1|evt_txt_CMN_BombardmentCopenhagen1807|Event-img_CMN_BombardmentCopenhagen1807|$Kobenhavn|NULL

Conditions
MinDate = 1807/09/02
MaxDate = 1807/10/31
Probability = 100

Actions
DescEvent = evt_desc_CMN_BombardmentCopenhagen1807
ChgVPCount = 10
ChgFacRelationships = DEN;-50;

SelectFaction = DEN
SelectFaction = DEN
SelectSubUnits = FactionTags DEN;Models $famLightWarship $famHvyWarship
AlterCuSubUnit = ApplyToList;Kill
Apply

SelectFaction = GBR
SelectFaction = GBR
SelectSubUnits = Models uni_GBR_Gambier2 uni_GBR_Gambier1
AlterCuSubUnit = ApplytoList;Kill

SelectFaction = GBR
SelectRegion = $South_Oresund
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
FixType = 3
SetName = Baltic Squadron
Apply
CreateUnit
SetType = $uni_GBR_Gambier2
SetLevel = 0
SetName = Sir James Gambier
Apply
CreateUnit
SetType = $uni_GBR_First_Rank_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Prince of Wales|HMS Pompee|HMS Centaur
SetLevel = 3
SetName = Prince of Wales Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Keats
SUFlavorName = HMS Ganges|HMS Alfred|HMS Brunswick
SetLevel = 3
SetName = Ganges Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Wolley
SUFlavorName = HMS Captain|HMS Goliath|HMS Hercule
SetLevel = 3
SetName = Captain Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Hood Linzee
SUFlavorName = HMS Orion|HMS Maida|HMS Resolution
SetLevel = 3
SetName = Orion Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Stopford
SUFlavorName = HMS Spencer|HMS Vanguard|HMS Mars
SetLevel = 3
SetName = Spencer Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Essington
SUFlavorName = HMS Minotaur|HMS Valiant|HMS Defence
SetLevel = 3
SetName = Minotaur Sq.
Apply
CreateUnit
SetType = $uni_GBR_Third_Rank_Sqd_1805
FlavorName = Cmd. Campbell
SUFlavorName = HMS Dictator|HMS Nassau|HMS Ruby
SetLevel = 3
SetName = Dictator Sq.
Apply
CreateUnit
SetType = $uni_GBR_Third_Rank_Sqd_1805
FlavorName = Cmd. Watson
SUFlavorName = HMS Inflexible|HMS Leyden|HMS Agamemnon
SetLevel = 3
SetName = Inflexible Sq.
Apply
CreateUnit
SetType = $uni_GBR_Frigate_Sqd_1805
FlavorName = Cmd. Shipley
SUFlavorName = HMS Nymphe|HMS Franchise|HMS Sibylle
SetLevel = 3
SetName = Nymphe Sq.
Apply
CreateUnit
SetType = $uni_GBR_Frigate_Sqd_1805
FlavorName = Cmd. Raggett
SUFlavorName = HMS Africaine|HMS Surveillante|HMS Seine
SetLevel = 3
SetName = Africaine Sq.
Apply

SelectFaction = DEN
ChangeUnitPool = $uni_DEN_First_Rank_Sqd_1805;-4
ChangeUnitPool = $uni_DEN_Second_Rank_Sqd_1805;-3
ChangeUnitPool = $uni_DEN_Third_Rank_Sqd_1805;-9
Apply

EndEvent

User avatar
Nikel
Posts: 2893
Joined: Sun Apr 20, 2008 8:38 pm

Re: Trade and naval warfare

Sat May 30, 2020 1:56 pm

Well, I have no idea, I am waiting for Bohémond :siffle:

But looking at the code, what about this?


ChgFacRelationships = DEN;-50

According to the wiki, the proper syntax in the example available is:

ChgFacRelationships = GBR|-50; FRA|100



Also the last part, the effects on the danish navy.

SelectFaction = DEN
ChangeUnitPool = $uni_DEN_First_Rank_Sqd_1805;-4
ChangeUnitPool = $uni_DEN_Second_Rank_Sqd_1805;-3
ChangeUnitPool = $uni_DEN_Third_Rank_Sqd_1805;-9
Apply

Should it not also be within the Actions of the event?

User avatar
Bohémond
Posts: 2799
Joined: Wed May 14, 2008 8:47 pm

Re: Trade and naval warfare

Sat May 30, 2020 3:40 pm

I have made a few corrections in red.
Some issues may remain, ScriptrReport is required to validate the event.

SelectFaction = GBR
SelectRegion = $Kobenhavn

StartEvent = evt_nam_CMN_BombardmentCopenhagen1807|1|1|evt_txt_CMN_BombardmentCopenhagen1807|Event-img_CMN_BombardmentCopenhagen1807|$Kobenhavn|NULL

Conditions
MinDate = 1807/09/02
MaxDate = 1807/10/31
Probability = 100

Actions
DescEvent = evt_desc_CMN_BombardmentCopenhagen1807
ChgVPCount = 10
ChgFacRelationships = DEN;-50

SelectFaction = DEN
SelectFaction = DEN
SelectSubUnits = FactionTags DEN;Families $famLightWarship $famHvyWarship
AlterCuSubUnit = ApplyToList;Kill
Apply

SelectFaction = GBR
SelectFaction = GBR
SelectSubUnits = Models $mdl_GBR_Gambier2 $mdl_GBR_Gambier1
AlterCuSubUnit = ApplytoList;Kill

SelectFaction = GBR
SelectRegion = $South_Oresund
CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
FixType = 3
SetName = Baltic Squadron
Apply
CreateUnit
SetType = $uni_GBR_Gambier2
SetLevel = 0
SetName = Sir James Gambier
Apply
CreateUnit
SetType = $uni_GBR_First_Rank_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Prince of Wales|HMS Pompee|HMS Centaur
SetLevel = 3
SetName = Prince of Wales Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Keats
SUFlavorName = HMS Ganges|HMS Alfred|HMS Brunswick
SetLevel = 3
SetName = Ganges Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Wolley
SUFlavorName = HMS Captain|HMS Goliath|HMS Hercule
SetLevel = 3
SetName = Captain Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Hood Linzee
SUFlavorName = HMS Orion|HMS Maida|HMS Resolution
SetLevel = 3
SetName = Orion Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Stopford
SUFlavorName = HMS Spencer|HMS Vanguard|HMS Mars
SetLevel = 3
SetName = Spencer Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Essington
SUFlavorName = HMS Minotaur|HMS Valiant|HMS Defence
SetLevel = 3
SetName = Minotaur Sq.
Apply
CreateUnit
SetType = $uni_GBR_Third_Rank_Sqd_1805
FlavorName = Cmd. Campbell
SUFlavorName = HMS Dictator|HMS Nassau|HMS Ruby
SetLevel = 3
SetName = Dictator Sq.
Apply
CreateUnit
SetType = $uni_GBR_Third_Rank_Sqd_1805
FlavorName = Cmd. Watson
SUFlavorName = HMS Inflexible|HMS Leyden|HMS Agamemnon
SetLevel = 3
SetName = Inflexible Sq.
Apply
CreateUnit
SetType = $uni_GBR_Frigate_Sqd_1805
FlavorName = Cmd. Shipley
SUFlavorName = HMS Nymphe|HMS Franchise|HMS Sibylle
SetLevel = 3
SetName = Nymphe Sq.
Apply
CreateUnit
SetType = $uni_GBR_Frigate_Sqd_1805
FlavorName = Cmd. Raggett
SUFlavorName = HMS Africaine|HMS Surveillante|HMS Seine
SetLevel = 3
SetName = Africaine Sq.
Apply

SelectFaction = DEN
ChangeUnitPool = $uni_DEN_First_Rank_Sqd_1805;-4
ChangeUnitPool = $uni_DEN_Second_Rank_Sqd_1805;-3
ChangeUnitPool = $uni_DEN_Third_Rank_Sqd_1805;-9
Apply

EndEvent

User avatar
Nikel
Posts: 2893
Joined: Sun Apr 20, 2008 8:38 pm

Re: Trade and naval warfare

Sat May 30, 2020 3:45 pm

I was nearly right :innocent:

Thanks Bohémond :hat:

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Sun May 31, 2020 5:07 am

Thanks I'll try it out!

Offworlder
General
Posts: 520
Joined: Mon Nov 12, 2007 1:56 pm
Location: Malta

Re: Trade and naval warfare

Mon Jun 01, 2020 8:27 am

Hi Bohemond and Nikel. Thanks for the tips. Worked like a charm! All actions triggered for all states as they should.

However, I have a follow up event to recommission the ships 'taken' from the Danes and although I used the same principles, it didn't trigger. Is there something I'm missing every time with events creating ships? (coz I haven't a problem with creating land units... even events recurring on a yearly basis)

SelectFaction = GBR
SelectRegion = $London

SelectFaction = GBR
SelectRegion = $London

StartEvent = evt_nam_CMN_DenmarkWar1807|1|1|evt_txt_CMN_DenmarkWar1807|Event-img_CMN_DenmarkWar1807|$London|NULL

Conditions
MinDate = 1807/10/31
MaxDate = 1807/12/31
Probability = 100

Actions

SelectFaction = GBR
SelectRegion = $London

CreateGroup
Posture = $Defensive
SetKind = $Nav
Entranch = 0
FixType = 20
SetName = Captured Danish Ships
Apply
CreateUnit
SetType = $uni_GBR_First_Rank_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Christian VII|HMS Danmark|HMS Norge
SetLevel = 3
SetName = Christian VII Sq.
Apply
CreateUnit
SetType = $uni_GBR_First_Rank_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Valdemar|HMS Fyen|HMS Kron Princen
SetLevel = 3
SetName = Valdemar VII Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Tre Kronen|HMS Heir Apparent Fredrick|HMS Skiold
SetLevel = 3
SetName = Tre Kronen VII Sq.
Apply
CreateUnit
SetType = $uni_GBR_Second_Rank_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Odin|HMS Justitia|HMS Kron Princessen
SetLevel = 3
SetName = Odin Sq.
Apply
CreateUnit
SetType = $uni_GBR_Third_Rank_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Princess Sophia Frederica|HMS Princess Carolina|HMS Syeren
SetLevel = 3
SetName = Princess Sophia Frederica Sq.
Apply
CreateUnit
SetType = $uni_GBR_Frigate_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Perlen|HMS Rota|HMS Freya
SetLevel = 3
SetName = Perlen Sq.
Apply
CreateUnit
SetType = $uni_GBR_Frigate_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Iris|HMS Nyaden|HMS Hasfruen
SetLevel = 3
SetName = Iris Sq.
Apply
CreateUnit
SetType = $uni_GBR_Frigate_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Nymphen|HMS Venus|HMS Frederickstein
SetLevel = 3
SetName = Nymphen Sq.
Apply
CreateUnit
SetType = $uni_GBR_Brig_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Little Belt|HMS Fylia|HMS Eyderen
SetLevel = 3
SetName = Little Belt Sq.
Apply
CreateUnit
SetType = $uni_GBR_Brig_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Elvin|HMS Gluckstadt|HMS Nid Elven
SetLevel = 3
SetName = Elvin Sq.
Apply
CreateUnit
SetType = $uni_GBR_Brig_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Sarpen|HMS Glommen|HMS Mercurius
SetLevel = 3
SetName = Sarpen Sq.
Apply
CreateUnit
SetType = $uni_GBR_Brig_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Sarpen|HMS Glommen|HMS Mercurius
SetLevel = 3
SetName = Sarpen Sq.
Apply
CreateUnit
SetType = $uni_GBR_Sloop_Sqd_1805
FlavorName = Cmd. Popham
SUFlavorName = HMS Flying Fish|HMS Ornen|HMS Brev Drageren
SetLevel = 3
SetName = Flying Fish Sq.
Apply

EndEvent

User avatar
Bohémond
Posts: 2799
Joined: Wed May 14, 2008 8:47 pm

Re: Trade and naval warfare

Mon Jun 01, 2020 1:49 pm

ScripReports (in scripts folder) are required to debug the event.

Regards

Return to “Wars of Napoleon”

Who is online

Users browsing this forum: No registered users and 13 guests