Jump to content

Home

Making the engine recognize a map as a Duel map


DaviJade

Recommended Posts

Posted

Okay I have a level made (just need to finalize textures, lights, etc.), I have two info_player_deathmatch entities, the level is named duel_resurrect, and I have a resurrect.arena file in my scripts folder, but I can't get the engine to recognize it as a duel map. Do I need to add a key and value to the worldspawn for the resurrect.arena? Am I missing something?

 

Ideas, advice, and comments would be appreciated.

Posted

I know, that's why I said it was a dumb question. Every once in a while I name something incorrectly or misspell something and it winds up biting me on the butt. I also sometimes assume that I named something correctly and then someone says, "did you..."

I was just trying to "be that guy."

Posted

When I test my maps I use the method that was posted in the readme.txt file that came with the editor:

 

To bring down the console and set sv_pure to 0 and devmap duel_resurrect. It didn't go into duel mode that way.

 

But I did the normal routine and selected the map and it went to duel mode, however my music didn't work lol.

Posted

I'm pretty certain that the duel mode is not a function of the map itself based on the info in the editor so as noted before you should select that gametype as duel and I would assume the map will work fine.

Posted

Ok, I'm going to look it up- up to then I'll explain how it should be: The duel-mode is set in the .arena file. I am looking into it asap and will hopefully then post here how to do it. Just give me a minute!

 

EDIT: Hmm, strange- there are no arena-files in the assets... If anyone has an idea: I would be happy to know!

Posted

open the carbon freezer pk3 and check the script from there, like i did - modify it as it serves you best and off you go, you have a duel map :)

Posted

Well everything is working as it should be now. I forgot for a moment that the music would not play when sv_pure was set to 1. Anyways, all is well and thanks for advice, criticism, help, etc...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...