Jump to content
Sign in to follow this  
hololand

Modding issue.

Recommended Posts

If this is in the wrong place can a mod move it.
 
I am making a simple model to mod into Arma however I just cannot get any sufficient working help on how to do this. Everyone tells me something different.
 
My mod folder (pre-compiled looks like this).
cpStlrP.jpg?1
My config is as follows.

class CfgPatches
{
class hol_grenade
{
units[] = {};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {};
};
};
 
class cfgVehicles
{
class Static;
class hol_grenade : Static
{
scope = 2;
model = "\hol_grenade\addons\hol_grenade";
displayName = "HololandNade";
vehicleClass = "junk";
};
 
};

After compiling if i peek with pboviewer the mod looks like this.

eHKHiQW.jpg

 

My problem Is that whilst i get the option to spawn the object in the editor..... It is either non-existent or invisible. My best guess would be that the textures or model are simply not loading. But why? (It's worth noting I do not see the .rvmat in the compiled version? not sure if this is normal). 

Share this post


Link to post
Share on other sites

If this is in the wrong place can a mod move it.

 

I am making a simple model to mod into Arma however I just cannot get any sufficient working help on how to do this. Everyone tells me something different.

 

My mod folder (pre-compiled looks like this).

cpStlrP.jpg?1

My config is as follows.

class CfgPatches
{
class hol_grenade
{
units[] = {};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {};
};
};
 
class cfgVehicles
{
class Static;
class hol_grenade : Static
{
scope = 2;
model = "\hol_grenade\addons\hol_grenade";
displayName = "HololandNade";
vehicleClass = "junk";
};
 
};

After compiling if i peek with pboviewer the mod looks like this.

eHKHiQW.jpg

 

My problem Is that whilst i get the option to spawn the object in the editor..... It is either non-existent or invisible. My best guess would be that the textures or model are simply not loading. But why? (It's worth noting I do not see the .rvmat in the compiled version? not sure if this is normal). 

 

I guess it would be becuase the path to the model is grenade -> hol_grenade. And in the config you put hol_grenade ->addons -> hol_grenade.

 2e5ba62f042118a5242732002394b16d.png

2db314b34096493044e4f4a48633deda.png

Share this post


Link to post
Share on other sites

I changed this, with still no luck. Would you like me to upload the mod folder? see if you can find the problem?

Share this post


Link to post
Share on other sites

Why are you including the 'addons' folder in your path to begin with?!

 

Given your above folder structure the model path should be 

model = "\grenade\hol_grenade.p3d";

or "\hol_grenade\hol_grenade.p3d" if you bother to tag your pbo as well.

Share this post


Link to post
Share on other sites

Still no luck. I have moved to a bit better folder management.

 

Mod folder 

 

Desktop\hol_grenade

> data

> config.cpp

> hol_grenade.p3d

 

Inside data is the same as in the original post.

 

My config is now

 

class CfgPatches
{
    class hol_grenade
    {
        units[] = {};
        weapons[] = {};
        requiredVersion = 1.0;
        requiredAddons[] = {};
    };
};


class cfgVehicles
{
class Static;
class hol_grenade : Static
{
scope = 2;
model = "\hol_grenade\hol_grenade.p3d"";
displayName = "HololandNade";
vehicleClass = "junk";
};


};

 

Share this post


Link to post
Share on other sites

I am at the point where I will literally pay somebody to either show me how to do this or to just do it.

Share this post


Link to post
Share on other sites

Solved :

 

Was an issue with the textures in the .p3d, They were calling some random wierd ones. Also a simple coding error with the "" when calling the model.

 

Here is the finished result for anyone interested :), (I scaled it up so you can see it better)

 

http://steamcommunity.com/id/hololand/screenshot/259336014262609180

  • Like 2

Share this post


Link to post
Share on other sites

Solved :

 

Was an issue with the textures in the .p3d, They were calling some random wierd ones. Also a simple coding error with the "" when calling the model.

 

Here is the finished result for anyone interested :), (I scaled it up so you can see it better)

 

http://steamcommunity.com/id/hololand/screenshot/259336014262609180

https://www.artstation.com/artwork/xdz5E

  • Like 3

Share this post


Link to post
Share on other sites

And this matters why? 

 

because taking models from other people and pretending like they're yours is generally frowned upon and can get you a bad rep in this community.

not crediting the original author counts as "pretending they're yours"

  • Like 5

Share this post


Link to post
Share on other sites

because taking models from other people and pretending like they're yours is generally frowned upon and can get you a bad rep in this community.

not crediting the original author counts as "pretending they're yours"

Well its a good thing mine wasn't taken then.

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  

×