Register for your free account! | Forgot your password?

You last visited: Today at 17:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[NPC] FARBIG QUEST

Discussion on [NPC] FARBIG QUEST within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
TheMad's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 569
Received Thanks: 103
[NPC] FARBIG QUEST

Moin,

Will die Auswahlbutton bei den NPC in farbe, wie geht das?

Also zb, Uriel:

Wenn man den klickt kann man auswählen zwischen Ox Event und Die weite Welt, wie mach ich, das die schrift bei dem einen blau und bei em anderen grün ist??
TheMad is offline  
Old 07/14/2013, 01:19   #2
 
zуℓση's Avatar
 
elite*gold: 270
Join Date: May 2013
Posts: 1,017
Received Thanks: 563
Also die buttons weiß ich nicht.

Aber den text kannst du z.B so färben:

PHP Code:
say_red("hallo"
zуℓση is offline  
Old 07/14/2013, 01:48   #3
 
elite*gold: 39
Join Date: Jun 2009
Posts: 500
Received Thanks: 212
So direkt ist das (meines Wissens) nicht möglich.
Du musst das wenn über selects machen (bin mir nicht sicher ob das funktioniert).

Probier einfach mal (als Beispiel):
Code:
when NPC.click begin
     if select("[COLOR r;1|g;0|b;0]Testauswahl[/COLOR]", "[COLOR r;0|g;0|b;1]Abbrechen[/COLOR]") == 2 then
          chat("Abbruch")
          return
     end
     chat("1. Auswahl selektiert.")
end
.HC'Destrox is offline  
Thanks
1 User
Old 07/14/2013, 01:59   #4
 
TheMad's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 569
Received Thanks: 103
nein geht nicht, blinkt nur kurz oben links im chatfenster blau auf dann wars das
TheMad is offline  
Old 07/14/2013, 08:19   #5
 
.LuckyStrike's Avatar
 
elite*gold: 210
Join Date: Jun 2013
Posts: 1,203
Received Thanks: 390
In die Quest_functions eingetragen?
Code:
say_blue
say_blue2
say_red
say_green
say_gold
say_black
say_white
say_yellow
Und in die questlib.lua?
Code:
function say_blue(name) say(color256(0, 0, 255)..name..color256(0, 0, 255)) end
function say_red(name) say(color256(255, 0, 0)..name..color256(255, 0, 0)) end
function say_green(name) say(color256(0, 238, 0)..name..color256(0, 238, 0)) end
function say_gold(name) say(color256(255, 215, 0)..name..color256(255, 215, 0)) end
function say_black(name) say(color256(0, 0, 0)..name..color256(0, 0, 0)) end
function say_white(name) say(color256(255, 255, 255)..name..color256(255, 255, 255)) end
function say_yellow(name) say(color256(255, 255, 0)..name..color256(255, 255, 0)) end
function say_blue2(name) say(color256(0, 206, 209)..name..color256(0, 206, 209)) end
Und dann z.B. so es in der Quest machen
PHP Code:
quest test begin
    state start begin
        when 20034.chat
."TEXT" begin
            say_red
("ROTER TEXT")
            
say_blue("BLAUER TEXT
        end
    end
end 




LG.
.LuckyStrike is offline  
Thanks
2 Users
Old 07/14/2013, 12:57   #6
 
TheMad's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 569
Received Thanks: 103
Quote:
Originally Posted by .LuckyStrike View Post
In die Quest_functions eingetragen?
Code:
say_blue
say_blue2
say_red
say_green
say_gold
say_black
say_white
say_yellow
Und in die questlib.lua?
Code:
function say_blue(name) say(color256(0, 0, 255)..name..color256(0, 0, 255)) end
function say_red(name) say(color256(255, 0, 0)..name..color256(255, 0, 0)) end
function say_green(name) say(color256(0, 238, 0)..name..color256(0, 238, 0)) end
function say_gold(name) say(color256(255, 215, 0)..name..color256(255, 215, 0)) end
function say_black(name) say(color256(0, 0, 0)..name..color256(0, 0, 0)) end
function say_white(name) say(color256(255, 255, 255)..name..color256(255, 255, 255)) end
function say_yellow(name) say(color256(255, 255, 0)..name..color256(255, 255, 0)) end
function say_blue2(name) say(color256(0, 206, 209)..name..color256(0, 206, 209)) end
Und dann z.B. so es in der Quest machen
PHP Code:
quest test begin
    state start begin
        when 20034.chat
."TEXT" begin
            say_red
("ROTER TEXT")
            
say_blue("BLAUER TEXT
        end
    end
end 




LG.
Das habe ich ja, ich will das so wie auf dem hier bearbeitetem bild, dass die auswahl farbig ist:

TheMad is offline  
Reply


Similar Threads Similar Threads
Farbig Schreiben?!
02/21/2013 - Fiesta Online - 3 Replies
HEy Community , Ich habe auf einem Server gesehen das die SPieler dort beim schreiben im chat eine andere Farbe haben. Also der Staff wenn der schreibt is das immer Rot im chat und wenn nen normaler spieler schreibt So DunkelBlau jetzt wollte ich fragen wie kann man das machen das man mit ner andern farbe schreibt? Danke im vorraus :D
Farbig :D
01/05/2013 - S4 League - 20 Replies
Kann man in S4 eig. noch Farbig schreiben (außer weiß) wäre nett wenn eine gute Antwort kommt. MfG crasseflamme
Schrift farbig ??
11/01/2012 - Minecraft - 10 Replies
http://epvpimg.com/7LYTe.jpg Wie macht man das?
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder



All times are GMT +1. The time now is 17:36.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.