mihete wrote: ↑Sun May 05, 2024 7:03 pm
In Zodd's table which is the difference between shield read and shield write?
in most cases write opcodes act only if a condition is met.
for example no reload with a write opcode would only act while you shoot
your weapon and write a new value on the clip/mag address or skips a code that reduces your clip (dec / sub code).
read opcodes on the other hand access the address all the time (like 1000 times per second)
or with some conditon(open a map, menu, inventory etc.).
write opcodes a mostly better for no reload or godmode or any kind of game interactions (pickup items, gold)
read opcodes are used for infinite health or to make pointers for money, character stats etc.
in case of energy shield i have both variants in but i would clearly prefer the write option.
energy shield works similar to inf health / godmode scripts.
while inf health update your health value very frequent with a specific number you still can die if you get damage that is
highter than your current health.
godmode (write) often uses the opcodes that writes damage / writes the new health value. so if this opcode writes your health to 0 an inf health wouldnt save you but a godmode (if made right) prevents this totally.
tldr:
use the energy shield (write) version. its better and thats why its part of the AIO script.
there is no real reason for the read version. you can just delete it.