Siege question

L2g

Heir
Customer
Good morning, friends. I have a small question.

I want my siege to start at 16:00 and end at 17:00. Is it enough to configure it in events/siege and adjust it for each castle:

<parameter name="siege_schedule" value="0 16 +14:* * 7|0 17 +14:* * 7" />

Another question: why do some castles have the start time earlier and others later?
Example:

<event id="4" name="Oren Castle" type="SIEGE_EVENT" impl="CastleSiege">
<parameter name="siege_schedule" value="0 17 +14:* * 7|0 16 +14:* * 7" />

<event id="5" name="Aden Castle" type="SIEGE_EVENT" impl="CastleSiege">
<parameter name="siege_schedule" value="0 16 +14:* * 7|0 17 +14:* * 7" />

Can someone explain the reason for this difference?
 
<parameter name="siege_schedule" value="0 16 +14:* * 7|0 17 +14:* * 7" />
This line is not meant to set duration of siege. From Siege guide:
|0 20 +14:* * 7" second parameter carries in itself the same information BUT already for the siege on the second wave. As far as you know, some of the castles start sieges in different waves. There are two of them.

If you want to edit duration, you have to edit the <on_time> ...... </on_time> parameter in the .xml file. This should work for 1 hour duration:
Code:
            <on time="0">
                <start name="event" />
                <announce val="3600" />
                <play_sound type="SOUND" range="-1" sound="B01_F" />
            </on>
            <on time="120">
                <play_sound type="SOUND" range="-1" sound="B02_S01" />
            </on>
            <on time="240">
                <play_sound type="SOUND" range="-1" sound="B03_F" />
            </on>
            <on time="360">
                <play_sound type="SOUND" range="-1" sound="B04_F" />
            </on>
            <on time="480">
                <play_sound type="SOUND" range="-1" sound="B01_S01" />
            </on>
            <on time="600">
                <play_sound type="SOUND" range="-1" sound="B02_F" />
            </on>
            <on time="720">
                <play_sound type="SOUND" range="-1" sound="B03_S02" />
            </on>
            <on time="840">
                <play_sound type="SOUND" range="-1" sound="B04_S01" />
            </on>
            <on time="960">
                <play_sound type="SOUND" range="-1" sound="B01_S02" />
            </on>
            <on time="1080">
                <play_sound type="SOUND" range="-1" sound="B02_S02" />
            </on>
            <on time="1200">
                <play_sound type="SOUND" range="-1" sound="B03_S01" />
            </on>
            <on time="1320">
                <play_sound type="SOUND" range="-1" sound="B04_S02" />
            </on>
            <on time="1440">
                <play_sound type="SOUND" range="-1" sound="B01_F" />
            </on>
            <on time="1560">
                <play_sound type="SOUND" range="-1" sound="B02_S01" />
            </on>
            <on time="1680">
                <play_sound type="SOUND" range="-1" sound="B03_F" />
            </on>
            <on time="1800">
                <play_sound type="SOUND" range="-1" sound="B04_F" />
            </on>
            <on time="1920">
                <play_sound type="SOUND" range="-1" sound="B01_S01" />
            </on>
            <on time="2040">
                <play_sound type="SOUND" range="-1" sound="B02_F" />
            </on>
            <on time="2160">
                <play_sound type="SOUND" range="-1" sound="B03_S02" />
            </on>
            <on time="2280">
                <play_sound type="SOUND" range="-1" sound="B04_S01" />
            </on>
            <on time="2400">
                <play_sound type="SOUND" range="-1" sound="B01_S02" />
            </on>
            <on time="2520">
                <play_sound type="SOUND" range="-1" sound="B02_S02" />
            </on>
            <on time="2640">
                <play_sound type="SOUND" range="-1" sound="B03_S01" />
            </on>
            <on time="2760">
                <play_sound type="SOUND" range="-1" sound="B04_S02" />
            </on>
            <on time="2880">
                <play_sound type="SOUND" range="-1" sound="B01_F" />
            </on>
            <on time="3000">
                <play_sound type="SOUND" range="-1" sound="B02_S01" />
            </on>
            <on time="3120">
                <play_sound type="SOUND" range="-1" sound="B03_F" />
            </on>
            <on time="3240">
                <play_sound type="SOUND" range="-1" sound="B04_F" />
            </on>
            <on time="3300">
                <announce val="300" />
            </on>
            <on time="3360">
                <play_sound type="SOUND" range="-1" sound="B01_S01" />
            </on>
            <on time="3480">
                <play_sound type="SOUND" range="-1" sound="B02_F" />
            </on>
            <on time="3540">
                <announce val="60" />  <!--1 Minute to siege end-->
            </on>
            <on time="3570">
                <announce val="30" />  <!--30 Seconds to siege end-->
            </on>
            <on time="3590">
                <announce val="10" />  <!--10 Seconds to siege end-->
            </on>
            <on time="3595">
                <announce val="5" />  <!--5 Seconds to siege end-->
            </on>
            <on time="3596">
                <announce val="4" />  <!--4 Seconds to siege end-->
            </on>
            <on time="3597">
                <announce val="3" />  <!--3 Seconds to siege end-->
            </on>
            <on time="3598">
                <announce val="2" />  <!--2 Seconds to siege end-->
            </on>
            <on time="3599">
                <announce val="1" />  <!--1 Seconds to siege end-->
            </on>
            <on time="3600">
                <stop name="event" />
            </on>
 
