Moving platform....
Moderator: Moderators
-
dooguesgoober4
- Captain
- Posts: 246
- Joined: Fri Oct 17, 2003 1:00 am
- Location: Akron, OH
- Contact:
Moving platform....
Is it possible to create some sort of assembly line table type thing and have the chain on it moving????
EDIT ~ I have a dense cylinder that i am using for the circulating chain of the assembly line table. Maybe that helps???
EDIT ~ I have a dense cylinder that i am using for the circulating chain of the assembly line table. Maybe that helps???
Try editing the shader to give the textures a scrolling effect instead of moving the actual brush. I dont recall exactly what command to use and for some reason the shader bible is down. but here is the link.
http://qeradiant.com/manual/Q3AShader_Manual/index.htm
I think rgbGen wave is the one your lookin for i just cant remember if you want to use square sin or something else.
Hope this somehow helps.
http://qeradiant.com/manual/Q3AShader_Manual/index.htm
I think rgbGen wave is the one your lookin for i just cant remember if you want to use square sin or something else.
Hope this somehow helps.
Moderator


script
You could make the chain a script_object and move it with your map's script. But, you would have to move sections of it under the table/floor to make it continous. So, it may be easier just to make a chain texture and scroll it with a shader, as Random said.
Here is a working link to a Q3 shader manual:
http://www.heppler.com/shader/shader/index.html
And, a link to download it:
http://www.heppler.com/shader/shader/Q3 ... manual.zip
Here is a working link to a Q3 shader manual:
http://www.heppler.com/shader/shader/index.html
And, a link to download it:
http://www.heppler.com/shader/shader/Q3 ... manual.zip
-
dooguesgoober4
- Captain
- Posts: 246
- Joined: Fri Oct 17, 2003 1:00 am
- Location: Akron, OH
- Contact:
a texture movingbelt.tga in folder main/textures/machine and a machine.shader in main/scripts with this
will move!
Code: Select all
textures/machine/movingbelt
{
qer_keyword signs
surfaceparm metal
{
map textures/machine/movingbelt.tga
depthWrite
tcMod scroll 0 1 //adjust this line for direction and speed
tcMod scale 1 1
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
-
dooguesgoober4
- Captain
- Posts: 246
- Joined: Fri Oct 17, 2003 1:00 am
- Location: Akron, OH
- Contact:
I'm sorry but that doesn't really tell me how I make the texture move....sorry im beign so irritable with this question but i just think it would be really kewl to have it in my map.....I am one of those types of people who learn by doing, so could someone please tell me what to do step by step, im still now sure which texture im gonna use though.... 
i have put a moving belt in the mohaa recycling bin (in misc).
u should download it and take a look.
p.s.: I used general_industrial/ventshaft_conexn without any alterations in this example. So u could as well change the included belt.shader to something like this way u would not have to include the texture with your pk3 and leave it a bit smaller. just to show u how u would use a custom texture I did it the other way.
u should download it and take a look.
p.s.: I used general_industrial/ventshaft_conexn without any alterations in this example. So u could as well change the included belt.shader to something like
Code: Select all
textures/belt/movingbelt
{
qer_keyword signs
surfaceparm metal
{
map textures/general_industrial/ventshaft_conexn.tga
depthWrite
tcMod scroll 1 0 //adjust this line for direction and speed
tcMod scale 1 1
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
} -
dooguesgoober4
- Captain
- Posts: 246
- Joined: Fri Oct 17, 2003 1:00 am
- Location: Akron, OH
- Contact:

