Nyerguds Posted January 22, 2013 Share Posted January 22, 2013 The first thing you need to know is that C&C/RA/TS/RA2 graphics of the SHP type don't contain colours, at all. They only contain palette indices, meaning, they just show in the colours given to them by the game. For that reason, it's vital that you use the game's colour palette when making your graphics. This means that instead of having its image information saved as "this pixel is blue", it instead has "this pixel is index 144 on the colour palette", and the pixel will show up as whatever colour is at that index on the palette you give it. This means that if you give it a colour palette it wasn't meant for, it can look totally messed up. However, it also means you can edit your graphics with adapted palettes, and it won't have any real effect on the final SHP file This is the basic way to convert and edit units and structures: (taking Red Alert as example. Obviously for C&C1 and TS/RA2 you need to use the other palettes from the purple palettes pack. Note that the purple palettes are useless for editing different things than the units and structures) Get my purple palettes set. It can be found in the downloads, here. This is a special palettes set for modding and converting graphics. The normal game palette has black as (transparent) background colour, and yellow as unit team colour, but since those tend to mix up with non-transparent black and normal real yellow, I made palettes that change them to more distinct colours. Since the final game graphics as SHP only contain the palette indices anyway, and not the actual colours, you can perfectly use custom palettes like that Put the purppals-xcc.mix file in a game folder. Any game folder XCC knows will be scanned for usable content. If XCC doesn't recognize any game folders, go to View -> directories in XCC Mixer and set them correctly. I usually cheat my way around it by setting the XCC folder itself as "TD Secondary" and dumping stuff like this in there. Note that you need to restart XCC Mixer after changing any of the folder settings, since the scan only happens on startup. Also note that on modern OSes, XCC Mixer always needs to be started in Administrator mode, or it won't be able to access its own settings. In XCC Mixer, press ctrl+p, find purppals-xcc.mix, and from it, select the Red Alert conversion palette "raprconv.pal". (rapwconv.pal is the same but with animated water colours left intact) Use "Copy As PNG" to convert the graphics to PNG using the current palette. You'll get a range of numbered frames. Edit the frames in your favourite image editor! Preferably one that allows you to view and use the internal colour palette of the image. As the example image on the purple palettes download page shows, the purple colours in the palette (range 80-95) are the ones that adapt to the player colour ingame. Save the graphics, keeping the original palette. Make sure to disable any saving options that would convert it to high colour or optimize the colour palette. In XCC Mixer, right-click on the first frame of the range, and use "Copy As SHP" (not "SHP (TS)") to convert it back to SHP file. If you don't have any editor with palette support, make sure to save/re-save all frames as high colour images, and then enable the XCC option [View] -> [Palet] -> [use for conversion]. Then, make sure you have the same raprconv.pal selected when doing the "Copy As SHP" action. This will convert the graphics you have to the palette you got selected at that moment. Note that from what I've seen, this only works for high-colour PNGs without their own palette. Hint: MS Paint can only save in high colour png, so simply opening the frames in MS Paint and saving them does that conversion for you. If you don't have any way at all to view the palette in the editor, but want to make use of the team colours system, simply open the purppals-xcc.mix file, select the raprconv.pal in it, scroll down in the colours view until you see the purple colours (index 50-5F, since XCC shows it hexadecimally), and press print screen. You can then paste this in your editor and use the colour picker to use the correct purple colours for the team colours. Other special colours you can use that way are the bordeaux-pink on index #0, which is transparent colour, and (in RA1) the pink on index #67, which is the glowing red used in RA's damaged buildings. Link to comment Share on other sites More sharing options...
mrgreenno1 Posted November 18, 2013 Share Posted November 18, 2013 Please explain step by step how to do a brend new unit for RA? I think I need to make model in 3dmax first? Link to comment Share on other sites More sharing options...
Nyerguds Posted November 18, 2013 Author Share Posted November 18, 2013 Probably the best way, yes, though I've made buildings and units without it Link to comment Share on other sites More sharing options...
mrgreenno1 Posted November 19, 2013 Share Posted November 19, 2013 I am not 3d max user. Can you explain your way? Link to comment Share on other sites More sharing options...
Nyerguds Posted November 19, 2013 Author Share Posted November 19, 2013 I just... you know, made it? Frame by frame... The TIE fighter is based on the flat version of the C&C1 rocket launcher turret, first expanded to a rotating cube, then resized to twice the size, and finally, of that, I then used the sides, dividing the top and bottom in 3 equal parts on each of the 32 frames, connecting these 4 points to the middles of the height at the sides, and thus cutting out the hexagon you see in the final SHP. Then I added the ball in the middle, with fading colours to make it appear round, and added the window and guns on it manually. It's a lot of work, though, and you kinda need to have a feel with the lighting of the game. I've had lots of practice in animating C&C/RA (and even TS) buildings, though Link to comment Share on other sites More sharing options...
CPT. Willard Posted June 30, 2014 Share Posted June 30, 2014 Is there a max frame size when making units? I tried making a B52 bomber scaled like the Mig and ended up with 216x216 pixels the unit only shows the first frame x 4 in game and then it disappears. Any suggestions? Link to comment Share on other sites More sharing options...
Allen262 Posted June 30, 2014 Share Posted June 30, 2014 As a good rule new units can not be bigger than the unit your replacing in TD/RA1 and can ONLY be the same number of frames. Link to comment Share on other sites More sharing options...
CPT. Willard Posted June 30, 2014 Share Posted June 30, 2014 Well regarding the number of frames I have made no changes and the size can be bigger than the unit it replaces. The mig can use badr image what I want to know is if there is any limit regarding the size of the pcx's Link to comment Share on other sites More sharing options...
Nyerguds Posted June 30, 2014 Author Share Posted June 30, 2014 In TD, I believe my patch enables the "is large unit" option on all units, which allows a size of 48x48 without refresh errors. Link to comment Share on other sites More sharing options...
Allen262 Posted June 30, 2014 Share Posted June 30, 2014 If the mig uses the badr via Image=badr the game should use the badr refresh logic. You can not use PCX in game. They must be made into .shp format. Link to comment Share on other sites More sharing options...
CPT. Willard Posted June 30, 2014 Share Posted June 30, 2014 Sorry for the missunderstanding! I'm not using pcx file as image I use pcx format to make the shp file and the 16 pcx files is 216x216 pixles. I want to know if there is any max size Width/Height Link to comment Share on other sites More sharing options...
Nyerguds Posted July 1, 2014 Author Share Posted July 1, 2014 Eh? That's insanely large! Basic rule is, don't leave open space around your sprite. Use the minimum space you can that allows all frames to fit in it correctly. Link to comment Share on other sites More sharing options...
Allen262 Posted July 1, 2014 Share Posted July 1, 2014 Max size is the point you hit cliiping/redraw/refresh errors with the shp. Link to comment Share on other sites More sharing options...
AchromicWhite Posted July 29, 2014 Share Posted July 29, 2014 If you go to the graphic entry, you'll find some of my own SHPs. (Anything started by "White). Many of them as slight edits of other SPHs, some heavy edits and some stuff still is almost entirely scratch built. Making a new building or Unit can be as easy as finding something which is close to what you want to make and then bit by bit changing it. Having a bit of an understanding as to how light falls can help a lot. I suggest using the SHP builder only for rocking the frames back and forth to see if animations are smooth. Other than that I actually use MS paint (I know, wow... lol) and Gimp for saving the data to keep the quality of the pixels. -Liam Link to comment Share on other sites More sharing options...
tolist85 Posted April 25, 2020 Share Posted April 25, 2020 I want to make cameo and building and vehicle shp files. Can you help me about Engine File Converter how to use it? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now