Quake3World.com Forums
     Level Editing & Modeling
        Modelling cars - Chevrolet Camaro 2010


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: Re: Modelling cars - Chevrolet Camaro 2010

The Afflicted
The Afflicted
Joined: 14 Oct 2001
Posts: 558
PostPosted: 06-22-2016 03:05 AM           Profile Send private message  E-mail  Edit post Reply with quote


Listen to what the guys are telling you. Your texture paths are wrong. You apparently have the correct path for the editor image, but not the in-game textures. Most commonly this is caused by /and\




Top
                 

Veteran
Veteran
Joined: 05 Dec 2015
Posts: 199
PostPosted: 06-22-2016 03:44 AM           Profile Send private message  E-mail  Edit post Reply with quote


If you can send me the model, CZghost, I'll fix it for you. Man, this would be an awesome car for Q3Rally...




Top
                 

The hell good boy
The hell good boy
Joined: 22 Jun 2011
Posts: 1622
PostPosted: 06-22-2016 03:58 AM           Profile Send private message  E-mail  Edit post Reply with quote


@dONKEY:

Material definition inside the ASE file:
Code:
*MATERIAL_LIST {                   
   *MATERIAL_COUNT 1                   
   *MATERIAL 0 {                           
      *MATERIAL_NAME "models/mapobjects/czghost/czyard/vehicles/camaro/camaro_final"                       
      *MATERIAL_CLASS "Standard"                       
      *MATERIAL_AMBIENT  0.0000 0.0000 0.0000                       
      *MATERIAL_DIFFUSE  0.8000 0.8000 0.8000                       
      *MATERIAL_SPECULAR  1.0000 1.0000 1.0000                       
      *MATERIAL_SHINE  0.2485                       
      *MATERIAL_SHINESTRENGTH  0.1370                       
      *MATERIAL_TRANSPARENCY  0.0000                       
      *MATERIAL_WIRESIZE  1.0000                       
      *MATERIAL_SHADING Cooktorr                       
      *MATERIAL_XP_FALLOFF  0.0000                       
      *MATERIAL_SELFILLUM  0.0000                       
      *MATERIAL_FALLOFF In                       
      *MATERIAL_XP_TYPE Filter                       
      *MAP_DIFFUSE {                       
         *MAP_NAME "models/mapobjects/czghost/czyard/vehicles/camaro/camaro_final"                       
         *MAP_CLASS "Bitmap"                       
         *MAP_SUBNO 1                       
         *MAP_AMOUNT  1.0000                       
         *BITMAP "..\models\mapobjects\czghost\czyard\vehicles\camaro\camaro_final.tga"                       
         *MAP_TYPE Screen                       
         *UVW_U_OFFSET  0.0000                       
         *UVW_V_OFFSET  0.0000                       
         *UVW_U_TILING  1.0000                       
         *UVW_V_TILING  1.0000                       
         *UVW_ANGLE  0.0000                       
         *UVW_BLUR  1.0000                       
         *UVW_BLUR_OFFSET  0.0000                       
         *UVW_NOUSE_AMT  1.0000                       
         *UVW_NOISE_SIZE  1.0000                       
         *UVW_NOISE_LEVEL 1                       
         *UVW_NOISE_PHASE  0.0000                       
         *BITMAP_FILTER Pyramidal                       
      }                                                                         
   }
}

Shader script code for used texture
Code:
models/mapobjects/czghost/czyard/vehicles/camaro/camaro_final
{
   q3map_lightimage models/mapobjects/czghost/czyard/vehicles/camaro/camaro_final_light.tga
   q3map_surfacelight 10
   {
      map models/mapobjects/czghost/czyard/vehicles/camaro/camaro_final.tga
      rgbGen identity
   }
   {
      map models/mapobjects/czghost/czyard/vehicles/camaro/glass.tga
      rgbGen identity
      blendFunc GL_ONE GL_ONE
      tcGen environment
   }
   {
      map models/mapobjects/czghost/czyard/vehicles/camaro/camaro_final.tga
      rgbGen identity
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
   }
   {
      map $lightmap
      blendFunc GL_ZERO GL_SRC_COLOR
      tcGen lightmap
   }
   {
      map models/mapobjects/czghost/czyard/vehicles/camaro/camaro_final_light.tga
      blendFunc GL_ONE GL_ONE
   }
}

Where the hell is mixed / and \?
I've been looking in Sock's ASE models (plants), which were made by q3map2 from BSP files. The *BITMAP specification was the same format as above...

@coltonquake3: Thank you for suggestion. I'll send it to you by PM. Yes, the model would look awesome in Q3Rally :) Unfortunately the model was designed to be used as mapobject (decoration) and thus the model is missing interior and the wheels are not turnable. It's also designed as garage model (placed in garage) so the wheels tyres are facing the front of the car. If you want to use it in Q3Rally, I'd have to give you also the source Blender file used for the model creation. I do not know Q3Rally specifications. Also even with IOQuake3 I was unable to get Q3Rally get working correctly and bots didn't work at all (can't load up). So I can't make the Q3Rally version myself as I do not know how the Q3Rally player car model actually works and I do not know the specifications of that model... I hope this is something, you know, so you can remake this model for that purpose :) But first I need to get that working as mapobject in the map. I want to release it both ready to be used in map and the source Blender file to allow edits...



_________________
[ Quake III Arena by CZghost | Facebook | Twitter | YouTube | Google+ ]
While you feel the worst ever, turn around facing to Sun and all shadows will pass behind you.” - John Lennon


Top
                 

Veteran
Veteran
Joined: 05 Dec 2015
Posts: 199
PostPosted: 06-22-2016 05:24 AM           Profile Send private message  E-mail  Edit post Reply with quote


@CZghost: Inside the ASE file, the texture path has directories seperated by backslashes. You have them seperated by forward slashes in the shader file. Change the texture directory seperators in the shader file from forward slashes to backslashes & that should solve your issue, CZghost.




Top
                 

The hell good boy
The hell good boy
Joined: 22 Jun 2011
Posts: 1622
PostPosted: 06-22-2016 06:24 AM           Profile Send private message  E-mail  Edit post Reply with quote


You mean that in *BITMAP? Why this format works for Sock's plants models, which also use shaders?



_________________
[ Quake III Arena by CZghost | Facebook | Twitter | YouTube | Google+ ]
While you feel the worst ever, turn around facing to Sun and all shadows will pass behind you.” - John Lennon


Top
                 

The hell good boy
The hell good boy
Joined: 22 Jun 2011
Posts: 1622
PostPosted: 06-22-2016 06:31 AM           Profile Send private message  E-mail  Edit post Reply with quote


Sock's grass01a.ase model:
Code:
*MATERIAL_LIST   {
   *MATERIAL_COUNT   2
   *MATERIAL   0   {
      *MATERIAL_NAME   "textures/common/caulk"
      *MATERIAL_CLASS   "Standard"
      *MATERIAL_DIFFUSE   1.000000   1.000000   1.000000
      *MATERIAL_SHADING Phong
      *MAP_DIFFUSE   {
         *MAP_NAME   "textures/common/caulk"
         *MAP_CLASS   "Bitmap"
         *MAP_SUBNO   1
         *MAP_AMOUNT   1.0
         *MAP_TYPE   Screen
         *BITMAP   "..\textures\common\caulk.tga"
         *BITMAP_FILTER   Pyramidal
      }
   }
   *MATERIAL   1   {
      *MATERIAL_NAME   "textures/plants_soc/grass01a"
      *MATERIAL_CLASS   "Standard"
      *MATERIAL_DIFFUSE   1.000000   0.692170   0.392717
      *MATERIAL_SHADING Phong
      *MAP_DIFFUSE   {
         *MAP_NAME   "textures/plants_soc/grass01a"
         *MAP_CLASS   "Bitmap"
         *MAP_SUBNO   1
         *MAP_AMOUNT   1.0
         *MAP_TYPE   Screen
         *BITMAP   "..\textures\plants_soc\grass01a.tga"
         *BITMAP_FILTER   Pyramidal
      }
   }
}


The *MATERIAL_NAME and *MAP_NAME are the same format, actually pointing to the shader with forward slashes.
The *BITMAP is the same format as mine, pointing to the reference image for editor.

If this doesn't work, why would Sock release that buggy version? He should know what works best, just take a look at his breathtaking maps...



_________________
[ Quake III Arena by CZghost | Facebook | Twitter | YouTube | Google+ ]
While you feel the worst ever, turn around facing to Sun and all shadows will pass behind you.” - John Lennon


Top
                 

visual prowess
visual prowess
Joined: 30 Jul 2004
Posts: 1210
PostPosted: 06-22-2016 10:11 AM           Profile Send private message  E-mail  Edit post Reply with quote


Your texture paths are too long. Too many directories. Looks like you had the right guess here lol

CZghost wrote:
As I said - might it be too long path?


I shortened them all to "models/mapobjects/camaro/camaro_final" and it worked (After placing the files in the respective directory as well). Also, not sure why socks *BITMAP have ../ before textures, anyways:



ASE:

