Page 1 of 1

skyColorCTF and mirrorCTF

Posted: Tue Feb 21, 2006 9:42 am
by L4m3r
This idea was actually stolen from Tropican8, who achieved the same effect with using the Janitor plugin.

These, however, are two super-simple, load-and-forget plugins, whereas janitor is a bit more versatile and complex.

When a team captures a flag, skyColorCTF and mirrorCTF will change the sky color and mirror (respectively) to the color of that team. For instance, if Red team capures a flag, the sky and/or ground (depending on which ones yo use) will turn red.

If a player captures his or her own flag, the sky/mirror will turn black.

These plugins are just a quickie, but a neat effect I thought would be worth having. Enjoy. ;) My server (l4m3r.servegame.com:4200) is running skyColorCTF if you want to see a demo.

EDIT: Credit also goes to Meacan, who according to Trop was the first person to come up with this idea.

Posted: Tue Feb 21, 2006 10:00 pm
by Tropican8
Can you set the Colors for each team? In 4-team CTF some of them look off unless you do darkred, darkgreen, darkblue, and purple (not dark).

Posted: Tue Feb 21, 2006 10:29 pm
by L4m3r
I tested them all and they looked OK on my end. If you prefer different colors, you can change the source (it's pretty easy to read). just change what it assigns the variable newcolor to- say, from green to darkgreen.

IMO the only one that looks weird is purple... looks more blue to me.

Posted: Tue Feb 21, 2006 10:35 pm
by Winny
sound like it would be hard on the eyes, but cool never the less.

Posted: Tue Feb 21, 2006 10:37 pm
by L4m3r
Win Xp wrote:sound like it would be hard on the eyes, but cool never the less.
I don't think it's so bad with skyColor, but yeah, if you use mirror (or both) it can be that way.

Posted: Wed Feb 22, 2006 12:35 am
by Tropican8
Win Xp wrote:sound like it would be hard on the eyes, but cool never the less.
L4m3r wrote:IMO the only one that looks weird is purple... looks more blue to me.
Those were the two reasons I used dark colors. They look so much better and it separates blue and purple IMHO.

Posted: Wed Feb 22, 2006 12:38 am
by Legolas_
not bad, I do hope you have some credit input there for the original idea. maybe you could put in the file, a Credits.txt file?


Other than that, it works fine, thx for the plugin

Posted: Wed Feb 22, 2006 12:42 am
by Tropican8
EDIT: Double Post

Posted: Wed Feb 22, 2006 12:46 am
by Tropican8
L4m3r wrote:This idea was actually stolen from Tropican8, who achieved the same effect with using the Janitor plugin.
Meacan had the original idea to use Janitor that way. Its even in his Janitor documentation as an example of how to write Janitor scripts. I just used it on my server (and was the 1st to to the best of my knowledge.)

I'll take full credit for using Janitor as an insulter though. I'm pretty sure I thought that one up on my own.

Posted: Wed Feb 22, 2006 12:53 am
by Matt?
sounds cool, i think it would be best for 2 team ctf because you get reminded of who just owned you, which makes you more into capping the flag

Posted: Wed Feb 22, 2006 12:57 am
by L4m3r
Ok, I added a note to the first post for Meacan.

This plugin is so simple that it does not warrant documentation in my opinion, much less an author credit, and thus lacks both... but I certainly give props for the idea. ;)

Posted: Fri Feb 24, 2006 1:46 am
by temporal distraction
Here are mac builds. OSX 10.4.5 so YMMV if you try this with other systems.

Have fun!

Posted: Fri Feb 24, 2006 5:01 pm
by [dmp]
Tropican8 wrote:Meacan had the original idea to use Janitor that way. Its even in his Janitor documentation as an example of how to write Janitor scripts.
A guy was on #bzflag who asked if it was possible to change skycolor after capturing. And as I was working on Janitors features to change vars according to events, this seemed like a perfect example to show off.

But the idea itself wasn't mine.


And Tropican8, I'm gonna try to debug janitor soon as i get my dev environment up again (harddisk crash is so counter-productive :( )

Posted: Sat Feb 25, 2006 12:47 am
by Tropican8
meacan wrote:And Tropican8, I'm gonna try to debug janitor soon as i get my dev environment up again (harddisk crash is so counter-productive :( )
Yay, I'll be around to test it once you get things worked out.

Re: skyColorCTF and mirrorCTF

Posted: Sun Jul 17, 2011 8:09 pm
by allejo
plugins updated to 2.4