Here you all go. This is a complete list of just about everything you need to get through your basic mission editing problems. This comes straight from forum.ofp.info. Thanks to Nano19, official moderator of the Mission Editing Forums at ofp.forums.info. Here you go:
PLEASE DO NOT RESPOND TO THIS THIS THREAD. IT IS STRICTLY TO HELP PEOPLE. QUESTIONS WILL NOT BE ANSWERED.
ANIMATIONS :
To add an animation like salute, place a waypoint for your guy and in the "On Activation" field of this waypoint, type this (You can place it in a script, that's better) :
UNIT_NAME PlayMove "ANIMATION_NAME"
or
UNIT_NAME SwitchMove "ANIMATION_NAME"
Replace UNIT_NAME by the name of the unit(s) you want to make the animation and replace ANIMATION_NAME by the name of the animation in the list below.
Don't forget to respect the specific signs like "
Animations list for Cold War Crisis (v1.46) :
5TCoDriver
5TCoDriverV1
5TCoDriverDead
5TCoDriverDying
5TDriver
5TDriverV1
5TDriverDead
5TDriverDying
A10Pilot
A10PilotV1
A10PilotDead
A10PilotDying
AH1Gunner
AH1GunnerV1
AH1GunnerDead
AH1GunnerDying
AH1Pilot
AH1PilotV1
AH1PilotDead
AH1PilotDying
BinocCrouchToCrouch
BinocLyingToLying
BinocStandToStand
BinocToCombat
BMPCommander
BMPCommanderV1
BMPCommanderOut
BMPCommanderOutV1
BMPCommanderOutDead
BMPCommanderOutDying
BMPDriver
BMPDriverV1
BMPDriverOut
BMPDriverOutV1
MPDriverOutDead
MPDriverOutDying
BMPGunner
BMPGunnerV1
BMPGunnerOut
BMPGunnerOutV1
BMPGunnerOutDying
BMPGunnerOutDead
Cargo
CargoDead
CargoDying
CargoVer1
CargoVer2
CargoVer3
CargoVer4
CargoVer5
CesnaCargo
CesnaCargoV1
CesnaCargoDead
CesnaCargoDying
CesnaPilot
CesnaPilotV1
CesnaPilotDead
CesnaPilotDying
CivilDead
CivilDeadVer2
CivilDying
CivilDyingVer2
CivilLying
CivilLyingCrawlF
CivilLyingCrawlL
CivilLyingDying
CivilLyingNoAim
CivilRunF
CivilStillV1
CivilWalkF
CombatDead
CombatDeadVer2
CombatDeadVer3
CombatDying
CombatDyingVer2
CombatDyingVer3
CombatOptics
CombatOpticsF
CombatRelaxedDeadVer2
CombatRelaxedDying
CombatRelaxedDyingVer2
CombatRelaxedStill
CombatReloadMortarEnd
CombatRunB
CombatRunBDead
CombatRunBDeadVer2
CombatRunBDying
CombatRunBDyingVer2
CombatRunDeadVer2
CombatRunDying
CombatRunDyingVer2
CombatRunF
CombatRunFToLying
CombatRunL
CombatRunLB
CombatRunLF
CombatRunNF
CombatRunR
CombatRunRB
CombatRunRF
CombatRunThrowGrenadeEnd
CombatSprintF
CombatSprintLF
CombatSprintRF
CombatStillPlayer
CombatStillV1
CombatStrokeGunEnd
CombatThrowGrenadeEnd
CombatToBinoc
CombatToCrouch
CombatToLying
CombatToMedic
CombatToPutDown
CombatToStand
CombatToTreated
CombatToWeapon
CombatTurnL
CombatTurnR
CommandEngageAtWill
CommandFireAtWill
CommandFormation
CommandForward
CommandHoldFire
CommandStop
Commander
CrouchDying
CrouchToBinocCrouch
CrouchToCombat
CrouchToCrouchSprintF
CrouchToLying
CrouchToWeapon
Driver
EffectCombatStand
EffectStand
EffectStandmove
EffectStandSitDown
EffectStandSitDownVer1
EffectStandSitDownVer2
EffectStandSitDownStill
EffectStandSalute
EffectStandSaluteEnd
EffectWeaponPanic
FXangel
FXangel2
FXStandAtt
FXStandAttVar1
FXStandBug
FXStandDangle
FXStandDip
FXStandDropTel
XStandEndTable
FXStandFromDip
FXStandFromTable
FXStandhip
FXStandRotateTable
FXStandShowTable
FXStandStraight
FXStandSur
FXStandSurDead
FXStandSurDown
FXStandSurUniv
FXStandToDip
FXStandToTel
FXStandTelLoop
FXStandToTelHand
FXStandToTable
FXStandUnivTable
Gunner
HRLGunner
HRLGunnerV1
HRLGunnerDead
HRLGunnerDying
JeepCoDriver
JeepCoDriverV1
JeepCoDriverDead
JeepCoDriverDying
JeepCoDriverBack
JeepCoDriverBackV1
JeepCoDriverBackDead
JeepCoDriverBackDying
JeepGunner
JeepGunnerV1
JeepGunnerDead
JeepGunnerDying
JeepDriver
JeepDriverV1
JeepDriverDead
JeepDriverDying
LyingCrawlF
LyingCrawlL
LyingDying
LyingNoAim
LyingStillV1
LyingThrowGrenadeEnd
LyingToBinocLying
LyingToCombat
LyingToCombatRun
LyingToCrouch
LyingToPutDownLying
LyingToTreatedLying
LyingToWeapon
M113Driver
M113DriverV1
M113DriverOut
M113DriverOutV1
M113DriverOutDead
M113DriverOutDying
M113Gunner
M113GunnerV1
M113GunnerDead
M113GunnerDying
M113Medic
M113MedicV1
M1A1Commander
M1A1CommanderV1
M1A1CommanderOut
M1A1CommanderOutV1
M1A1CommanderOutDead
M1A1CommanderOutDying
M1A1Gunner
M1A1GunnerV1
M1A1DriverOut
M1A1DriverOutV1
M1A1DriverOutDead
M1A1DriverOutDying
M2Gunner
M2GunnerV1
M2GunnerDead
M2GunnerDying
M60Commander
M60CommanderV1
M60CommanderOut
M60CommanderOutV1
M60CommanderOutDead
M60CommanderOutDying
M60Driver
M60DriverV1
M60DriverOut
M60DriverOutV1
M60DriverOutDying
M60DriverOutDead
M60Gunner
M60GunnerV1
Mi17Pilot
Mi17PilotV1 Mi17PilotDead
Mi17PilotDying
Mi24Gunner
Mi24GunnerV1
Mi24GunnerDead
Mi24GunnerDying
Mi24Pilot
Mi24PilotV1
Mi24PilotDead
Mi24PilotDying
MedicToCombat
Para
ParaV1
ParaDead
ParaDying
PBRDriver
PBRDriverV1
PBRDriverDead
PBRDriverDying
PBRGunner
PBRGunnerV1
PBRGunnerDead
PBRGunnerDying
Pilot
PutDownLyingToLying
PutDownToCombat
ScudCoDriver
ScudCoDriverV1
ScudCoDriverDead
ScudCoDriverDying
ScudDriver
ScudDriverV1
ScudDriverDead
ScudDriverDyingScudCoDriver
ScudCoDriverV1
ScudCoDriverDead
ScudCoDriverDying
ScudDriver
ScudDriverV1
ScudDriverDead
ScudDriverDying
SkodaCoDriver
SkodaCoDriverV1
SkodaCoDriverDead
SkodaCoDriverDying
SkodaCoDriverBack
SkodaCoDriverBackV1
SkodaCoDriverBackDead
SkodaCoDriverBackDying
SkodaDriver
SkodaDriverV1
SkodaDriverDead
SkodaDriverDying
SitDownToStand
SitDownDying
Stand
StandBase
StandDead
StandDeadVer2
StandDyingVer2
StandToBinocStand
StandToCombat
EffectStandmove
EffectStandSitDown
EffectStandSitDownVer1
EffectStandSitDownVer2
EffectStandSitDownStill
EffectStandSalute
EffectStandSaluteEnd
StandStrokeFist
StandStrokeFistEnd
StandWalkF
T55Commander
T55CommanderV1
T55CommanderOut
T55CommanderOutV1
55CommanderOutDead
55CommanderOutDying
T55DriverOut
T55DriverOutV1
T55DriverOutDead
T55DriverOutDying
T55Gunner
T55GunnerV1
T72Commander
T72CommanderV1
T72CommanderOut
T72CommanderOutV1
T72CommanderOutDead
T72CommanderOutDying
T72DriverOut
T72DriverOutV1
T72DriverOutDead
T72DriverOutDying
T72Gunner
T72GunnerV1
T72GunnerOut
T72GunnerOutV1
T72GunnerOutDead
T72GunnerOutDying
T80CommanderOut
T80CommanderOutV1
T80CommanderOutDead
T80CommanderOutDying
T80GunnerOutV1
T80GunnerOutDead
T80GunnerOutDying
TractorDriver
TractorDriverV1
TractorDriverDead
TractorDriverDying
TreatedLyingToLying
TreatedToCombat
UazCoDriver
UazCoDriverV1
UazCoDriverDead
UazCoDriverDying
UazDriver
UazDriverV1
UazDriverDead
UazDriverDying
UH60Gunner
UH60GunnerV1
UH60GunnerDead
UH60GunnerDying
UH60Pilot
UH60PilotV1
UH60PilotDead
UH60PilotDying
UralCoDriver
UralCoDriverV1
UralCoDriverDead
UralCoDriverDying
UralDriver
UralDriverV1
UralDriverDead
UralDriverDying
V3SCoDriver
V3SCoDriverV1
V3SCoDriverDead
V3SCoDriverDying
V3SDriver
V3SDriverV1
V3SDriverDead
V3SDriverDying
Weapon
WeaponDead
WeaponDying
WeaponDyingVer2
WeaponToCombat
WeaponToCrouch
WeaponToLying
ZSUCommander
ZSUCommanderV1
ZSUCommanderOut
ZSUCommanderOutV1
ZSUCommanderOutDead
ZSUCommanderOutDying
ZSUDriver
ZSUDriverV1
ZSUDriverDead
ZSUDriverDying
ZSUGunner
ZSUGunnerV1
ZSUGunnerOut
ZSUGunnerOutV1
ZSUGunnerOutDead
ZSUGunnerOutDying
Animations list added in Resistance :
HandGunCrouchReloadMagazine
HandGunStandThrowGrenade1
Lying
CivilLying
Crouch
Combat
Stand
Civil
HandGunCrouchDead
HandGunCrouch
Weapon
BinocHandGunCrouch
HandGunCrouch
HandGunMedic
HandGunCrouchWalkF
HandGunCrouchWalkLF
HandGunCrouchWalkRF
HandGunCrouchWalkL
HandGunCrouchWalkR
HandGunCrouchWalkLB
HandGunCrouchWalkRB
HandGunCrouchWalkB
HandGunCrouchWalkF
HandGunCrouchWalkLF
HandGunCrouchWalkRF
HandGunCrouchWalkL
HandGunCrouchWalkR
HandGunCrouchWalkLB
HandGunCrouchWalkRB
HandGunCrouchWalkB
HandGunCrouchRunF
HandGunCrouchRunLF
HandGunCrouchRunRF
HandGunCrouchRunL
HandGunCrouchRunR
HandGunCrouchRunLB
HandGunCrouchRunRB
HandGunCrouchRunB
HandGunCrouchTurnL
HandGunCrouchTurnR
HandGunGetInCar
HandGunStand
HandGunGetInTank
HandGunGetOutTank
HandGunCrouch
ManPosHandGunCrouch
HandGunLying
HandGunStand
HandGunCrouch
HandGunLyingReloadMagazine
HandGunLyingThrowGrenade1
HandGunLyingDead
HandGunLying
BinocHandGunLying
HandGunMedic
HandGunLyingPutDown
HandGunStandToHandGunTakeFlag
HandGunLyingCrawlF
HandGunLyingCrawlLF
HandGunLyingCrawlRF
HandGunLyingCrawlL
HandGunLyingCrawlR
HandGunLyingCrawlLB
HandGunLyingCrawlRB
HandGunLyingCrawlB
HandGunLyingCrawlF
HandGunLyingCrawlLF
HandGunLyingCrawlRF
HandGunLyingCrawlL
HandGunLyingCrawlR
HandGunLyingCrawlLB
HandGunLyingCrawlRB
HandGunLyingCrawlB
HandGunLyingFastCrawlF
HandGunLyingCrawlLF
HandGunLyingCrawlRF
HandGunLyingCrawlL
HandGunLyingCrawlR
HandGunLyingCrawlLB
HandGunLyingCrawlRB
HandGunLyingCrawlB
HandGunLyingTurnL
HandGunLyingTurnR
HandGunGetInCar
HandGunStand
HandGunGetInTank
HandGunGetOutTank
HandGunLying
ManPosHandGunLying
HandGunStand
HandGunStandRelaxed
HandGunLying
HandGunCrouch
HandGunStandReloadMagazine
HandGunStandThrowGrenade1
HandGunStandDead
HandGunStand
BinocHandGunStand
HandGunStand
HandGunMedic
HandGunPutDown
HandGunStandToHandGunTakeFlag
HandGunStandWalkF
HandGunStandWalkLF
HandGunStandWalkRF
HandGunStandWalkL
HandGunStandWalkR
HandGunStandWalkLB
HandGunStandWalkRB
HandGunStandWalkB
HandGunStandWalkF
HandGunStandWalkLF
HandGunStandWalkRF
HandGunStandWalkL
HandGunStandWalkR
HandGunStandWalkLB
HandGunStandWalkRB
HandGunStandWalkB
HandGunStandRunF
HandGunStandRunLF
HandGunStandRunRF
HandGunStandRunL
HandGunStandRunR
HandGunStandRunLB
HandGunStandRunRB
HandGunStandRunB
HandGunStandTurnL
HandGunStandTurnR
HandGunStandTurnLRelaxed
HandGunStandTurnRRelaxed
HandGunGetInCar
HandGunStand
HandGunGetInTank
HandGunGetOutTank
HandGunStand
ManPosHandGunStand
HandGunTakeFlag
HandGunTakeFlag
busDriverDying
busDriverDead
busCargo
busCargoV1
busCargoDying
busCargoDead
jawaCoDriver
jawaDriver
FXexecution
FXexecutionDead
FXdismay
FXToKneel
FXInKneel
FXFromKneel
FXshow1
FXshow2
FXshow3
FXshow4
FXshow5
FXCivilLookaround
FXCivilLookaround2
FXCivilLookback
FXCivilHandMouth
FXCivilFoldOnesArms
FXCivilArmsAkimboR
FXCivilArmsAkimboL
FXFromTable
FXToTable
FXSitLeftHandDown
FXSitRightHandDown
FXSitHandsOnTable
FXToHand
FXInHand
FXInHandStat
FXFromHand
FXNewcivil
FXWomanSur
HOW TO PLACE BUILDINGS IN MISSIONS :
Example :
First, create a new mission, place your soldier and place a civilian (a man). Save this mission. Go in Windows (Pressing Alt + TAB) and go in this mission folder.
Codemasters\OperationFlashpoint\Users\\missions\\
Open the mission.sqm file with the notepad, you should find it in :
version=11;
class Mission
{
randomSeed=15186435;
class Intel
{
};
class Groups
{
items=2;
class Item0
{
side="WEST";
class Vehicles
{
items=1;
class Item0
{
position[]={9959.639648,26.730000,3851.039795};
id=0;
side="WEST";
vehicle="SoldierWB";
player="PLAYER COMMANDER";
leader=1;
skill=0.600000;
};
};
};
class Item1
{
side="CIV";
class Vehicles
{
items=1;
class Item0
{
position[]={9982.040039,26.730000,3879.839600};
id=1;
side="CIV";
vehicle="Civilian";
leader=1;
skill=0.600000;
};
};
};
};
};
class Intro
{
randomSeed=13888003;
class Intel
{
};
};
class OutroWin
{
randomSeed=13147651;
class Intel
{
};
};
class OutroLoose
{
randomSeed=2394627;
class Intel
{
};
};
Replace "Civilian" by the name of a building in the list below. Save the modification and return in OFP. Load your mission, the civilian is now a building !!! You can add as many buildings as you want, it's simple !
Cold War Crisis buildings (v1.46) :
Barracks
Chapel001
Church001
Church002
Church003
Fountain
FuelStationNew
FuelStationNew2
Hangar_Hall
Houseafbarabizna
Houseafdum_mesto2
Houseafdum_mesto2l
Houseafdum_mesto3
Houseafhospoda_mesto
Houseammostore2
Housebouda1
Housebouda2
Housebouda2_vnitrek
Housebouda3
Housebudova1
Housebudova2
Housebudova3
Housebudova4
Housebudova5
Housecihlovej_dum
Housecihlovej_dum_in
Housecihlovej_dum_mini
Housedeutshe
Housedeutshe_mini
Housedulni_bs
Housedum_m2
Housedum_mesto
Housedum_mesto_in
Housedum_mesto2
Housedum_mesto2l
Housedum_mesto3
Housedum_olezlina
Housedum_rasovna
Housedum_rasovna_in
Housedum01
Housedum02
Housedumruina
Housedumruina_mini
Housegaraz
Housegaraz_bez_tanku
Housegaraz_s_tankem
Househelfenburk
Househospital
Househospoda_mesto
Househruzdum
Housekostel_trosky
Housemajak
Housemesto_dum
Houseplechbud
Houserepair_center
Houseryb_domek
Housestanice
Housestatek_hl_bud
Housestatek_kulna
Housestodola
Housestodola_open
ViewTower
ViewTower2
Buildings added in Resistance (v1.75) :
Dum01
Dum02
Dum03
Dum04
Dum05
Dum06
Dum07
Dum08
Dum09
Dum10
Dum11
Dum12
Dum13
Dum14
Dum15
Dum16
ResHouseaut_zast
ResHousebouda_plech
ResHouseChata6
ResHousedomek01
ResHousedomek02
ResHousedomek03
ResHousedomek04
ResHousedomek05
ResHousedomek_hospoda
ResHousedomek_kovarna
ResHousedomek_podhradi_1
ResHousedomek_rosa
ResHousedomek_ruina
ResHousedomek_sedy_bez
ResHousedomek_vilka
ResHousedomek_zluty_bez
ResHousedrevo_hromada
ResHousedum_patr_nizky_prujezd
ResHousedum_patrovy01
ResHousedum_patrovy01c
ResHousedum_patrovy01d
ResHousedum_patrovy01prujezd
ResHousedum_patrovy02
ResHousedum_patrovy03
ResHousedum_patrovy04
ResHousedum_patrovy05
ResHousedum_patrovy06
ResHousedum_podloubi
ResHousedum_podloubi02
ResHousedum_podloubi03
ResHousedum_podloubi03klaster
ResHousehangar_2
ResHousehasic_zbroj
ResHouseinvisible_house
ResHousekostelin
ResHousenabrezi
ResHousenabrezi_najezd
ResHouseOrlHot
ResHouseruiny_3_dvere
ResHouseruiny_3_prasklina
ResHouseruiny_3_roh
ResHouseruiny_obvod_3
ResHouseruiny_obvod_kompl
ResHouseskola
ResHousestodola
ResHousestodola2
ResHousestodola3
ResHouseZalChata
ResHousezluty_statek
HOW TO ADD OR REMOVE WEAPONS :
This is how to add weapons and magazines in an ammo crate. Type those commands in the INIT field of the ammo crates :
this addweaponcargo ["WEAPON_NAME",quantity]
To add weapons
this addmagazinecargo ["MAGAZINE_NAME",quantity]
To add magazines
You can add or remove them with those commands :
(Don't forget to remove his weapons or magazines before to add others !!!)
this addweapon "WEAPON_NAME"
Add one weapon
this addmagazine "MAGAZINE_NAME"
Add one magazine
this removeweapon "WEAPON_NAME_TO_DELETE"
To delete a weapon of his items
this removemagazines "MAGAZINE_NAME_TO_DELETE"
To delete all selected magazines of his items
this removemagazine "MAGAZINE_NAME_TO_DELETE"
To delete one selected magazines of his items
removeallweapons SOLDIER_NAME
To delete all weapons and magazines of his items
I suggest you to name all units you place and to replace "this" by their name.
Weapons and ammo list in v1.46 :
WEAPONS***************************AMMO
---------------------------------------------------------------
6G30........................................................6g30Magazine
9K32Launcher............................................9K32Launcher
AALauncher...............................................AALauncher
AK47........................................................AK47
AK47CZ....................................................AK47
AK47GrenadeLauncher................................AK47 ou GrenadeLauncher
Ak74........................................................Ak74
AK74GrenadeLauncher................................Ak74 ou GrenadeLauncher
Ak74Su....................................................Ak74
AT4Launcher.............................................AT4Launcher
Binocular
Bizon........................................................BizonMag
CarlGustavLauncher....................................CarlGustavLauncher
Flare.........................................................Flare
FlareGreen.................................................FlareGreen
FlareRed....................................................FlareRed
FlareYellow................................................FlareYellow
G36A........................................................G36aMag
HandGrenade.............................................HandGrenade
HK............................................................HK
Kozlice..................................................... Kozliceshell ou Kozliceball
laserdesignator..........................................laserdesignator
LAWLauncher.............................................LAWLauncher
M16..........................................................M16
M16GrenadeLauncher..................................M16 ou GrenadeLauncher
M21..........................................................M21
M4............................................................M4
M60..........................................................M60
Mine..........................................................Mine
MM1..........................................................MM1magazine
Mortar.......................................................Mortar
NVGoggles
Pipebomb...................................................Pipebomb
PK.............................................................PK
RPGLauncher..............................................RPGLauncher
SmokeShell................................................SmokeShell
SmokeShellGreen........................................SmokeShellGreen
SmokeShellRed..........................................SmokeShellRed
Steyr.........................................................Steyrmag
SVDDragunov.............................................SVDDragunov
Timebomb..................................................Timebomb
XMS...........................................................M4
Weapons and ammo list added with v1.75 :
WEAPONS*****************************AMMO
-------------------------------------------------------------------
Beretta...................................................BerettaMag
CZ75......................................................CZ75Mag
FAL........................................................FALMag
Glock.....................................................GlockMag
HKG3.....................................................HKG3Mag
Skorpion.................................................SkorpionMag
Tokarev..................................................TokarevMag
UZI........................................................UZIMag
Weapons and ammo list added with v1.85 :
WEAPONS*****************************AMMO
-------------------------------------------------------------------
Glocks....................................................GlocksMag
Huntingrifle..............................................HuntingrifleMag
Ingram....................................................IngramMag
Revolver..................................................RevolverMag
HOW TO INSERT SOUNDS IN MISSIONS :
First, your sounds must be in *.ogg format. Personnaly, I use DBpowerAmp Music Convertor. Place your musics in your mission folder but if you have a lot of scripts in this mission, make a new folder in named Music and another one for the sounds named Sounds. You must enter some parameters in the mission. The file which contains this is named description.ext. Make a new one with your notepad and save it as description.ext. In this file, you have to enter parameters like this :
Sounds :
Quote
class CfgSounds
{
sounds[] = {"MySound"};
class MySound
{
name = "MySound";
sound[] = {"MySound.ogg", db-10, 1.0};
titles[] = {};
};
};
Modify the MySound var as your sound name. You can just put one sound by deleting the others or add others.
Environment sounds :
Quote
class CfgEnvSounds
{
sounds[] = {"Animal"};
class Animal
{
name = "Animal";
sound[] = {"bird.ogg",db-0,0,1};
soundNight[] = {"wolves.ogg",db-0,0,1};
};
};
sound = Day sound
soundNight = night sound
Replace bird.ogg and wolves.ogg by your sounds names. Replace Animal by the name you want to give ti these sounds.
Radio messages :
Quote
class CfgRadio
{
sounds[] = {"help"};
class help
{
name = "help";
sound[] = {"help.ogg", db-10, 1.0};
title = "Help needed at af84 !!!";
};
};
Title = Subtitle of the sound which appear in the radio sounds (left of the screen). Replace help by your sound name.
Musics
class CfgMusic
{
tracks[] = {"MyMusic"};
class MyMusic
{
name = "MyMusic";
sound[] = {"\music\MyMusic.ogg", db-5, 1.0};
};
};
In this case, the music is in the music folder (Look at the sound[] line). Replace MyMusic by your music name.
If you want to add several musics or sounds, the first }; at the end is to close the first sound parameter in the class and the last one is to close all the class.
Example :
class CfgSounds
{
sounds[] = { };
class song
{
name = "Song";
sound[] = {"song.ogg", db-38, 1.0};
titles[] =
{
My subtitle
};
};
class Song2
{
name = "Song2";
sound[] = {"Song2.ogg", db, 1.0};
titles[] =
{
My subtitle2
};
};
};
As you can see the CfgSounds class is just written one time for as many sounds we want to put, just make like this for all sounds or music but don't forget to change the class !
How to play the sounds or musics ? :
Use a script or make a trigger with parameters you want and in the "On Activation field, write this :
- For musics :
PlayMusic "MyMusic"
or
PlayMusic [MyMusic",15]
In the second example the music won't start at its beginning but at the 15th second of its total time. (sorry for my english there !)
- For sounds :
PlaySound "MySound"
- For radio messages :
UNIT_NAME GlobalRadio "MyMessage"
The unit will pronunce the message on the global channel. (White)
UNIT_NAME SideRadio "MyMessage"
The unit will pronunce the message on the side channel. (Blue)
UNIT_NAME GroupRadio "MyMessage"
The unit will pronunce the message on the group channel. (Green)
UNIT_NAME VehicleRadio "MyMessage"
The unit will pronunce the message on the vehicle radio (Yellow)
- For a dialog (In the sound class) :
UNIT_NAME say "MyDialog"
Unit will speak. To have the lip movements, you must convert the sound in *.lip format. Use Wav To Lip program for this. You don't need to write the lip file in the description.ext but it must have the same name than its ogg file.
Comment inserer un drapeau ?
1) Put a new unit.
Side : EMPTY
class : OBJECTS
type : FLAG
2) In the init field of this flag, type this :
this setFlagTexture "\Flags\FlagName.jpg"
Replace FlagName by the name of one of the flags written after.
Example:
this setFlagTexture "\Flags\USA.jpg"
OR
this setFlagTexture "\Flags\France.jpg"
OR
this setFlagTexture "\Flags\Canada.jpg"
Those flags need flags.pbo which comes with version 1.30.
COUNTRIES:
=====
Afghanistan
Albania
Algeria
Andorra
Angola
Argentina
Armenia
Australia
Austria
Azerbaijan
Bangladesh
Barbados
Belarus
Belgium
Belgium-Flanders
Belgium-Wallonia
Belize
Benin
Bhutan
Bolivia
Bosna-Herzegovina
Botswana
Brazil
Brunei
Bulgaria
BurkinaFaso
Cambodia
Cameroon
Canada
CapeVerde
Chad
Chile
China
Columbia
Comoros
Congo
Costarica
Croatia
Cuba
Cyprus
Czech
Denmark
Dominica
DominicanRepublic
Ecuador
England
Egypt
ElSalvador
Estonia
Ethiopia
EU
FaroeIslands
Fiji
Finland
France
FrenchPolynesia
Gambia
Germany
Ghana
Greece
Greenland
Guatemala
Guernsey
Haiti
Honduras
Hungary
Iceland
India
Indonesia
Iran
Iraq
Ireland
IsleOfMan
Israel
Italy
IvoryCoast
Jamaica
Japan
Jordan
Kazakstan
Kenya
Korea-North
Korea-South
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Libya
Liechtenstein
Lithuania
Luxembourg
Macedonia
Madagascar
Malaysia
Malta
Mexico
Moldova
Mongolia
Morocco
Mozambique
Myanmar
Namibia
Nauru
Netherlands
NewZealand
Nicaragua
Nigeria
NorfolkIsland
Norway
Oman
Pakistan
Palestine
Panama
Paraguay
Peru
Philippines
Poland
Portugal
Qatar
Quebec
Romania
Russia
Sahara-Western
Samoa
SaudiArabia
Scotland
SierraLeone
Singapore
Slovakia
Slovenia
Somalia
SouthAfrica
Spain
SriLanka
Sudan
Sweden
Switzerland
Syria
Taiwan
Tajikistan
Thailand
Togo
Tonga
TrinidadAndTobago
Tunisia
Turkey
Turkmenistan
Uganda
Ukraine
UnitedArabEmirates
UnitedKingdom
Uruguay
Uzbekistan
USA
USAHistory
USSR
Venezuela
Vietnam
Wales
Yemen
Yugoslavia
Zimbabwe
ORGANIZATIONS :
=============
BIS_Black
BIS_White
Codemasters
FIA
FIABlack
NATO
RedCross
Pirates
White
-=Kilo=-
P.S. DO NOT RESPOND IN THIS THREAD PLEASE, ITS JUST TO HELP PEOPLE. QUESTIONS WILL NOT BE ANSWERED :-)[/size]