Last edited:
This line is not meant to set duration of siege. From Siege guide:


If you want to edit duration, you have to edit the <on_time> ...... </on_time> parameter in the .xml file. This should work for 1 hour duration:
Code:
            <on time="0">
                <start name="event" />
                <announce val="3600" />
                <play_sound type="SOUND" range="-1" sound="B01_F" />
            </on>
            <on time="120">
                <play_sound type="SOUND" range="-1" sound="B02_S01" />
            </on>
            <on time="240">
                <play_sound type="SOUND" range="-1" sound="B03_F" />
            </on>
            <on time="360">
                <play_sound type="SOUND" range="-1" sound="B04_F" />
            </on>
            <on time="480">
                <play_sound type="SOUND" range="-1" sound="B01_S01" />
            </on>
            <on time="600">
                <play_sound type="SOUND" range="-1" sound="B02_F" />
            </on>
            <on time="720">
                <play_sound type="SOUND" range="-1" sound="B03_S02" />
            </on>
            <on time="840">
                <play_sound type="SOUND" range="-1" sound="B04_S01" />
            </on>
            <on time="960">
                <play_sound type="SOUND" range="-1" sound="B01_S02" />
            </on>
            <on time="1080">
                <play_sound type="SOUND" range="-1" sound="B02_S02" />
            </on>
            <on time="1200">
                <play_sound type="SOUND" range="-1" sound="B03_S01" />
            </on>
            <on time="1320">
                <play_sound type="SOUND" range="-1" sound="B04_S02" />
            </on>
            <on time="1440">
                <play_sound type="SOUND" range="-1" sound="B01_F" />
            </on>
            <on time="1560">
                <play_sound type="SOUND" range="-1" sound="B02_S01" />
            </on>
            <on time="1680">
                <play_sound type="SOUND" range="-1" sound="B03_F" />
            </on>
            <on time="1800">
                <play_sound type="SOUND" range="-1" sound="B04_F" />
            </on>
            <on time="1920">
                <play_sound type="SOUND" range="-1" sound="B01_S01" />
            </on>
            <on time="2040">
                <play_sound type="SOUND" range="-1" sound="B02_F" />
            </on>
            <on time="2160">
                <play_sound type="SOUND" range="-1" sound="B03_S02" />
            </on>
            <on time="2280">
                <play_sound type="SOUND" range="-1" sound="B04_S01" />
            </on>
            <on time="2400">
                <play_sound type="SOUND" range="-1" sound="B01_S02" />
            </on>
            <on time="2520">
                <play_sound type="SOUND" range="-1" sound="B02_S02" />
            </on>
            <on time="2640">
                <play_sound type="SOUND" range="-1" sound="B03_S01" />
            </on>
            <on time="2760">
                <play_sound type="SOUND" range="-1" sound="B04_S02" />
            </on>
            <on time="2880">
                <play_sound type="SOUND" range="-1" sound="B01_F" />
            </on>
            <on time="3000">
                <play_sound type="SOUND" range="-1" sound="B02_S01" />
            </on>
            <on time="3120">
                <play_sound type="SOUND" range="-1" sound="B03_F" />
            </on>
            <on time="3240">
                <play_sound type="SOUND" range="-1" sound="B04_F" />
            </on>
            <on time="3300">
                <announce val="300" />
            </on>
            <on time="3360">
                <play_sound type="SOUND" range="-1" sound="B01_S01" />
            </on>
            <on time="3480">
                <play_sound type="SOUND" range="-1" sound="B02_F" />
            </on>
            <on time="3540">
                <announce val="60" />  <!--1 Minute to siege end-->
            </on>
            <on time="3570">
                <announce val="30" />  <!--30 Seconds to siege end-->
            </on>
            <on time="3590">
                <announce val="10" />  <!--10 Seconds to siege end-->
            </on>
            <on time="3595">
                <announce val="5" />  <!--5 Seconds to siege end-->
            </on>
            <on time="3596">
                <announce val="4" />  <!--4 Seconds to siege end-->
            </on>
            <on time="3597">
                <announce val="3" />  <!--3 Seconds to siege end-->
            </on>
            <on time="3598">
                <announce val="2" />  <!--2 Seconds to siege end-->
            </on>
            <on time="3599">
                <announce val="1" />  <!--1 Seconds to siege end-->
            </on>
            <on time="3600">
                <stop name="event" />
            </on>
ty bro!!
 
  • Like
Reactions: aly
Back
Top