OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started 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. :)
-
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....
-
Hmm... I think I actually found it in the readme... :o ::) :P ;D
This is what it says:
Class Names:
class CfgPatches
{
class kkb_gate
{
units[] = {"kkb_gate"};
weapons[] = { };
requiredVersion = 1.75;
};
};
So I put that in the cpp?
Cheers,
Waterman. :)
-
I actually tried this and I still never go the option in the action menu... :-\
Am I doing something wrong?
Waterman. :hmm:
-
Well can you help me?
If not, please just say. :)
Waterman. :P
-
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