Themes

General talk about the map making process.
Post Reply
imzbest :)
Private First Class
Private First Class
Posts: 13
Joined: Thu Oct 20, 2005 1:30 am

Themes

Post by imzbest :) »

how can i make myself a theme??? Like on Grundex's server you can do
/theme list
/theme load
Image
Legolas_
Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ »

Im guessing you would need to have a vars.txt like file. If you open that theme it would set the vars to /set _mirror /set _skyColor and all that
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

He made a theme plugin, Im not 100% sure on how it works.

Ask him for it.

IMHO, themes suck, normal BZ is fine...
User avatar
Saber
Private First Class
Private First Class
Posts: 207
Joined: Tue Nov 01, 2005 9:27 pm
Location: ¨¨¨¨¨

Post by Saber »

You need themes on your server. You don't have to put many themes but you need the default one because polls can change everything and it's faster than setting everything back.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

Saber wrote:You need themes on your server. You don't have to put many themes but you need the default one because polls can change everything and it's faster than setting everything back.
There is no need to have a theme. It is just easier to do a /servershutdown, and when it comes back it will be the way it was originally configured. Also, disable permissions for '/poll set' and you will not have issues with people messing with your server variables (-pollSet if I am not mistaken).
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1405
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Post by Spazzy McGee »

errrmmm.... you forget basic wildcards

Code: Select all

/reset *
everything back to absolute, default, no arguments, normal.

If you want my advice i wouldn't allow your server admins/cops (and especially not the general public) the /set command. It gets way to much misuse, the the point at which it gets boring. I know far too many twelve-year-old-that's-just-discovered-set-command-trigger-happy-i-can-do-anything-because-i'm-an-admin type people.
"Life is what happens to you while you're busy making other plans." - John Lennon
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

Spazzy Mcgee wrote:errrmmm.... you forget basic wildcards

Code: Select all

/reset *
everything back to absolute, default, no arguments, normal.

If you want my advice i wouldn't allow your server admins/cops (and especially not the general public) the /set command. It gets way to much misuse, the the point at which it gets boring. I know far too many twelve-year-old-that's-just-discovered-set-command-trigger-happy-i-can-do-anything-because-i'm-an-admin type people.
That works.. cool, I didn't know that one. You learn something new everyday. And at my age you sometimes learn the samething everyday, but you just don't remeber you knew :p (I avoid servers where the admins are allowed/encouraged to use the /set command. )
User avatar
ramires_pl
Private First Class
Private First Class
Posts: 46
Joined: Tue May 02, 2006 3:15 am
Location: Europe, Poland, Gliwice
Contact:

Post by ramires_pl »

Help with rewiriting plugin source to osx/*nix version

i dont know how to do this

but i have a theme plugin source, so this should be ease for somebody which have how to knownledge :)
--
ramires
owner of bzflag.pl servers
@admin on some maps :)
Polish BZFlag forum, maps, tutorials and more
Polish MyApple e-store in devel version - Suggestions on pm
User avatar
macsforme
General
General
Posts: 2069
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme »

ramires_pl wrote:Help with rewiriting plugin source to osx/*nix version

i dont know how to do this

but i have a theme plugin source, so this should be ease for somebody which have how to knownledge :)
Most (all?) plugin code is cross-platform. Just compile it like normal.
User avatar
ramires_pl
Private First Class
Private First Class
Posts: 46
Joined: Tue May 02, 2006 3:15 am
Location: Europe, Poland, Gliwice
Contact:

Post by ramires_pl »

i will add as attachement this source, and u will see that compiling this arent possible.

It seems that one file is missing, so if is this possible to rewrite code thats will be great and next "official" plugin in package :)
--
ramires
owner of bzflag.pl servers
@admin on some maps :)
Polish BZFlag forum, maps, tutorials and more
Polish MyApple e-store in devel version - Suggestions on pm
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted »

First, just set the variables you want (/set _skyColor, etc)
Then, do

Code: Select all

/theme save [theme name]
Finally, to list and load the themes, do

Code: Select all

/theme list
and

Code: Select all

/theme load [theme name]
I belive thats how to do it. I might be off a little. But this can only be done on the servers with the theme plugin
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

The problem with /reset * is that it resets everything to default - period. Meaning, if you had options in the worldfile to have _wingsJumpCount 5, but then did /reset * to fix the theme you're talking about, it would reset the wings jump count back to 1. Same with all other variables. So if you have a completely normal configuration/settings...yeah, that'd work...
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1405
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Post by Spazzy McGee »

Since 2.0.8, BZFS takes the options in the map file as defaults for that map, so /reset * would reset to those settings.
"Life is what happens to you while you're busy making other plans." - John Lennon
Post Reply