Staredit Network

Staredit Network -> Concepts -> TRIGGERS OF GOD
Report, edit, etc...Posted by Pauper on 2005-07-30 at 20:01:35
Well, i made one anyways because i already started! Here it is... and all figure out memcalc some time...

Key:

Player = Unit attack will be applied on.

0 = Default attack for that unit.

-29572 = Ground Attacks

DIFFRENT UNITS HAVE DIFFRENT ATTACKS!

Wraith Attacks:

SetDeaths( <Player> , Add , <0> , -29572 );

1 = Burst Laser

2 = ATA Laser Battery

3 = ATA Laser Battery

4 = ATA Laser Battery

5 = Flame Thrower

6 = Arclite Shock Cannon

7 = Yamoto Gun

8 = Lockdown

9 = Irradiate

10 = Claws

11 = Needle Spines

12 = Kaiser Blades

13 = Toxic Spores

14 = Spines

15 = Acid Spore

16 = Glave Wurm

17 = Venom ( Starcraft Beta Weapon )

18 = Seeker Spores

19 = Suicide

20 = Parasite

21 = Ensnare

22 = Plague

23 = Particle Beam

24 = Psi Blades

25 = Phase Disrupter

26 = Psi Asault

27 = Psionic Shockwave

28 = Unused ( Radio Active Icon )

29 = Anti-Matter Missles

30 = Anti-Matter Missles

31 = Anti-Matter Missles

32 = STS Photon Cannon

33 = Scrab

34 = Psionic Storm

35 = Warp Blades

36 = Laser Battery

37 = Bombs ( Starcraft Beta Weapon )

38 = Undentified Weapon Name

39 = Undentified Weapon Name

40 = Twin Auto Cannons

41 = Flame Thrower

42 = Nuetron Flare

43 = Restoration

44 = Corrosive Acid

45 = Feedback?

46 = Maelstrom

47 = Gauss Riffle

48 = C-10 Canister Riffle

49 = Dual Photon Blasters

50 = C-10 Canister Riffle ( Kerrigan )

51 = Gauss Riffle

Battle Cruiser Attacks:

1 = ATS Laser Battery

2 = ATS Laser Battery

3 = Flame Thrower

4 = Arclite Shcok Canon

5 = Longbolt Missle

6 = nueclear Strike ( Holy )

7 = EMP Shock Wave

8 = Claws

9 = Claws

10 = Needle Spines

v1.1
Report, edit, etc...Posted by SiKawticPaladin on 2005-07-30 at 20:04:12
QUOTE(Pauper @ Jul 30 2005, 06:36 PM)
Now i wana know how to change more advanced things like HP or air attacks not just ground! Will someone please help me?  Starforge style please...
[right][snapback]274534[/snapback][/right]
Ok, here's what you do. Goto the memcalc(http://homework.f2o.org/memcalc.py), and in boxes under Easy Mode: goto (in box one) "HP amount (max)" under UNITS.dat, then in the second box, go under units and find the unit who's health you want to change. Click "Go". For example, I'll be changing the Firebats (like in my example map).

The memcalc generates: "You need to modify the 4 byte value starting on byte 1 of deaths of -29776 for player 5 ."

So take the SF trigger, and place "P5" as the player, and use "-29776" as the unit. For the number of deaths, use the health you want*256. If I wanted the firebat to have 1 health, I would have this trigger:

SetDeaths(P5, SetTo, 256, -29776);

You can do this with other units, placing there "unit" and player in the appropriate spot.

Report, edit, etc...Posted by Pauper on 2005-07-30 at 20:04:29
Thx for trying to help me but... i use the SF mothod! Will someone please teach how to use memcalc please for the SF thing please?! It says im doing in wrong and i dont understand it please tell me! Wait!!! What do you mean... why use p5 if you want the unti for p1?!
Report, edit, etc...Posted by JohnnyHazardous on 2005-07-30 at 20:04:30
So UberEdit is going to be a map editor or what?
Report, edit, etc...Posted by SiKawticPaladin on 2005-07-30 at 20:09:37
QUOTE(Pauper @ Jul 30 2005, 07:04 PM)
Thx for trying to help me but... i use the SF mothod! Will someone please teach how to use memcalc please for the SF thing please?! It says im doing in wrong and i  dont understand it please tell me! Wait!!! What do you mean... why use p5 if you want the unti for p1?!
[right][snapback]274571[/snapback][/right]

