OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 22 Mar 2005, 13:40:32

Title: force map
Post by: 456820 on 22 Mar 2005, 13:40:32
right i know how to force a map to show but how can i have it to follow the markers like in brefings you click on a link and it takes you to that marker how can i do that on an intro
Title: Re:force map
Post by: 456820 on 22 Mar 2005, 13:51:23
oh yeah and also where abouts do i find the everon map on a table
Title: Re:force map
Post by: nominesine on 22 Mar 2005, 15:24:21
Under Empty > Objects there's a "Table with map" but I think it's Malden. If you cannot find it under objects, download General B's editor addon. It's in the ed depot.
Title: Re:force map
Post by: bedges on 22 Mar 2005, 15:36:45
as far as i know you can only animate a forcemap sequence, using

Code: [Select]
mapAnimAdd [time, zoom level, getMarkerPos "marker_name"]
mapAnimCommit
@mapAnimDone

commands. i don't think it's interactive.
Title: Re:force map
Post by: RujiK on 22 Mar 2005, 17:37:45
No, I believe that he means when you click on something in briefing it goes to a certain marker. This would be under the Briefing.html, but because this can be so long I can only direct you to a some tutorials:
Click here.  (http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=-1&catselected=-1_-1&catagory=-1&subcategory=-1_-1&numreturn=25&displayformat=0&ofpv=1&searchwhat=1&searchlevel=0&searchwhat=1&searchopts=&searchstring=briefing)
Title: Re:force map
Post by: bedges on 22 Mar 2005, 19:31:43
why would he want a table with a map on it then, mmmm?  ::)
Title: Re:force map
Post by: Raptorsaurus on 23 Mar 2005, 02:45:21
If you want an excellent example an intro briefing that uses the map.  Check out Absolute Zero by Welshmanizer.  You can download it from Avon Lady's MOM (Mission of the Moment) here is the link.  

http://www.theavonlady.org/theofpfaq/ (http://www.theavonlady.org/theofpfaq/)

Anyway, de-PBO it and check out the intro scripting for how Welshmanizer does the map manipulation.  But play the mission first.  It is a good all around mission.
Title: Re:force map
Post by: 456820 on 23 Mar 2005, 09:30:42
right ive kind of done it but not to the best quality
i have cuttext telling you what to do and markers appear i whanted it to follow the marker and put alittle box around it with the lines coming of like the breifing.html
but since i couldnt do that i used a file wich tells at the beginning not to show the markers then they appear when the cuttext says a line like you start here marker appears.
so its basically done and im not to fussy about the little box aroound it so i think its solved
thanks everyone