OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Humvee on 27 Aug 2003, 18:24:06

Title: Flags ... Gonna ask this here because mp uses alot of flags
Post by: Humvee on 27 Aug 2003, 18:24:06
I've read the ctf tutorials and stuff like that ... but it's way to complicated for the thing I wanne do.
which is the following :   In a cinematic I'm making I wanne make the russian flag go down the flagpole and make the nato go up .. how I do that.. I know how to lower it but making another flag going up... I don't know how to do it
Any help here would be hot
tnx
greets
humvee
Title: Re:Flags ... Gonna ask this here because mp uses alot of flags
Post by: Terox on 29 Aug 2003, 02:01:42
at a guess, you will need to create flag  for your intro/cutscene, set the flagside to East and its texture then create an ai West player to cap it using the C&H system then delete all the objects

Do this at some point well away from the playing area, so the ai doesnt decide to go bonkers
Title: Re:Flags ... Gonna ask this here because mp uses alot of flags
Post by: Humvee on 29 Aug 2003, 13:29:32
Uum dude sorry but I suck in mp editing  :-[
And I think I'm a retard  :P so can you please be a bit more specific?
thnx
Humvee
Title: Re:Flags ... Gonna ask this here because mp uses alot of flags
Post by: Terox on 29 Aug 2003, 23:22:49
well this all clinches on an ai animation to take the flag, and not being into coops i dont know if their is an action for that


to set up your flag i would simply follow tacticians C&H tutorial

ai taking flag is done something like this

A1 switchmove <variablename>
where A1 is the name you gave to your AI soldier

and <variablename> is any of the following.

I had a quick look through but couldnt see an animation to take the flag, which is what you will need


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, EffectStandmove, EffectStandSitDown, EffectStandSitDownVer1, EffectStandSitDownVer2, EffectStandSitDownStill, EffectStandSalute, EffectStandSaluteEnd, EffectWeaponPanic, FXangel, FXangel2, FXStandAtt, FXStandAttVar1, FXStandBug, FXStandDangle, FXStandDip, FXStandDropTel, FXStandEndTable, 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.
Title: Re:Flags ... Gonna ask this here because mp uses alot of flags
Post by: Humvee on 30 Aug 2003, 11:06:03
well I don't actually need animations to make a troop get down the flag ....
The cam zooms in on the russian flag  which is supposed 2 go down the pole and make the nato go up the pole ..... like the troops just invaded the town and take down the russian flag and raise the nato's flag
Title: Re:Flags ... Gonna ask this here because mp uses alot of flags
Post by: Terox on 30 Aug 2003, 16:05:28
yes but to see that actually happen i believe you will need an ai to carry it out, simply setting the flag texture will immediately change the flag, without raising it or lowering it
and setting its side

setflagside EAST
setflagside west,

 i dont believe will cause the flag to raise or lower, but having the option of "Take flag" as a player does cause the flag to animate, so yes i think you will need to animate it