Page 1 of 2

Model Scaling

Posted: Sat Oct 23, 2010 4:23 pm
by tim182
I am making a RPG and i was wondering if it is possible to scale down Item shadows and Special effects

Thanks in advance

John

Re: Model Scaling

Posted: Sat Oct 23, 2010 10:26 pm
by samtre
I don't quite get it somehow, so you want to scale the shadows of items and special effects.

Items: I don't think there are shadows for items, but if you want shadow, you could try and make dummy unit with the shadow and attach it next to the item. When it is picked up, remove the unit, and when dropped, vice-versa?

Special Effects: you could have a few ways to do this:
1) using War3ModelEditor, you could try to experiment with the scaling there e.g. x=0.75,y=0.75,z=0.75 to scale it down to 0.75 of the original scale. War3ModelEditor -> Model Editor -> Select All -> Scaling

2) you could make a dummy unit, with the special effect as model, and scale it down. If your using the effect on a certain spell, i suggest using triggers, whenever the spell is used, create the unit and remove it after the effect is done.

What I know is you can't scale down special effects in WE, shadows for units yes, shadows for items no.

and.....your user is tim182 while your name is John.

Re: Model Scaling

Posted: Thu Oct 28, 2010 9:57 am
by tim182
So I did the editor model scaling, but the editor only saves it as a model .Mdl, the file has to be in .blp format.
So I went and got a blp to tga program, edited the tga form, converted back to blp, an imported the file into warx.mpq
But when I run the editor the file I change and imported from before had not changed. I tried again by adding a file instead of replacing one, no luck though. So I tried attaching the effect to spawned unit and scaling down. The unit itself scales but not the effect, which I what I ran into before.
Any help would be greatly appreciated.

John/Tim182

Re: Model Scaling

Posted: Thu Oct 28, 2010 10:34 am
by 3ICE
.blp is a picture. (2D)
.mdl is a model. (3D)
No amount of stretching/shrinking your .blp skins will change the .mdl model's size, it will just ruin the quality.

Import stuff you make into your own map. You should not touch warcraft's mpq files. Interfering with the native files is risky.

Re: Model Scaling

Posted: Thu Oct 28, 2010 7:56 pm
by tim182
Image
This is the file I would like to re-size.
So how would I go about finding the file path so I can post it here
Image
for my own blp file.
This is all under the assumption that the file I want to re-size is in fact a blp file.

Thanks for the help,

John/Tim182

Re: Model Scaling

Posted: Thu Oct 28, 2010 9:51 pm
by 3ICE
But blp files are pictures!
And spell effects are models.

You can't replace a model with a picture...

EDIT: If you really want an image and not a model, use the lightning's skin:
\ReplaceableTextures\Weather\Lightning.blp

It'd help if you told us specifically what you wanted to do instead of just a generic "I want to resize a model by editing a picture."

Re: Model Scaling

Posted: Fri Oct 29, 2010 1:36 am
by tim182
Image

Specifically, I am trying to reduce the size of the lightning effect (I am using scaled down models in my map and want the effects to match them in size) that is based off of the forked lightning ability. The screen-shot above shows a character casting forked lightning, and as you can see the width/size of the effect is huge.

The lightning effect is also identical to the LightningForked.blp file which I want to scale down. The main problem I am having is not scaling the picture down (I can do that easily), but it is to figure out how to import the scaled down version back into the editor such that it can be chosen as the lightning effect for the spell (bottom-right of screen-shot shows which options I have for that but none of them are scaled down).

Re: Model Scaling

Posted: Fri Oct 29, 2010 7:43 am
by 3ICE
Okay, that helped.

You will want to read this tutorial: http://world-editor-tutorials.thehelper ... view=73625
and change "width" in LightningData.slk from 80 to 26.666

Re: Model Scaling

Posted: Fri Oct 29, 2010 5:13 pm
by tim182
It worked.

Thank you

John/Tim182

Re: Model Scaling

Posted: Sat Oct 30, 2010 3:51 am
by 3ICE
Glad I could help :)

Could you post a screenshot? I want to see the result.