OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Zwerkje on 07 Sep 2005, 18:27:21

Title: no map
Post by: Zwerkje on 07 Sep 2005, 18:27:21
i have made a mission but i can not see my self or otrhers on the map!
can sombody tell me how i can fix this?
Title: Re:no map
Post by: macguba on 07 Sep 2005, 18:36:24
Welcome to the forum!

If you are testing in the Mission Editor it defaults to Veteran mode.   Go back to the Main Menu, click on Single Missions, select a mission, switch to Cadet mode, and go back to the Mission Editor.

Better still, don't bother.   Veteran mode is MUCH more fun.   More realistic, more immersive.  It won't take you long to get used to it.   Most people who try it properly don't go back.
Title: Re:no map
Post by: bedges on 07 Sep 2005, 18:41:23
and if you want to play with the benefits of veteran mode but still want to see positions marked on the map, do it thusly -

create a marker - green dots are good - and give it a name, like mk_pos_player, or something meaningful. next in the init line of the player type [] exec "map_markers.sqs". then open up notepad and copy/paste the following -

Code: [Select]
#loop

"mk_pos_player" setmarkerpos getpos player
"mk_pos_loon1" setmarkerpos getpos loon1
etc....

~1

goto "loop"

save it as "map_markers.sqs" in the mission folder and presto - markers which follow the player and any other units you supply markers for.

edit - see attached missionette for a working example.
Title: Re:no map
Post by: Zwerkje on 07 Sep 2005, 19:14:40
it;s not working
still no good working map
Title: Re:no map
Post by: Blanco on 07 Sep 2005, 19:43:07
Put :

ShowGPS true

...in a init.sqs script or in the initfield of a unit.



Title: Re:no map
Post by: sharkyjoe on 08 Sep 2005, 07:46:47
Could the problem be that you forgot to put a Loon in as Player??
Under Units(F1) then find Control and select Player.

I've have forgotten to do this once or twice before and got into to mission to test and no man or men.

This being said, and Making sure to see if Player has been selected Go into the mission. Try pressing F2 and then press 5 and press 5 again. The Loon F2 should shout out his location on the map.

Basic info. I know but sometimes One can get caught up in the fancy stuff and kind of forget the simple things.  :P
Title: Re:no map
Post by: bedges on 08 Sep 2005, 08:01:16
Quote
it's not working
still no good working map

i think some more detail is needed before this problem can be properly tackled. when you say it's not working, how exactly is it not working. when you say you can't see the player on the map, do you mean the map you get by pressing M, or do you mean the whole island - as sharkyjoe mentioned?

if you can get a screenshot of what you mean by pressing PrtScrn and posting a small copy, that would also help.