News:

Come Chat with us live! Learn how HERE!

Main Menu

Change layout in existing map

Started by rotacak, October 30, 2011, 08:30:45 PM

rotacak

Hi,

it is possible to change default layout in some map without .map file? If yes, how? (without decompiling)

/dev/humancontroller

either edit the spawn string in the .bsp file by hand (you may have to preserve the length), or save a layout and use g_layoutAuto 1.

Undeference

You can update the entities section in the compiled bsp with the changes you want, but that is really inconvenient to do by hand, so use the script that was used to insert location entities in the stock maps to be safe (first link—it will extract the entities section for you to more safely modify and update the bsp for you).
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

rotacak

Undeference: I tried your program, but I can't make it work. If I will export entities from ATCS and import them back without changes, bsp have different size than original and server will crash on map change  :'(

Undeference

Works for me. What did you try updating the entities section to?
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

rotacak

I want to add buildings.

When you export and import original layout, bsp size is same or different than original?

Undeference

The bsp may very well have a different size, but that doesn't matter. What does matter I don't know since you haven't told me anything useful. Post the new entities section and/or attach the bsp and maybe I can tell you what went wrong.
Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.

rotacak

Original 1.1 ATCS map with exported and imported entities (not changed anything, it will crash server): pk3
Original exported entities: original
My new entities: changed

I have newly installed 64bit Perl on windows 7.

Undeference

Need help? Ask intelligently. Please share solutions you find.

Quote from: tuple on February 15, 2008, 11:54:10 PMThats what we need, helpful players, not more powerful admins.