Alright... I have another problem with the same conversion I was working on
here.I took the regular BC attack and changed it... Alot.
Here's what I've changed:
Amount: 80
Bonus: 10
Cooldown: 45
Label: EMP Shockwave
Error msg: Must attack mechanical units
Behaviour: Appears on target
Graphics: Scanner sweep
Icon: EMP Shockwave
Flags checked: Ground+Mechanical
It's the same problem that I had with the tank, the attack works fine but does 0 damage. I'm trying to make it attack only ground units and only mechanical+buildings (no organic). Again, I hope I have included everything you will need.
What are the Type and Explosion values? Setting it to None will cause it to do no damage.
In the iscript of the Scanner sweep, add a domissiledmg command. It does 0 because it never uses the damage amount (Sigh) IceCC confuses me. Is there a more user-friendly program to edit the iscript?
Yes, there is ICE. It's buggy, outdated and will on many random occations corrupt your iscript-file and render your work useless.
IceCC is completely buggless and gives you full power to edit the Iscript. It's your pick.
Alright I figured out how to make IceCC work, but when I try to open "33 ScannerSweep (units)" I get the following error: "Cannot find the iscript.txt file." Where is iscript.txt and where do I need to put it?
you mean iscript.
binNo... IceCC uses a .txt file to edit the iscript (I think so, anyway. When I click "open in editor" it gives me that error and opens notepad.)
Note: I'm going away for a while, don't expect a response from me before Monday...
thats because it only works in the folder "C:\IceCC"
oh, i dont use that... just select the units or w/e u want to edit, fill in the details down the bottom and click "decompile" it should turn it into the file u named it as.
Alright... I pressed the decompile button, and now the "open in editor" button works. I just need to know where to put the "domissiledmg" thing. Maybe I'll check the tutorial...
The domissledmg command should probably be in the death animation, so that it deals damage as it disappears.
One last question... On IceCC there are sections (units, flingy, etc.) which section would I have to modify for the scanner sweep?
ADD: Someone help!
The Images section. Scanner Sweep should be entry number 546.
Thanks Voyager!!!
You're my new Idol
ADD: 546 is an unknown... I'll try it anyway though. I couldn't find scanner sweep anywhere else.
Another ADD: When I tried to make my BC attack, it crashed!
Here's exactly what the iscript file looks like:
CODE
#
------------------------------------------------------------------------
----- #
# This is a decompile of the iscript.bin file 'data/scripts/iscript.bin'
# created on: Fri Apr 14 09:39:58 2006
#
------------------------------------------------------------------------
----- #
#
------------------------------------------------------------------------
----- #
# This header is used by images.dat entries:
# 546 Unknown546 (thingy\eveCast.grp)
# 545 Unknown545 (thingy\halmind.grp)
.headerstart
IsId 253
Type 1
Init Unknown545Init
Death Unknown545Death
.headerend
#
------------------------------------------------------------------------
----- #
Unknown545Init:
playfram 0
wait 2
playfram 1
wait 2
playfram 2
wait 2
playfram 3
wait 2
playfram 4
wait 2
playfram 5
wait 2
playfram 6
wait 2
playfram 7
wait 2
Unknown545Death:
wait 1
domissiledmg
end
I put it in my patch using winmpq (scripts\iscript.bin) and loaded the patch with mpqDraft.
What am I doing wrong?
CODE
#
------------------------------------------------------------------------
# This is a decompile of the iscript.bin file 'data/scripts/iscript.bin'
# created on: Fri Apr 14 09:39:58 2006
------------------------------------------------------------------------
# This header is used by images.dat entries:
# 546 Unknown546 (thingy\eveCast.grp)
# 545 Unknown545 (thingy\halmind.grp)
.headerstart
IsId 253
Type 1
Init Unknown545Init
Death Unknown545Death
.headerend
#
------------------------------------------------------------------------
Unknown545Init:
playfram 0
wait 2
playfram 1
wait 2
playfram 2
wait 2
playfram 3
wait 2
playfram 4
wait 2
playfram 5
wait 2
playfram 6
wait 2
playfram 7
wait 2
Unknown545Death:
wait 1
domissiledmg
end
Whats with the spaces you put?
Err... What?
I just copied and pasted directly from notepad...
The tabs didn't get copied for some reason though, but that shouldn't matter.
Just so you know, anything OTHER then code/comment could mess it up,
and all comments have to start with # or IceCC doesn't know whether to compile them or not, so it can easily cause problems
Comments are used for notes the user reads,
the # in the comment tells IceCC to ignore the rest of the line when compiling
Alright, that makes sense, but it still doesn't help.
I'm so confused.