Hello everybody.
A friend of mine rents a server (PS4).
Now it is alowed modding XML files we try to do some cool changes to the serv.
Recently we wanted to make an event for popping Bears on helicrashs (more helicrash, more loot, more danger), so i created an event in the events.xml file (based on the InfectedArmy event name line) :
<event name="HelicoBear">
<nominal>xx</nominal>
<min>xx</min>
<max>xx</max>
<lifetime>3</lifetime>
<restock>0</restock>
<saferadius>200</saferadius>
<distanceradius>0</distanceradius>
<cleanupradius>100</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>player</position>
<limit>custom</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="0" min="xx" type="Animal_UrsusArctos"/>
</children>
</event>
I also modified the helicrash event like that :
<event name="StaticHeliCrash">
<nominal>xx</nominal>
<min>xx</min>
<max>xx</max>
<lifetime>1800</lifetime>
<restock>0</restock>
<saferadius>1000</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>1000</cleanupradius>
<secondary>HelicoBear</secondary>
<flags deletable="1" init_random="0" remove_damaged="0"/>
<position>fixed</position>
<limit>child</limit>
<active>1</active>
<children>
<child lootmax="20" lootmin="10" max="3" min="1" type="Wreck_Mi8"/>
<child lootmax="20" lootmin="10" max="3" min="1" type="Wreck_UH1Y"/>
</children>
</event>
And added this line to the cfgeventspawns.xml file :
<event name="HelicoBear" />
And i can't find any bears on helicrashs... Of course, as i deleted the secondary "infectedarmy" line, there is not army zombies anymore on crashs, so i know the xml file's loaded by serevr.
Is the way i try to do is the good one, is creating events that doesn't already exists in the game file allowed?
PS : "xx" of course are filled with numbers in my files...