Home   Help Search Login Register  

Author Topic: Map Animation During Intro  (Read 1563 times)

0 Members and 1 Guest are viewing this topic.

Scratchdat

  • Guest
Map Animation During Intro
« on: 21 Aug 2002, 20:03:26 »
I saw that one of the Single Player missions on Resistance (i think it's the one with the tanks) had an animation of a moving map with markers which was shown during the intro.

I wanna know: HOW? AND HOW CAN I DO IT?

Gameer_77

  • Guest
Re:Map Animation During Intro
« Reply #1 on: 21 Aug 2002, 20:06:46 »
Here is the whole map animation from the intro.sqs:

Code: [Select]

showPad false;
showCompass false;
showWatch false;
showRadio false;
~2
mapAnimClear;

0 fademusic 0

mapAnimAdd [0, 0.5, getMarkerPos "ruska_zakl"];
mapAnimCommit;
ForceMap true;
@mapAnimDone;

velitel say "R05v02"

mapAnimAdd [4, 0.1, getMarkerPos "ruska_zakl"];
mapAnimCommit;
~3.5
"ruska_zakl" setMarkerColor "ColorRed"
"ruska_zakl" setMarkerType "Destroy"

~2


mapAnimAdd [2, 0.1, getMarkerPos "Obrana"];
"obrana" setMarkerColor "ColorRed"
"obrana" setMarkerType "Destroy"
mapAnimCommit;
@mapAnimDone;

~2

mapAnimAdd [1, 0.1, getMarkerPos "Obrana"];
"obrana" setMarkerSize [2,2]
"obrana" setMarkerColor "ColorGreen"
"obrana" setMarkerType "Marker"
mapAnimCommit;
@mapAnimDone;

~1

mapAnimAdd [1.5, 0.12, getMarkerPos "sipka"];
"sipka" setMarkerColor "ColorGreen"
"sipka" setMarkerType "Arrow"
"sipka" setMarkerSize [2,2]
mapAnimCommit;
@mapAnimDone;

~2

velitel say "R05v03"

mapAnimAdd [1, 0.12, getMarkerPos "miny1"];
"miny1" setMarkerColor "ColorRed"
"miny1" setMarkerType "Warning"
"miny1" setMarkerSize [1.5,1.5]
mapAnimCommit;
@mapAnimDone;

~1

mapAnimAdd [2, 0.12, getMarkerPos "miny2"];
"miny2" setMarkerColor "ColorRed"
"miny2" setMarkerType "Warning"
"miny2" setMarkerSize [1.5,1.5]
mapAnimCommit;
@mapAnimDone;

~1

velitel say "R05v05"

mapAnimAdd [2, 0.12, getMarkerPos "usa_zakl"];
"usa_zakl" setMarkerColor "ColorGreen"
"usa_zakl" setMarkerType "Flag"
mapAnimCommit;
@mapAnimDone;

~2


mapAnimAdd [3, 0.1, getMarkerPos "ruska_zakl"];
"ruska_zakl" setMarkerColor "ColorGreen"
"ruska_zakl" setMarkerType "Marker"
"ruska_zakl" setMarkerSize [1.5,1.5]
mapAnimCommit;
@mapAnimDone;
~3

velitel say "R05v06"
showRadio true;
~0.8


mapAnimAdd [1.5, 0.1, getMarkerPos "utok1"];
"utok1" setMarkerColor "ColorRed"
"utok1" setMarkerType "Arrow"
mapAnimCommit;
@mapAnimDone;

mapAnimAdd [1.5, 0.1, getMarkerPos "utok2"];
"utok2" setMarkerColor "ColorRed"
"utok2" setMarkerType "Arrow"
mapAnimCommit;
@mapAnimDone;

mapAnimAdd [1.5, 0.1, getMarkerPos "utok3"];
"utok3" setMarkerColor "ColorRed"
"utok3" setMarkerType "Arrow"
mapAnimCommit;
@mapAnimDone;

forcemap false;



Look in the offical comref to get the meanings of all these commands.

 8)PEACE

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Map Animation During Intro
« Reply #2 on: 21 Aug 2002, 20:07:50 »
well theres a command to allow u to 'show map' i thnk - and so basically you then place ya markers and switch em on and off etc.

but the best way is to de-pbo that particular mission and see how bis did it.

[edit]

 ::) lol - well there u go  ::)

[/edit]
« Last Edit: 21 Aug 2002, 20:09:10 by Messiah »
Proud Member of the Volunteer Commando Battalion

Scratchdat

  • Guest
Re:Map Animation During Intro
« Reply #3 on: 21 Aug 2002, 23:10:17 »
Gameer that's a loooooooooot of code dude.

Thanks both of you.

Gameer_77

  • Guest
Re:Map Animation During Intro
« Reply #4 on: 22 Aug 2002, 00:23:32 »
Your telling me  :o

 8)PEACE

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Map Animation During Intro
« Reply #5 on: 22 Aug 2002, 00:48:07 »
well, its just the same command repeated over and over again... nothing complicated really (as soon as u get the hang of it)
Proud Member of the Volunteer Commando Battalion

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Map Animation During Intro
« Reply #6 on: 27 Aug 2002, 09:58:17 »
#Problem solved   :wow:
Not all is lost.