Aller au contenu

Photo

displaying some text continuously on screen.


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
i want to make it clear to the player that he is in different "quest areas". i wonder if there is any way to make a small text appear in the corner of the screen that says "quest area 1" for example and then have it stay there until the player leaves the area.

#2
TimelordDC

TimelordDC
  • Members
  • 923 messages
You could add that information to the area name -> this always appears below the minimap.

#3
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
each area has several quest areas. one obvious but perhap not so practical way of doing it is to use display floaty message but i'd rather not if it's avoidable.

Modifié par gordonbrown82, 23 mai 2010 - 07:09 .


#4
CID-78

CID-78
  • Members
  • 1 124 messages
try SetName on a area and see if it updates correctly. and you can use TimeLordsDC method. it will probably require that you exit the area and enter it again for a update to take effect.

#5
Magic

Magic
  • Members
  • 187 messages
How about misusing the radial menu which is used for the armies in the campaign climax? You can activate the current quest area and gray out the other ones. Totally alienated but looks good. :)

#6
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
sounds intriguing but i haven't seen any of that stuff. where do i begin?

#7
Magic

Magic
  • Members
  • 187 messages
That's actually a good question. I haven't done this either. :happy:

Climax_SetArmyGUI() in cli_functions_h.nss is showing most you need. SetPlotActionSet() toggles the UI on/off, for example. There are other SetPlotAction*() function to configure it. The setup is defined in plotactions.xls. Not trivial but not too difficult so far. However, text strings are defined through the xls and string references under "NameStrRef" and "DescStrRef" to the talk table. This won't be a simple solution for your purpose after all.

In case you need it, cli000ar_army_deployment.nss shows how to handle the UI usage with EVENT_TYPE_USE_PLOTACTION. I'll definately use this UI - it looks nice. :)