Because your changing raw information. The combination of setting that specific unit for that specific playe will overwrite the previous string there (saying a firebat will have 50 health) which causes the max hp to change.
Report, edit, etc...Posted by LegacyWeapon on 2005-07-30 at 20:12:02
QUOTE
So UberEdit is going to be a map editor or what?

*cough*
http://www.staredit.net/index.php?showtopi...ndpost&p=274124
Report, edit, etc...Posted by Subrosian on 2005-07-30 at 20:18:16
ARGH! I'm getting really frustrated here. I can't get starforge to read the triggers and I haven't gotten any helpful responses so far.

First, I've downloaded death's attachment at page 3 when he posted it and said that I had a problem, and I couldn't use ANY death triggers. I even tried using DTBK's death trigger in the tutorial around page 8 and it popped up an error, and it also happened when I tried viewing krazy's maps. I also downloaded deathknight's attachment again in the later pages, just in case. However it still didn't work.

Edit: Check my other posts on this thread for more details. I don't want to repeat it again; this is getting annoying.
Report, edit, etc...Posted by pimpinelephant on 2005-07-30 at 20:22:22
QUOTE(Pauper)
Thx for trying to help me but... i use the SF mothod! Will someone please teach how to use memcalc please for the SF thing please?! It says im doing in wrong and i dont understand it please tell me! Wait!!! What do you mean... why use p5 if you want the unti for p1?!


1) Go to the MemCalc.
2) Easy Mode - I want to change "6BC93C - Damage Amount" on the object "011 - Arclite Cannon". Click "Go".
3) It should say - You need to modify the 2 byte value starting on byte 3 of deaths of -29265 for player 4. Go back to MemCalc.
4) Convert to StarForge Trigger Format - I want to modify a "2" byte value starting on byte "3" of deaths of unit # "-29265" for player "4", I want to "Set this value to" "1" (Value was entered in "Hexedecimal"). Click "Go"

I want to "Set this value to" "1". This means that the number u put into where it is grey, that will change the weapons attack damage, so since it is 1, it will only do 1 damage, if you put 10, then it will do 16 damage, basically you have to experiment until you get the results you want.
Report, edit, etc...Posted by Pauper on 2005-07-30 at 20:30:10
so after the place where you slect your modifier you put in the number you want the neqw thing to be? Like 1 to make the attack 1?
Report, edit, etc...Posted by pimpinelephant on 2005-07-30 at 20:33:11
you have to experiment until u get what u want really.
Report, edit, etc...Posted by Pauper on 2005-07-30 at 20:40:46
HOLY :poo:! This is like WC3! With its unit editor!
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 20:42:08
QUOTE(Pauper @ Jul 30 2005, 05:01 PM)
Well, i made one anyways because i already started! Here it is... and all figure out memcalc some time...

---uselessness---
[right][snapback]274567[/snapback][/right]


It's "different for every unit" when you add because different units have different weapons and hence different byte values for that weapon.


QUOTE(Pauper @ Jul 30 2005, 05:30 PM)
so after the place where you slect your modifier you put in the number you want the neqw thing to be? Like 1 to make the attack 1?
[right][snapback]274589[/snapback][/right]


Yes. Be careful what other bytes you screw with when using SetTo() though.

EDIT: 4.0 beta taking a lil longer, damn teplate html is 7600 lines, its crashing the highlighter in my python gui...

Yay.. screw fancy dropdown boxes for the unit editor.. 7600 line template for that is an overflow, returns buffer error.. sad.gif
Report, edit, etc...Posted by pimpinelephant on 2005-07-30 at 20:44:32
i created a uploadable tank, but this one is a bit different.
1) i changed it from "Terran Ship Plating" to "Terran Vehicle Plating"
2) i changed the turrets attack from 30 to 16
3) i changed the turrets upgrade bonus from 3 (i think it was) to 2
These were all done with triggers too, the only thing i changed in "Unit Properties" was the name. not sure why u would want to check this out, but oh well, here it is.

[attachmentid=12309]
Report, edit, etc...Posted by Mr_Mooo_Cow(U) on 2005-07-30 at 20:49:29
Pauper your list is totally wrong lol -_-;;, but when I first started messing with weapons I made my own list to, which was wrong as well... trust me just use aresenel III, or better yet, just the mem calc (learn how to use it).
Report, edit, etc...Posted by pimpinelephant on 2005-07-30 at 21:08:25
ERROR: MemCalc is not yet configured to handle spliced values.

when will this be configured?

