Iron Front : Liberation 1944

Iron Front : Liberation 1944

Not enough ratings
Animations and scripting .
By [Daos]HEINRICH MULLER
Hello and welcome to my guide where i'll tell you about animations and easy scripts
From that guide you'll learn :
● How to use animations
● How to use simply scripts
● How to make endless animations
● How to set height of your soldier ( for example placing soldiers to trench )
● How to disarm soldier or change weapons
● How to put soldiers to transport
● How to spawn empty vehicles objects etc
   
Award
Favorite
Favorited
Unfavorite
Let's talk about animations
We've got five simple steps to activate it :
● Firstly you gotta give a name to your soldier (GG for example)
● Secondly select an animation ( let's try this one AmovPercMstpSnonWnonDnon_idle68boxing -boxing)
● Now go get that syntax to activate it : unit playMove move or unit switchMove move
● Then just write the name of the soldier, syntax and animation in the damn trigger
● Finally by using groups unite your soldier and trigger Important ! Do not forget quotes when you're adding animation to the trigger
Example : "AmovPercMstpSnonWnonDnon_idle68boxing"
Make preview and see all the results .
Endless animations
If you wanna learn how to make endless animations follow the steps below :
● First step : give a name to your soldier
● Second step : choose animation then add it to trigger
● Third step : writte this long command in trigger ; name of your soldier addEventHandler ["animdone",{_this select 0 switchMove "paste animation to this place"}];
● Fourth step : by using groups unite your soldier and trigger
Example :
All right let's check results .
Simple scripts
Here i'm gonna speak about simply scripts for example deleting weapons or puting your soldier to the transport .
To disarm we will write in initilization that comand : removeAllWeapons this
Now think about what your next step : making a good screen without interference or just changing weapons for the new mission .
adding new weapons might be more complicated but don't worry
firstly you'll need weapons list
Here we go:

German weapons
Weapon Classname:
LIB_FLARE_PISTOL
LIB_MP40
LIB_MP40
LIB_K98ZF39
LIB_MP44
LIB_G43
LIB_MG42
LIB_MLMG42
LIB_PzFaust_30m
LIB_RPzB .

Soviet Weapons:
LIB_DT_OPTIC
LIB_DT
LIB_DP28
LIB_SVT_40
LIB_M9130PU
LIB_M9130
LIB_PPSh41_d
LIB_PPSh41_m
LIB_M1895
LIB_M1895

US Weapons:
LIB_Colt_M1911
LIB_M1_Garand
LIB_M1_Carbine
LIB_M1903A4_Springfield
LIB_M1A1_Thompson
LIB_M1918A2_BAR
LIB_M1A1_Bazooka
LIB_w

All right let's add soviet mashine gun to our german soldier .
For that we'll write another command in initialization : addWeapon
Well press preview and look what you got .
But if you want make a mission you'll need some ammo :

German Weapons
P38 - lib_8Rnd_9x19
M1908 - lib_8Rnd_9x19
FLARE_PISTOL - ib_1Rnd_flare_white
1Rnd_flare_red , lib_1Rnd_flare_green , lib_1Rnd_flare_yellow
MP40 - LIB_32Rnd_9x19
K98 - lib_5Rnd_792x57
K98ZF39 - lib_5Rnd_792x57
MP44 - lib_30Rnd_792x33
G43 - lib_10Rnd_792x57
5Rnd_792x57
MG42 - lib_50Rnd_792x57
MLMG42 - lib_250Rnd_792x57
PzFaust_30m - 1Rnd_LIB_PzFaust_30m
RPzB - LIB_1Rnd_RPzB

Soviet Weapons
TT33 - lib_8Rnd_762x25
M1895 - lib_7Rnd_762x38
PPSh41_m - lib_35Rnd_762x25
PPSh41_d - lib_71Rnd_762x25
M9130 - lib_5Rnd_762x54
M9130PU - lib_5Rnd_762x54
SVT_40 - lib_10Rnd_762x54
5Rnd_762x54
DP28 - lib_47Rnd_762x54
DT - clib_63Rnd_762x54
DT_OPTIC - lib_63Rnd_762x54

US Weapons
Colt_M1911 - LIB_7Rnd_45ACP
M1_Garand - LIB_8Rnd_762x63
M1_Carbine - LIB_15Rnd_762x33
M1903A4_Springfield - LIB_5Rnd_762x63
M1A1_Thompson - LIB_30Rnd_45ACP
M1918A2_BAR - LIB_20Rnd_762x63
M1A1_Bazooka - LIB_1Rnd_60mm_M6
w - LIB_US_M1A1_ATMINE_mag
LIB_US_M3_MINE_mag
LIB_US_TNT_4pound_mag
LIB_US_BM10_PM_mag

I've got two elementary steps to add it .
●Firstly use new command : this add magazine .
●Secondly choose magazine and add it.
Example : c"


So you can add one magizine .
To add one more just copy and paste that command : this add magazine " ".
Example :
How to put soldiers to transport
All right guys i'm finally back and ready to tell you how to use another useful command called "move in".
As you may guess i'm gonna make a couple of simple steps for ya
Here we go :




Result :
How to spawn empty vehicles objects etc...
Some steps for ya:
●Open "insert unit" menu
●Choose "empty" in the "side" field
●Then just choose what you want in the class field
●And finally choose the exact thing in the unit field
●Here we go press the "OK" button and you're done with it

4 Comments
Skelly two bones 13 Oct, 2021 @ 6:21am 
It looks like the editor from ArmA 2 dunno why
HAL9000 1 Oct, 2018 @ 1:22pm 
Thanks weapon changing works well, except with LIB_RPzB and nor with lib_pwm.
CAREEREVIL 6 Dec, 2017 @ 9:36pm 
cool thanks. nice job
Yudenich 11 Jan, 2017 @ 3:46pm 
DANKE!