Staredit Network

Staredit Network -> Concepts -> TRIGGERS OF GOD
Report, edit, etc...Posted by MapUnprotector on 2005-07-30 at 00:57:32
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.
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 01:08:19
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?
Report, edit, etc...Posted by r[s]t on 2005-07-30 at 01:24:23
so i tried to make that trig and i installed those new files

SO i jsut copy thay?

cuz -29781) is nto a unit
Report, edit, etc...Posted by SiKawticPaladin on 2005-07-30 at 01:30:18
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" yawn.gif

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 smile.gif) 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) biggrin.gif.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-07-30 at 01:40:23
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.
Report, edit, etc...Posted by SiKawticPaladin on 2005-07-30 at 01:47:25
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.
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 01:55:57
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.
Report, edit, etc...Posted by Mr_Mooo_Cow(U) on 2005-07-30 at 02:09:40
Me and Swap and messing around trying to build a complete list of basic units to modify their weapons... here are some screen shots i took in the process tongue.gif its going to take a while... we have to basically do it twice because we need to location units ground attacks and air attacks.

user posted image
user posted image
user posted imageuser posted image
user posted image
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 02:42:23
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.
Report, edit, etc...Posted by Kamikaze.Kow on 2005-07-30 at 02:49:36
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!
Report, edit, etc...Posted by pimpinelephant on 2005-07-30 at 02:51:09
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'"?
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 02:59:17
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?
Report, edit, etc...Posted by pimpinelephant on 2005-07-30 at 03:24:12
is it possible to give a unit a spell? like giving the marine the cloak ability without combining it with a ghost?
Report, edit, etc...Posted by Mr_Mooo_Cow(U) on 2005-07-30 at 03:25:54
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.
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 03:31:52
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.
Report, edit, etc...Posted by @:@ on 2005-07-30 at 03:46:12
DTBattlekruiser.. your site translated .. >>

Teh Translated Korean Site

Another thing, your memory calc isn't working, all i get is "Can't do this..."
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 03:52:48
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.
Report, edit, etc...Posted by Angelfarto on 2005-07-30 at 04:42:59
[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?
Report, edit, etc...Posted by Staredit.Net Essence on 2005-07-30 at 04:51:11
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 wink.gif
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...
Report, edit, etc...Posted by Angelfarto on 2005-07-30 at 05:42:14
Ah thank you.. now my ling can melee attack something at a distance ;] (except air units..)

SetDeaths(P8, SetTo, 256, -29572);
Report, edit, etc...Posted by hynk on 2005-07-30 at 09:00:27
Can someone tell me the formula for this stuff? Like, for example, how did you get this, -29573?
Report, edit, etc...Posted by Voyager7456(MM) on 2005-07-30 at 09:25:47
http://homework.f2o.org/memcalc.py

DTBK, your new MemCalc PWNS. It's so easy to use! biggrin.gif
Report, edit, etc...Posted by JohnnyHazardous on 2005-07-30 at 10:00:14
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.
Report, edit, etc...Posted by XxXFaNtA on 2005-07-30 at 10:26:11
You have to choose the Ghost from the list of the "UNITS", not from the List of the "FLINGYS" (Scroll down to it :> )
Report, edit, etc...Posted by JohnnyHazardous on 2005-07-30 at 11:39:44
Oh thats what I thought but I was too lazy.
Next Page (20)