Staredit Network

Staredit Network -> Modding Assistance -> When SCVs Fly:
Report, edit, etc...Posted by Laser_Dude on 2006-11-01 at 21:38:08
I've been trying to make flying SCVs with a dropship animation, and everything has been going smoothly, I extracted the SCV.grp to see how many frames it needed, took the dropship grp, extracted it. Edited the .RAL using notepad, so that the .GRP has the right number of screens, I edited units.dat, weapons.dat, and sprites.dat, and everything was going fine. However, there is one problem. Although they behave as air units do:fly over all terrain... They do not appear that way, they just appear to hover, and the shadow is right below them.

How can I make it so that the shadow is in the right place to make them appear to be flying.
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-11-01 at 22:03:17
Change where the imgul09 places the shadow: change the third parameter to a positive number, e.g.

imgul09 xx 0 1

where xx is the number of the shadow overlay. 42 is what the battlecruiser uses, so somewhere between 30 and 50 should look good.
Report, edit, etc...Posted by Laser_Dude on 2006-11-01 at 22:10:43
QUOTE(Lord_Agamemnon(MM) @ Nov 1 2006, 08:03 PM)
Change where the imgul09 places the shadow: change the third parameter to a positive number, e.g.

imgul09 xx 0 1

where xx is the number of the shadow overlay.  42 is what the battlecruiser uses, so somewhere between 30 and 50 should look good.
[right][snapback]582030[/snapback][/right]


Where can I find that?

If it involves iscripting, I can't seem to get IceCC to install, so the question would turn to how can I get it to work.
Report, edit, etc...Posted by ShadowFlare on 2006-11-01 at 23:39:51
Since it would be such an easy task to change this, I just made an iscript.bin with the distance from the SCV to the shadow changed to be the same as for the dropship.

http://shadowflare.samods.org/files/scv_shad_height.zip




When was the text under my avatar changed to "Sexy Beast" ? lol
Report, edit, etc...Posted by Laser_Dude on 2006-11-02 at 01:42:40
I need to learn to do this myself. I'm going to need to figure out why IceCC won't install. After all, this is just a sample/test thing, The whole point is to learn how to do stuff. Also, I can't just ask someone for help every time I need some iscripting done.

If anyone could help me installing IceCC it would be greatly appreciated.
Report, edit, etc...Posted by TheNomad on 2006-11-02 at 05:02:34
QUOTE(Laser_Dude @ Nov 2 2006, 09:42 AM)
I need to learn to do this myself.  I'm going to need to figure out why IceCC won't install.  After all, this is just a sample/test thing, The whole point is to learn how to do stuff.  Also, I can't just ask someone for help every time I need some iscripting done.

If anyone could help me installing IceCC it would be greatly appreciated.
[right][snapback]582110[/snapback][/right]


by "not installing", do you mean it won't work with JAVA (or better said, running the batch file results in a bad command or filename error ?)

==
lol @ ShadowFlare
Report, edit, etc...Posted by ShadowFlare on 2006-11-02 at 14:39:19
QUOTE(Laser_Dude @ Nov 2 2006, 12:42 AM)
I need to learn to do this myself.  I'm going to need to figure out why IceCC won't install.  After all, this is just a sample/test thing, The whole point is to learn how to do stuff.  Also, I can't just ask someone for help every time I need some iscripting done.

If anyone could help me installing IceCC it would be greatly appreciated.
[right][snapback]582110[/snapback][/right]

Hmm, I'll be releasing a modified/updated version of IceCC soon, possibly as soon as later today or tomorrow. It fixes various different things and changes some other things in it.

BTW, are you trying to run the command-line programs or IceCCUI? If you want to run IceCCUI(.jar) you need the Java Runtime Environment (JRE) installed.
Report, edit, etc...Posted by Ojan on 2006-11-02 at 14:49:51
Also make sure that the path is C:\IceCC

If you put the program anywhere else, it won't run.



ShadowFlare :)
Report, edit, etc...Posted by Laser_Dude on 2006-11-02 at 18:28:54
I extracted all the files to C:\IceCC

I then tried running the exe file "IceCC"

