PDA

View Full Version : Hovering Units Issue


Aqo
03-10-2006, 2:35 PM
I tried to make the Ultralisk a hovering unit (like the vulture) so that it'll hover around instead of walking and have a shadow that is based on the unit so that I don't have to paint one myself (I'm giving the ultralisk new graphics).
What happened, after modifying whatever I found to be required (in ICE and Arsenal3) is that I got a long list of copies of the ultralisk's graphic in a vertical line (instead of a shadow under the unit like I wanted).

What am I missing?

DiscipleOfAdun
03-10-2006, 3:07 PM
I tried to make the Ultralisk a hovering unit (like the vulture) so that it'll hover around instead of walking and have a shadow that is based on the unit so that I don't have to paint one myself (I'm giving the ultralisk new graphics).
What happened, after modifying whatever I found to be required (in ICE and Arsenal3) is that I got a long list of copies of the ultralisk's graphic in a vertical line (instead of a shadow under the unit like I wanted).

What am I missing?

Probably has to do with the command you used to try to spawn the shadow or with images.dat. I suggest not using A3, especially since your editing images.dat. Use DatEdit. I'm not going to be able to convice you to switch over to IceCC however, so just see what you can do about showing the script acording to Ice. That will help us figure out what is wrong.

Aqo
03-10-2006, 3:24 PM
Actually, I haven't touched images.dat at all... that's probably where my problem lies, thanks for pointing it out. (I'm actually using DatEdit already, but I'm used to say 'Arsenal III' when it comes down to dat editing :P )

[edit] Bah. Just edited the images.dat, and theres's no change. :(

Well, the ICE script I use for Initial Animation if the following:

Place active underlay (images.dat) 50 at vertical offeset 1792
Play frame 0
Go to offset 31162

dark.slayer
03-10-2006, 4:00 PM
arnt hovering units like the probe flingys?

crystal679
03-10-2006, 8:57 PM
Hovering means that it can't be targeted by spider mines but still can't fly.

StealthyDeath
03-10-2006, 11:07 PM
You'll have to use Arsenal Zero as that is how I'm explaining it. :D You can probably adapt it to DatEdit, but I have never used that before.

Open the decompiled images.txt and search for Ultralisk Shad. Change the "File" to the exact number from the Ultralisk's "File". This basically changing the graphic. You are now using the ultralisk graphic instead of its shadow graphic.

Using ICE or IceCC, change the "Initial Animation". I'm not sure, but I think the first line is an underlay or overlay. Copy the offset from the vulture while keeping the other number(s) intact.

I'm thinking all of this off whatever knowledge I have left on modding so it might not work. If this doesn't work I can probably dig up my Starcraft CD and reinstall it to see if I give you a correct answer.

Aqo
03-11-2006, 3:32 AM
Open the decompiled images.txt and search for Ultralisk Shad. Change the "File" to the exact number from the Ultralisk's "File". This basically changing the graphic. You are now using the ultralisk graphic instead of its shadow graphic.

Using ICE or IceCC, change the "Initial Animation". I'm not sure, but I think the first line is an underlay or overlay. Copy the offset from the vulture while keeping the other number(s) intact.
You just described step by step exactly what I've done. :\

StealthyDeath
03-11-2006, 2:27 PM
The problem seems to be in the Initial Animation. Your underlay is pointing to the Ultralisk entry and not the shadow entry.

It should look like this in ICE:
Place active underlay (images.dat) 51 at vertical offeset 1792
Play frame 153
Go to offset 31162

Aqo
03-11-2006, 2:43 PM
:D

It works now! Thanks!!!