Raised This Month: $51 Target: $400
 12% 

Colored Text


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thrillster
New Member
Join Date: Aug 2008
Old 08-13-2008 , 15:26   Colored Text
Reply With Quote #1

Hey all!

This Plugin rocks,but i have a problem.
It's all running fine,but i missing something.
Its the following text in this picture: [IMG]http://img124.**************/img124/2940/gungamelo9.th.jpg[/IMG]
How can i enable it??

My config file:
Code:
; GunGame AMXX 2.11c

// basic cvars
gg_enabled 1
gg_vote_setting 2
gg_vote_custom ""
gg_changelevel_custom ""
gg_map_setup "mp_timelimit 90; mp_winlimit 0; sv_alltalk 0; mp_chattime 10; mp_c4timer 25"
gg_endmap_setup ""
gg_join_msg 1
gg_colored_messages 1
gg_save_temp 300
gg_status_display 1
gg_map_iterations 1
gg_ignore_bots 0
gg_block_equips 0
gg_leader_display 1
gg_leader_display_x -1.0
gg_leader_display_y 0.0
gg_allow_changeteam 2
gg_disable_money 1
gg_winner_motd 1
gg_afk_protection 0

// autovote cvars
gg_autovote_rounds 0
gg_autovote_delay 8.0
gg_autovote_ratio 0.51
gg_autovote_time 10.0

// stats cvars
gg_stats_file "gungame.stats"
gg_stats_ip 0
gg_stats_prune 2592000
gg_stats_mode 2
gg_stats_winbonus 1.5

// deathmatch cvars
gg_dm 1
gg_dm_sp_time 1.0
gg_dm_sp_mode 1
gg_dm_spawn_random 2
gg_dm_start_random 1
gg_dm_spawn_delay 3.0
gg_dm_spawn_afterplant 1
gg_dm_corpses 1
gg_dm_countdown 2

// objective cvars
gg_block_objectives 1
gg_bomb_defuse_lvl 1
gg_host_touch_reward 2
gg_host_rescue_reward 2
gg_host_kill_reward 1
gg_host_kill_penalty 1

// teamplay cvars
gg_teamplay 0
gg_teamplay_melee_mod 0.33
gg_teamplay_nade_mod 0.50
gg_teamplay_timeratio 1

// gameplay cvars
gg_ff_auto 1
gg_weapon_order "glock18,usp,p228,deagle,fiveseven,elite,m3,xm1014,tmp,mac10,mp5navy,ump45,p90,galil,famas,ak47,scout,m4a1,sg552,aug,m249,hegrenade,knife"
gg_max_lvl 0
gg_triple_on 0
gg_turbo 1
gg_knife_pro 1
gg_knife_elite 0
gg_suicide_penalty 1
gg_worldspawn_suicide 1
gg_pickup_others 0
gg_handicap_on 2
gg_top10_handicap 1
gg_warmup_timer_setting 10
gg_warmup_weapon "knife"
gg_warmup_multi 0
gg_nade_glock 1
gg_nade_smoke 0
gg_nade_flash 0
gg_extra_nades 1
gg_nade_refresh 5.0
gg_kills_per_lvl 2
gg_kills_botmod 1.0
gg_give_armor 100
gg_give_helmet 1
gg_ammo_amount 200
gg_refill_on_kill 1
gg_tk_penalty 1
gg_awp_oneshot 1
gg_bots_skipnade 0

// sound cvars
gg_sound_levelup "sound/gungame/smb3_powerup.wav"
gg_sound_leveldown "sound/gungame/smb3_powerdown.wav"
gg_sound_levelsteal "sound/gungame/smb3_1-up.wav"
gg_sound_nade "sound/gungame/nade_level.wav"
gg_sound_knife "sound/gungame/knife_level.wav"
gg_sound_welcome "sound/gungame/gungame2.wav"
gg_sound_triple "sound/gungame/smb_star.wav"
gg_sound_winner "media/Half-Life03.mp3;media/Half-Life08.mp3;media/Half-Life11.mp3;media/Half-Life17.mp3"
gg_sound_takenlead "sound/gungame/takenlead.wav"
gg_sound_tiedlead "sound/gungame/tiedlead.wav"
gg_sound_lostlead "sound/gungame/lostlead.wav"
gg_lead_sounds 0.8

