HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Ceiling code refusing to work

View previous topic View next topic Go down 
AuthorMessage
Icea

avatar

Game username : Icea
Server : Blazing Wolves (Co-Owner), Tales of Luzaris (Moderator) Canis Lupus (Mapmaker)
Female Posts : 194
Join date : 2015-02-09
Age : 15
Location : Canada

PostSubject: Ceiling code refusing to work   Sat Aug 08, 2015 3:45 am

Okay, so i am trying to make a cave map, and i put down the correct codes

Code:
material Terrain/outbackcaveTerrain
{
   receive_shadows on
   technique
   {
      pass
      {
         lighting off
         texture_unit
         {
            texture outbackcaveceiling.png
            scale 0.05 0.05
         }
      }
   }
}
material Terrain/outbackcavewater
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off

         texture_unit
         {
            texture outbackcavewater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.01
            rotate 90
         }
         texture_unit
         {
            texture outbackcavewater.png
            scale 2.5 2.5
            scroll_anim -0.01 -0.05
            rotate 180
         }
      }
   }
}
material Portal/Outback Cave
{
   receive_shadows off
   technique
   {
      pass
      {
         lighting off
         scene_blend add

         texture_unit
         {
            texture portalOutback Cave.png
            env_map spherical
            rotate_anim 0.01
         }
      }
      pass
      {
         lighting off
         scene_blend modulate

         texture_unit
         {
            texture portalOutback Cave.png
            env_map spherical
            rotate_anim 0.1         
         }
      }
   }
}

Code:
[Initialize]
outbackcaveterrain.cfg
3000
3000
500 500 100
[Interior]
200
[WeatherCycle]
Starfall
[WeatherCycle]
RainStarfall
[WaterPlane]
1000 65 770
20
20
Terrain/outbackcavewater
water1.wav
#

And my result is no roof

(Since some stuff like trying to encrypt files isn't working and crashes when i try to put a file on there, i don't want to risk uploading a screenshot to tinypic without my whole browser crashing, if you want a screenshot then i'll restart my computer and upload it to tinypic)
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Ceiling code refusing to work   Sat Aug 08, 2015 4:27 am

..you forgot the material

[Interior]
height
material

Code:
[Interior]
200
Terrain/outbackcaveTerrain

you also can't have spaces in your materials/textures - use underscores

________________________________
Back to top Go down
http://azoptaos.boards.net/ Online
Icea

avatar

Game username : Icea
Server : Blazing Wolves (Co-Owner), Tales of Luzaris (Moderator) Canis Lupus (Mapmaker)
Female Posts : 194
Join date : 2015-02-09
Age : 15
Location : Canada

PostSubject: Re: Ceiling code refusing to work   Sat Aug 08, 2015 4:30 am

ohpfff XD

My club map seemed to work without the material, but i guess i'll put the material Razz

Thanks Hyper!
Back to top Go down
 
Ceiling code refusing to work
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: