Staredit Network > Forums > Modding Assistance > Topic: [help] starting energy
[help] starting energy
Aug 10 2019, 7:18 pm
By: Lagi  

Aug 10 2019, 7:18 pm Lagi Post #1



I try to set starting energy more than 50. I check all GPTP can not find it (there is max energy 250 or 200 to be modify).

Would like to change it globally for each unit to be let say 100. But would appreciate to know how to set it for each individual unit as well.

edit:
in Firegradt there is exe edit for Spellcaster, select custom caster and second option set energy, but I dont know how to set it up.

Post has been edited 1 time(s), last time on Aug 12 2019, 7:22 am by Lagi.



None.

Sep 2 2019, 9:44 pm Lagi Post #2



still dont know how to set higher starting energy,

but nice thing - energy update increase reg speed by 25%. Just put into game hook.cpp

//energy upgrade +25%energy regeneration rate

if(
(unit->id == UnitId::ghost && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::MoebiusReactor)) && !(unit->status & UnitStatus::Cloaked)) ||
(unit->id == UnitId::wraith && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ApolloReactor)) && !(unit->status & UnitStatus::Cloaked)) ||
(unit->id == UnitId::battlecruiser && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ColossusReactor))) ||
(unit->id == UnitId::queen && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::GameteMeiosis))) ||
(unit->id == UnitId::defiler && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::MetasynapticNode))) ||
(unit->id == UnitId::high_templar && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::KhaydarinAmulet))) ||
(unit->id == UnitId::arbiter && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::KhaydarinCore))) ||
(unit->id == UnitId::corsair && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ArgusJewel))) ||
(unit->id == UnitId::medic && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::CaduceusReactor))) ||
(unit->id == UnitId::dark_archon && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ArgusTalisman)))
)
unit->energy += 2; // 8 is default speed


//end energy upgrade +25%energy regeneration rate


Post has been edited 1 time(s), last time on Sep 8 2019, 9:41 am by Lagi.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:18 am]
KrayZee -- If Resident Evil 4 is getting a remake, they better make the plot believable. Like actually send an entire team to rescue the President's daughter but the team was ambushed and all equipment were lost. Leon is the only survivor and only kept a handgun. Later he would hitchhike and get picked up. He then asked to be dropped off the nearest town.
[04:01 am]
RIVE -- The significance is lessened by the probability of future RE titles ignoring either conclusion in favor of a rewrite anyway.
[03:59 am]
RIVE -- Mia's on the Chopper vs Mia's not on the Chopper.
[07:33 pm]
KrayZee -- RIVE
RIVE shouted: Also, what was the point of choosing between Mia or Zoe when there's no pay-off?
There is payoff since there are different endings.
[04:10 pm]
RIVE -- CV is stupid hard. (Those red hunters..) If that was remade, Capcom would water it down too much.
[04:08 pm]
RIVE -- Also, what was the point of choosing between Mia or Zoe when there's no pay-off?
[04:08 pm]
RIVE -- RE5 felt like a chore. 7's alright except the Eveline fight is a blander rehashed of Carla from 6 which is sad bc 6 was terrible.
[04:00 pm]
O)FaRTy1billion[MM] -- Zycorax
Zycorax shouted: Their names makes absolutely no sense.
1, 360, 1, 10. what's not to follow?
[02:22 pm]
Dem0n -- RE7 was actually fun AF tho. Pretty spooky too.
[12:48 pm]
Zycorax -- Their names makes absolutely no sense.
Please log in to shout.


Members Online: UEDCommander, Roy, izabellaoberry