Jump to content
Ibragim A

[SP] Script Platoon Commander for Missionmakers

Recommended Posts

Platoon Commander on Steam Workshop

 

[TEST] Script Platoon Commander

 

Version: Platoon Commander beta 211011

 

Download Virtual Reality template for your own missions here.

 

The Platoon Commander addon gives the player the ability to command a reconnaissance platoon, consisting of a player's squad and four AI squads (two sabotage and reconnaissance, mortar support and a transport group).
With this script, a regular SP mission with a linear storyline turns into complete freedom of actions up to multi-stage planning from landing to evacuation. 

 

New Player Group Tactics: 

  • Offensive (from the flanks, fire and move, stalk, etc.)
  • Retreat (back, left, right, flee)
  • Defense (occupation of a building, all-round defense, taking cover)
  • Ambushes (linear, V-shaped, L-shaped, customized by your own)
  • Recon patrol
  • Search of the bodies
  • Rearmament
  • and etc.

 
New Sapper Actions (AI and Player): 

  •  Mining doors
  •  Mining roads
  •  Mining bodies
  •  Mining hide covers
  •  Mining vehicles

 
New Player Actions: 

  • Detonation of embedded explosives by choice (not only all at once)
  • Ability to swap with units of the group with weapons
  • and etc.

 
New Tactics for AI Squads: 

  • Shoot at the enemy and flee
  • Search of the bodies
  • Undermining objects
  • Mining roads
  • Retreat
  • Occupation of buildings
  • Waiting for signal
  • and etc.

 
New Fire Modes: 

  • Fire on player signal (for the player's group and AI groups)
  • Suppress when attacked
  • Firing single, short and long bursts for riflemen.

 
New Strategy: 

  • Command the entire platoon in real time.
  • Wide range of actions and tactics for every AI squad.
  • Ability to plan actions at your own, not limited to linear plots.
  • Direct orders and planned actions
  • Synchronized actions, support with mortar and armored vehicles.

 
Settings: 

  • Complete freedom in customizing the platoon through the settings in the script
  • About 50 customizable gameplay and visualization parameters

 
Visualization: 

  • Radio messages between platoon squads
  • Anamated radio calls
  • Control via command menu similar to vanilla menu
  • Script can be translated into other languages (Stringtable)

 
Optimization: 

  • Loops in scripts are made in such a way that they have almost no effect on the frame rate
  • Triggers are not used
  • A special function that automatically corrects the bugged behavior/stucking of the units.
  • A special function that partially corrects the behavior of vehicles while driving in a convoy.
  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites

Hello, could someone help with the correct translation of this work into English?

The translation was made but not checked for correctness.

The Stringtable.xml file is present in the mission folder.

Share this post


Link to post
Share on other sites

Last changes:

  • Fixed some bugs
  • Added animation and sound of radio conversations
  • Reworked the work of the mortar team (moved to supports tab)
  • Removed player's orders to the driver when using manual driving as part of a convoy
  • The script has been brought to beta version.

Share this post


Link to post
Share on other sites

Last changes:

  • Fixed some bugs
  • Improved script for detonating EDs separately. It now works for all EDs with a remote detonator and there is no need to define anything in the user configuration.
  • Reworked scripts for mining objects, roads, undermining objects and ambush. Mining a road now requires any two stretch EDs or grenades and an anti-tank pressure mine. To detonate objects and set an ambush, an ED with a remote detonator with a power of more than 1000 is required.
  • Fixed incorrect direction of mines when mining roads.
  • It is no longer required to define any EDs in the configuration. The script determines everything itself.
  • It is no longer required to define mortar backpacks in configuration and put them on units. You just need to put the mortar itself.
  • Improved group leader action "Swap Weapons". 

Share this post


Link to post
Share on other sites

Last changes:

  • Fixed some bugs
  • Introduced a new tab of the menu named "Radio communication"
  • Added the ability to request a report from all squads
  • The player no longer automatically informs the platoon about the enemies, it can be done manually by Radio communication
  • Added the ability to configure custom radio messages.

Share this post


Link to post
Share on other sites
On 7/17/2021 at 2:35 PM, Ibragim A said:

Hello, could someone help with the correct translation of this work into English?

The translation was made but not checked for correctness.

The Stringtable.xml file is present in the mission folder.

Sure, the following needs to be updated

 

The word Suppres should be Suppress

Spoiler

<Key ID="STR_PC_Roles_machinegunner_0">
                <Russian>Подавление</Russian>
                <Original>Suppress</Original>
            </Key>
            <Key ID="STR_PC_Roles_machinegunner_15">
                <Russian>Подавление 15 сек</Russian>
                <Original>Suppres for 15 sec</Original>
            </Key>
            <Key ID="STR_PC_Roles_machinegunner_10">
                <Russian>Подавление 10 сек</Russian>
                <Original>Suppres for 10 sec</Original>
            </Key>
            <Key ID="STR_PC_Roles_machinegunner_5">
                <Russian>Подавление 5 сек</Russian>
                <Original>Suppres for 5 sec</Original>
            </Key>
            <Key ID="STR_PC_Roles_machinegunner_3">
                <Russian>Подавление 3 сек</Russian>
                <Original>Suppres for 3 sec</Original>
            </Key>


           Here you have a stag should be staggered

unless you know this and are keeping it short for a reason.

</Key>
            <Key ID="STR_PC_Mode_formation_sc">
                <Russian>Колонна по двое</Russian>
                <Original>Stag Column</Original>

============

 

Same here Ech should be Echelon

again unless your plan was to keep the word short for like abbreviation.

</Key>
            <Key ID="STR_PC_Mode_formation_left">
                <Russian>Левее</Russian>
                <Original>Ech Left</Original>
            </Key>
            <Key ID="STR_PC_Mode_formation_right">
                <Russian>Правее</Russian>
                <Original>Ech Right</Original>
            </Key>

==============

Here ypu spelled saper should be sapper

<Key ID="STR_PC_player_roles_sapper_unit">
                <Russian>&lt;t color='#DDffffff'&gt;%16&lt;/t&gt;: из выбранных бойцов отделения игрока &lt;t %8&gt;%11&lt;/t&gt; выбирается сапер, который минирует ближайшее к курсору тело и возвращается в строй.&lt;br/&gt;Для минирования требуется одна боевая граната.</Russian>
                <Original>&lt;t color='#DDffffff'&gt;%16&lt;/t&gt;: one saper is selected from the selected units of the player's squad &lt;t %8&gt;%11&lt;/t&gt;, that mines the body near the cursor and returns to service.&lt;br/&gt;One combat grenade is required for mining.</Original>                
            </Key>

 

check the others in the section its same.

==========

 

Towards the bottom you have

</Key>
            <Key ID="STR_PC_report_221">
                <Russian>%1, перестроиться в колонну по двое!</Russian>
                <Original>%1, form a stag column!</Original>

 

stag should be staggered

=================

 

Other then those few its pretty good, nice work!
          

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
21 hours ago, Gunter Severloh said:

Sure          

Many thanks!

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×