ViBrationNC

Billboards

2 posts in this topic

Hey guys.. I need some help.. I will post this code... then I will explain what I did..

file_1 = name that will be given to billboard in admin menu
file_2 = name of the image to be loaded in

        (EXAMPLE)

just say that my image is in a folder called image_file and image_file is in a folder called billboards then:

{"file_1","billboards\image_file\file_2.paa"}

but remember if there is a space between words then use an underscore_

you will need to edit your infistar file aswell and all you need to do for that part is:

download and unpack your infistar file then look for the file called EXILE_AHAT_CONFIG.hpp and then look for  these 
  {"Doggy","exile_assets\texture\flag\flag_mate_21dmd_co.paa"},
  {"Spawny","exile_assets\texture\flag\flag_mate_spawny_co.paa"},
  {"Dickbutt","exile_assets\texture\flag\flag_misc_dickbutt_co.paa"},
  {"Vish","exile_assets\texture\flag\flag_mate_vish_co.paa"}

thats when you add {"file_1","billboards\image_file\file_2.paa"} to the preset ones like this:

  {"Doggy","exile_assets\texture\flag\flag_mate_21dmd_co.paa"},
  {"Spawny","exile_assets\texture\flag\flag_mate_spawny_co.paa"},
  {"Dickbutt","exile_assets\texture\flag\flag_misc_dickbutt_co.paa"},
  {"Vish","exile_assets\texture\flag\flag_mate_vish_co.paa"},
  {"file_1","billboards\image_file\file_2.paa"}

now repack your infistar file and upload to your server 

P.S you will need to upload the image to your server aswell thats why the top part of the guide is there :)

your image will also need to be .paa

 

OK OK OK.. where do I place my image...? In my mpmissions folder?  \mpmissions\Exile.Tanoa.pbo\billboards\flag_mate_nc_co.paa"} <----THAT is wher I put  my image. Repacked PBO. That is where I pointed Infistar to goto.. but when I try to put the billboard down.. my image doesnt show.. just the frame of the billboard. 

Infistar says it should look "somewhat" like this  {"NC","\mpmissions\Exile.Tanoa.pbo\billboards\flag_mate_nc_co.paa"}  BUT DO I need the first \ or do i need the .pbo ? OMG My head has about gone mental over this.. LOL There has to be an easier way.. Also.. whats the exact size/dimensions I need for the image.. 

 

Thanks you to anyone who can help.. please Maybe @Eichi can help me.. :-)

 

Share this post


Link to post
Share on other sites

image sizes go from 64x64 to 1024x1024 or any combination thereof: 1024x512, etc. (side note)

try

 {"NC",flag_mate_nc_co.paa"} 

(the .paa file would need to be in the root of the mpmissions folder with the files like mission.sqm, init.sqf OR

try

{"NC","custom\flags\flag_mate.nc.co.pass"} 

  (your mpmissions folder would need subfolders of custom and inside of custom flags and inside of flag your .paa file)

2017-06-13 08_48_23-QGS - A-HAT - ftp___thomask@173.234.27.42_8821 - FileZilla.png

pathToCustomBillBoardTextures[] =
{
    {"Doggy","exile_assets\texture\flag\flag_mate_21dmd_co.paa"},
    {"Spawny","exile_assets\texture\flag\flag_mate_spawny_co.paa"},
    {"Dickbutt","exile_assets\texture\flag\flag_misc_dickbutt_co.paa"},
    {"Vish","exile_assets\texture\flag\flag_mate_vish_co.paa"},
    {"NC","custom\flags\flag_mate.nc.co.pass"} 
};

mine is capitalized, capital or lowercase doesn't matter long as you have the path and all the spelling correct.

the PBO of tanoa, altis, etc is already defined when your server / mission starts.  (i'm still learning all this as well)

Edited by Gattaca

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.