// random weapon order cvars (leave blank to disable)
gg_weapon_order1 ""
gg_weapon_order2 ""
gg_weapon_order3 ""
gg_weapon_order4 ""
gg_weapon_order5 ""
gg_weapon_order6 ""
gg_weapon_order7 ""
gg_weapon_order8 ""
gg_weapon_order9 ""
gg_weapon_order10 ""

// valid weapon names for gg_weapon_order:
//
// ak47, aug, awp, deagle, elite, famas, fiveseven, g3sg1, galil, glock18, hegrenade, knife,
// m249, m3, m4a1, mac10, mp5navy, p228, p90, scout, sg550, sg552, tmp, ump45, usp, xm1014
Thx in advance and sry for my bad english.

EDiT: I used this Tutorial: http://avalanche.gungame.org/installation.php
and i'm using 2.11c

Last edited by thrillster; 08-13-2008 at 15:35.
thrillster is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-13-2008 , 20:37   Re: Colored Text
Reply With Quote #2

At some point I removed those messages. They were changed for the center HUD message in order to take up less chat log space.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
thrillster
New Member
Join Date: Aug 2008
Old 08-13-2008 , 21:07   Re: Colored Text
Reply With Quote #3

Ah okay. Is there a way that i can readd those messages?! ;)
thrillster is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-13-2008 , 21:51   Re: Colored Text
Reply With Quote #4

Go to stock give_level_weapon(id,notify=1,verify=1) (line 5135ish). Change this bit:

Code:
    // not warming up, didn't just win     if(notify && warmup <= 0 && level[id] > 0 && level[id] <= weaponNum)         show_progress_display(id);

To this:

Code:
    // not warming up, didn't just win     if(notify && warmup <= 0 && level[id] > 0 && level[id] <= weaponNum)     {         new goal = get_level_goal(level[id],id);         gungame_print(id,id,1,"%L %%n%i%%e :: %%n%s%%e",id,"ON_LEVEL",level[id],lvlWeapon[id]);         gungame_print(id,id,1,"%L",id,"PROGRESS_DISPLAY",goal-score[id],score[id],goal);     }

You also have to add the PROGRESS_DISPLAY entry back into addons/amxmodx/data/lang/gungame.txt, and save it as UTF-8 without the BOM characters.

Code:
PROGRESS_DISPLAY = You need %%n%i%%e kills to advance. Score: %%n%i / %i%%e
I've attached a 2.11c language file that has PROGRESS_DISPLAY for you.
Attached Files
File Type: zip gungame.zip (28.4 KB, 120 views)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 08-13-2008 at 21:57.
XxAvalanchexX is offline
thrillster
New Member
Join Date: Aug 2008
Old 08-13-2008 , 23:16   Re: Colored Text
Reply With Quote #5

hmm,I edited like you say,but nothing changed.
And I try to compile it,but it give me some errors.

Could you compile it for me and attached it to post like the .txt?!
Would be really great.
I'm going sleep now..cya
thrillster is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-13-2008 , 23:27   Re: Colored Text
Reply With Quote #6

Douzo.
Attached Files
File Type: sma Get Plugin or Get Source (gungame.sma - 789 views - 202.7 KB)
File Type: amxx gungame.amxx (171.3 KB, 173 views)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
thrillster
New Member
Join Date: Aug 2008
Old 08-14-2008 , 08:05   Re: Colored Text
Reply With Quote #7

Thanks! Now it works!
Great support from you
thrillster is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode