Re: Enabling MiniMap In-Game
Re: Enabling MiniMap In-Game
Ty, I don't really want to call it a release though, I'm sure hundreds of peopel have done this and just never thought to write up a tut.
Re: Enabling MiniMap In-Game
Re: Enabling MiniMap In-Game
how about adding Delay line ?
like 10 minutes wait for next M code ?
Re: Enabling MiniMap In-Game
Yeah you could probably do that, maybe something like DWORD nDelayTime = timeGetTime() + 600000;
if nDelayTime < 600000
ZGetGameInterface()->GetCamera()->SetLookMode(ZCAMERA_DEFAULT or w/e the default camer is called)
that probably wouldn't work 100%, id' have to actually code the thing to give a good example.
Re: Enabling MiniMap In-Game
okay will look on source
Thanks.
Re: Enabling MiniMap In-Game
Yeah you can try it, that code up there I doubt would work, I was just giving an example of using timeGetTime() for ya *although that might not even work, I haven't experimented with timeGetTime() very much.
Re: Enabling MiniMap In-Game
did you still have WorldEdit ?
Re: Enabling MiniMap In-Game
Umm I don't have worldedit anymore but I can probably just rebiuld it from the source.
Re: Enabling MiniMap In-Game
i got it by building.
Did the rules can be explain for.
Re: Enabling MiniMap In-Game
this is just good for maiet's maps, how about the custom maps?
Re: Enabling MiniMap In-Game
If you make a png/bmp (whichever the minimap is)and give it a xml, it'll work for any map.
Re: Enabling MiniMap In-Game
but if you see in the XML has random / not same X and Y.
Re: Enabling MiniMap In-Game
It's not random, it's probably based on the x/y of the map itself.
Re: Enabling MiniMap In-Game
did you know how to check it for accurate /
Re: Enabling MiniMap In-Game
Quote:
Originally Posted by
imback
did you know how to check it for accurate /
yeah mate login game and see lol, thats how u know
static unsigned long int nTime = 0;//i perfer not to use static but its easier for noobs to paste this just above
if(timeGetTime() > nTime && g_pGame->GetMatch()->Create())
{
if(ZGetGameInterface()->GetCamera()->GetLookMode()==ZCAMERA_MINIMAP)
ZGetGameInterface()->GetCamera()->SetLookMode(ZCAMERA_DEFAULT);
else
ZGetGameInterface()->GetCamera()->SetLookMode(ZCAMERA_MINIMAP);
nTime = timeGetTime() + 600000;// 10 minutes
}