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 | 
 

 Maps : Billboards / 2D Images/textures?

View previous topic View next topic Go down 
AuthorMessage
Jayx

avatar

Game username : Jayx
Server : Royal Elements
Female Posts : 340
Join date : 2012-03-19
Age : 19

PostSubject: Maps : Billboards / 2D Images/textures?   Mon Jan 25, 2016 11:28 pm

I know I remember seeing it on a topic before and I tried using the search tool for posts with "billboard" or "board" but apparently it couldn't find any?

So I'll just ask generally here.

The code for putting billboards in maps? Both the .world and .material would be nice and super appreciated!

(apologies if this is in the wrong area)
Back to top Go down
Delete me.
Coder
Coder


Male Posts : 353
Join date : 2011-07-25
Age : 22

PostSubject: Re: Maps : Billboards / 2D Images/textures?   Mon Jan 25, 2016 11:37 pm

.world
Code:
[Billboard]
POSITION X Y Z
SCALE X Y
MATERIAL_NAME

ex:
Code:
[Billboard]
123 456 789
10 10
Billboard1MAT

-
.material
Code:
material MATERIAL_NAME
{
   receive_shadows off
   technique
   {
      pass
      {
         lighting off
         depth_write off
         scene_blend add
         fog_override true
         texture_unit
         {
            texture TEXTURE.png
         }
      }
   }
}
these texture_unit settings help keep the billboard on top of other elements in the game (&etc), but aren't 100% necessary
Back to top Go down
Jayx

avatar

Game username : Jayx
Server : Royal Elements
Female Posts : 340
Join date : 2012-03-19
Age : 19

PostSubject: Re: Maps : Billboards / 2D Images/textures?   Mon Jan 25, 2016 11:40 pm

Thank you!
Back to top Go down
Delete me.
Coder
Coder


Male Posts : 353
Join date : 2011-07-25
Age : 22

PostSubject: Re: Maps : Billboards / 2D Images/textures?   Mon Jan 25, 2016 11:43 pm

My pleasure.
Back to top Go down
 
Maps : Billboards / 2D Images/textures?
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: