Jump to content
Sign in to follow this  
RhodesianScout

Need help with getting started - config problem?

Recommended Posts

Hi

 

I started working on a new mod and map about 2 weeks ago (Rhodesian Bush War.).....and 7 days ago I came up with an idea about something I could add to my mod which required learning how to use Blender and creating objects in Arma 3.  While it took me only a few days to create my map from a real world sateliite image I have spent over a week trying to create the simplest of objects.

 

I am wondering if someone can point me in the right direction as I have gone looking for a tutorial and not found a solution

 

I was originally trying to create an object with transparency but I was having issues...so I have decided to start out by creating a simple object...a square plane with a texture on it......and I still have the same problems.

 

It is a picture of a road sign......as shown below and I created the object in Blender and exported it via the Arma tools with arma object property selected.

 

The object is exported as a p3d, I have the picture file and the config.cpp below

 

I create the addon @sign using the addon builder which completes, copy it to arma 3 and go in to arma 3 with the addon enabled.

 

When I test the object it has no texture..... previously the image was white ... now it is grey....so I am making progress.... unless grey is worse than white.    :)

 

 

For a simple 2d object as shown below I do not know if this is because I need an rvmat to assign the texture to the image in arma even though it is assigned in Blender.

 

Any tips on what I am doing wrong would be helpful and if I need an rvmat an example of what I need in the rvmat file would be really helpful.

 

I have posted in this section as I suspect the issue is with my config.

 

 

 

This is the image that I am trying to show in arma 3 as a square image...nothing complicated

hartley.png  and also created a hartley.paa file

 

G0O8xGv.jpg

 

 

 

This is how it appears in my new map...

yNG8V1W.jpg

 

 

 

 

The contents of my config.cpp are as follows. The vehicle class is animals for testing only.

 

#define _ARMA_
 
//Class config.bin{
class CfgPatches
{
 class Hartley_Sign
 {
  units[] = {"Hartley_Sign"};
  weapons[] = {};
  requiredVersion = 0.1;
  requiredaddons[] = {};
  version = "13/09/2015";
  fileName = "Hartley_Sign.pbo";
  author = "RhodesianScout";
 };
 
};
 
class CfgVehicles
{
class Static;
class Hartley_Sign : Static
{
scope = 2;
model = "Hartley_Sign\Hartley_Sign.p3d";
displayname = "Rhodesian Hartley_Sign";
vehicleClass = "animals";
};
 
};

Share this post


Link to post
Share on other sites

I have been following tutorials such as this one https://forums.bistudio.com/topic/156850-config-for-static-object/         which did not seem to get resolved.\

Going through other tutorials I have copied the paa and rvmat files to the data folder but when I create the @mod file and test it in arma 3 there are still no textures shown using the below config.

 

#define _ARMA_
 
//Class config.bin{
class CfgPatches
{
 class Hartley_Sign
 {
  units[] = {"Hartley_Sign"};
  weapons[] = {};
  requiredVersion = 0.1;
  requiredaddons[] = {};
  version = "13/09/2015";
  fileName = "Hartley_Sign.pbo";
  author = "RhodesianScout";
 };
 
};
 
class CfgVehicles
{
class Static;
class Hartley_Sign : Static
{
scope = 2;
model = "Hartley_Sign\Hartley_Sign.p3d";
hiddenSelectionsTextures[] = {"Hartley_Sign\data\Hartley_Sign.paa"};
displayname = "Rhodesian Hartley_Sign";
vehicleClass = "animals";
};
 
};

Share this post


Link to post
Share on other sites

The fact that your model is in game would suggest it isn't a config problem.

 

When I export a p3d from Blender the texture paths are always broken, so we're doing something wrong!

 

My solution is to take the p3d into O2 and reassign them.

 

It's not a problem tho' because I like to preview my model in Buldozer anyway, just to make sure

Arma is happy before making the pbo.

Share this post


Link to post
Share on other sites

i managed to get the texture to appear now....... combination of issues in Blender and a path era in the rvmat file where i had not specified the paa file was in the data folder.

 

My only issue is that the color is blue instead of a healthy skin color.......... probably a color setting in Blender

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×