Minimap for radar

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Postby torus » Fri Oct 03, 2008 8:23 pm

Is that... a minimap? Can you create a thread on how to add minimap data to a new map?

(on topic)

This seems really fun :D. Hopefully some servers will host it.
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby divVerent » Fri Oct 03, 2008 8:37 pm

The feature is not finalized yet. But they are currently generated by "sv_cmd roughmap" on a svn server, then opening the resulting .xpm file in a image editor, and applying the convolution matrix

-1 -1 -1
-1 9 -1
-1 -1 -1

(a strong sharpener).
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby torus » Fri Oct 03, 2008 8:39 pm

That probably wouldn't work on the map I'm creating, considering it's made of quite complex static models. Would it be possible to make my own image, convert it to .xpm, and include it in my map?
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby divVerent » Fri Oct 03, 2008 8:50 pm

Actually, you save as tga. And no, you can't make it COMPLETELY on your own, as the mapping (size) must be exact. Best way is to first generate the autogenerated image (the xpm), then move/resize your own picture so it matches the .xpm, and save the result as tga.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby torus » Fri Oct 03, 2008 8:57 pm

Sounds good :D. How do you recommend I represent areas of overlapping geometry (when seen in plan view)? For example, two areas with the same x-z coords, but on two different locations in the y. For the sake of consistency, I think there should probably be a standard...


Sorry to derail your topic...
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby divVerent » Fri Oct 03, 2008 9:21 pm

No idea. There is no standard for that yet. I'd use different levels of brightness for that, but do what you prefer.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby torus » Fri Oct 03, 2008 9:25 pm

Great. Does the map show friendly units, enemies, or neither?
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby divVerent » Fri Oct 03, 2008 9:26 pm

Friendly players, and waypoints.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby torus » Sat Oct 04, 2008 5:39 pm

Idea: How about for old maps, or ones that haven't had a minimap generated for them, that we use a default "radar" image? It would look much better than the current checkered gray square.
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby divVerent » Sat Oct 04, 2008 6:34 pm

If there is any way to detect that from CSQC code, yes. Or just no background (just black picture with player arrows).
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Next

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron