Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)spree plugin urt
Pages: [1]   Go Down
  Print  
Author Topic: spree plugin urt  (Read 2311 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: UrT
Posts: 13
Offline Offline
« on: April 11, 2010, 02:51:25 AM »

hi, frist my english is very bad  Undecided

i have a little wish for the spree plugin...

i want to see only the last 2 messages "godlike" and "unstoppable" in bigtext.


i hope anyone can help me

greetings
Tira
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: April 11, 2010, 03:35:40 AM »

Hi Tiracon,
Welcome here  Smiley

the spree plugin does not offer any setting to display messages as bigtext.
However, some guys did succeeded in changing the normal text into a bigtext for other plugins.
Try to do a similar change in your plugin code.
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: UrT
Posts: 13
Offline Offline
« Reply #2 on: April 11, 2010, 05:54:57 AM »

Quote
def show_message(self, client, victim=None, message=None):
        """\
        Replace variables and display the message
        """
        if (message != None) and not (client.hide):
            message = message.replace('%player%',client.name)
            if victim:
                message = message.replace('%victim%',victim.name)
            self.console.say(message)

i think this is the part to show the spree ingame.

Quote
self.console.write(message)

my trys are
self.console.write ('bigtext' (message))
self.console.write (bigtext message)
self.console.write bigtext (message)
self.console write ('bigtext message')
dont work ;(

do you have a tip for me?

thx
Tira
« Last Edit: April 11, 2010, 06:06:52 AM by Tiracon » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: April 11, 2010, 06:09:47 AM »

I would replace
Code:
self.console.say(message)
with something like
Code:
self.console.write('bigtext "%s"' % message)

(untested)
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: UrT
Posts: 13
Offline Offline
« Reply #4 on: April 11, 2010, 07:32:27 AM »

YES! it works now for all messages! Thanks!

now, its extremely difficult (for me) that only 2 messages show on bigtext (godlike & unstoppable) this one is very important for me...

i think your link can't help.
Logged
Jr. Member
**
OS: Linux
Type: --No B3 installed--
Gameservers: UrT
Posts: 10
Offline Offline
« Reply #5 on: April 13, 2010, 04:31:11 PM »

now, its extremely difficult (for me) that only 2 messages show on bigtext (godlike & unstoppable) this one is very important for me...
In the file plugin_spree.xml, remove the lines starting with <set name="5"> and <set name="10">. Or maybe you still want to be able to display the first ones in console ?
Logged
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: UrT
Posts: 13
Offline Offline
« Reply #6 on: April 14, 2010, 05:07:09 AM »

yes, 5 and 10 kills without death only show in the console.
Logged
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 19
Offline Offline
« Reply #7 on: April 16, 2011, 04:17:37 PM »

Has anyone tested the bigtext in CoD4/5? It's the one thing I want the most in CoD4/5
« Last Edit: April 16, 2011, 07:55:18 PM by Ceaseless » Logged
Tags: urt spree bigtext 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal