Jump to content

General idea to interact during mission with mission file: usage of the default arty spotting flash script + Demo


Recommended Posts

Posted

Hi,

I made a short test with my Attack Squadron Commander:

https://forum.il2sturmovik.com/topic/90017-attack-squadron-commander-va/

Attack-Squadron-Commander-ger2D-test.zip

-rows 2...8 are used for ground attack commands for Stukas, fighter bombers as usual

-row 1 modified: instead of usage for "MCU_CMD_AttackArea" I have changed the 8 MCUs to MCU_Timers

-in a test mission A1 to display a subtitle; B1 to Activate Stuka flight2 with 3xSD250 and C1 to activate Stuka flight3 with SC1000.

image.thumb.png.9bc090bf96c39e490690b200a0e8e86a.png

image.png.cbdd35510462b11959c274d3ec74f0cf.png

image.png.07bea64afeaa539012ba20942ccf3685.png

 

  • Like 1
  • Upvote 1
  • 2 weeks later...
Posted

I wonder if anyone has ever tried to create a new flash script for the game. There would be lots of possibilities, for example a radio command menu that could be used to trigger all kinds of mission events.

  • Upvote 2
Posted
3 hours ago, Juri_JS said:

I wonder if anyone has ever tried to create a new flash script for the game. There would be lots of possibilities, for example a radio command menu that could be used to trigger all kinds of mission events.

I have already seen some discussions of specialists with programming knowledge, but I am not sure if there have been released new flash scripts for modications.

In the meantime I have tried to create some mods on basis of the existing arty spotting script, that offers already 8x8=64 fields to be used to activate ME MCUs during a mission.

I have isolated the complex system of MCUs from a pilot career mission that is connected to the flash script and this group can be comparable easy adapted to other purposes.

AEthelraedUnraed
Posted (edited)
19 hours ago, Juri_JS said:

I wonder if anyone has ever tried to create a new flash script for the game. There would be lots of possibilities, for example a radio command menu that could be used to trigger all kinds of mission events.

Yes. You can do quite a lot of flash scripting, actually. I've basically got a Luftwaffe radar controller working, that guides you (as a nightfighter) on the six of a bomber. Including radio chat that's indistinguishable from the in-game AI radio, of course.

 

Regarding interfacing to and from the script, there's no way to intercept user input besides the UI you put in your swf file. Which in turn blocks many other inputs to the game. The other way around, i.e. script->game, you're limited by the 16 channels the Media MCU gives you. Although I have a kind-of-working code and mission code to theoretically upgrade that to 16 *bits*, so more than you'll ever need.

Edited by AEthelraedUnraed
  • Like 1
Posted
14 minutes ago, AEthelraedUnraed said:

Yes. You can do quite a lot of flash scripting, actually. I've basically got a Luftwaffe radar controller working, that guides you (as a nightfighter) on the six of a bomber. Including radio chat that's indistinguishable from the in-game AI radio, of course.

 

Regarding interfacing to and from the script, there's no way to intercept user input besides the UI you put in your swf file. Which in turn blocks many other inputs to the game. The other way around, i.e. script->game, you're limited by the 16 channels the Media MCU gives you. Although I have a kind-of-working code and mission code to theoretically upgrade that to 16 *bits*, so more than you'll ever need.

Have you any plans to release your work?

AEthelraedUnraed
Posted
On 12/14/2024 at 10:48 AM, Juri_JS said:

Have you any plans to release your work?

Yes, but they're not good enough to be released just yet. Other projects have priority right now, first and foremost among which is Real Life.

  • Upvote 1
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...