• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Floating Text display?

Status
Not open for further replies.
Level 6
Joined
Jun 19, 2010
Messages
143
Is there any way to show up up to and more than 20 floating texts in-game? I need to show up more than 20 names of the lands in the three kingdoms battle fields called Dynasty Warrior: Chibi, Luoyang, Jianye, Chengdu,....I try to show them as many as possible but still some are missing in game, inexplicably?!

Also about Floating Text, when I replaced the new Font .TTF, use ABC (TCVN3 for (.)VNArial.TTF for Vietnamese) as input method, it is shown up as wrong writing accents.

+Rep for you if you could help me for these 2 prbs. Thank you in advance.
Phuc.
 
Last edited:
Level 6
Joined
Jun 19, 2010
Messages
143
Regions to place the Floating Text
  • Actions
    • Set Region[17] = Giang Ha <gen>
    • Set Region[18] = Han Trung <gen>
    • Set Region[19] = Hop Phi <gen>
    • Set Region[20] = Hua Xuong <gen>
    • Set Region[21] = Kinh Chau <gen>
    • Set Region[22] = Ky Chau <gen>
    • Set Region[23] = Ky Son <gen>
    • Set Region[24] = Lac Duong <gen>
    • Set Region[25] = Nhu Nam <gen>
    • Set Region[26] = Tan Da <gen>
    • Set Region[27] = Tay Luong <gen>
    • Set Region[28] = Thanh Do <gen>
    • Set Region[29] = Tho Xuan <gen>
    • Set Region[30] = Truong An <gen>
    • Set Region[31] = Tu Chau <gen>
    • Set Region[32] = Tuong Duong <gen>
    • Set Region[33] = Uyen Thanh <gen>
    • Set Region[34] = Phan Thanh <gen>
  • City Floating Text
    • Events
      • Time - Elapsed game time is 0.50 seconds
    • Conditions
    • Actions
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Giang Ha <gen>)
      • Set City = |c0000ffffGiang Ha.|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Han Trung <gen>)
      • Set City = |c0000ffffHa´n Trung|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Hop Phi <gen>)
      • Set City = |c0000ffffHo*.p Phi`|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Hua Xuong <gen>)
      • Set City = |c0000ffffHu*´a Xu*o*ng|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Kinh Chau <gen>)
      • Set City = |c0000ffffKinh Cha^u|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Ky Chau <gen>)
      • Set City = |c0000ffffKý, Thanh, U Cha^u|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 15.00, using font size 10.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Ky Son <gen>)
      • Set City = |c0000ffffKy` So*n|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Lac Duong <gen>)
      • Set City = |c0000ffffLa.c Du*o*ng|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Nhu Nam <gen>)
      • Set City = |c0000ffffNhu~ Nam|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- --------- --------
      • Set Temp_Point = (Center of Tan Da <gen>)
      • Set City = |c0000ffffTa^n Da~|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Tay Luong <gen>)
      • Set City = |c0000ffffTa^y Lu*o*ng|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Thanh Do <gen>)
      • Set City = |c0000ffffTha`nh Do^|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Tho Xuan <gen>)
      • Set City = |c0000ffffTho. Xua^n- Kie^´n Nghie^.p|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Truong An <gen>)
      • Set City = |c0000ffffTru*o`*ng An|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Trigger - Run Floating Text City <gen> (ignoring conditions)
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Tu Chau <gen>)
      • Set City = |c0000ffffTu*` Cha^u|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Tuong Duong <gen>)
      • Set City = |c0000ffffTu*o*ng Du*o*ng|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Uyen Thanh <gen>)
      • Set City = |c0000ffffUye^?n Tha`nh|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Set Temp_Point = (Center of Phan Thanh <gen>)
      • Set City = |c0000ffffPha`n Tha`nh|r
      • Floating Text - Create floating text that reads City at Temp_Point with Z offset 0.00, using font size 15.00, color (100.00%, 100.00%, 0.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • -------- ---------------------------- --------
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across (Entire map)
          • Visibility - Destroy (Last created visibility modifier)
          • Visibility - Enable black mask
The Visibility and Black mask at last in my knowledge are for the visibility of the Floating Text in the terrains. If game has just finished loading, the player could not see them since they have revealed the map. But even so, just around 12-14 out of 20 floating texts are shown up in the game. I check the center of every region and realize that some are missing.

For the Font, (like tutorial picture below but with VNArial.ttf) I replaced the new font vnarial.tff to all in game interface (Jass Newgen), everything(unit objects,tooltips,menu texts..) is shown up correctly with Vietnamese font and signs but the floating texts..

interface2.png
 
Status
Not open for further replies.
Top