Staredit Network

Staredit Network -> Modding Assistance -> Need help with cleaning up this tutorial...
Report, edit, etc...Posted by Tuxedo Templar on 2006-09-29 at 09:45:05
Sorry nirvanajung, I'm having a hard time reading or understanding this. I've done some modding before but I'm not fully versed on terminology (or at least I've forgotten most of it by now pinch.gif ), and the poor grammar isn't making this any clearer. Anyone mind helping clean this up before I can approve it?

QUOTE
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=5133

This 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
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-29 at 15:34:51
Here you go...at least as much as I can fix up... disgust.gif
(Edited post to make it quoted)

QUOTE
Okay, here's a great and useful tip/tutorial
use this for "CV5 and Ice/IceCC combo"
then you guys want to know about CV5.
What is CV5? a view and extract tool for most image files blizzard uses for it's graphics files.
Basically, CV5 is a Diablo tool for GFX files, but it also works for StarCraft and allows  open/view/extract/convert/play animation/animating with scripts for easily furnishing and other useful functions.

Note: CV5 can't compile GRP files, it can only open/view/extract/convert/play animation...
So don't try to just use this tool, as you still need other GRP tools along with it.


This tool's great for creating or editing GRP files.

To set it up, unzip it and there should be 3 included tools.
1. CV5 - this is a viewer and extracts image files for Blizzard's Game Graphics.
2. MPQMaster - this is a MPQ tool, it is much faster and smaller than other tools.
3. Paledit - this tool is for color set. (palette files)

In my usage, I always use MPQMaster since it's faster and smaller than WinMPQ, so I'd recommend you use MPQMaster.


Ok, I'll return to the subject.

As I said about CV5's function, it can open/view/extract/convert/play animation/animate with Script(own strings) for GRP file.


As you know, when you write a iscript with Ice/IceCC, especially when use IceCC... there isn't the functions to play and preview.
Ice has the preview GRP  function, but that just shows images and if you want to see other frames that function is very annoying because there is no functions to auto play for animation.

But CV5 can do that and also supports animation Script.
Note: scripting is very experimental.


For example, if you write a new iscript for the marines actions, write a script for CV5 to animate the same as you'd write play frames in the marine's header
and set it to enabling scripts in CV5 and play animate GRP, you can play auto animation preview the same as the marine's script.


Okay, now it's going to be more detailed.....I will go on with a example and it will get more detailed step by step.


1. When u use Ice/IceCC, run CV5 with it.
2. Write a script for marine's Actions. (ex: Other Actions)
3. then the script should look similar like this:
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



what that script contains is not important, that script is just written for an example.
Anyway, write script-file for CV5 animating.
If u read "README.txt" file in CV5's installed folder then u could learn how to use the
script-file with CV5

CV5 is simple, this is a 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
--------------------------------


Sorry, I'm getting tired of writing this and couldn't finish the rest, hopefully this helped some...
Report, edit, etc...Posted by nirvanajung on 2006-09-29 at 16:17:14
Thx TF
Tuxedo Templar i'm sorry about my poor grammar
that tutorial was written for long time ago that was uses really bad expressions and grammar

i would fix up that though TF has fixed

But u know what, i think that isn't need to read or understanding not much
that's just simply tools

CV5 allow u to view and extract for most image files which used for Blizzard game
For starcraft, u can open/view/extact/convert GRP file
and play animation GRP by Scripting without do any compile

So if u notice that , Acutally you can understand the system of CV5 for
ur iscripting whitout any tutorials

if u have experienced in iscript/GRP editing
then just try run and look around of menus and buttons

CV5 so simple, u don't need to take a time for understand the use
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-29 at 21:08:51
I finally finished fixing it up, here it is. happy.gif

QUOTE
Okay, here's a great and useful tip/tutorial
use this for "CV5 and Ice/IceCC combo"
then you guys want to know about CV5.
What is CV5? a view and extract tool for most image files blizzard uses for it's graphics files.
Basically, CV5 is a Diablo tool for GFX files, but it also works for StarCraft and allows  open/view/extract/convert/play animation/animating with scripts for easily furnishing and other useful functions.

Note: CV5 can't compile GRP files, it can only open/view/extract/convert/play animation...
So don't try to just use this tool, as you still need other GRP tools along with it.


This tool's great for creating or editing GRP files.

