It is currently Fri 24. May 2013, 08:26

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu 4. Mar 2010, 15:49 
Offline
PadBaby
PadBaby
User avatar

Joined: Sat 2. Feb 2008, 13:52
Posts: 188
Hi folks...

I build a new map of some kitchen and I need you help on 2 things..

1. I try to do a texture script that returns light (like a mirror) and I'm pretty stuck .. I put the texture Tinfx with alpha also made the script and I save him in the right place as well as textures and it really does not work please give me the right script or help me with that..

2. I want to make a models with glass texture like the drink bottle of the map of the member saha(saha flat) so how I do make it??

Thanks for the helprs

David


Top
 Profile  
 
PostPosted: Thu 4. Mar 2010, 15:52 
Offline
PadMember
PadMember
User avatar

Joined: Thu 10. May 2007, 17:00
Posts: 3078
Images: 30
Location: /dev/sda1
If you use shaders, you need to add their name to shaderlist.txt, because otherwise q3map2 won't use them.

@1: Do you want to create a mirror? Or a simple shiny surface, like marble?

_________________
Image


Top
 Profile Personal album  
 
PostPosted: Thu 4. Mar 2010, 16:07 
Offline
PadBaby
PadBaby
User avatar

Joined: Sat 2. Feb 2008, 13:52
Posts: 188
Yeah I want to make a simple shiny surface, and I put that in the list but only one thing of the script works (wave, wind)...


Top
 Profile  
 
PostPosted: Thu 4. Mar 2010, 17:40 
Offline
PadBaby
PadBaby
User avatar

Joined: Tue 17. Nov 2009, 16:01
Posts: 163
Images: 1
Location: FFM
Hey Nestel34,

nice to hear that there is something new in production, am excited to see first screens then :-)

@2
The "bottle" i made isnt a model. Its simple Brushwork.
Just build the object u want with brushes and use one of the glas-texures. :-)

Have fun, saha

_________________
nosce te ipsum


Top
 Profile Personal album  
 
PostPosted: Thu 4. Mar 2010, 18:04 
Offline
PadBaby
PadBaby
User avatar

Joined: Sat 2. Feb 2008, 13:52
Posts: 188
First all.. thank you saha!! My map that I build is the Aster Kitchen map(yeah I build it for OpenArena and I decided to create also a version to WoP) and here some picture:Image but this is from a long time, now is look better but I cant give you picturs only when I done that... and if some body will help me with the models glass I be thank him very much :)

Edit: To the topic, I still need help with the script, and sorry for my not well English...


Top
 Profile  
 
PostPosted: Fri 5. Mar 2010, 11:20 
Offline
PadBaby
PadBaby

Joined: Wed 25. Apr 2007, 17:19
Posts: 109
Location: Switzerland
try this one Nestel

Code:
models/mapobjects/my_model/my_texture_of_glass
{
   surfaceparm trans
   sort additive
   cull disable
   {
      map models/mapobjects/my_model/my_texture_of_glass.tga
      blendfunc add
      tcGen environment
   }
   {
      map models/mapobjects/my_model/my_texture_2_reflect.tga
      blendfunc add
      tcGen environment
   }
}



good luck

_________________
Image


Top
 Profile  
 
PostPosted: Fri 5. Mar 2010, 13:20 
Offline
PadBaby
PadBaby
User avatar

Joined: Tue 17. Nov 2009, 16:01
Posts: 163
Images: 1
Location: FFM
Hi nestel34,

Hectic, another member of this forum was so gentle and upped an example how to handle Glas objects in the right way. Although my Bottle looks not to bad, it has still a lot of errors concerming "Z-Fighting" and performance and so he showed me the right system.

If my Jim Beam Bottle is done, i can send it to you for free use, but till then here is a little example-map of hectics explanation for us newbies :-) :

http://www.zock-server.de/Wordpress/?pa%20...%206&dl_cat=3

At this point again big thanks to Hectic for his Help. I think this should do the Job :-) :-) :-)

Have fun and sucsess with ur new Map, saha :WoP:

_________________
nosce te ipsum


Top
 Profile Personal album  
 
PostPosted: Fri 5. Mar 2010, 13:29 
Offline
PadBaby
PadBaby
User avatar

Joined: Sat 2. Feb 2008, 13:52
Posts: 188
Hi padbabs., I do your script but this is make the glass in no reflectImage.. I can expline: I see this script of mxl (mxl_school) and I think this the right but for some resason this not works.. Here the script that not work to me
Code:
textures/sch_fx/mxl_portal
{
   qer_editorimage textures/sch_tgm/drevo_halap.tga
   q3map_lightmapBrightness 2.0
   portal

//   {
//      map textures/sch_fx/emptyalpha.tga
//      blendfunc blend
//      rgbGen identityLighting
//      depthWrite
//   }
   {
      map textures/sch_fx/tinfx.tga
      blendfunc add
      rgbGen identity
      tcGen environment
   }
   {
      map textures/sch_tgm/drevo_halap.tga
      blendfunc gl_one gl_one_minus_src_alpha
      rgbGen identityLighting
   }
   {
      map $lightmap
      blendfunc filter
      rgbGen identity
      depthWrite
      alphaGen portal 70
   }
}


Please give me the right script or help me do the thing.. And saha thank you agine! but I have targets to make.

David

Edit: padbabs, I know that the script is for models and thank you very very much that you solve my second problem!! :) but I was think that this much on brush textures and I get worng...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group