A Dos window came up for a split second, then disappeared, I wasn't able to find any difference in files, or anything new around.

NOTE: I can't seem to open the manual, I don't have adobe reader, and the dowload in the .txt doesn't work.

ADDITION:
I downloaded ICE to see if it was any different, installation was a peice of cake since it was just a single exe, unfortuneately, I have no idea how to use it. I can't seem to find the SCV shadow.

ADDITION:
And when I do get my iscript.bin working, do I just put it in the MPQ and use MPQDraft? What is the folder name?

ADDITION:
I know the folder name now, scripts\. I took a look at the only non-MemGraft mod I have, voy's 36craft.
Report, edit, etc...Posted by ShadowFlare on 2006-11-02 at 21:17:21
QUOTE(Ojan @ Nov 2 2006, 01:49 PM)
Also make sure that the path is C:\IceCC

If you put the program anywhere else, it won't run.
ShadowFlare smile.gif
[right][snapback]582209[/snapback][/right]

If using "IceCC Fix" from this site, then that is fixed so you don't need to. (my version will have that fix as well)

QUOTE(Laser_Dude @ Nov 2 2006, 05:28 PM)
I extracted all the files to  C:\IceCC

I then tried running the exe file "IceCC"

A Dos window came up for a split second, then disappeared, I wasn't able to find any difference in files, or anything new around.

IceCC.exe (and IceDC.exe) are console-mode programs, meaning they need to be run from cmd.exe or command.com. If you don't know the commands for the console, then use IceCCUI. It needs Jave Runtime Environment to run, so if you don't have it, then get it here: http://java.com/getjava/

QUOTE
NOTE: I can't seem to open the manual, I don't have adobe reader, and the dowload in the .txt doesn't work.

If you don't want to download the whole adobe reader package, download Foxit Reader. It is a fairly compact pdf viewer (only around 1.5 MB).

QUOTE
I downloaded ICE to see if it was any different, installation was a peice of cake since it was just a single exe, unfortuneately, I have no idea how to use it.  I can't seem to find the SCV shadow.

Don't use ICE for the actual editing of iscript.bin, many of its opcodes are wrong (some have the wrong sizes even), and it can't really be changed. IceCC has a more complete opcodes list in it, so it decompiles and compiles the scripts more correctly. (even more correct in the version I will be releasing)

QUOTE
And when I do get my iscript.bin working, do I just put it in the MPQ and use MPQDraft? What is the folder name?

ADDITION:
I know the folder name now, scripts\.  I took a look at the only non-MemGraft mod I have, voy's 36craft.
[right][snapback]582317[/snapback][/right]

Yes, put it in as scripts\iscript.bin
Report, edit, etc...Posted by Laser_Dude on 2006-11-03 at 02:53:56
I'll take another look at it tomorrow, but for now I have an enormous math assignment which is higher priority(Especially when it's 11:52 and it's due tomorrow!) crazy.gif . The only reason I'm even posting this is for a quick break. Damn you quadractics! angry.gif
Report, edit, etc...Posted by ShadowFlare on 2006-11-03 at 23:00:53
Topic for the updated IceCC: http://www.staredit.net/index.php?showtopic=35993 happy.gif
Report, edit, etc...Posted by Laser_Dude on 2006-11-04 at 00:33:24
I got it working, but I can't seem to decompile it right. I select SCV shad from the list, and hit decompile, but I can't find what was said above, or heck anything even remotely alike.

ADDITION:
hmmm, again. I tried doing the "don't check anything" thing so that I get everything. I managed to find what I needed, but I can't seem to get this done on smaller scales. Maybe I need the IDs for the units or something alike.
Report, edit, etc...Posted by ShadowFlare on 2006-11-04 at 00:34:16
Look at the entry that is for the SCV, not the shadow. The position of overlay/underlay graphics is never determined by the iscript for the actual image, but for the one that uses it.
Report, edit, etc...Posted by Laser_Dude on 2006-11-04 at 01:14:45
Thank you so much!

It works perfectly. Now I can iscript, skill will come, but you need knowledge first. I might have to do a bit of research on each individual section though, but at least the basics are down.

user posted image
Next Page (1)