Code:
*3DSMAX_ASCIIEXPORT   200
*COMMENT "Ascii Scene Exporter v2.51"
*SCENE {
   *SCENE_FILENAME "E:\Documents\Poláèek Marek\Quake 3\quake3_developing\PUBLIC_ARENAS\CZGHOST_PUBLIC\MODELS~1\Release\Camaro\v1.0\camaro.blend"               
   *SCENE_FIRSTFRAME 0               
   *SCENE_LASTFRAME 100               
   *SCENE_FRAMESPEED 30               
   *SCENE_TICKSPERFxRAME 160               
   *SCENE_BACKGROUND_STATIC  0.0000 0.0000 0.0000               
   *SCENE_AMBIENT_STATIC  0.0000 0.0000 0.0000               
}
*MATERIAL_LIST {                   
   *MATERIAL_COUNT 1                   
   *MATERIAL 0 {                           
      *MATERIAL_NAME "models/mapobjects/camaro/camaro_final"                       
      *MATERIAL_CLASS "Standard"                       
      *MATERIAL_AMBIENT  0.0000 0.0000 0.0000                       
      *MATERIAL_DIFFUSE  0.8000 0.8000 0.8000                       
      *MATERIAL_SPECULAR  1.0000 1.0000 1.0000                       
      *MATERIAL_SHINE  0.2485                       
      *MATERIAL_SHINESTRENGTH  0.1370                       
      *MATERIAL_TRANSPARENCY  0.0000                       
      *MATERIAL_WIRESIZE  1.0000                       
      *MATERIAL_SHADING Cooktorr                       
      *MATERIAL_XP_FALLOFF  0.0000                       
      *MATERIAL_SELFILLUM  0.0000                       
      *MATERIAL_FALLOFF In                       
      *MATERIAL_XP_TYPE Filter                       
      *MAP_DIFFUSE {                       
         *MAP_NAME "models/mapobjects/camaro/camaro_final"                       
         *MAP_CLASS "Bitmap"                       
         *MAP_SUBNO 1                       
         *MAP_AMOUNT  1.0000                       
         *BITMAP "models\mapobjects\camaro\camaro_final.tga"                       
         *MAP_TYPE Screen                       
         *UVW_U_OFFSET  0.0000                       
         *UVW_V_OFFSET  0.0000                       
         *UVW_U_TILING  1.0000                       
         *UVW_V_TILING  1.0000                       
         *UVW_ANGLE  0.0000                       
         *UVW_BLUR  1.0000                       
         *UVW_BLUR_OFFSET  0.0000                       
         *UVW_NOUSE_AMT  1.0000                       
         *UVW_NOISE_SIZE  1.0000                       
         *UVW_NOISE_LEVEL 1                       
         *UVW_NOISE_PHASE  0.0000                       
         *BITMAP_FILTER Pyramidal                       
      }                                                                         
   }
}


Shader:

Code:
/////////////////////////////////////////////////////////////////
//////////////           CZGHOST'S MODELS         ///////////////
//////////////       SHADERS FOR BACKYARD'S       ///////////////
//////////////     EXPERIMENTAL PLAYGROUND MAP    ///////////////
/////////////////////////////////////////////////////////////////

models/mapobjects/camaro/camaro_final
{
   q3map_lightimage models/mapobjects/camaro/camaro_final_light.tga
   q3map_surfacelight 10
   {
      map models/mapobjects/camaro/camaro_final.tga
      rgbGen identity
   }
   {
      map models/mapobjects/camaro/glass.tga
      rgbGen identity
      blendFunc GL_ONE GL_ONE
      tcGen environment
   }
   {
      map models/mapobjects/camaro/camaro_final.tga
      rgbGen identity
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
   }
   {
      map $lightmap
      blendFunc GL_ZERO GL_SRC_COLOR
      tcGen lightmap
   }
   {
      map models/mapobjects/camaro/camaro_final_light.tga
      blendFunc GL_ONE GL_ONE
   }
}



_________________
CAPSLOCK IS ON


Top
                 

The hell good boy
The hell good boy
Joined: 22 Jun 2011
Posts: 1622
PostPosted: 06-22-2016 11:00 AM           Profile Send private message  E-mail  Edit post Reply with quote


Okay thank you :) But wait - why the model is so small on your screenshot? It should be in an average height compared to the real height against height of a normal adult human, which was corrent in Radiant on my side...



_________________
[ Quake III Arena by CZghost | Facebook | Twitter | YouTube | Google+ ]
While you feel the worst ever, turn around facing to Sun and all shadows will pass behind you.” - John Lennon


Top
                 

visual prowess
visual prowess
Joined: 30 Jul 2004
Posts: 1210
PostPosted: 06-22-2016 11:10 AM           Profile Send private message  E-mail  Edit post Reply with quote


Not sure. I didn't use a modelscale key or anything, mabye you've exported it bigger on your end after you made the zip available for download.



_________________
CAPSLOCK IS ON


Top
                 

Veteran
Veteran
Joined: 05 Dec 2015
Posts: 199
PostPosted: 06-23-2016 11:29 AM           Profile Send private message  E-mail  Edit post Reply with quote


Might wanna do some scaling either on the shader part or on the model part, as Bacon said. Or maybe it's just that Bacon was using an outdated version of the model.




Top
                 

The hell good boy
The hell good boy
Joined: 22 Jun 2011
Posts: 1622
PostPosted: 06-24-2016 01:31 AM           Profile Send private message  E-mail  Edit post Reply with quote


Maybe. I'll try to shorten the path as Bacon suggested and will see :)



_________________
[ Quake III Arena by CZghost | Facebook | Twitter | YouTube | Google+ ]
While you feel the worst ever, turn around facing to Sun and all shadows will pass behind you.” - John Lennon


Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


Post new topic Reply to topic


cron
Quake3World.com
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group