Staredit Network

Staredit Network -> Modding Assistance -> (Sigh) Need more help...
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-30 at 18:40:39
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.
Report, edit, etc...Posted by Voyager7456(MM) on 2006-03-30 at 21:32:00
What are the Type and Explosion values? Setting it to None will cause it to do no damage.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-31 at 14:51:03
Both normal...
Report, edit, etc...Posted by Darktossgen(MM) on 2006-03-31 at 15:21:15
In the iscript of the Scanner sweep, add a domissiledmg command. It does 0 because it never uses the damage amount tongue.gif
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-31 at 16:14:05
(Sigh) IceCC confuses me. Is there a more user-friendly program to edit the iscript?
Report, edit, etc...Posted by Ojan on 2006-03-31 at 17:48:18
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.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-31 at 19:30:01
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?
Report, edit, etc...Posted by Firebird on 2006-04-01 at 05:43:47
laugh.gif you mean iscript.bin
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-01 at 08:02:42
No... 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...
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-04-01 at 09:57:57
thats because it only works in the folder "C:\IceCC"
Report, edit, etc...Posted by Firebird on 2006-04-01 at 10:38:49
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.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-02 at 14:02:16
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...
Report, edit, etc...Posted by Voyager7456(MM) on 2006-04-02 at 21:52:16
The domissledmg command should probably be in the death animation, so that it deals damage as it disappears.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-03 at 11:17:59
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!
Report, edit, etc...Posted by Voyager7456(MM) on 2006-04-13 at 19:15:01
The Images section. Scanner Sweep should be entry number 546.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-14 at 08:24:19
Thanks Voyager!!!

You're my new Idol smile.gif

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?
Report, edit, etc...Posted by Darktossgen(MM) on 2006-04-14 at 09:49:29
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?
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-14 at 11:12:46
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.
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-04-14 at 11:44:18
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
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-14 at 14:03:18
Alright, that makes sense, but it still doesn't help.
I'm so confused.
Next Page (1)