Staredit Network

Staredit Network -> Modding Assistance -> Changing .GRP files
Report, edit, etc...Posted by Highwind on 2006-12-18 at 15:44:57
I'm a modder, but I'm beginning to get more advance. Sadly, I don't know how to change a unit's look to a grp which isn't in the unit graphics thing. Like, I want to make the Command center look like the Contana, but I don't know how. Can I get some assistance?
Report, edit, etc...Posted by CheatEnabled on 2006-12-18 at 15:59:44
The easiest way would be using retroGRP and winMPQ, first extracting the GRP from stardat.mpq, and then convert the GRP to .bmp files. You will get quite a lot of them (for units), together with a .ral file used to compile into .grp again. After you extract it, open each image in Paint, then add the image of your choice. Be sure to keep to size of the image the same. Then, compile the bitmaps into a GRP again using retroGRP, and add it into a MPQ archive.
Report, edit, etc...Posted by Voyager7456(MM) on 2006-12-18 at 15:59:58
If you're using DatEdit, look at the unit's corresponding images.dat entry.

Take the value it gives you for "GRP" file, rename your GRP and add it to the MPQ with the prefix unit\.

Example: Command Center

GRP File: terran\control.grp

Add the grp to your MPQ as unit\terran\control.grp

Be careful though, if the number of frames is different than the original GRP, some iscripting may be required.
Report, edit, etc...Posted by Highwind on 2006-12-18 at 17:00:38
That dosn't really help me, because I'm new to changing the grp files.
Report, edit, etc...Posted by Doodle77(MM) on 2006-12-18 at 17:31:15
There's a tutorial at the top of this forum...
Report, edit, etc...Posted by Highwind on 2006-12-18 at 19:12:33
How am I supposed to find the grps of the stardat.mpq if all the things are unknowns?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-12-18 at 19:18:18
You need an MPQ Listfile: http://www.zezula.net/download/listfiles.zip
Report, edit, etc...Posted by Highwind on 2006-12-18 at 19:19:41
Ok, thanks guys. If I get it to work, I'm thanking you guys.

Even though it'll take me a long time to get the unknowns known, I thank you guys.
Report, edit, etc...Posted by DT_Battlekruser on 2006-12-21 at 00:54:36
You can implement the listfile into WinMPQ; you don't have to actually memorize which entry is which happy.gif
Report, edit, etc...Posted by Laser_Dude on 2006-12-21 at 01:15:37
Why not just change the name for the .GRP?

i.e. change x.GRP to battlecr.GRP etc. I don't know the exact name for the command center though.
Report, edit, etc...Posted by Pyro-Fire on 2006-12-21 at 03:16:41
uhh.... the listfile does it for you...
Report, edit, etc...Posted by Laser_Dude on 2007-01-06 at 18:45:47
No, the .GRP that he's putting in the MPQ.

Rename the .GRP that you want i.e. cantina.grp to the unit you want to change the looks of, however, watch for difference in number of frames.
Report, edit, etc...Posted by Highwind on 2007-01-06 at 22:14:42
Ok, I noticed that. Is there anyway to make the Raider GRP from the beta SC have enough frames to replace the Valkyrie? Because for a mod I'm making for my clan, I want the Valkyrie to look like the Raider.
Report, edit, etc...Posted by Pyro-Fire on 2007-01-06 at 22:34:39
if it doesnt have enough frames.. you would either have to make some, or change the iscripting so it only needs the amount of frames that the raider from beta sc has.
Report, edit, etc...Posted by Highwind on 2007-01-06 at 22:39:08
Ok. I went onto Retro GRP and looked at both the Bomber and Raider GRPs. The Bomber, Valkyrie, has 16 frames while the raider has 50. Now I just need help making it so the Bomber can use 50 frames. Can anyone help me figure out how to do that?
Report, edit, etc...Posted by Pyro-Fire on 2007-01-07 at 03:05:14
To change the frames used, you need to do some iscript editing. my suggestion is to just delete all except the 17 (gotta count 000 too!) frames that show the most nuetral position of each direction.
Report, edit, etc...Posted by Lord_Jeremy on 2007-01-07 at 09:21:37
No that'll make it fly really weird most likely. I suggest adding the commands for the new frames to the Valkyrie iscript. This would probably be easier to do in IceCC than Ice.
Report, edit, etc...Posted by Highwind on 2007-01-07 at 09:38:33
Ok, so who can help me with iscripting then? I've never messed with it in my life before.
Report, edit, etc...Posted by Voyager7456(MM) on 2007-01-07 at 10:45:21
You can actually just put it into SC like that. The additional frames are for turning, something that the current SC air units don't implement.

Adding the GRP without changing the number of frames will still cause the Valkyrie to fly correctly.
Report, edit, etc...Posted by Highwind on 2007-01-07 at 12:27:33
I tried that, I implimented the Raider.GRP that I got from SEN as unit\terran\Bomber. when I made it, yes I was surprised at it's size, (2x bigger then valkyrie) but when I told it to move it crashed SC.
Report, edit, etc...Posted by nirvanajung on 2007-01-07 at 12:43:01
i didn't see any SC beta grp yet and i've been never seen about "raider's aspect for animation
however i can tell u a couple general background of issue

first off, u could follow Voy's telling without problem
but that would be different from original features for animation
becuzz if there was more frames in GRP those frames are maded to displayed more naturally for each actions

so if u set those frames in iscript then out-grp will displayed to more flatten
however, replaced Valkyrie would still fly correctly

how does "raider" of SC beta looks when fly ? there is something different from
other aircrafts ?

if there is big different features for flying animation, then try follow Lord_Jeremy's saying
QUOTE(lj)
I suggest adding the commands for the new frames to the Valkyrie iscript. This would probably be easier to do in IceCC than Ice.


if don't know how to write a iscript code with iceCC/ice
just digging tutorials around here, there are bunch of Q/A about iscripting
Report, edit, etc...Posted by Highwind on 2007-01-07 at 13:05:02
I have only seen it stay in one spot in game. But that is only after it is built. When I told it to move, it crashed the game. T_T

Also, I don't know what it looks like when it flies.
Report, edit, etc...Posted by Voyager7456(MM) on 2007-01-08 at 15:08:48
Oh, right... that might have to do with the .lo? files. You could either use RetroGRP to edit the graphic so it only has 17 frames, use LoEdit to edit the .lo? file to have the correct number of frames or use iscripting to remove the Valkyrie flame overlay.
Report, edit, etc...Posted by Highwind on 2007-01-08 at 23:17:40
Ok, where do I get the Lo? file for the Raider GRP? I ask because I only got the GRP from SEN and nothing else relating the GRP.
Report, edit, etc...Posted by SubFocus on 2007-01-14 at 19:09:59
I've got an easier solution. Open the .GRP of the raider in RetroGRP. Then, extract the .bmp files to wherever. Then, where you extracted them, there will be all of it's .BMP files along with it's .RAL filelist. Right click the .RAL file, and open it in notepad. Then uh... Change the files so that it only shows up to frame 016 or something. You'll figure it out.
Next Page (1)