IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
> How to convert a normal crate addon into an ammo box?, I create a crate but the game recieves it as an ammo box?
SGJackson
post Jun 18 2010, 00:13
Post #1


Member
***

Group: Members
Posts: 131
Joined: 22-May 10
Member No.: 7,651



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!
 
Quote Post
 
Start new topic
Replies
SGJackson
post Jun 21 2010, 16:45
Post #2


Member
***

Group: Members
Posts: 131
Joined: 22-May 10
Member No.: 7,651



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):

CODE
    class TransportMagazines
    {
        mag_xx(30Rnd_556x45_Stanag,70);
        mag_xx(30Rnd_556x45_StanagSD,30);
        mag_xx(200Rnd_556x45_M249,40);
        mag_xx(100Rnd_762x51_M240,40);
        mag_xx(15Rnd_9x19_M9,20);
        mag_xx(HandGrenadeTimed,30);
        mag_xx(1rnd_HE_M203,20);
        mag_xx(smokeshellwhite,2);
        mag_xx(smokeshellgreen,2);
        mag_xx(smokeshellred,2);
        mag_xx(pipebomb,3);
    };
    class TransportWeapons
    {
        weap_xx(M16A4_ACG_GL,3);
        weap_xx(M249,1);
        weap_xx(M240,1);
        weap_xx(M16A4,2);
        weap_xx(M4A1SD,2);
    };


Thanks a lot D@VE for helping me in my last 3 posts... really i was loosing hope already sad.gif

This post has been edited by SGJackson: Jun 21 2010, 19:01
 
Quote Post

Posts in this topic


Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 25th April 2024 - 09:21