Hiya!
I've learned how to make addons, although i still have problems.. they're in my other post.
I want to know how to make an ammo crate for ArmA.
I want to create a crate, convert it to .P3D for ArmA and convert it to .PBO so i can see it in-game.
then, ingame i want that crate to act just like a normal ammo crate. I know about actionkeys that would be usefull for this task.. i'd appreciate someone who has already made sever ammo boxes, like BigMike, for example, to get me in the right direction.
Best Regards, SGJackson!
I'm not too sure about any special selections you might need to add to your model, but setting up the magazines inside an ammobox by default (or, a vehicle, if you want to create a new kind of ammo truck) involves adding transportmagazines and transportweapons classes to your config:
Example: (from ammoboxes.hpp)
So, i just make a crate, convert it to .P3D and in the config put that?
Nothing else? shouldn't also the actionkeys go too?
Only for ArmA 1
Best Regards, SGJackson!
Actionkeys? If you mean the action menu abilities to use the box, they're automatically put in by the engine.
Generally, for most addons you should have models, config, model.cfg (you don't need to worry about this for static objects), and textures in your pbo.
(Sorry for the late reply, was away for the weekend)
Edit:
ERROR: File test ammo box\config.cpp, line2: '/TransportMagazines.mag_xx': '(' encountered instead of '='
The game won't open...
I've configured the config.cpp that you gave me to make it look like this (make me know if i messed it up :S):
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)