I'm going to be posting in this thread everytime I get a modding tutorial.
QUOTE
Viewing Tutorial: Advanced usage for IceCC/iscripting with use TE
by nirvanajung
My Advanced usage for IceCC/iscripting with use TEXT-CODE EDITOR
-----------------------------------------------------------------------------------------------
introduction
Note:
this is just my usage so u guys just referring to merit of this tutorials
and i'd not teach about how to write basical iceCC
So this Tip apply to an intermediate iscript coders
it's need to some coding experience but just need quite a little
1.My usage for writing iscript of IceCC
Before introduction,
i use powered text-code editor mainly when i work for writing iscript
n i use GRP preview animaite Tool when i want c my script for animation
Most General pplz, use notepad or wordpad in windows
and that good enough for use,
but you can work more easily with Advanced text editor
that drive u to Advanced Scriptor
some editor is need pay to buy suc as ultraedit/Editplus..etc
but there are many good freewares and they are so passable stuff
i suggest one out of many, that is "PSPad"
PSPad editor is very good freeware to coding
it's support these features :
- work with various programming environments
- highlight syntax in code
- make self a custom small tool with simple controls
and it give capabilities of a mighty code editor 2 user
- smart search engine to direct find words
editor PSPad is ready to work immediately,
without requiring customization. The editor supports many file types and languages,
with syntax highlighting. There are macros, clip files and templates to automate
repetitive activities. An integrated HEX Editor, Project support, FTP Client,
Macro Recorder, File Search/Replace, Code Explorer, code page conversion,
are just some of the many possibilities that PSPad can offer you.
and another good thing is i made Optimized high-light syntax in code for iceCC
if u load iscript *.TXT file,u can see high-light colors of each class
so u read source with more colorful, like this
user posted image
Note : it might be not show syntax colors at fist opened time if script lines are too long
but u can see by order to View->Sytax at menus
also u can change syntax highlight colors as u please
But Most Great thing is u can use hotkey for strings of iceCC Script-code
it also i made hotkey to link to clip text for PSPad
for example, just press hotkey "CTRL+P" if u want write iceCC-word "playframno"
and that hotkey settings allow change as u please
what is better,there are showed iceCC-operation code list with popup windows
and u can pick one string of iceCC code list
those all code list already maded to cumstom option by me
user posted image
just press Ctrl+Alt+Space at once then u'll see that popup list
PSPad is best choice for people who want to have
free functionality of professional for highlevel iceCC coder
visit hre if u want go PSPad offical website
http://www.pspad.com/my other introduce tool is CV5-Blizzard's GFX tool(Diablo,Starcraft)
it's allow u open,view,extract,convert,play animate with CV5 Script
that furnish more useful and Good functions
n u can get CV5 information from here
http://www.staredit.net/index.php?showtopi...=0entry456841that's best combined collection for Expert of iscripting for the current
so it would be better for writting and check shape of animation rather guesswork
from my experience
1.iceCC/iscript coding with PSPad
i did mention about PSPad above modified custom options and functions too
best good thing is that's totally FREEWARE so u use that full
u can use advance set with settings what maded by me When u run that PSPad
- PSPad layout and features for iceCC
ok guys, let me introduce PSPad layout and menus
i had set some layout and menus for IceCC also uguys can make either
1.Farvotie tool
add farvorite working files n website and link 2 programs
go to favorie tool what icon is heart at left toolbar
there 4 categories for adding
[1] Files - bookmark ur favorite text files for writting
[2] Directoires - bookmk favorite work folder
[3] www - bookmk useful websites
[4] tools - link application excute file
such as IceCCUI.BAT,ice.exe,datedit.exe,memgraft.exe etc...
just as u please
i had bookmark useful stuff for SC modding here is my settings
------------
files
-mymodscript.txt
directoies
-mymod
www
-many of starmodding coummuity and website
tools
-Winmpq,iceCC,ASZero,Asenal3,Datedit,StarGraft,memgraft,StarDraft-SE etc..
------------
so u guys just bookmark as u want by right click in mid blank
of over farvorite tool then can direct running each other tools from farvorites
user posted image
and u guys could make connection parameters to each Applications
by settings of parameters from Newlink options
user posted image
2.Project tool
this tool useful when u got to work for sererval units script u can specify any text file on the Project
Also u can open specified all files at once from Project
user posted image
3.Clipboard Monitor tool
it's very useful when u type same words repeatedly times
just select words and copy (Ctl+C) then ur word contained into Clipboard Monitor and just select and d-click then ur word will just paste
user posted image
4.Advanced search engine
PSPad allow searching word to deatils for u from Search Results windows
user posted image
just select as u wanted line that's all,it's very simple
5.command line tool
it's allow running command dos directly such as decompile with icedc.exe
user posted image
6. syntax highlighting
Do you like syntax highlighting in your code? then PSPad is for you
u can set highlighting colors as u please so u could read iceCC script more easily
user posted image
aight we had look around what is merit of PSPad for iceCC coders
rest features is u guys's task referring to PSPad manual, u can see that by help menu of PSPad
there are so many great features
but it's not best one ever, there are many TEXT-CODE EDITOR
some would say lik this
" hey~! this is not best solution my editor is better good than this thumbdown.gif "
right~! it's not best one , just my introuduction one of TEXT-CODE EDITOR
choice anythings whatever you want
Also i have not use this for main solution, i use Editplus what created by korean
and it's retails
but Considering that is Freeware, it's awesome
aight here is my ini settings files what changed settings to like as explained set
download my zip file here
first off download PSPad from here
http://www.pspad.com/and install and extract this zip file and replace files into PSPad installed path
then u'll see layout and shape of settings same as my settings
QUOTE
Viewing Tutorial: protoss_Clone SCV, who build Nexus Terran building
by nirvanajung
i decide for write this tutorial after someone want
how make to build other race's buildings without crash
and also this tutorial will very help for person who want
advanced knowhow of StarCraft button Editing
get this zip file uguys will like it
Notice:
i did attach my source files what reference to this tutorial into that zip file
but u have to edit and make some files by ur self
such as Nexus.grp and iscript.bin
This post has been edited by nirvanajung: Yesterday, 08:57 PM
Attached File(s)
Turial_protoss_Clone_SCV.zip is linked to here
http://www.staredit.net/index.php?act=Atta...e=post&id=19191QUOTE
Viewing Tutorial: write iscript with preview/play GRPwith use CV5
by nirvanajung
ok... now i give really Great and useful Tip/Tutorial to urs
i say this usage is "CV5 and ice/iceCC combo"
then uguys curious to know about CV5
what is CV5?.... ok that is view and extract tool to many image files for Blizzard's Game Graphics
Basically CV5 is Diablo1/2 tool for GFX but i can work for StarCraft
and allow open,view,extract,convert,play animate,animate with Scriptthat is furnish more useful and Good functions
but CV5 can not compile to GRP file it just can open,view,extract,convert,play animate
so when u make to GRP then use other GRP Tools
ok~! if want get CV5 then just click this
http://www.staredit.net/index.php?download=5133This Tools great stuffs for creat/edit StarCraft GRP file
unzip and then there is include 3 tools
1. cv5 - this is viewer and extract to many image files for Blizzard's Game Graphics
2. MPQMaster - this is MPQ tool,It is much faster and smaller than other tools
3. Paledit - tool for color set(pallette)
in my usage, i always use MPQMaster that is more faster and smaller than winmpq
trust me that is ture, i recommend "MPQMaster" to urs
ok then i gonna return to the subject
i said about "cv5's function" that can open,view,extract,convert,play animate,animate with Script(own strings) for GRP file
so if use CV5 and written script combo then u could work like Video Studio really
as u know , when write iscript with ice/iceCC ,especially when use iceCC ...
there are not enough wanted functions to play and preview
ice is service preview GRP but that just show images and if want see other frames
that function is very annoying because there is no functions about Auto play for Animate
but CV5 can that stuffs and also CV5 support animation Script
Scripting is very experimental
for example, if u write script for marnes actions something , write Scripts of CV5 animate as same with writed play frames in marine's header
and enable scripts in CV5 and play animate GRP then u can play Auto animation preview as marine's Script
ok then now it's gonna more details.....i will gonna with example and it will going step by step
1. when u use ice/iceCC then run CV5 together
2. ok u just write Script to marine Actions something (ex:Other Actions)
3. then that scription is similar like this
note: for raise understanding, i will not use hex for frames number
it just orignial number so uguys should notice that
CODE
MarineOther:
playfram 17
wait 1
playfram 18
wait 1
playfram 20
wait 1
playfram 22
wait 1
playfram 21
wait 1
playfram 150
wait 1
playfram 151
wait 1
goto other somthing
that script contents is not important that script just written impromptu
Anyway now, write script-file for CV5 animating
if u read "README.txt" file in CV5 intalled folder then u could know how to use for
script-file with CV5
CV5 script just simple this is basic script.....
CODE
// this is a comment
01
02
03
03 MIRROR_X
02 MIRROR_X
01 MIRROR_X
01 MIRROR_Y
02 MIRROR_X MIRROR_Y
--------------------------------
frm number | effect
that's all very simple
ok now going to CV5 windows
first, how to load CV5-Script ?
just follow this.....
-------------------------------------------------------------------------------------
1.run CV5 and load any GRP
2. creat *.txt file or *.scp whatever file format is not important
just creat document file with notepad or other text editor
3. write script like above-mentioned in created text file
4. now check "enable Scripts" in Animator area of CV5 windows and click [>>] button then select created text-script file and click [play] button finally then u will see animation with use script-file (sometimes u should to click [play] button twice then will play well)
5. and enjoy play ur Scripts ~!
-------------------------------------------------------------------------------------
then refer to that basic used script and now write script-file for CV5 animating
if want play in same with written Scripts then write like this
CODE
17
18
20
22
21
150
151
just write play frame number that's all
did u creat ur CV5-Script for unit's Actions ? if did that, load Script file and play
how's play?... that is cool? i think this way is ver usefull for write special motions and effect like as flame,explosion animation
ok just try this ways it maybe make more effectively and very useful for many stuffs
here is my workspace screenshot
user posted image
Basic usage for CV5
here are some usage of CV5 for StarCraft GRP
1. how to load StarCraft Pallette
- just click [palette] button and pick pal file then show colors as well
2. how to covert to other images file (like jpg,gif,bmp)
- when u load any GRP files then there is showed frame number list on Browser windows and selet frames and click [save] then u can covert to save files
3. how to change animation play speed
- just input speed value in speed input box
4. when i use CV5 script-file it was crashed
- if u write non exist frame number in GRP files then that will crash
5. how to make to animate GIF file?
- if u want convert GRP frames to animate GIF then input start frame and end frame number and [save] button in animator label then frames save to Gif files
6. how to showed frames to multiple ?
- select frames multiple and click [view] button then just show images to multiple
in ones
here is basic marine script for CV5 animating
CODE
//attack
0
17
34
51
34
51
34
51
34
17
0
//walking
85
102
119
136
153
170
187
204
68
and SCV
CODE
//Attack and working
34
17
34
17
this is my custom script
CODE
//SCV looks like Dancing
16
33
49
50
49 MIRROR_X
49
50
49 MIRROR_X
33
49
49 MIRROR_X
49
50
49 MIRROR_X
33
49
49 MIRROR_X
49
50
49 MIRROR_X
33
49
CODE
//marine gun shot and jump
33
31
30
48
63
46
63
46
63
82
101
118
186
FAQ
-------
Q : I cant get it to load a Script, but AWESOMEE!!1
A : 1.run CV5 and load any GRP
2. creat *.txt file or *.scp whatever file format is not important
just creat document file with notepad or other text editor
3. write script like above-mentioned in created text file
4. now check "enable Scripts" in Animator area of CV5 windows and click [>>] button then select created text-script file and click [play] button finally then u will see animation with use script-file (sometimes u should to click [play] button twice then will play well)
5. and enjoy play ur Scripts ~!
if u want preview to each Actions of units animations with ice/iceCC
then Scripting for CV5 is very cool gear to Advance writing iscript
just write play frames as same as written play frame number for iscript
QUOTE
Viewing Tutorial: dig out SC-Special Palette/colors, with use revers
by nirvanajung
hey guys~! i have Good news here~! especialy this thread good for graphic modders
what is good news?... alright~! listen .....
Many of you may wondering what about the colors of SC special pallette, right?
and ditto here
Basically... many of u when decompiling thingy/*.GRP to BMP then there is
no right pallette that GRP is mainly " explosion / special effect / particle / flames /
lights effects ....etc.. "
there are just basic SC colors so u couldn't see colors correctly
so i have to find out their correctly colors and i used other way,
that way is reverse pictorial pallete
what is that mean?... here going details.........
if u read pinned my thread about pallette , u know about principle of pallette already
ok.. then what i used way?...
i just made GRP with picture of SC pallette like this... take look
user posted image
right~! it is image that pictured of pallette colors and this image compiled to GRP
so then if compiled GRP is Command center or others ...whatever...
that GRP will Displayed picture of pallette
that's it what how to find out special pallette~!
in images.dat of Datedit/Asnall3, there is set about pallete
and typical used special image is "unit\thingy\TbangX.grp" and other explorsion GRP too
and that images used Special pallete and used speical colors set
if u see that in DatEdit/others... u can see this...
user posted image
so image palette use to special and set special color and input saved images.dat file into MPQ
so then that Command center will Displayed colors with used palette and colors
like this.... i just ran SC-Mapeditor that is best way to see like play game
user posted image
that's the way~! right~! so simple if know about rule of palette, that way is
everyones could get already
such that process use to other palette and colors so i could got these most palette
user posted image
Bascially... pallete/colors is need just only a few
according to Datedit, needed thing is just palette : 9-use special and EMP Shockwave
(Atcually EMP is not have to know that is enough with Basic palette)
and there are colors 1. orange 2.Green 3.Blue1 4.Blue2 that's it needed things
most thingy\*.grp is used special and own colors
1. orange is used most Terran's explosion / glow / flame / etc...
2. Green is used most Zerg's explosion / weapons, magic effect / etc...
3. Blue1 is used deffensive Matrix and Protoss's glow / etc...
4. Blue2 is used most Protoss's explosion / flame / etc...
so i had referring to dispalyed GRP and edit palette to as each palettes
here is specialy palettes take look~!
SPECIAL / YELLOW
user posted image
SPECIAL / GREEN
user posted image
SPECIAL / BLUE 1
user posted image
SPECIAL / BLUE 2
user posted image
but uguys cath out about different colors a little bit with Disaplyed GRP
as comparison with this
user posted image
it is yellow colors
user posted image
what u could see different ? there is a few differece colors in set
look at first line's colors there is #1 ~ #14 colors are changed by myself
that why is there are applied opacity with Background
and 4th line, #32~#36 color is opacity too
so i made change for when if use those palette then looks good and easy
to understanding opacity of colors
but most colors has opacity a little bit themself that is special feature of Special palette
Special palette has each opacity rate with Background
for example, here is images what used "Default/Default" and " special / yellow"
Default

yellow
user posted image
How about looks ? yellow is nearly correct essential colors
baically... background tranceparence color is R0 G255 B0
and opacity colors is dark than backgrond color so that make understand to
what about rate of opacity
is the more darkness, the more opacity rate is getting down
so in a yellow palette, that showed gradient darkness with Green and on 4th line too
greenness set is my color set for understand to rate of opacity
and special palette is only use 36colors , 4 lines that why is im not sure
but when i did made used all colors picture that GRP does Crashed
i guess that special palette just used limited colors
Note: these palette are not totally correct to Game Screenshot
but these are nearly correct essential colors and notice about opacity Greenness colors
alright~! that is basic rules and other palette is same rules
so i show urs what does images used pallete







Sc_palette_Default_Special.zip ( 2.17k )
QUOTE
Viewing Tutorial: basic introduction of Ice
by nirvanajung
1. basic knowhow for before the beginning
first , running Ice and start load custom isript.bin files or load Default file on File menus of Ice
then u can start scripting now~!
select unit in Header taps or typing units id number what u want change thing and click to search by header btn
then u can see unit images in GRP prieview Tap
u can see each offset numbers of headers in Entry Header tap that number is what header used that scripts contents
so if u change offset number then that header action's scripts will change to that numbers script
2. way to change and goto offset
ok, i will explain to an example is "Terran marines" in this section
goto "Animation Scripts" tap and are there many animaitons headers
that animations exist each offset numbers
u can see find that numbers on "script offset" line that position of layout is lower of right side
ok first , choose "Initial Animation" in Animations drop down list
and then showed operation code sripts in center contents box
each code line has own offset number too like animation headers can find that number on "op Offset:" line
let's see the " Terran marine's Initial Animation"
CODE
place active underlay [images.dat] 240 at vertical offset 0
play frame 68
wait either 63 or 75 ticks [random]
using randomizer value[?] 25 , jump to offset 28964
using randomizer value[?] 128 , jump to offset 28942
Go to offset 28928
u can find three offset codes in here that offset codes deferent operation to eachother but both action will be goto other offset
check offset codes in scripts contents
"jump to offset 28964" -> this will go to other animations at randomly , ramdom time is values number -> "value[?] 25 "
and if u want find that offset number where are going ?
typing that number "28964" in "Goto offset" input box and click "goto" btn
then u can see changed srcipt contents and find changed number "28964" on "scripts offset" line
that mean is srcipt offset goto one after the other codes must exist where are going next offset code or finishing operation codes
let's see other offset codes at last line
"Go to offset 28928" -> this code mean is where are going next animation when this script action finished
and u can go that offset directly, select that code line and just double click
then u can jump to that offset
"Go to offset" operation always can jump by that ways
if u want change jump offset ? then select offset number area and click one time,
then number color be changes other color and u can edit that number
Remember, offset number is linked animations contents so u may write number without error in animation ( this mean is that unit must be can running all operation codes with changed offset)
see "Go to offset 28928" again,
and double click that line and jump to that offset
then scripts change showed that deleted upper codes some lines as compared with Initial Animation
that is "Other" header in IceCC (when unit has not doing anything action for a while)
if u want change that scripts codes then u edit codes ur self firsthand
or otherway is goto "Entry Header" tap and change Initial Animation
section's number as other unit's "Initial Animation" offset number such as zealots etc...
the way is click [...] like this button and popup "Set Animation windows"
select units header as u want things and select that's animations too , click to [ok] button then "Initial Animation" offset number
be changed and u can see changed operations codes in srcipts contents box of Animation Scripts Taps
Remember again, u may write offset number without error , this is very important about crash game
if changed operation code be can not running for Terran Marines (such as "unable play frames number" or written wrong id numbers)
3. randomizing functions in scripts
this section is about how can add new operation codes
goto Animation Scripts tap
and u can see a lot of buttons, input box and contents area form
1 . Animation [...........................................] (dropdown list)
this is showed about unit what has animation headers
recorded animations is linked to situation of "Entry Header" setting
if each Entry Header item be registered then showed that animations in Animation dropdown list
2. scripts contents form box
this box is showed what header written a operation codes
and u can edit the value each opcodes , copy paste and delete code too
3.command buttons
there are many command buttons , this buttton will creat new code and command other operation
----------
buttons
----------
[New] - > this is write new operation code in Scripts lines
click that and popup "New Opcode" windows and select opcodes as u wanna write things and click to [ok] then created line and new code in Scripts contents form
[copy] -> copy to selected line codes
[paste] -> paste codes (there are some bug in ice u may click twowise at first time)
[up] -> selected codes is move up one line
[jump] -> scripts header jump to selected offset codes
[Delete] -> Delete code line
[Cut] -> same to Del
[Hex] -> Hex edit
[Down] -> selected codes is move down one line
[Back] -> go to offset ago
4.Offset search area
in lower of right side , u can see search offset area
----------------------------------
Goto Offset [ ] [Goto] -> this is search offset written numbers
Script Offset : -> this is showed current Animation header's offset number
Op Offset : this is showed current operation code's offset number
Detail of [New] button jump to popup "New Opcode" windows
if u want write new operation code like "play frame 17" then u may click [New] btn
and choose that opcode in opcoed drop-down list and change frame number value
All operation codes are be writed like that ways
i can't explain now about each opcodes because u can find and search out that opcodes meaning with original scripts of other units
ok, this tutorial is not rub a person the right way and my english not good i know that plz understand me ~!
anyway i hope this tut help to beginner Ice
I will fix grammar after I can verify these work and stuff.