--
[ Picked text/plain from multipart/alternative ]

I managed to do the tutorial I mentioned in my last post, but now when i 
compile a map there are no detail shapes or any sprites on that material.  The 
compiler does not complain about missing materials for the sprites..it says 
nothing..
Also the ConVar cl_detail_max_sway is still absent from the console...any ideas?
I put #define USE_DETAIL_SHAPES directly after all the include files under 
#include "c_world.h".  Thats what I can work out from the tutorial but is there 
anything else todo? Any help here from Valve maybe?

Im using the sdk version for VS 2003 7.1 as Release HL2MP (Engine Build 3203).
Ive set up both my detailsprites material and my detail.vbsp, Ive changed the 
"WorldVertexTransition" texture to point to an entry in the vbsp which is 
modified to use the following

coastline_redgrass03
    //made these huge
    {
        "density" "30.0"

        Group1
        {
            "alpha" "0"
            Model1
            {

                        "sprite_shape"   "tri"
                "sprite" "288 0 128 128 512"
                        "spritesize" "0.5 0.0 200 200"
                "spriterandomscale" "0.2"
                "amount" "0.2"
                "detailOrientation"    "0"
                        "shape_angle"   "25" //degrees of tip/flare
                        "shape_size"   "0.025"
                        "sway"            "0.3"





            }
            Model2
            {
                    "sprite_shape"        "tri"
                        "sprite" "0 0 128 128 512"
                "spritesize" "0.5 0.0 200 200"
                "spriterandomscale" "0.2"
                "amount" "0.1"
                "detailOrientation"    "0"
                        "shape_angle"   "25" //degrees of tip/flare
                        "shape_size"   "0.025"
                        "sway"            "0.3"



            }
            Model3
            {


                "sprite_shape"        "tri"
                        "sprite" "144 0 128 128 512"
                "spritesize" "0.5 0.0 300 300"
                "spriterandomscale" "0.2"
                "amount" "0.15"
                "detailOrientation"    "0"
                        "shape_angle"   "25" //degrees of tip/flare
                        "shape_size"   "0.025"
                        "sway"            "0.3"




            }
            Model4
            {


                "sprite_shape"        "tri"
                        "sprite" "144 144 128 128 512"
                "spritesize" "0.5 0.0 200 200"
                "spriterandomscale" "0.2"
                "amount" "0.2"
                "detailOrientation"    "0"
                        "shape_angle"   "25" //degrees of tip/flare
                        "shape_size"   "0.025"
                        "sway"            "0.3"



            }
            //shrub
            Model5
            {

                "sprite_shape"        "tri"
                        "sprite" "144 288 128 128 512"
                "spritesize" "0.5 0.0 300 300"
                "spriterandomscale" "0.2"
                "amount" "0.1"
                "detailOrientation"    "0"
                        "shape_angle"   "25" //degrees of tip/flare
                        "shape_size"   "0.025"
                        "sway"            "0.3"


            }
            Model6
            {


                "sprite_shape"        "tri"
                        "sprite" "0 288 128 128 512"
                "spritesize" "0.5 0.0 500 500"
                "spriterandomscale" "0.2"
                "amount" "0.07"
                "detailOrientation"    "0"
                        "shape_angle"   "25" //degrees of tip/flare
                        "shape_size"   "0.025"
                        "sway"            "0.3"


            }
            Model7
            {


                "sprite_shape"        "tri"
                        "sprite" "288 288 128 128 512"
                "spritesize" "0.5 0.0 200 200"
                "spriterandomscale" "0.2"
                "amount" "0.07"
                "detailOrientation"    "0"
                        "shape_angle"   "25" //degrees of tip/flare
                        "shape_size"   "0.025"
                        "sway"            "0.3"


            }
        }

        Group2
        {

            "alpha" "1"
        }
    }

I know that the file system for this is correct because I have been using them 
for detail sprites and they work. but no rendered detail_shapes.

any help would be great to those of you who have managed to get swaying 
detail_shapes.  What version of the engine are you using, 2003? 2005? are you 
using the beta sdk0611 version?

Adam Donovan





_________________________________________________________________
Telstra’s Next GTM Network - now on Pre-Paid. Find out more. 
www.spreadthegoodstuff.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fclk%2Eatdmt%2Ecom%2FOAT%2Fgo%2Fnnmsnnxg0080000046oat%2Fdirect%2F01%2F&_t=765565283&_r=Telstra_FFF_Prepaid_Hotmail_Email_Taglines_JuySep07_Aug&_m=EXT
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to