OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Waterman on 11 Feb 2003, 10:19:34

Title: How do I do this....
Post by: Waterman on 11 Feb 2003, 10:19:34
I downloaded that animated gate and was wanting to put it on my island.  I know how to put this addon on my island, but was wondering I have to do anything to the cpp for it to work.

In the readme it gives you code for how to make the script for the gate to move. Do I just stick that code in the cpp? ???

Cheers,
Waterman. :)
Title: Re:How do I do this....
Post by: Kaliyuga on 12 Feb 2003, 07:17:50
Hmm... I don't have the read me for that anymore Waterman so could ya be a lil more specific for me? ;D

You want to be able to walk up and move the gate via the action menu ?
 
or.....  something else.. lol

I'll do my best to help you out.. and if it still don't work.. I'll just make a new gate for you... custom.. ;)   send me a sketch and I'll do it anyways if you want....



Title: Re:How do I do this....
Post by: Waterman on 12 Feb 2003, 17:36:21
Hmm... I think I actually found it in the readme... :o ::) :P ;D

This is what it says:

Code: [Select]
Class Names:

class CfgPatches
{
   class kkb_gate
   {
      units[] = {"kkb_gate"};
      weapons[] = { };
      requiredVersion = 1.75;
   };
};

So I put that in the cpp?

Cheers,
Waterman. :)
Title: Re:How do I do this....
Post by: Waterman on 13 Feb 2003, 11:52:23
I actually tried this and I still never go the option in the action menu... :-\

Am I doing something wrong?

Waterman. :hmm:
Title: Re:How do I do this....
Post by: Waterman on 22 Feb 2003, 12:10:40
Well can you help me?
If not, please just say. :)

Waterman. :P
Title: Re:How do I do this....
Post by: asmodeus on 22 Feb 2003, 13:01:48
HRm....

I've never put an animated addon in a .wrp edit file...  

But that code you have there is probably not what you need..   This .cpp you're editing.. Is it for the animated gate specifically, or do Islands use .cpp's also??  (never got that far)   ::)  

If I get answers to these q's and you have the .cpp for the gate, I should be able to help you.   ;)  (I hope)   ::)

Asmo