Staredit Network > Forums > Modding Assistance > Topic: A few spriting questions
A few spriting questions
Jun 27 2017, 6:12 pm
By: Augustus Valium  

Jun 27 2017, 6:12 pm Augustus Valium Post #1



I had a few questions about creating terrains and drawing shadows, to start, I am curious about what .grps exactly hold the terrain tiles? I know where to find doodads, but not sure what are the right files to modify if I want to change a basic tile.

Secondly, does anyone have tips for drawing a building's shadow? Any particularly effective, yet quick techniques? In the mod I'm working with, we have many buildings since there are about 7 factions all planned to have up to 11 buildings including turrets and supply structures a faction.

Any advice and help is appreciated.



None.

Jun 27 2017, 6:37 pm Voyager7456 Post #2

Responsible for my own happiness? I can't even be responsible for my own breakfast

The tiles are not contained within GRPs. They are in a collection of files that you can find under the "tileset\" directories in the MPQ. There are a bunch of files called <tilesetname>.cv5, <tilesetname>.vf4, etc that should be extracted to a directory, and then you can use a program like PyTILE to export the tiles and edit them. The file "tileset\<tilesetname>.grp" contains the graphics for the edges of the creep (but the actual creep tiles are part of the tileset). All of the "tileset\<tilesetname>\*.pcx" files are the various color palettes used on that tileset.

When creating a building shadow, I typically duplicate the building layer in Photoshop, fill it with a solid color and then skew it slightly. I don't really have a good suggestion for numbers, I just tend to go with what "looks right."



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Jun 27 2017, 11:40 pm Pr0nogo Post #3





If you're making doodads, I recommend a lot of meticulous drop-shadow tooling, as seen in the video above.

If you're just making units or structures, you don't actually need to make the shadow. Find a shadow entry in images.dat and point it to the same grp as the unit's, setting the recolor to shadow.pcx. Then offset it appropriately in iscript.




Jun 28 2017, 12:17 am Augustus Valium Post #4



@Pr0ngo, We'll work on that shadowing method you mentioned below sometime soon. If it works out, it will save me a ton of work. However, does it only work on sprites that replace sprites already in the game? For example, does it work on a Terran barracks redesign while not working on a completely new building that isn't replacing anything in the game?

Good tutorial about doodads.

@Voyager, where can I find that program? Is it somewhere on SEN?

Thanks for the help once again to both of you.

Post has been edited 1 time(s), last time on Jun 28 2017, 3:40 am by Augustus Valium.




Jun 28 2017, 12:43 am Pr0nogo Post #5



It literally creates a copy of the grp, colored like every other shadow in the game, so yes. It works on every grp.

Python Modding Suite: https://github.com/poiuyqwert/PyMS

I recommend installing python 2.7 to make it work.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
[02:41 am]
Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
[02:40 am]
Symmetry -- Human memory is a fragile, fallible thing
[02:39 am]
Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
[02:38 am]
Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
[02:38 am]
Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
[02:37 am]
Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
[02:22 am]
Symmetry -- was it idra
[01:52 am]
NudeRaider -- Oh_Man
Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
classic
[02:56 pm]
Oh_Man -- long story short - patience is a virtue!
Please log in to shout.


Members Online: Oh_Man, Sie_Sayoka