- Joined
- Jan 9, 2009
- Messages
- 614
- Reaction score
- 152
Simple enough to do, but I figured I'd write a tutorial for people that aren't very comfortable messing with the source.
Step 1. Open ZGameInput.cpp, search for case 'M'
Step 2. Replace this:
with this:
Result:
Updates in real time of course. Kinda useful for things like A&D to make sure peeps aren't cheating, or H&S, etc.Doesn't work on all maps, but you coudl use maiets map viewer program (w/e it's called), look down on the map so it appears sorta flat, and then screenshot it. Doesn't break it in replays either, case 'M' is simply replaced with right click (on rightclicking, it'll switch between freelook, and minimap).
Step 1. Open ZGameInput.cpp, search for case 'M'
Step 2. Replace this:
if (g_pGame->IsReplay() && pCombatInterface->GetObserver()->IsVisible())
{
if(ZGetGameInterface()->GetCamera()->GetLookMode()==ZCAMERA_FREELOOK)
ZGetGameInterface()->GetCamera()->SetLookMode(ZCAMERA_DEFAULT);
else
ZGetGameInterface()->GetCamera()->SetLookMode(ZCAMERA_FREELOOK);
}
with this:
if(g_pGame->GetMatch()->Create())
{
if(ZGetGameInterface()->GetCamera()->GetLookMode()==ZCAMERA_MINIMAP)
ZGetGameInterface()->GetCamera()->SetLookMode(ZCAMERA_DEFAULT);
else
ZGetGameInterface()->GetCamera()->SetLookMode(ZCAMERA_MINIMAP);
}
Result:
Updates in real time of course. Kinda useful for things like A&D to make sure peeps aren't cheating, or H&S, etc.Doesn't work on all maps, but you coudl use maiets map viewer program (w/e it's called), look down on the map so it appears sorta flat, and then screenshot it. Doesn't break it in replays either, case 'M' is simply replaced with right click (on rightclicking, it'll switch between freelook, and minimap).
Attachments
You must be registered for see attachments list
Last edited: