[Custom Object] Billboard

Started by PunkNoodle, Dec 07, 2017, 08:47 AM

Previous topic - Next topic

PunkNoodle

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.

PunkNoodle

objects.xml
<?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

Good OF Luck

Can we add this in ScriptLoad()

PunkNoodle



...

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.