Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   animated map textures (alliedassault.us/showthread.php?t=44867)

chrisredfield003 02-27-2005 12:10 AM

animated map textures
 
i seen this also in city nights final i wanted to apply to my mapping any idea on how to use animated textures
when i try i made the textures for the naimation than the script was

textures/ville/jump
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
animMap 09 textures/anims/jump001.jpg textures/anims/jump002.jpg textures/anims/jump003.jpg textures/anims/jump004.jpg textures/anims/jump005.jpg textures/anims/jump006.jpg textures/anims/jump007.jpg textures/anims/jump007.jpg textures/anims/jump007.jpg textures/anims/jump008.jpg textures/anims/jump009.jpg textures/anims/jump010.jpg textures/anims/jump011.jpg textures/anims/jump012.jpg textures/anims/jump013.jpg textures/anims/jump014.jpg textures/anims/jump015.jpg textures/anims/jump016.jpg textures/anims/jump017.jpg textures/anims/jump018.jpg textures/anims/jump019.jpg textures/anims/jump020.jpg textures/anims/jump021.jpg textures/anims/jump022.jpg textures/anims/jump023.jpg textures/anims/jump024.jpg textures/anims/jump025.jpg textures/anims/jump026.jpg textures/anims/jump027.jpg textures/anims/jump028.jpg textures/anims/jump029.jpg textures/anims/jump030.jpg textures/anims/jump031.jpg textures/anims/jump032.jpg textures/anims/jump033.jpg textures/anims/jump034.jpg textures/anims/jump035.jpg textures/anims/jump036.jpg textures/anims/jump037.jpg textures/anims/jump038.jpg textures/anims/jump039.jpg textures/anims/jump040.jpg textures/anims/jump041.jpg textures/anims/jump042.jpg textures/anims/jump043.jpg
rgbgen global
//alphagen global
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
just like cn i used same names diff textures same formats right directories
!!! but the real question is do i have to add somekinda world spawn name to it and put it in the map script too or did i do something here wrong ? ??

rolleyes:

Godsmack 02-27-2005 11:53 AM

Re: animated map textures
 
[code:2c59b]textures/ville/jump
{
nomipmaps
nopicmip
cull none
force32bit
surfaceparm nolightmap
{
animMap 43 textures/anims/jump001.jpg textures/anims/jump002.jpg textures/anims/jump003.jpg textures/anims/jump004.jpg textures/anims/jump005.jpg textures/anims/jump006.jpg textures/anims/jump007.jpg textures/anims/jump007.jpg textures/anims/jump007.jpg textures/anims/jump008.jpg textures/anims/jump009.jpg textures/anims/jump010.jpg textures/anims/jump011.jpg textures/anims/jump012.jpg textures/anims/jump013.jpg textures/anims/jump014.jpg textures/anims/jump015.jpg textures/anims/jump016.jpg textures/anims/jump017.jpg textures/anims/jump018.jpg textures/anims/jump019.jpg textures/anims/jump020.jpg textures/anims/jump021.jpg textures/anims/jump022.jpg textures/anims/jump023.jpg textures/anims/jump024.jpg textures/anims/jump025.jpg textures/anims/jump026.jpg textures/anims/jump027.jpg textures/anims/jump028.jpg textures/anims/jump029.jpg textures/anims/jump030.jpg textures/anims/jump031.jpg textures/anims/jump032.jpg textures/anims/jump033.jpg textures/anims/jump034.jpg textures/anims/jump035.jpg textures/anims/jump036.jpg textures/anims/jump037.jpg textures/anims/jump038.jpg textures/anims/jump039.jpg textures/anims/jump040.jpg textures/anims/jump041.jpg textures/anims/jump042.jpg textures/anims/jump043.jpg
rgbgen global
//alphagen global
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}[/code:2c59b]

Try that

philadelphia killing mach 02-27-2005 05:55 PM

did it work C ?

chrisredfield003 02-27-2005 07:43 PM

well
 
ill get it working by tonight but not yet ill keep you posted

chrisredfield003 03-01-2005 12:45 PM

..
 
i tried a combination of texture sccripts im thinking its something im missing from mohradiant a worldspawn or a common texture i need to put on it befor my animation texture .??

Well the origonal script on the map i got this from was made by gen.cobra so someone should tell him to read this lol and maybe answer calmdown:


cause i cant get it to workie ?

philadelphia killing mach 03-01-2005 12:52 PM

i edited megapole (the city nights map you got that from ) before and inserted my own images for that animated billboard and it worked; now i didnt change any script and just renamed my images to jump1-blah blah blah then repacked it into a copy of city nights_final and it worked so i don't see why you would have to spawn anything, should be all script. it's in there somewhere trust me, took me forever to find the vehicle models until i realized they were all made out of textures.

Scorpion -]M15F1T[- 03-01-2005 05:55 PM

The answers you seek are in here.

http://www.heppler.com/shader/

For example:

textures/ville/jump // path to texture
{
nomipmaps // no mip maps (what u see when you open a .dds file)
nopicmip
cull none // just not to cut out from view really
force32bit // force the image to be displayed in 32 bit format
surfaceparm nolightmap // telling game that this surface has no lightmap
{
animMap// tells shader to animate the following list of textures (includes path and texture name) 09// the number of times that the animation cycle will repeat within a one second time period.
list of textures to animap// textures/anims/jump001.jpg textures/anims/jump002.jpg textures/anims/jump003.jpg textures/anims/jump004.jpg textures/anims/jump005.jpg textures/anims/jump006.jpg textures/anims/jump007.jpg textures/anims/jump007.jpg textures/anims/jump007.jpg textures/anims/jump008.jpg textures/anims/jump009.jpg textures/anims/jump010.jpg textures/anims/jump011.jpg textures/anims/jump012.jpg textures/anims/jump013.jpg textures/anims/jump014.jpg textures/anims/jump015.jpg textures/anims/jump016.jpg textures/anims/jump017.jpg textures/anims/jump018.jpg textures/anims/jump019.jpg textures/anims/jump020.jpg textures/anims/jump021.jpg textures/anims/jump022.jpg textures/anims/jump023.jpg textures/anims/jump024.jpg textures/anims/jump025.jpg textures/anims/jump026.jpg textures/anims/jump027.jpg textures/anims/jump028.jpg textures/anims/jump029.jpg textures/anims/jump030.jpg textures/anims/jump031.jpg textures/anims/jump032.jpg textures/anims/jump033.jpg textures/anims/jump034.jpg textures/anims/jump035.jpg textures/anims/jump036.jpg textures/anims/jump037.jpg textures/anims/jump038.jpg textures/anims/jump039.jpg textures/anims/jump040.jpg textures/anims/jump041.jpg textures/anims/jump042.jpg textures/anims/jump043.jpg
rgbgen global
//alphagen global
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}

Reading the manual should help a lot bud


Scorp

chrisredfield003 03-01-2005 07:17 PM

well
 
the shader scorp gave me diddnt work either ? someone try ths in there own basic room on a brush see if it works differently for you guys or at all ? all i see is the first texture ???any ideas fixes ?>

Godsmack 03-02-2005 11:18 AM

Maybe it is something with your settings

Scorpion -]M15F1T[- 03-02-2005 04:39 PM

My post was to explain how your shader works mate. So you can learn from it and check where you are goin wrong.

To animap 46 images bud you have to have that amount. Post the console msg you get.

Scorp


All times are GMT -6. The time now is 11:45 PM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.