Bush??
Moderator: Moderators
Bush??
Does somebody now how to stop the animations of this static-natural-bush model, so that the bush doesn't move anymore.
Can someone help me with it, because i'm not so good at scripting?
Here is a picture of that model:
http://www.dodstudios.net/uploads/uploads/vit.jpg
Thanks
Can someone help me with it, because i'm not so good at scripting?
Here is a picture of that model:
http://www.dodstudios.net/uploads/uploads/vit.jpg
Thanks
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
if you go into pak0.pk3
/models/scripts/tree.shader
then where you'll see something like
tree1_3 // Cross section
{
qer_editorimage textures/models/natural/tree1_3.tga
nomipmaps
cull none
deformVertexes flap t 24 sin 0 3.5 0 0.2 1 0
deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
{
clampmap textures/models/natural/tree1_3.tga
depthWrite
alphaFunc GE128
alphaGen distFade 1536 512
rgbGen lightingGrid
}
just remove deformVertexes ... (the whole line)
or create a new .shader and copy the rest of the info and give it a new name
/models/scripts/tree.shader
then where you'll see something like
tree1_3 // Cross section
{
qer_editorimage textures/models/natural/tree1_3.tga
nomipmaps
cull none
deformVertexes flap t 24 sin 0 3.5 0 0.2 1 0
deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
{
clampmap textures/models/natural/tree1_3.tga
depthWrite
alphaFunc GE128
alphaGen distFade 1536 512
rgbGen lightingGrid
}
just remove deformVertexes ... (the whole line)
or create a new .shader and copy the rest of the info and give it a new name
hope this helps, prob not cos it's all foreign 2 me :-/
I copied those lines from the static model bush from Pak0 and i copied those lines in a new shader file.
I did like you sayed, removing the two lines from deformVertexes but they are still moving, i don't now what i'm doing wrong.
Maybe it's more then simple removing those two lignes from the shader file.
Here is a picture from my new shader file for that bush, you can see that i removed the deformVertexes from all the bushes.
http://www.dodstudios.net/uploads/uploads/to.jpg
Nuggets, Maybe (if you got time) i can send the new shader file to you and you can take a look what i did wrong.
I did like you sayed, removing the two lines from deformVertexes but they are still moving, i don't now what i'm doing wrong.
Maybe it's more then simple removing those two lignes from the shader file.
Here is a picture from my new shader file for that bush, you can see that i removed the deformVertexes from all the bushes.
http://www.dodstudios.net/uploads/uploads/to.jpg
Nuggets, Maybe (if you got time) i can send the new shader file to you and you can take a look what i did wrong.
shader
You don't need a pk3. If you put the shader in a folder named scripts in main, it will overwrite the shader in pak0. However, what you need to look at is the tiki file for that bush. There is more then one shader for it because some parts move and some don't. The tiki file will tell you the names of the texture shaders being used to draw the bush.
You can make a new .tik file for your non-moving bush too.
You can make a new .tik file for your non-moving bush too.