another question, what is "Graphic" for in the Units.dat, what does it change?
Report, edit, etc...Posted by Pauper on 2005-07-30 at 21:28:30
i understand it now. Wow this is amazing...
Report, edit, etc...Posted by Desperado on 2005-07-30 at 22:10:32
I changed Jim Raynor (Marine) to use a C-10 Cannister rifle for his attack, but when the unit attacked it still used the sound of the Gauss Rifle. This must mean that the sound is part of units.dat but this attribute is not listed in the MemoryCalc as of yet. Perhaps this is one of the unknowns? I think that's important to find out if you are going to bother changing units' weapons, you need to be able to change the sound too.
Report, edit, etc...Posted by Voyager7456(MM) on 2005-07-30 at 22:10:57
QUOTE(LegacyWeapon @ Jul 30 2005, 06:12 PM)
*cough*
http://www.staredit.net/index.php?showtopi...ndpost&p=274124
[right][snapback]274576[/snapback][/right]


Dang Legacy, you had me excited (I thought the link was to a release thread. tongue.gif )
Report, edit, etc...Posted by Merrell on 2005-07-30 at 22:22:48
QUOTE(MrrLL @ Jul 30 2005, 05:35 PM)
Btw, can someone tell me the trigger how to make Interceptors Carriers? (so interceptors fire more interceptors)

I would be happy if someone told me the exact trigger.
[right][snapback]274455[/snapback][/right]

Report, edit, etc...Posted by DT_Battlekruser on 2005-07-30 at 22:26:04
Can you?


QUOTE
I changed Jim Raynor (Marine) to use a C-10 Cannister rifle for his attack, but when the unit attacked it still used the sound of the Gauss Rifle. This must mean that the sound is part of units.dat but this attribute is not listed in the MemoryCalc as of yet. Perhaps this is one of the unknowns? I think that's important to find out if you are going to bother changing units' weapons, you need to be able to change the sound too.


Will look into this..

MemCalc 4 (beta) link here: http://homework.f2o.org/memcalc4b.py

It doesn't do anything yet, but you can see the GUI.
Report, edit, etc...Posted by Pauper on 2005-07-30 at 22:32:11
Thats a buety! Cna you make it more like llined up and centered? Like the chack boxes? Its really nice gj!
Report, edit, etc...Posted by Oo.Mo0.oO on 2005-07-30 at 22:49:17
Don't listen to pauper get it working whenever you can.
Report, edit, etc...Posted by scwizard on 2005-07-30 at 23:25:09
QUOTE(krazydrunkking @ Jul 29 2005, 10:16 PM)
Easy mode has too many errors and Advanced Mode is kinda complicated.[right][snapback]273732[/snapback][/right]
It seems like it would be very easy to add and subtract shields in easy mode though. That's kinda the first step.

ADDITION:
QUOTE
I changed Jim Raynor (Marine) to use a C-10 Cannister rifle for his attack, but when the unit attacked it still used the sound of the Gauss Rifle. This must mean that the sound is part of units.dat but this attribute is not listed in the MemoryCalc as of yet. Perhaps this is one of the unknowns? I think that's important to find out if you are going to bother changing units' weapons, you need to be able to change the sound too.
To change the sounds you need to edit the iscript.bin file I think.

Will it be possible to edit the iscripts with trigger eventually?
Report, edit, etc...Posted by LegacyWeapon on 2005-07-31 at 00:26:16
QUOTE(Voyager7456(MM) @ Jul 30 2005, 10:10 PM)
Dang Legacy, you had me excited (I thought the link was to a release thread. tongue.gif )
[right][snapback]274664[/snapback][/right]
We don't exactly know when it will be released because there are many other factors involved.

Currently we are working on extended actions and inserting them into triggers. We plan on working on ways to remove actions, remove conditions, remove triggers, add triggers. We aren't sure if we are going to add extended conditions. We are also considering making a complete trigger editor. These are all possibilities and they all may delay the release of this program.

I actually think DK has done more coding than me for this project, even though he hasn't programed a single letter in uberation, he has made countless data files essential to my program and I am grateful biggrin.gif
Without him, I doubt I would've gotten as far as this.
Report, edit, etc...Posted by MapUnprotector on 2005-07-31 at 00:42:46
Legacy first make a COMPLETE extended trigger editor, release that, then work on a complete editor. What's more important is a working extended trigger editor, working on the complete one would take toooo long tongue.gif
Next Page (23)