Scripts Document weak spot

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
rmelvin
Posts: 215
Joined: Wed Apr 06, 2022 1:41 am
Location: Tucson, Arizona

Scripts Document weak spot

Post by rmelvin »

Supply_Position = unit_id.xx not clearly define "[-1.4]"

Country_Id, be nice if state a minor allied would operating under Major AI scripts. If minor Country_id is selected, does it still operate also under Major AI scripts? example: Fleet: Country_Id= 111 has a patrol, if Major Allies also has patrol. Does Turkey go on both, being it's Allied?
User avatar
Hubert Cater
Posts: 5997
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: Scripts Document weak spot

Post by Hubert Cater »

For this it is a bit hidden away but we have the following:

; #SOURCE_POSITION= Map position that could also trigger the event
; Format: x,y [unit_id]
; unit_id.xx is a mouse hover style where xx refers to the sprite index of the symbol_sprites.png file that will be shown at #SOURCE_POSITION.
; If unit_id.xx is used then the mouse hover information text will show the #POPUP text.

Essentially this is used to generate the mouse hover information when you mouse hover over that spot and have the 'Map Info' option enabled in game.

Hopefully that clarifies it?

For the scripts, we could do that but then you might have the situation where you want just German units in the north and Bulgarian units in the south for Barbarossa and not a possible mix and match of units from the major and minor.

This way you can have specific events per countries as needed, even if sometimes more work than ideal.
Post Reply

Return to “Scenario Design and Modding”