SAIL - Kod ataku (po 25min)

Gotowe kody SAIL'a, informacje na temat moddingu, itd.

Moderator: zoNE

Post Reply
User avatar
zoNE
The Great Uniter & Site Administrator
The Great Uniter & Site Administrator
Posts: 1969
Joined: Fri Feb 17, 2006 3:44 pm
Location: Poland
Contact:

SAIL - Kod ataku (po 25min)

Post by zoNE »

Info: cały kod ataku, aby po 25 min baze zaatakowało 5 ruskich ludzi 4lvl 2 bazoki i 5 hg ruskich na rope np.
NNPlaya wrote:

Code: Select all

export soldat1,soldat2,soldat3,soldat4,soldat5,soldat6,soldat7,mechanik1,mechanik2,mechanik3,mechanik4,mechanik5,hg1,hg2,hg3,hg4,hg5; 

Starting 
Begin 
ResetFog; 
end; 

every 25$0 do 
Begin 
uc_side=3; 
uc_nation=nation_russian; 
hc_skills=[4,0,1,0]; 
soldat1=CreateHuman; 
soldat2=CreateHuman; 
soldat3=CreateHuman; 
soldat4=CreateHuman; 
soldat5=CreateHuman; 
hc_class=9; 
soldat6=CreateHuman; 
soldat7=CreateHuman; 
hc_skills=[1,0,4,0]; 
hc_class=3; 
mechanik1=CreateHuman; 
mechanik2=CreateHuman; 
mechanik3=CreateHuman; 
mechanik4=CreateHuman; 
mechanik5=CreateHuman; 
vc_chassis=ru_heavy_tracked; 
vc_engine=engine_combustion; 
vc_control=control_manual; 
vc_weapon=ru_heavy_gun; 
hg1=CreateVehicle; 
hg2=CreateVehicle; 
hg3=CreateVehicle; 
hg4=CreateVehicle; 
hg5=CreateVehicle; 
PlaceHumanInUnit(mechanik1,hg1); 
PlaceHumanInUnit(mechanik2,hg2); 
PlaceHumanInUnit(mechanik3,hg3); 
PlaceHumanInUnit(mechanik4,hg4); 
PlaceHumanInUnit(mechanik5,hg5); 
PlaceUnitArea(soldat1,nazwa_arei,false); 
PlaceUnitArea(soldat2,nazwa_arei,false); 
PlaceUnitArea(soldat3,nazwa_arei,false); 
PlaceUnitArea(soldat4,nazwa_arei,false); 
PlaceUnitArea(soldat5,nazwa_arei,false); 
PlaceUnitArea(soldat6,nazwa_arei,false); 
PlaceUnitArea(soldat7,nazwa_arei,false); 
PlaceUnitArea(hg1,nazwa_arei,false); 
PlaceUnitArea(hg2,nazwa_arei,false); 
PlaceUnitArea(hg3,nazwa_arei,false); 
PlaceUnitArea(hg4,nazwa_arei,false); 
PlaceUnitArea(hg5,nazwa_arei,false); 
AddComMoveToArea([soldat1,soldat2,soldat3,soldat4,soldat5,soldat6,soldat7,hg1,hg2,hg3,hg4,hg5],teren_bazy); 
AddComAttackUnit([soldat1,soldat2,soldat3,soldat4,soldat5,soldat6,soldat7,hg1,hg2,hg3,hg4,hg5],FilterAllUnits([f_side,1]));
end;
Na terenie bazy stwórz areę o nazwie "teren_bazy" lub inną
Author: NNPlaya
Topic: http://forum.original-war.net/viewtopic.php?t=323
Post Reply