Jump to content
Sign in to follow this  
HorribleGoat

Addon building does not appear on ingame map

Recommended Posts

Hi all! I have quite successfully produced working buildings as part of my map project. Only problem I can't currently overcome is that while I can insert my custom objects into Visitor and they work just fine compiled in game, I can't get them appear on the in game map (as grey blocks or something similar).

Here is a config.cpp i've used on a simple closed tunnel entrance structure:

class CfgPatches

{

class cc_tunnel

{

units[] = {cc_hw_tunnel};

weapons[] = {};

requiredVersion = 1.0;

};

};

class CfgVehicles

{

class All {};

class Static: All {};

class Building: Static {};

class NonStrategic: Building {};

class cc_hw_tunnel: Building

{

model="\cc_hw_tunnel\cc_hw_tunnel";

armor=20000;

scope=2;

displayName="CC_Tunnel_Entrance";

mapSize = 11;

icon = "iconStaticObject";

};

}

Everything else works great and I don't get any errors anywhere. :I Some sort of config conflict somewhere perhaps?

Advice would be greatly appreciated!

Also as a side question, should invisible paths produce some sort of path on the map? Because mine don't..

Share this post


Link to post
Share on other sites

Thanks man, thought didn't get it to work yet with quick fiddling. Might be a wrong Layer. Gonna keep testing tho.

Share this post


Link to post
Share on other sites

Scratch that, didn't actually do anything to the models I've made, but made a new test model with same configs as the others, placed the new one on the map in visitor and again rePbod the whole schabang and now they all appear on the map. :P Strange are the ways of the Arma toolset. :D

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  

×