View Issue Details

IDProjectCategoryView StatusLast Update
0001866The Dark ModCodingpublic26.03.2010 07:39
ReporterSneaksieDave Assigned Totels  
PrioritynormalSeveritynormalReproducibilityN/A
Status closedResolutionfixed 
Product VersionSVN 
Summary0001866: Simple triggered text for mappers
DescriptionTracked per request by Tels: http://modetwo.net/darkmod/index.php?s=&showtopic=8922&view=findpost&p=189792

A simple way for a trigger once (and only once -- remove self after firing) or multiple times to open a parchment with hint (or otherwise important) text. This already works by using a script and calls, but I assume the intent is to make it as simple as possible for the user?
TagsNo tags attached.

Activities

tels

tels

26.07.2009 17:15

reporter   ~0002563

A first working version has been committed as revision 8846. Shows how to show messages via any trigger you like, as well as enabling/disabling them again.

Things todo:

* the actual entity activated by the trigger can't call showMessage() (or run any script on itself) on itself (or at least I don't know how to make that work). So currently it targets an extra atdm:gui_message entity, which represents the actual message. They are gonna be merged into one entity, but it needs code on the C++ side, which I am gonna write later.

* the gui guis/tdm_message.gui has a problem when fading the message out.

* it cannot yet load data from XD files - need first to find out how to do that
tels

tels

26.07.2009 19:55

reporter   ~0002564

One entity removed from the equation and it didn't even need C++ code, using a spawnclass and a scriptobject at the same time is possible. After adding the entity dynamically as its own target, we can call showMessage() on it.

Now only needs to support XData and the GUI fade out is still not happening.
tels

tels

01.01.2010 10:19

reporter   ~0002820

The GUI fade out is implemented now. The text can be set via spawnarg, hence from within DarkRadiant, that is even easier than XData.

Fidcal also made a "centered, transparent" GUI, and we hammered out a view bugs when using it, so this feature is not complete and the issue can be closed.

Issue History

Date Modified Username Field Change
25.07.2009 13:47 SneaksieDave New Issue
25.07.2009 13:47 SneaksieDave Status new => assigned
25.07.2009 13:47 SneaksieDave Assigned To => tels
25.07.2009 13:47 SneaksieDave Description Updated
26.07.2009 17:15 tels Note Added: 0002563
26.07.2009 19:55 tels Note Added: 0002564
01.01.2010 10:19 tels Note Added: 0002820
01.01.2010 10:19 tels Status assigned => resolved
01.01.2010 10:19 tels Resolution open => fixed
26.03.2010 07:39 greebo Status resolved => closed