Ludeon Forums

RimWorld => Mods => Help => Topic started by: O Negative on October 19, 2022, 07:58:49 PM

Title: Improved Turret Research (Old Alpha Idea)
Post by: O Negative on October 19, 2022, 07:58:49 PM
Long ago, there was an alpha with research that made turrets shoot bursts of 4 bullets instead of 3 bullets. I believe it used an xpath patch in the .dll, but I don't remember exactly how it worked.

Does anyone remember how this was done? I'm interested in exploring changing stats using research.

If anyone knows if the old alphas from like 2014/2015 are open source or not, I would like to ethically dissect them and find what I'm looking for.

Any help is appreciated.
Title: Re: Improved Turret Research (Old Alpha Idea)
Post by: O Negative on October 19, 2022, 08:45:17 PM
Solved:

<ResearchProjectDef>
        <defName>GunTurretCooling</defName>
        <label>gun turret cooling</label>
        <description>Gun turrets fire four shots in a burst instead of three.</description>
        <totalCost>400</totalCost>
    <researchMods>
      <li>
        <specialAction>ResearchModsSpecial.GunTurretCooling</specialAction>
      </li>
    </researchMods>
    </ResearchProjectDef>


(https://media.discordapp.net/attachments/215496692047413249/1032447413006372934/unknown.png)

Credit: Aelanna