* May 19, 2013, 04:37:52 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Change layout in existing map  (Read 658 times)
rotacak


Turrets: +39/-64
Posts: 761


« on: October 30, 2011, 08:30:45 PM »

Hi,

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

/dev/humancontroller


Turrets: +19/-375
Posts: 853


« Reply #1 on: October 30, 2011, 08:51:30 PM »

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.
Logged
Undeference
Tremulous Developers
*

Turrets: +122/-45
Posts: 1207


Ingar and carry on.


WWW
« Reply #2 on: October 30, 2011, 09:00:04 PM »

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).
Logged

Need help? Ask intelligently. If you find a solution on your own, please share it so others can benefit.

Thats what we need, helpful players, not more powerful admins.
Looking for more Tremulous maps?
rotacak


Turrets: +39/-64
Posts: 761


« Reply #3 on: October 31, 2011, 10:36:02 PM »

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  Cry
Logged

Undeference
Tremulous Developers
*

Turrets: +122/-45
Posts: 1207


Ingar and carry on.


WWW
« Reply #4 on: November 01, 2011, 01:03:53 AM »

Works for me. What did you try updating the entities section to?
Logged

Need help? Ask intelligently. If you find a solution on your own, please share it so others can benefit.

Thats what we need, helpful players, not more powerful admins.
Looking for more Tremulous maps?
rotacak


Turrets: +39/-64
Posts: 761


« Reply #5 on: November 01, 2011, 07:44:05 AM »

I want to add buildings.

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

Undeference
Tremulous Developers
*

Turrets: +122/-45
Posts: 1207


Ingar and carry on.


WWW
« Reply #6 on: November 01, 2011, 10:02:37 AM »

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.
Logged

Need help? Ask intelligently. If you find a solution on your own, please share it so others can benefit.

Thats what we need, helpful players, not more powerful admins.
Looking for more Tremulous maps?
rotacak


Turrets: +39/-64
Posts: 761


« Reply #7 on: November 01, 2011, 05:49:24 PM »

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.
Logged

Undeference
Tremulous Developers
*

Turrets: +122/-45
Posts: 1207


Ingar and carry on.


WWW
« Reply #8 on: November 02, 2011, 03:13:18 AM »

http://betaserv.tk/hacks/updateentities was updated and should work properly on Windows now
Logged

Need help? Ask intelligently. If you find a solution on your own, please share it so others can benefit.

Thats what we need, helpful players, not more powerful admins.
Looking for more Tremulous maps?
rotacak


Turrets: +39/-64
Posts: 761


« Reply #9 on: November 02, 2011, 09:35:22 PM »

Thanx, now it is ok.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!