Staredit Network

Staredit Network -> Modding Assistance -> Basic IceCC tut (giving eg overlords attacks)
Report, edit, etc...Posted by Tearshed on 2005-09-26 at 01:54:35
Can someone show me to a website or something for how to give a non-attacking unit an attack in IceCC?

Greatly Appreciated.

EDIT:

And how to get infinate interceptors would be good.
Report, edit, etc...Posted by Voyager7456(MM) on 2005-09-26 at 09:48:11
For the Interceptors, you must use MemGraft. In the Interceptor's Unit Requirement, there's a condition "Must have hangar space". Try deleting it and see what happens.

Report, edit, etc...Posted by DiscipleOfAdun on 2005-09-26 at 10:29:22
Yeah, that will make it so you can build infinite. If you want to have a limit, you'd have to hex edit the exe.
Report, edit, etc...Posted by BroodKiller on 2005-09-26 at 12:03:58
Or create a custom ASM action. That's relatively easy, I remember doing this myself some time ago...smile.gif
Report, edit, etc...Posted by Doodle77(MM) on 2005-09-26 at 17:12:21
well, you just need to make something saying
CODE
OverlordGndAttackInt:
       goto            OverlordGndAttackRpt

OverlordGndAttackRpt:
       attack26

and then edit the header to say this:
CODE
GndAttkInit     OverlordGndAttackInt
AirAttkInit     OverlordGndAttackInt
SpAbility1      [NONE]
GndAttkRpt      OverlordGndAttackRpt
AirAttkRpt      OverlordGndAttackRpt

After that, you go to the Arsenal III entry and give it a weapon.
The only problem is that you cant give it an attack button without requiring 1.12b
Report, edit, etc...Posted by DiscipleOfAdun on 2005-09-26 at 18:07:23
Transports already have an attack button, it just doesn't show up until they are given a weapon.

There is a little bit missing from the attack animation. It should look like:

CODE
OverlordGndAttackInt:
      goto            OverlordGndAttackRpt

OverlordGndAttackRpt:
      attack26
      gotorepeatattk
      goto            OverlordOther(or whatever seems to be the idle animation)


You need the gotorepeatattk so it will attack more than once.
Report, edit, etc...Posted by Tearshed on 2005-09-26 at 18:50:16
Thanks. And there is no point using memgraft..its outdated for now.

Ok, I guess thats it for now.
Report, edit, etc...Posted by scwizard on 2005-09-26 at 20:42:38
You don't need to use memgraft. As DiscipleOfAdun mentioned.

There's Doodle77, messing up his iscripts again... tisk tisk Doodle, I thought I taught you better.

ADDITION:
QUOTE(BroodKiller @ Sep 26 2005, 11:03 AM)
Or create a custom ASM action. That's relatively easy, I remember doing this myself some time ago...smile.gif[right][snapback]322609[/snapback][/right]
Must have been quite a long time ago. To do that you need Stargraft, which only works with 1.07.

IT JUST CAME TO ME!
THEY MUST MAKE: Stargraft With (!!!) auto updater.

It can somehow detect the changes in the exe for the new patch and automatically update it self to accomidate for those changes.
Report, edit, etc...Posted by Tearshed on 2005-09-27 at 00:33:17
New one: How do you give a unit another attack? I've seen this in another thread. Someone asked how to get a unit to shoot something now and then(but thats a 'secondary' weapon). Im lloking on how to give a unit a secondary weapon or another attack (whatever you want to call it)
Report, edit, etc...Posted by DiscipleOfAdun on 2005-09-27 at 10:02:42
QUOTE(Tearshed @ Sep 26 2005, 10:32 PM)
New one: How do you give a unit another attack? I've seen this in another thread. Someone asked how to get a unit to shoot something now and then(but thats a 'secondary' weapon). Im lloking on how to give a unit a secondary weapon or another attack (whatever you want to call it)
[right][snapback]322980[/snapback][/right]


I'm guessing it is a ground weapon with a ground weapon, or air and air. You need to edit the iscript to choose between the two weapons. There are two Iscript commands I'd consider using. They are trgtrangecondjmp or _1e__condjmp. The first is the one you probably want. It jumps based on the distance that a target is, in pixels, from the unit. The second one is a random jump. The Archon uses the trgtrangecondjmp in its attack.
Report, edit, etc...Posted by BroodKiller on 2005-09-27 at 10:58:15
QUOTE(m.r.bob @ Sep 27 2005, 02:42 AM)
ADDITION:
Must have been quite a long time ago. To do that you need Stargraft, which only works with 1.07.


Nah! You're wrong. MemGraft 1.11 (was there a one for this version? I think so...) and 1.12b support CASM just fine. And if you don't believe me - I got this info from DarkWizzard personally....smile.gif
Report, edit, etc...Posted by DiscipleOfAdun on 2005-09-27 at 15:38:21
QUOTE(BroodKiller @ Sep 27 2005, 08:57 AM)
Nah! You're wrong. MemGraft 1.11 (was there a one for this version? I think so...) and 1.12b support CASM just fine. And if you don't believe me - I got this info from DarkWizzard personally....smile.gif
[right][snapback]323073[/snapback][/right]


I second that. It does. In fact, I bet that it could be updated to 1.13e quite quickly, but it wouldn't do as much, since a lot of the 1.13 patches deliberately remove some of the holes that made memgraft worth using. Zerg can't use the create unit command unless it is a ICC(remember not being able to build infested terrans?), nor can it use unit morph unless it is a larva, hydra, or muta(1.13a made this restriction). I personally have a hex edited version that workes for 1.13a. But, what it doesn't support that would be helpful is a piece of code running every cycle(like the code that decreses stimpack time or regen hp).


Oh, and it was 1.11b.

I forget, after using trgtrangecondjmp to jump, use either attack25 or useweapon. If you give the unit 2 ground/air weapons, the attack25 will be based off which entry in units.dat. useweapon will allow you to use any weapon, not just limited to two. If you try one of the other attacking commands, you might run into some problems.
Report, edit, etc...Posted by Tearshed on 2005-09-27 at 18:26:56
I am a bit silly, I ment to say regular ICE not CC. My bad. Anyway can you tell me whats wrong with my ice? Picture below.

user posted image
Report, edit, etc...Posted by DT_Battlekruser on 2005-09-27 at 22:03:43
Nothing? Just the idiot creator decided to have black text on black background.
Report, edit, etc...Posted by EzDay281 on 2005-09-27 at 22:24:57
It's not so much the creator's fault as his for having black background settings on his color display.
I'm not sure about XP, but to change color settings in 98, go to desktop, properties, appearance, and the rest is straight forward.
Report, edit, etc...Posted by Tearshed on 2005-09-28 at 00:48:01
so it might be me there...

When I used ice on xp home (my old dead melted computer now) I remember I could see clearly(dont remember the colours), now I'm running XP pro.

Hmm?
Report, edit, etc...Posted by BroodKiller on 2005-09-29 at 11:23:47
QUOTE(Tearshed @ Sep 28 2005, 12:26 AM)
Anyway can you tell me whats wrong with my ice?


ICE itself is wrong....wink.gif
Next Page (1)