Use the same .bsp for OBJ and DM?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Use the same .bsp for OBJ and DM?

Post by Bjarne BZR »

I've re-worked the .scr file for obj/vemork_factory_small into a DM version by scripting away all objectives ( exploderchunk's, explodersmashed's, exploderfire's, models and triggers ).

Now I wonder if it is possible to ship a .pk3 with both the maps/dm/vemork_factory_small.scr AND the maps/obj/vemork_factory_small.scr with out also shipping two identical maps/dm/vemork_factory_small.bsp AND maps/obj/vemork_factory_small.bsp :?:

It would feel better to just add a 5kb script and skip the two identical .bsp files...
Admin .MAP Forums
Image
Head above heels.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Yes, one obj folder and one dm folder, or maybe try to rename one to "vemork_factory_small_dm", but if you're using the old obj map, chances are that someone may see the explosive.
Live to map, not map to live.
-mohaa_rox, .map
moderator
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Maby I was unclear:

I have 2 separate .scr files: maps/dm/vemork_factory_small.scr AND the maps/obj/vemork_factory_small.scr

They both work on the original objective .bsp file ( the DM version .scr scripts the objectives out of existence ).

I dont want to make two separate .pk3:s
and
I dont want 2 identical .bsp files in one .pk3 ( one original and one in another directory or renamed )

I DO want: the .pk3 to contain the two .scr files and ONE .bsp file. And with only this .pk3 in the main directory, be able to play both the OBJ and the DM versions.
Admin .MAP Forums
Image
Head above heels.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Should be able to, maybe just rename one to _dm/_obj just in case.
Live to map, not map to live.
-mohaa_rox, .map
moderator
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm maybe you could make some kind of 'dummy bsp' (one in the dm and one in the obj folder) and make the script file switch maps to your real bsp.

Inconvenient though :?.
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Well, that sounds like a possible way to acieve what I want.... if it CAN be done by scripting that is... can it?
Admin .MAP Forums
Image
Head above heels.
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

Maybe the script thing could work but basically YES, you should have one bsp and scr in the dm folder and one in the obj folder (even if they are the same).

Without a bsp in the folders the map won't turn up when you select the game type!
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

g_allclasses.html wrote: bsptransition( String next_map )
Transitions to the next BSP. Keeps player data, and game data.
Never tried it.
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Ohhh cool, have to try it then :-)

Thanx for not yelling "RTFM!" at me... :wink:
Admin .MAP Forums
Image
Head above heels.
Post Reply