b_campaignFile and server.cfg etc.

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

gimli
Posts: 10
Joined: Thu Aug 05, 2004 1:36 am

b_campaignFile and server.cfg etc.

Post by gimli »

Ok some noob question just to get it right:

We are trying to configure our server so some problems :wink: :

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
:wink:
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Re: b_campaignFile and server.cfg etc.

Post by Deus »

gimli wrote:b_campaignFile "scripts/xxx.campaign" into the server.cfg inside our etmain will do it?
Right?
No
gimli wrote:So i have to rename xxx_campaign.cfg to xxx.campaign?
Right?
Also No
gimli wrote:And copy it to /etpro/scripts/ or to etmain/scripts/ ???
Guess what? NO!
gimli wrote:And what about the campaigncyle?
what is with it ?

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"
3. If you want to make a customcampaign you need to make a copy of an exitsing one and edit it.
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.
gimli
Posts: 10
Joined: Thu Aug 05, 2004 1:36 am

Post by gimli »

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

:wink:
DG
Posts: 513
Joined: Thu Jul 24, 2003 4:16 am

Post by DG »

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".
User avatar
hiro
Posts: 233
Joined: Wed Sep 24, 2003 5:17 pm
Location: au
Contact:

Post by hiro »

I have another question about the b_campaignfile setting. What does one enter if the rotation config has multiple campaigns? all of them like this?

b_campaignFile "scripts/xxx.campaign;scripts/yyy.campaign;scripts/zzz.campaign"

or is there another way to do it?
User avatar
antman
Posts: 29
Joined: Mon Feb 09, 2004 7:54 am
Location: Afreuropamericasiaustralica
Contact:

Post by antman »

hiro wrote:b_campaignFile "scripts/xxx.campaign;scripts/yyy.campaign;scripts/zzz.campaign"

or is there another way to do it?
You can have all of the campaigns in one campaign file, you just set the b_campaignfile like this for example:
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"
}
Prometheus swept down from the heavens bringing the gift of fire.
Wrong move.

antman's etpro stuff
User avatar
hiro
Posts: 233
Joined: Wed Sep 24, 2003 5:17 pm
Location: au
Contact:

Post by hiro »

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...
User avatar
deej
Posts: 743
Joined: Fri Mar 19, 2004 12:44 am
Location: Belgium!
Contact:

Post by deej »

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 :)
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.

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
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Post by Deus »

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 :?
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 !!!

hope everything is clear now :)
booger
Posts: 119
Joined: Wed Mar 24, 2004 12:05 am

Post by booger »

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 !!!
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?
Image
DG
Posts: 513
Joined: Thu Jul 24, 2003 4:16 am

Post by DG »

yoru just taking the piss now :P

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.
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Post by Deus »

booger wrote:
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 !!!
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?
yes
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

i put mine in:
etmain/etpro.cfg
all my cfg's are in etmain (except map specific ones)
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

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
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
booger
Posts: 119
Joined: Wed Mar 24, 2004 12:05 am

Post by booger »

thank you.
Was the caampaignfile setting put in to allow the server NOT to reference certain campaigns if they were in multiple pk3's?
I'm still surprised at the way a lot of questions get answered here.
Image
Post Reply