Remove Campaigns from vote menu

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

Moderators: Forum moderators, developers

Post Reply
User avatar
gjrc
Posts: 153
Joined: Fri Sep 17, 2004 3:24 am

Remove Campaigns from vote menu

Post by gjrc »

hi,


i want to remove north africa and central europe from the campaign vote menu is there any way i can do this?



thanks


g
Image
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

b_campaignfile
iirc
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

i dont think that chances the vote system'

u can nake the clients downlaod a .pk3 that fooks up those 2 campaings
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Re: Remove Campaigns from vote menu

Post by Deus »

gjrc wrote:hi,


i want to remove north africa and central europe from the campaign vote menu is there any way i can do this?



thanks


g
the only way AFAIK is to take them out of the pk3 what makes no sense.
User avatar
deej
Posts: 743
Joined: Fri Mar 19, 2004 12:44 am
Location: Belgium!
Contact:

Post by deej »

b_campaignfile leaves them voteable but when voted nothing will happen.

There's no way they are actually remove them from the menu.
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
[MoB]Seany
Posts: 163
Joined: Thu Aug 05, 2004 9:57 am

Post by [MoB]Seany »

yeah, they are builtin to the game, i dont think you can remove them from the menu, perhaps messin with actual files so the server can't run it, but, I think it'd still be on the menu
[MoB]

NetNut: "I never cheat on a FPS game, but i will use my aimbot for Minesweeper or Solitare."
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

You could actually "overwrite" them with a new .pk3.
The new .pk3 file should contain the files:
\scripts\centraleurope.campaign
\scripts\northafrican.campaign

Do empty .campaign files work w/o an error?
If not, you need to replace the content with your own campaigns.
The Emperor watch over you.
User avatar
Bartichello
Posts: 79
Joined: Tue May 17, 2005 5:11 am

Post by Bartichello »

make a campaignfolder wich does not inclmude those campaigns so they are not on the server?
Image
User avatar
deej
Posts: 743
Joined: Fri Mar 19, 2004 12:44 am
Location: Belgium!
Contact:

Post by deej »

Bartichello wrote:make a campaignfolder wich does not inclmude those campaigns so they are not on the server?
They are built-in in pak0.pk3 so whatever you do they'll always show up. Setting b_campaignfile to your.campaign file just makes them non-executable when being callvoted.

If you REALLY want to get rid of them, remove them from pak0.pk3 and put that up for download for your players when they connect to your server :twisted:.
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
Nail
Posts: 425
Joined: Fri Jan 02, 2004 3:47 pm
Contact:

Post by Nail »

and hope your players don't mind a 2 hr download before they can play
Improvise, Adapt, Overcome
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

I created a .pk3 file which removes (or better: 'disables') the stock campaign files. It works as I described above. To get it work place the .pk3 file into the etmain subfolder of your server.
Download (named "remove_stock_campaigns.pk3", file size 384 bytes :D).
The Emperor watch over you.
User avatar
deej
Posts: 743
Joined: Fri Mar 19, 2004 12:44 am
Location: Belgium!
Contact:

Post by deej »

Ragnar_40k wrote:I created a .pk3 file which removes (or better: 'disables') the stock campaign files. It works as I described above. To get it work place the .pk3 file into the etmain subfolder of your server.
Download (named "remove_stock_campaigns.pk3", file size 384 bytes :D).
It doesn't disable them, it allows them to be there, be voted and executed and upon execution do nothing :roll:. Not the most aestethic solution , it's just a hack.

If you put all of your campaigns in one .campaign file, and reference that with b_campaignfile, you achieve the same objective with only one PK3 for your clients to download. This way of working is cleaner and much more manageable for the admin. Otherwise you would have an abundance of PK3 campaign buckets for players to download and you to keep track off.
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
gjrc
Posts: 153
Joined: Fri Sep 17, 2004 3:24 am

Post by gjrc »

hmmm
thanks for your replys


seems like its more trouble than its worth



i think i can live with it

:D


cheers

:)
Image
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

deej wrote:It doesn't disable them, it allows them to be there, be voted and executed and upon execution do nothing :roll:. Not the most aestethic solution , it's just a hack.
For me it works. I created a server with etded (on a clean installation with remove_stock_campaigns.pk3 added) and connected to it - no stock campaign files available to vote for.

Maybe you have some other .pk3-files which interfere with my .pk3. Search for .pk3 files that contain .campaign files. One (or more) of these files may contain the line

Code: Select all

name "North Africa"
resp.

Code: Select all

name "Central Europe"
The Emperor watch over you.
McNite
Posts: 63
Joined: Tue Jan 11, 2005 10:18 am
Contact:

Post by McNite »

Ragnar you r my hero lol. I tried your anti-campaign-vote-file and it works fine. Thx a lot.

Btw... i think you played UT sometimes (according to your name) :wink:

edit: this only works if there were not stupid campaignfiles inside map-pk3's like it was a funny custom in the beginning of ET... only way around that I think is to get rid of the maps that have such campaignfiles in the pk3.
Post Reply