Map pk3 layout and information about .mapinfo

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 [-z-] » Sun Jul 27, 2008 8:35 pm

Have you checked out 'Docs/mapping.txt'?
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby Dokujisan » Sun Jul 27, 2008 9:24 pm

Ahh...

http://svn.icculus.org/nexuiz/trunk/Doc ... ortby=date

ok, so I see under the Advanced mapinfo section that you can do something like

Code: Select all
settemp_for_type ctf g_balance_laser_primary_force 200


Is there a limit on which cvars can be set through that? I assume it's only server-based settings, but other than that? In the meantime, I'll do some of my own testing to figure it out.
Dokujisan
Forum addon
 
Posts: 1199
Joined: Sat Oct 07, 2006 4:31 pm
Location: Louisville, Kentucky

Postby divVerent » Mon Jul 28, 2008 8:46 am

currently any cvar, but only on server side
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 Spaceman » Mon Aug 25, 2008 1:42 am

Some of the maps in the Multiplayer / Create menu don't display an image, yet when you open the maps PK3 you will usually find a suitable jpeg or tga inside it somewhere. Usually this image has the wrong name or is in an odd location. Could this location be added to the mapinfo?
Code: Select all
map_image = /map/foo/bar.jpeg

The following are the maps that I have without an image
    arboriabeta2
    aurora
    brokenworld_r2_s3over2
    ctctf6
    darkzone_nanlbeta2
    darkzoneNANLtest1
    dm_docs_deep_drill
    docs_deep_drill_insta
    facing_worlds_nex
    Figure8
    gasolinepowered_v1r1
    hightide
    mmkitch
    obscure
    test16
    thedojo
    thedojo_v1r2
    thedojo_v1r6
    thedojo_v1r7
    turret-0-rama
Spaceman
Alien trapper
 
Posts: 264
Joined: Tue Aug 28, 2007 10:53 am

Postby esteel » Tue Aug 26, 2008 6:02 pm

It worked similar like this in the old map system, but i think its better to not do things too complicated and as its only a few maps, those pk3 files should be fixed by renaming the images..Also even with the change you propose it would be necessary to change the pk3 files.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

good idea

Postby fabz0r » Wed Dec 17, 2008 3:23 am

nice one divv, I look forward to seeing it in the next release
fabz0r
Advanced member
 
Posts: 66
Joined: Fri Aug 15, 2008 1:03 am
Location: Australia

Postby divVerent » Wed Dec 17, 2008 7:00 am

mapinfo intentionally does not contain a path to the jpg, or anything else referring to the map's internal name (file names), so it is easy to rename a map (which was a LOT of work with the mapcfg system because of all the names everywhere... change the jpg names in all txt files, change the changelevel line in all mapcfg files... rename all files properly... ugh).

Also, most maps DO follow the convention jpg name = map name, so I simply decided to force this convention for all maps. It's not hard to rename a single jpg after all.
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 Gego » Sat Jul 18, 2009 12:52 pm

divVerent wrote:[...] CTF is reliably autodetected.[...]


no...
I made a CTF map, and I can not get it to do CTF...
tried:
Code: Select all
g_jetpack 1 #my map needs it
g_ctf 1
restart

but it did not work...
am I suppose to put that info in to the worldspawn?

the flag is /item/item_flag_team1 and .._team2?

how do i set so that the map starts with g_jetpack 1?
[Image
Image
Gego
Alien
 
Posts: 159
Joined: Wed Mar 01, 2006 4:39 pm

Postby morfar » Sat Jul 18, 2009 12:59 pm

Gego wrote:no...
I made a CTF map, and I can not get it to do CTF...

Not if you tested your map in Nexuiz BEFORE you added CTF entities (flags)!
Because the game auto-generated a .mapinfo in your data/data/maps/ folder without CTF support.
morfar
Site Admin
 
Posts: 938
Joined: Tue Feb 28, 2006 6:08 pm
Location: The Island

Postby Gego » Sat Jul 18, 2009 3:09 pm

thanx... that worked...
[Image
Image
Gego
Alien
 
Posts: 159
Joined: Wed Mar 01, 2006 4:39 pm

PreviousNext

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest