Jump to content

TalkBubbleTime: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
en>Crimsonum
Un-DeeZire'd
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{flag
The time, in minutes, that a 'speech' bubble appears above a unit when triggered by the relevant action through a map file. This is residual from Firestorm where units could have 'expressions' or 'emotive icons' appear above them when they spoke. In order to make this work, TALKBUBL.SHP must be copied from Firestorm and inserted into your mods ECACHE.MIX file. That SHP works with the Red Alert 2 unit palettes, so conversion is not necessary.
|files={{Categ|Rules(md).ini}}
|values={{values|unsigned integer}}
|types={{Categ|General}}
|ts=no
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
}}
 
Specifies how long the speech bubble graphic should persist above a unit when triggered by the relevant map [[Actions_(maps)|action]] or [[ScriptActions|script]]. The time is expressed in seconds of system time, meaning the bubble will last exactly this many seconds regardless of your game speed setting, similar to {{f|Normalized|link}}.
 
==In Red Alert 2 and Yuri's Revenge==
This flag and the logic associated with it is functional but unused. The game also lacks the necessary graphics file, <tt>talkbubl.shp</tt>. You can create one from scratch or extract the one from {{fs}} and import it into RA2. Note that the file is hardcoded to use the <tt>palette.pal</tt> [[PAL|color palette]].

Revision as of 17:56, 24 February 2021

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: TalkBubbleTime
File(s): Rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: General


Specifies how long the speech bubble graphic should persist above a unit when triggered by the relevant map action or script. The time is expressed in seconds of system time, meaning the bubble will last exactly this many seconds regardless of your game speed setting, similar to Normalized.

In Red Alert 2 and Yuri's Revenge

This flag and the logic associated with it is functional but unused. The game also lacks the necessary graphics file, talkbubl.shp. You can create one from scratch or extract the one from Firestorm and import it into RA2. Note that the file is hardcoded to use the palette.pal color palette.