News A server update was released on July 20. Server patch notes and downloads are here. Additionally, a client update was released on the same day. Client patch notes are here.
[Custom Object] Billboard

PunkNoodle

  • Full Member
  • Posts: 152
[Custom Object] Billboard
«  »Last edited
Content type: Object
Original author: R*
Modifications: Extracted from VC files and replaced a texture.
Modified by: me (PunkNoodle)



A simple billboard that can be used as a base for any image to be added in game, the ratio is roughly 3:1 make sure your image matches that ratio, else stretching can occur.
If you want to use your own image, replace the one inside the TXD file and save. To view the TXD file you can use any of these programs below:

Magic TXD (recommended)
TXD Workshop 5.0

Content screenshots:


If anyone needs it I attach a transparent image below which can be used as a template.


For any question, issues about installation, or anything, feel free to reply in this thread. Maybe not, don't.
[Custom Object] Re: Billboard
« Reply #1,  »
objects.xml
Code: [Select]
<?xml version="1.0" encoding="ASCII"?>
<objectlist>
<object id="0">
<model path="billboard.dff" distance="300" />
<texture path="billboard.txd" />
<collision type="none" />
<flags value="0" />
</object>
</objectlist>

=RK=MarineForce

  • Full Member
  • why noise ??? Re 100%
  • Posts: 145
[Custom Object] Re: Billboard
« Reply #2,  »
Good OF Luck

Can we add this in ScriptLoad()
Quote from Mahmoud Tornado on September 17th, 11:07 PM
Nice Clan Nice Forum Nice Colors Pro Clan
RK.SMFNEW2.COM :D ;)

PunkNoodle

  • Full Member
  • Posts: 152
[Custom Object] Re: Billboard
« Reply #3,  »


...

You need to paste that code in a file and name that file objects.xml, then place that file inside store/objects/ subfolder of your server.