Cob Extensions - Unit speech, sfx

Ext. ID Ext. Name Type Description Properties
240 UNIT_SPEECH SET Force (or at least try to) the unit to acknowledge
Parameters: SpeechType
1 - select
2 - underattack
3 - activate
4 - deactivate
5 - ok
6 - arrived
7 - cant
8 - unitcomplete
9 - build
10 - repair
11 - working
12 - load
13 - unload
14 - cloak
15 - uncloak
16 - capture
17 - count5
18 - count4
19 - count3
20 - count2
21 - count1
22 - count0
23 - canceldestruct
-
241 PLAY_3D_SOUND GET Play any sound from the ALLSOUND.TDF list. The sound will be played at given position. Network packet can be broadcast (Broadcast = 1)
Parameters: SoundID (check ALLSOUND.TDF, zero-indexed), PackedXZ, Broadcast
RecordingNetwork
242 PLAY_GAF_ANIM GET Plays GAF animation from FX.GAF
Parameters: AnimationID, PackedXZ, Glow, Smoke
Glow: 0 - disabled, 1 - small, 2 - medium, 3 - big
Smoke: 0 - disabled, 1 - gray, 2 - black
 
ID (AnimationID) Sequence Name
0 Explosion
1 Explode2
2 Explode3
3 Explode4
4 Explode5
5 Nuke1
6-99 Explode6 - Explode94
100-199 CustAnim1 - CustAnim99
-
243 EMIT_SFX GET
Parameters: FromPieceIdx, SfxType, ToUnitID
-