To set it up, unzip it and there should be 3 included tools.
1. CV5 - this is a viewer and extracts image files for Blizzard's Game Graphics.
2. MPQMaster - this is a MPQ tool, it is much faster and smaller than other tools.
3. Paledit - this tool is for color set. (palette files)

In my usage, I always use MPQMaster since it's faster and smaller than WinMPQ, so I'd recommend you use MPQMaster.


Ok, I'll return to the subject.

As I said about CV5's function, it can open/view/extract/convert/play animation/animate with Script(own strings) for GRP file.


As you know, when you write a iscript with Ice/IceCC, especially when use IceCC... there isn't the functions to play and preview.
Ice has the preview GRP  function, but that just shows images and if you want to see other frames that function is very annoying because there is no functions to auto play for animation.

But CV5 can do that and also supports animation Script.
Note: scripting is very experimental.


For example, if you write a new iscript for the marines actions, write a script for CV5 to animate the same as you'd write play frames in the marine's header
and set it to enabling scripts in CV5 and play animate GRP, you can play auto animation preview the same as the marine's script.


Okay, now it's going to be more detailed.....I will go on with a example and it will get more detailed step by step.


1. When u use Ice/IceCC, run CV5 with it.
2. Write a script for marine's Actions. (ex: Other Actions)
3. then the script should look similar like this:
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



what that script contains is not important, that script is just written for an example.
Anyway, write script-file for CV5 animating.
If u read "README.txt" file in CV5's installed folder then u could learn how to use the
script-file with CV5

CV5 is simple, this is a 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
--------------------------------



frame number | effect

it's all very simple


okay, now going to CV5 windows...


first, how to load CV5-Script?

just follow this.....
-------------------------------------------------------------------------------------
•1. Run CV5 and load any GRP.
•2. Create a *.txt file or *.scp, whatever file format you choose is not important, just create document file with notepad or another text editor.
•3. Write script like the one I showed you earlier.
•4. Now check "enable Scripts" in Animator area of CV5 windows and click [>>] button then select a created text-script file and click the [play] button, finally you will see the animation using the script-file. (sometimes u might need to click the [play] button twice for it to play well)
•5. Enjoy playing your animated scripts ~!
-------------------------------------------------------------------------------------

refer to that basic script and now write a script-file for CV5 animating,
if you want it to play at the same time, written Scripts then write like this

CODE
17
18
20
22
21
150
151



You just write play frame number.
Did u create your CV5-Script for unit's Actions? if you did, load the script file and play.
How's play?... That is cool? I think this way is very useful for write special motions and effect such as flames, or explosions animation

okay, just try this way and it might be more effective and useful for many things.

here is my workspace screenshot

user posted image

Basic usage for CV5:

here are some uses CV5 has for StarCraft's GRPs.

1. How to load StarCraft Palette:
- just click [palette] button and pick palette file, then show colors as well.

2. How to covert to other image file types: (like jpg, gif, bmp)
- when you load any GRP files, it shows the frame number list on Browser windows, select frames and click [save], then you can covert to other file types.

3. How to change animation play speed?
- Just input speed value in speed input box.

4. When I use a CV5 script-file it crashes.
- If you write a non-existent frame number it will crash.

5. How do I make it animate a GIF file?
- If you want to convert the GRP frames to animate GIF, then input starting frame and ending frame number, and click on the [save] button in animator label, then frames save to GIF files.

6. How to show multiple frames?
- Select multiple frames and click the [view] button, then just show images to view multiple frames in ones.


here is a 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. Create a *.txt file or *.scp file, whatever file format you choose is not important, just create a new document file with notepad or any other text editor.
•3. Write a script like one above-mentioned in a created text file.
•4. Now check "enable Scripts" in Animator area of CV5 windows and click [>>] button then select a created text-script file and click [play] button finally, then you will see the animation with it using the script-file (sometimes u should click [play] button twice for it to play well)
•5. Enjoy play your scripts ~!

If you want to preview each Action of a unit's animations with Ice/IceCC,
then scripting for CV5 is a very good tool for writing advanced iscripts,
just write play frames the same as writing play frame number for iscript.
Report, edit, etc...Posted by nirvanajung on 2006-09-29 at 22:32:05
thx TF good job

BTW, should i fee for an article ? hehe~! happy.gif
Report, edit, etc...Posted by DT_Battlekruser on 2006-09-30 at 00:20:25
Fixed and approved.

It's up to you if you want to be generous for the translation; you don't have to.


Topic Locked
Next Page (1)