That's why this thread should only be for actual developments and information such as lists and stuff. Not people asking HOW to do it.
QUOTE(SiKawticPaladin @ Jul 29 2005, 08:49 PM)
Has anyone successfully trigger-changed the marines max health?
Here's my trigger:
Trigger |
Players:All Players |
Conditions:Always |
Actions:SetDeaths(P33, SetTo, 256, -29781); |
I didn't see any effect...
[right][snapback]273758[/snapback][/right]
*Tests it* Me neither. There's two reasons.
1. I'm not sure how that player wraparound trick supposedly works. How, exactly, do you set deaths of unit x for Player 9?
2. It seems I'm wrong with the byte explanation. I edited the HP of a firebat and there's something screwy with that 4th byte.
D`OH, forget to set to 100%
Effects on HP are still odd, I set bytes to
C8 00 00 00
and when I set firbat HP to 100% it goes to 1/1...
Off to do more testing.
QUOTE(Death_Drake @ Jul 29 2005, 09:12 PM)
Ok how would change the varible of this like what number?
I tried Adding 16777216 to this but nothing budged. Help Please.
[right][snapback]273766[/snapback][/right]
Adding that adds 01 to the 3rd byte. You bytes would then look like this: 00 00 01 00
Which property are you editing?so i tried to make that trig and i installed those new files
SO i jsut copy thay?
cuz -29781) is nto a unit
I am also playing with it again...
I got the wireframe to turn red, and it didn't show his health, but he still died. (Same as your results yes?). I'll mess around with more numbers...
I just set it to "9999" deaths. The firebats health was set to "50/39"

I have a hypothesis on what's happening. Must test more.
EDIT: I just got it to turn the firebat's max health to 9999 (I was actually TRYING to set it to this

) All I did was take 9999*256=2559744. Put that as the deaths:
(here's the action) SetDeaths(P5, SetTo, 2559744, -29776);
Woot. It worked, I'll mess around with more numbers.
EDIT2:
I have now successfully changed the firebat's health to 9999, 15, and 1 (all on purpose)

.
QUOTE
Adding that adds 01 to the 3rd byte. You bytes would then look like this: 00 00 01 00
Which property are you editing?
Im editing the maximum range for Gauss Rifle(hero) but i don't know how to change the varible of it.
If it's anything like the hp, take the number you want, and multiply it by 256. Then use that as the amount you set P?'s unit death count to.
Here's a map showing the firebat, with hp changing.
You have to re-que the firebat after each change.
I figured out the problem with the HP byte.
Byte 1 of HP is the HP2 box in Starforge. If you leave it as 0, you get normal HP. Any other byte value and you get things like 43/42. Read the new description in MemCalc.
I'm quickly filling out the byte value section in MemCalc. Refer there for information on what to set the byte to.
I already finished unit weapons.
I'm shocked, amazed, and slightly disgusted with this find!!1!
....That being said, well done!
I'm lovin every second of it, though i have to admit i got to page 13 and gave up reading..
Nice find DK!
how would you put a new spell thing on a unit? like lets say after you make a siege tank able to upload units, how would u add siege mode back onto the tank? in the memcalc, would u do "I want to change '65DFD0 - Technology' on the object '098 - Siege Mode'"?
Order --- Technology is a setting the makes a technology required for an order to execute.
Perhaps if you changed Action Comp AI, Action Human AI, and Action Unknown AI to Pick up for Terran Dropship, that might work.. Haven't seen the pickup tank map yet.
EDIT: MemCalc now has some entry links from here: http://tillanoid.intelnet.co.kr/bbs/layout.php?channel=main
Can't read the stupid site, but it seems they found this discovery form us. Anyone know Korean here? is it possible to give a unit a spell? like giving the marine the cloak ability without combining it with a ghost?
hahaha DT ur calc is a good thing and bad thing lol me and swap wasted hours making our list and then we find that ur calc has been fixed to do it!?!? lol im happy and sad at the same time -_-;; but hey its good for everyone else.
I think ur calculator still has some bugs I put in Ground Attack Weapon and tassadar which works... but then i put sarah kerrigan and it gives me a error.
Not sure what you and swap were doing, I made the list by looking at weapons.dat with Arsenal III and built it from the UIDs.
DTBattlekruiser.. your site translated .. >>
Teh Translated Korean Site
Another thing, your memory calc isn't working, all i get is "Can't do this..." Make sure you match edit type and object type. If you're editing a units.dat offset, pick a UNIT object.
Jeez, it's ~6PM in Korea and Korean hits are flooding MemCalc.
See you guys at like 10AM.
[COLOR=green]Just a little help with the memcalc and byte editing... sorry if this question's been asked already but this seems important enough..
Ok so say I want to edit shields for a unit or whatever. I run memcalc and it tells me I need to edit the first byte - XX 00 00 00.
I think I understand that if you: SetDeaths(P8, SetTo, 1, -29572);
This should make: 01 00 00 00.
So here's the questions..
1. How then do we easily edit the second byte, 00 xx 00 00
2. The third, 00 00 xx 00
3. And the fourth, 00 00 00 xx?
Either you add or setto 1, 256, 256², or 256³
So, hi here. Since this is still in research, I will just wait and see^^ I just want to tell the researching and testing guys how much I like their work. Mooo, your testing wansn't for nothing, because memcalc needs to be proven to work

I, too, vote for something like a tutorial-thread where all the lists, links and maybe some examples are posted. These 25 pages are too much...
Ah thank you.. now my ling can melee attack something at a distance ;] (except air units..)
SetDeaths(P8, SetTo, 256, -29572);
Can someone tell me the formula for this stuff? Like, for example, how did you get this, -29573?
I was just testing out the MemCalc and I tried to add shields to ghost (easy mode) and it said "ERROR: Can't use a Units.dat offset to modify a Flingy." You're not finished yet right? I'll wait a while.
You have to choose the Ghost from the list of the "UNITS", not from the List of the "FLINGYS" (Scroll down to it :> )
Oh thats what I thought but I was too lazy.