b_campaignFile and server.cfg etc.
Moderators: Forum moderators, developers
b_campaignFile and server.cfg etc.
Ok some noob question just to get it right:
We are trying to configure our server so some problems :
Now we have server.cfg , campaigncycle.cfg and xxx_campaign.cfg in our ETmain.
Everything works fine with that!
Also ET Promapscripts are enabled and are working fine!
So now we wanna use the b_campaignfile...
So:
b_campaignFile "scripts/xxx.campaign" into the server.cfg inside our etmain will do it?
Right?
So i have to rename xxx_campaign.cfg to xxx.campaign?
Right?
And copy it to /etpro/scripts/ or to etmain/scripts/ ???
And what about the campaigncyle?
Thx help
We are trying to configure our server so some problems :
Now we have server.cfg , campaigncycle.cfg and xxx_campaign.cfg in our ETmain.
Everything works fine with that!
Also ET Promapscripts are enabled and are working fine!
So now we wanna use the b_campaignfile...
So:
b_campaignFile "scripts/xxx.campaign" into the server.cfg inside our etmain will do it?
Right?
So i have to rename xxx_campaign.cfg to xxx.campaign?
Right?
And copy it to /etpro/scripts/ or to etmain/scripts/ ???
And what about the campaigncyle?
Thx help
Re: b_campaignFile and server.cfg etc.
Nogimli wrote:b_campaignFile "scripts/xxx.campaign" into the server.cfg inside our etmain will do it?
Right?
Also Nogimli wrote:So i have to rename xxx_campaign.cfg to xxx.campaign?
Right?
Guess what? NO!gimli wrote:And copy it to /etpro/scripts/ or to etmain/scripts/ ???
what is with it ?gimli wrote:And what about the campaigncyle?
OK, to say it clearly:
1. If you use etpro your server.cfg belongs to the etpro directory
2. If you set cvars in the serverconfig always do it as this:
Code: Select all
set b_cvarname "value"
I suggest searching the forum for a good thread on how to build campaigns
The files have to be packed in a separate pk3 file
maybe just join a server and check outtheir campaig files.
campaignfile isn´t a problem!
I have a working xxx_campaign.pk3 with a working campaigncycle!
And server is working with that configuration with campaigncycle and campaign.ok3 inside of etmain folder!
I only wanna use the b_campaignfile so that people don´t have to download 60mb of mapfiles in the beginning!
BTW: IRC ? #flying-v-clan
I have a working xxx_campaign.pk3 with a working campaigncycle!
And server is working with that configuration with campaigncycle and campaign.ok3 inside of etmain folder!
I only wanna use the b_campaignfile so that people don´t have to download 60mb of mapfiles in the beginning!
BTW: IRC ? #flying-v-clan
I've no idea what Deus said
fwiw server.cfg can go in either etmain or etpro folder, and the
b_campaignFile "scripts/xxx.campaign"
thing is exactly what's written in other threads
for custom campaign see
http://www.filoseta.org/et/autopk/choose.html or
http://www.rtcw.jolt.co.uk/content/enem ... aigns.html
^ this does not change when using b_campaignFile, it's still a .pk3 file, the path inside the .pk3 file is the "scripts/xxx.campaign".
fwiw server.cfg can go in either etmain or etpro folder, and the
b_campaignFile "scripts/xxx.campaign"
thing is exactly what's written in other threads
for custom campaign see
http://www.filoseta.org/et/autopk/choose.html or
http://www.rtcw.jolt.co.uk/content/enem ... aigns.html
^ this does not change when using b_campaignFile, it's still a .pk3 file, the path inside the .pk3 file is the "scripts/xxx.campaign".
You can have all of the campaigns in one campaign file, you just set the b_campaignfile like this for example:hiro wrote:b_campaignFile "scripts/xxx.campaign;scripts/yyy.campaign;scripts/zzz.campaign"
or is there another way to do it?
b_campaignfile "scripts/aaa.campaign"
Code: Select all
{
name "XXX"
shortname "xxx"
description "This is campaign XXX"
maps "supplydepot2;oasis;sw_goldrush_te"
mapTC 374 374
type "wolfmp"
}
{
name "YYY"
shortname "yyy"
description "This is campaign YYY"
maps "battery;railgun;radar"
mapTC 374 374
type "wolfmp"
}
{
name "ZZZ"
shortname "zzz"
description "This is campaign ZZZ"
maps "fueldump;goldrush"
mapTC 374 374
type "wolfmp"
}
But what if I wanted use a number of existing campaigns in indvidual pk3s? It's not something I'm planning on doing but I've always been curious and never had an opportunity to properly test.
Obviously creating new campaigns like the above example is the way to go, but I was thinking in terms where it's not possible to upload a new pk3 file at short notice (we have a unique web based interface to our servers & have to log support jobs to get files added). However you have given me an idea for something else
sorry for hijacking this thread, carry on...
Obviously creating new campaigns like the above example is the way to go, but I was thinking in terms where it's not possible to upload a new pk3 file at short notice (we have a unique web based interface to our servers & have to log support jobs to get files added). However you have given me an idea for something else
sorry for hijacking this thread, carry on...
Well I guess you can use the opportunity to perform a clean-up of your server: consolidate all those campaigns into one big .campaign, remove all small pk3s, create a new pk3 containing that campaign file and other stuff like e.g. new shaders or sounds or whatever and put it in the etpro folder.hiro wrote:Obviously creating new campaigns like the above example is the way to go, but I was thinking in terms where it's not possible to upload a new pk3 file at short notice (we have a unique web based interface to our servers & have to log support jobs to get files added). However you have given me an idea for something else
This gives one clean download for people connecting to your server, much better than having to download tons of little PK3s.
By having the consolidated view on the campaigns you can also clean up unused maps on your server since the less PK3s on the server, the better.
Our servers now run on 64 bit steroids. Point your ET to:
- Forgotten Ground StopWatch Server with occasional wolfrof 1
- Fraggle Rock ETPub Server - Mix up ET/UT & Duke Nukem
- Forgotten Ground StopWatch Server with occasional wolfrof 1
- Fraggle Rock ETPub Server - Mix up ET/UT & Duke Nukem
server.cfg for etpro CAN go in etmain, but it belongs to etpro.DG wrote:I've no idea what Deus said
fwiw server.cfg can go in either etmain or etpro folder, and the
b_campaignFile "scripts/xxx.campaign"
thing is exactly what's written in other threads
set b_campaignfile "scripts/filename.campaign" is indeed right but it does not belong to the server.cfg in etmain !!!
hope everything is clear now
Out of curiosity, you say 'belongs to etpro' and 'does not belong to the server.cfg' Does this mean that the 'b_campaignfile' setting goes in the server.cfg in etpro?server.cfg for etpro CAN go in etmain, but it belongs to etpro.
set b_campaignfile "scripts/filename.campaign" is indeed right but it does not belong to the server.cfg in etmain !!!
yoru just taking the piss now
set b_campaignfile "scripts/filename.campaign"
should be a line in the server.cfg, wether server.cfg is kept in "etmain" or "etpro" folders.
There should not be any filename.campaign file anywhere, except for stored within the filename.pk3 file. A .pk3 file is a .zip file renamed.
set b_campaignfile "scripts/filename.campaign"
should be a line in the server.cfg, wether server.cfg is kept in "etmain" or "etpro" folders.
There should not be any filename.campaign file anywhere, except for stored within the filename.pk3 file. A .pk3 file is a .zip file renamed.
yesbooger wrote:Out of curiosity, you say 'belongs to etpro' and 'does not belong to the server.cfg' Does this mean that the 'b_campaignfile' setting goes in the server.cfg in etpro?server.cfg for etpro CAN go in etmain, but it belongs to etpro.
set b_campaignfile "scripts/filename.campaign" is indeed right but it does not belong to the server.cfg in etmain !!!
I guess, everyone does it a little bit different.
I have a etpro.cfg in the etpro directory and a server.cfg in etmain (which i use for shrub, etpro, whatever i use). I have a exec etpro.cfg at the end of my server.cfg to load the mod specific settings.
greets
Mark
I have a etpro.cfg in the etpro directory and a server.cfg in etmain (which i use for shrub, etpro, whatever i use). I have a exec etpro.cfg at the end of my server.cfg to load the mod specific settings.
greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!