- Joined
- Jul 18, 2010
- Messages
- 2,284
Recently SpiritTauren asked, if one could overwrite tips which is a really smart Idea. Before that, I never read about changing tips at all and so I checked out how tips are saved inside warcraft 3.
Here I wana share what I found out.
Tips also support color code and they are "easy" to create.
Example have a big Credits list: one could use quests, but quest is quite limited in text lenght. But tips can contain much text.
After importing the txt-File set its path to:
"UI\tipstrings.txt"
Some details I tested:
In my opinion the quest information beeing used often, should be replaced by overwritting Tips instead.
One can write alot of text, needs no triggers and the tips text is more centered (compare quest example with huge tip with scrollbar, inside quest example half of the textpanel is empty, cause quests also always display quest requierments).
Here I wana share what I found out.
Warcraft Tip System
Warcraft 3 has a builtin tip-System, which can be opened during game inside menu. On default the subject of thes tips are default basic game behavoiur or for melee, both are often not very relevant for a custom map differing much from melee.What's so great on Tips?
One can add alot of Tips and each tip can contain alot of text.Tips also support color code and they are "easy" to create.
Example have a big Credits list: one could use quests, but quest is quite limited in text lenght. But tips can contain much text.
How to use a Tip-File
Import a txt-file using the import manager.After importing the txt-File set its path to:
"UI\tipstrings.txt"
How to write a Tip-File
A tip file is an default txt-file. It defines amount of tips and the text of each tip.3 Tips
[General]
TipCount=3
Tip1="Text of Tip1"
Tip2="Text of Tip2"
Tip3="Text of Tip3"
5 tips
[General]
TipCount=5
Tip1="Text of Tip1"
Tip2="Text of Tip2"
Tip3="Text of Tip3"
Tip4="Text of Tip4"
Tip5="Text of Tip5"
- Tips support warcraft 3 color code.
- Tips do not support line seperator by pressing return/enter, if one does the tip-Text ends on that position.
- But one can use |n.
- One can not refere Object Editor
- Tips can be large, if a tip contains much text one can scroll a tip with a scrollbar.
- 1 Tip can contain ~1000 chars.
- the default tips are 60 in numbers, did no testing in that regard.
In my opinion the quest information beeing used often, should be replaced by overwritting Tips instead.
One can write alot of text, needs no triggers and the tips text is more centered (compare quest example with huge tip with scrollbar, inside quest example half of the textpanel is empty, cause quests also always display quest requierments).
Attachments
Last edited: