Jump to content

How to Remove Berserk from Code


gustavowizard

Recommended Posts

ARRRRG i cant remove this stupied berserk :(

i cant stand my soldiers killing each other this makes no sense at all.... trying to remove it from my mod like nuts here...

On the file:

moraleconfig_gc

This entrance:

<MoraleEventChance percentPoints="1.75" everyMoralePointBelow="40" >

<EventChances>

<Panic value="50" stabilisation="40" comment="chance that a unit panics and loses all its AP for current turn"/>

<Flee value="50" stabilisation="40" comment="chance that a unit drops its weapons and starts running randomly" />

<Berserk value="0" stabilisation="40" comment="chance that a unit starts firing on first available target, not caring if friendly or enemy"/>

</EventChances>

</MoraleEventChance>

as u guys can see i set Berserk to 0%chance and now it happens even more... at least i think or the same anyway makes no sense... you guy know how to complete remove berserk or somehow make the code think its off or something? this game would be the best ever if wasnot this stupied, illogical, and insane Berserk rule (i hate this on original X-com too).

Anybody can help me out here??

thanks!

Link to comment
Share on other sites

Have you tried editing psionicpowers_gc. Change Bezerk ap= to a very high number so the alien cannot use it.

(edit)

also. In config.xml, there is PsionicBerserking fireAtUnitChance="30", i set this to 15 & i was bezerk'd twice & my soldiers shot at random spots on the map.

Edited by Grimples
Link to comment
Share on other sites

nah still dont work, having beserker all the time... set to 0 or 100 it wont work :(

Is this berserking because of panic, or berserking because of the psionic attack Hallucinate? If it is the latter, the variables you are changing do not matter - the effective of Hallucinate is that the soldier affected will shoot at friendly units on its next turn.

Link to comment
Share on other sites

  • 3 weeks later...

im the white knight saving every unanswered question here.

Its this file: psionicpowers_gc.xml

These are my changes:

<?xml version="1.0" ?><PsionicPowers MODMERGE="update"> <!-- "messageDuration" is in seconds-->  <Fear          MODMERGE="update" ap="10" moraleDamage="80" anim="particles/psionic/psionic" sound="PsionicPower" messageDuration="2.0" strengthModifier="1.0" range="12" />  <!-- "moraleDamage" is in % --> <Hallucination MODMERGE="update" ap="200"                                                                                                strengthModifier="0.001" range="1" /> <LocateEnemies MODMERGE="update" ap="1"                                                                          messageDuration="2.0" strengthModifier="1.0" range="12" /> <Paralyse      MODMERGE="update" ap="1"                    anim="particles/psionic/psionic_paralyse" sound="PsionicPower" messageDuration="2.0" strengthModifier="1.0" range="6" /> <MindControl   MODMERGE="update" ap="40"                   anim="particles/psionic/psionic_mindcontrol" sound="PsionicPower" messageDuration="2.0" strengthModifier="0.5" range="6" /> <Dread         MODMERGE="update" loseAP="30"                                                                     messageDuration="1.0" strengthModifier="0.5" range="1" />  <!-- "loseAP" is in % --> <Bezerk        MODMERGE="update" ap="30"                   anim="particles/psionic/psionic_berserk" sound="PsionicPower" messageDuration="2.0" strengthModifier="0.1" range="6" /></PsionicPowers>
Link to comment
Share on other sites

im the white knight saving every unanswered question here.

Its this file: psionicpowers_gc.xml

These are my changes:

<?xml version="1.0" ?><PsionicPowers MODMERGE="update"> <!-- "messageDuration" is in seconds-->  <Fear          MODMERGE="update" ap="10" moraleDamage="80" anim="particles/psionic/psionic" sound="PsionicPower" messageDuration="2.0" strengthModifier="1.0" range="12" />  <!-- "moraleDamage" is in % --> <Hallucination MODMERGE="update" ap="200"                                                                                                strengthModifier="0.001" range="1" /> <LocateEnemies MODMERGE="update" ap="1"                                                                          messageDuration="2.0" strengthModifier="1.0" range="12" /> <Paralyse      MODMERGE="update" ap="1"                    anim="particles/psionic/psionic_paralyse" sound="PsionicPower" messageDuration="2.0" strengthModifier="1.0" range="6" /> <MindControl   MODMERGE="update" ap="40"                   anim="particles/psionic/psionic_mindcontrol" sound="PsionicPower" messageDuration="2.0" strengthModifier="0.5" range="6" /> <Dread         MODMERGE="update" loseAP="30"                                                                     messageDuration="1.0" strengthModifier="0.5" range="1" />  <!-- "loseAP" is in % --> <Bezerk        MODMERGE="update" ap="30"                   anim="particles/psionic/psionic_berserk" sound="PsionicPower" messageDuration="2.0" strengthModifier="0.1" range="6" /></PsionicPowers>

You could also remove the corresponding ability from the psionic units... ;p

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...