Changes between Version 6 and Version 15 of Ticket #2154


Ignore:
Timestamp:
Nov 11, 2013, 3:05:54 PM (10 years ago)
Author:
Itms
Comment:

Hello, I corrected what you pointed out in the code. It allowed me to improve the behaviour of units still not garrisoned when the alert ends. I also added the sounds provided by LAVS, which I attach to the ticket, they must be placed into binaries/data/mods/public/audio/interface/alarm/

Let me know what you think of the code.

I open a thread on the forums to discuss the number of levels needed for the bell : http://www.wildfiregames.com/forum/index.php?showtopic=17807

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2154

    • Property Summary [PATCH] Add a "Town Bell" button[PATCH] Add an alert button (kind of Town Bell)
  • Ticket #2154 – Description

    v6 v15  
    11This feature works like this :
    22
    3  * A new component, named TownBellStriker, allows for example CCs to ring the Town Bell
    4  * The Town Bell is effective just in a range which can be adjusted in TownBellStriker (I chose initial territory extension for CCs, which are for the moment the only template implementing this component)
    5  * The bell can be triggered in 'yellow alert' (ie. normal mode) and all female citizens look for a place to garrison. Then, one can trigger the 'end of alert' bell, or pass into 'red alert', in that case citizen soldiers garrison too
    6  * A unit ungarrisoned (by another Town Bell or manually) will go back to the work it was performing.
    7  * The Ungarrisoning Town Bell is effective across the entire map, but ungarrisons only the units garrisoned by the ungarrisonning TownBellStriker.
     3 * A new component, named !AlertRaiser, allows for example CCs to sound the alarm
     4 * The alert is effective just in a range which can be adjusted in [wiki:TownBellStriker AlertRaiser] (I chose initial territory extension for CCs, which are for the moment the only template implementing this component)
     5 * The alarm can be triggered in 'yellow alert' (ie. normal mode) and all female citizens look for a place to garrison. Then, one can trigger the 'end of alert', or pass into 'red alert', in that case all units try to garrison
     6 * The feature uses the back to work behaviour when the alert ends.
     7 * The End of Alert is effective across the entire map, but ungarrisons only the units garrisoned by the ungarrisonning [wiki:TownBellStriker AlertRaiser]
    88
    99I need artwork for the feature, please visit this post : http://www.wildfiregames.com/forum/index.php?showtopic=17703