MODSonline Subscriptions
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"A total overhaul mod changes or redefines the gameplay style of the original game, while keeping it in the original game's universe or plot." 3
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD4 MP Mapping.. Posts: (3) Views: (32) by cskiller86
CoD4 Map + Mod R.. Posts: (18) Views: (182) by sam_fisher3000
CoD4 Scripting.. Posts: (1) Views: (20) by mike121
CoD4 General.. Posts: (2) Views: (41) by DemonSeed
CoD4 Scripting.. Posts: (3) Views: (40) by BraX
CoD4 General.. Posts: (5) Views: (80) by BraX
CoD2 SP Mapping.. Posts: (9) Views: (103) by techno2sl
CoDWW Map + Mod .. Posts: (18) Views: (216) by Rasta
CoDWW SP Mapping.. Posts: (10) Views: (445) by dundy
CoD4 SP Mapping.. Posts: (2) Views: (75) by sam_fisher3000
Back to Home Page
MODSCON 2010 L4D2 Contest
Art of War Central
 
Forums
MODSonline.com Forums
 

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, StrYdeR, techno2sl, batistablr, Welshy, Rasta, supersword, batistablr, playername, NovemberDobby
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: minimap inaccurate?
18Rabbit
Preferred Member
Since: Apr 12, 2009
Posts: 163
Last: Feb 18, 2010
[view latest posts]
Level 4
Category: CoD4 General
Posted: Tuesday, Feb. 9, 2010 09:11 am
I have just figured out why my minimaps are inaccurate. The problem is in the tuts there is a line that states, "resize your minimap to 512x512", that would be fine if your map is square. However, if you have a rectangular map, it throws off the scale and shows the player next to a vehicle when he is actually in front of it, or the player will appear to be outside the map when he's not. So, I suggest that you either not resize your minimap image, or resize it keeping the original scale. Hope that helps.

"Hard pressed on my right. My center is yielding. Impossible to maneuver. Situation excellent. I am attacking!" Ferdinand Foch
Nemo06c
General Member
Since: Jul 23, 2006
Posts: 303
Last: Feb 9, 2010
[view latest posts]
Level 5
Category: CoD4 General
Posted: Tuesday, Feb. 9, 2010 10:48 am
You are following a wrong minimap tutorial or don't understand how to make it. You cut inside the white lines then you resize to 512x512. If your minimap corners are good you should see the entire map ( well what's cover by the minimap corners ).

edited on Feb. 9, 2010 10:48 am by Nemo06c
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 836
Last: Mar 14, 2010
[view latest posts]
Level 7
Category: CoD4 General
Posted: Tuesday, Feb. 9, 2010 12:10 pm
I agree with Rabbit here. Those tutorials are unclear or incorrect.

I find the easiest way to get the image to line up is to crop inside the minimap corners or white lines with no crop dimensions. So you are cropping it to the exact size of that box, but just inside those white border lines. (This is assuming you made your minimap corners an exact square.)

Then simply resize the largest side to 768 or 512.

That's it.



Nemo06c writes
Quote:
You are following a wrong minimap tutorial or don't understand how to make it. You cut inside the white lines then you resize to 512x512. If your minimap corners are good you should see the entire map ( well what's cover by the minimap corners ).

So, you are saying to crop inside the white lines. Then do an image resize of 512x512? You would lose image space by doing that, from the top and bottom. I don't see how you could ever get it to line up that way. Also, why wouldn't you resize it to 768x768 for better quality?
Or are you saying to make your crop dimensions 512x512 and then crop what you can from inside your image box? Cause I'm sure you are going to lose image space that way too.
P.C.Invasion
General Member
Since: Mar 22, 2005
Posts: 649
Last: Feb 11, 2010
[view latest posts]
Level 6
Category: CoD4 General
Posted: Tuesday, Feb. 9, 2010 12:16 pm
You can't resize to 768x512. It needs to be a power x2 image.

The white box drawn around your screenshot is going to be square. There is no getting around this. If you have a playable area the isn't square, you're just going to have to go as high as you can when you take your screenshot to encompass as much of your playable map as possible.
18Rabbit
Preferred Member
Since: Apr 12, 2009
Posts: 163
Last: Feb 18, 2010
[view latest posts]
Level 4
Category: CoD4 General
Posted: Wednesday, Feb. 10, 2010 02:38 pm
I've always clipped the image inside the white lines and resized to 512^2, this time I forgot, and it's the first time I have been happy with the accuracy.

It doesn't have to be a power of 2 image if you check "no tile", "bilinear", and "nopicmip" in asset manager. My current compass is at 937x937 pixels. It's awesome. Except the file size is 4MB, including an alpha channel, so I might knock that down some.

"Hard pressed on my right. My center is yielding. Impossible to maneuver. Situation excellent. I am attacking!" Ferdinand Foch
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 836
Last: Mar 14, 2010
[view latest posts]
Level 7
Category: CoD4 General
Posted: Wednesday, Feb. 10, 2010 03:55 pm
P.C.Invasion writes...
Quote:
You can't resize to 768x512. It needs to be a power x2 image.

The white box drawn around your screenshot is going to be square. There is no getting around this. If you have a playable area the isn't square, you're just going to have to go as high as you can when you take your screenshot to encompass as much of your playable map as possible.


I know you can't. [crazy] I said resize "just" the largest side only to 768 OR 512, the other side becomes relative. And it can be any number x2, it just needs to be relative.
vT-Ownage
General Member
Since: May 28, 2007
Posts: 476
Last: Mar 13, 2010
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 General
Posted: Wednesday, Feb. 10, 2010 04:18 pm
DeekCiti writes...
Quote:
P.C.Invasion writes...
Quote:
You can't resize to 768x512. It needs to be a power x2 image.

The white box drawn around your screenshot is going to be square. There is no getting around this. If you have a playable area the isn't square, you're just going to have to go as high as you can when you take your screenshot to encompass as much of your playable map as possible.


I know you can't. [crazy] I said resize "just" the largest side only to 768 OR 512, the other side becomes relative. And it can be any number x2, it just needs to be relative.


I would personally go with 2 congruent sides, if you went with 768 there might be a bit of distortion in the resized image which would have to be 512x512 or 1024x1024, thats my thoughts.
P.C.Invasion
General Member
Since: Mar 22, 2005
Posts: 649
Last: Feb 11, 2010
[view latest posts]
Level 6
Category: CoD4 General
Posted: Thursday, Feb. 11, 2010 12:39 am
18Rabbit writes...
Quote:
I've always clipped the image inside the white lines and resized to 512^2, this time I forgot, and it's the first time I have been happy with the accuracy.

It doesn't have to be a power of 2 image if you check "no tile", "bilinear", and "nopicmip" in asset manager. My current compass is at 937x937 pixels. It's awesome. Except the file size is 4MB, including an alpha channel, so I might knock that down some.


Thanks for the tip.
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 General