Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
alright, well i just added a bunch of surf maps to my server... cuz there fun, but most of them don't have nav files.. which is ok bots suck on surf maps anyways, BUT i run bots constantly on my server.. well 4 anyways.. just to get ppl in there, so i made a cfg file for each map, with like the sv_airaccelerate, and higher grav (cuz i run low grav) and stuff like that, and bot_kick, so that there won't be any bots, cuz all they do is sit there, and cause no one to be able to join when an admin isn't there. thats all fine, the only problem, is IT STILL CREATES THE NAV FILE, if theres not one. and on some surf maps.. it takes foreverrr... so i was wondering if there was a cvar or something that disables the nav autocreate function or something. i tried lookin around the cvar list i have, and didn't find anything, butt thats a huge list so im not surprisd lol. anyways ill keep lookin but if anyone knows anything.. help would be much appreciated.
Posts: 463
Threads: 12
Joined: Jul 2005
Reputation:
0
I forget the CVAR (if there is one) but what I would do is let it run and make the NAV files. Then create .res files so clients can download the Nav files. That way you will be able to help spread maps better. I would go ahead and make the NAV files if I were you.
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
ahhh yea yea yea.. but on some surf maps it takes like hours to create nav files.. its horrible.. lol.
and nav files are downloaded to clients automatically. they don't need a res.. cuz for the hundreds of other nav files i have had to make for other custom maps, they have all just automatically downloaded without a res file at all.
Posts: 463
Threads: 12
Joined: Jul 2005
Reputation:
0
I always make a res :S, guess its just me then. I also use the .res for clients to download the actual .res file
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
lol.. but if i was to do that for all the maps.. oh my.. it would take me like alll day...
Posts: 463
Threads: 12
Joined: Jul 2005
Reputation:
0
Well sorry bout that :S We have only 5 custom maps on our server.
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
lol.. yea. hmm.. i think i have about 300... sooo yea.. oh well anyways.. thats why i really want resgen to work with source, cuz a lot of the maps don't have res files at all.. and i know that some of them don't download right.
does anyone know of a program, or utility simular to resgen, in that you can tell it the map directory, and it will search all the materials models and sounds, and make a res file for each map.
Posts: 463
Threads: 12
Joined: Jul 2005
Reputation:
0
No but here is what I do....
ok make 1 resfile and call it "basic.res"
Then inside the .res file add this:
Code:
"resources"
{
"maps\basic.bsp" "file"
"maps\basic.nav" "file"
"maps\graphs\basic.ain" "file"
"maps\basic.res" "file"
}
Then when you are ready to make a res file for lets say map "aim_map2" first copy the basic.res and repast it in your maps folder. Then rename tne copy to aim_map2.res. After that open it in wordpad and then click "Edit" and go to "Replace (or ctrl+h for a shortcut). place the basic word in the "Find what:" form and then place the aim_map2 into the "Replace with:" Form. Then click the Replace All button and you will then get this:
Code:
"resources"
{
"maps\aim_map2.bsp" "file"
"maps\aim_map2.nav" "file"
"maps\graphs\aim_map2.ain" "file"
"maps\aim_map2.res" "file"
}
Thats how I did it for a server that had about 25 custom maps. I was done quickly and kept the basic.res file for my own use. Thats the best way to approach it without having to get a program made.
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
yea, but that doesn't get all the materials and stuff.. thats the main thing i care about.. cuz really, when somone downloads the map it already looks for the bsp, nav, ain, res, and the txt file with the map name, the only thing you really have to tell it to download as well is the materials, models, sounds, and stuff like that.
yea that would give a great basic res file, but really doesn't even touch what a res files really for...
Posts: 463
Threads: 12
Joined: Jul 2005
Reputation:
0
Materials oof, that should be bziped inside the bsp. ><
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
that has to be done when the map is made... and usually is not...
Posts: 380
Threads: 9
Joined: Jan 2005
Reputation:
0
if you search the forums here, someone posted a link to a .res file generator. just drag the map onto the generator, and it'll spit out a .res file for you
United Strike Marine Corps
USMC-CO| θ (theta)
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
i think i remember seeing it.. and it was for hl maps.. not source.. cuz i think thats how i found out about resgen.. and i have talkd to the guy makin that, and he said he doesn't even own any source games yet.. lol. but ill search to see.
Posts: 29
Threads: 3
Joined: Sep 2005
Reputation:
0
i'm also looking for a way to disable the auto .nav create function...
does anyone know how to do this?
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
lol.. i still don't know how to do this, but what i started to do is just made a cfg file for each map using this handy scipt someone submitted to me, telling it to exec a bot.cfg file for each map, and then in the server.cfg file i put bot_kick, so that after every map it kicks all bots, and then if the map has a nav file, it would execute this file for the map config, and that would have the exec bot.cfg.. the way i did it that way is so that if i want to change anything about the bots.. its one file.. instead of the hundreds of maps i have.
if you want the exact details on how i did this.. just let me know.. and ill post the script with step by step directions.
|