Ultima modifica da un moderatore:
Avviso: Lascerò il contenuto di questa mia guida in inglese per semplicità!
This is a revised version of an old thread. Following this How-To, you will have a better customizable solution for the aspect of your quests.
You will be able to choice amongst: quest icon, text color, blink effect (like whisper buttons)
How To
You just need to replace 2 little things:
Explanation:
-the 2° argument of send_letter_ex will support multiple parameters:
-the 3° argument is the name of the icon to choose, which the current availables are:
Examples:
Note: As you can imagine, the only limitation is that the color in N won't appear. (it will require additional code and work, so just forget it)
Download:
Check the attachment (colored-quest-scrolls-v2-res.zip) and add metin2_patch_new_questicon in your client.
This is a revised version of an old thread. Following this How-To, you will have a better customizable solution for the aspect of your quests.
You will be able to choice amongst: quest icon, text color, blink effect (like whisper buttons)
How To
You just need to replace 2 little things:
- In interfaceModule.py, replace BINARY_RecvQuest with this
- In questlib.lua, replace send_letter_ex with this
Explanation:
-the 2° argument of send_letter_ex will support multiple parameters:
- green|blue|purple|golden|fucsia|aqua and so on (you can add them in BINARY_RecvQuest by adding new colors 0xFF+#HEX; Color Picker Online)
- blink (the quest will flash like the whisper messages)
- ex (a dummy tag to separate it from "info" and "item")
-the 3° argument is the name of the icon to choose, which the current availables are:
- scroll_open.tga
- scroll_open_green.tga
- scroll_open_blue.tga
- scroll_open_purple.tga
- scroll_open_golden.tga
Examples:
Codice:
send_letter_ex(localeInfo.LanguageOptionTitle, "green,blink,ex", "scroll_open_green.tga")
Codice:
send_letter_ex(localeInfo.LanguageOptionTitle, "blue,blink,ex", "scroll_open_blue.tga")
Codice:
send_letter_ex(localeInfo.LanguageOptionTitle, "purple,blink,ex", "scroll_open_purple.tga")
Codice:
send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open_golden.tga")
Codice:
send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open.tga")
Codice:
send_letter_ex(localeInfo.LanguageOptionTitle, "golden,blink,ex", "scroll_open_green.tga")
Download:
Check the attachment (colored-quest-scrolls-v2-res.zip) and add metin2_patch_new_questicon in your client.