Tremulous Forum
Media => Mapping Center => Topic started by: rotacak on October 30, 2011, 09:30:45 pm
-
Hi,
it is possible to change default layout in some map without .map file? If yes, how? (without decompiling)
-
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.
-
You can update the entities section in the compiled bsp (http://betaserv.tk/hacks/updateentities) 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 (http://tremulous.net/forum/index.php?topic=15365.msg219582#msg219582) to be safe (first linkāit will extract the entities section for you to more safely modify and update the bsp for you).
-
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 :'(
-
Works for me. What did you try updating the entities section to?
-
I want to add buildings.
When you export and import original layout, bsp size is same or different than original?
-
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.
-
Original 1.1 ATCS map with exported and imported entities (not changed anything, it will crash server): pk3 (http://rotaxmame.cz/soubory/ruzne/bb.pk3)
Original exported entities: original (http://rotaxmame.cz/soubory/ruzne/layoutorg)
My new entities: changed (http://rotaxmame.cz/soubory/ruzne/layoutnew)
I have newly installed 64bit Perl on windows 7.
-
http://betaserv.tk/hacks/updateentities was updated and should work properly on Windows now
-
Thanx, now it is ok.