Forum Jump :

Author Message


Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-02-20 11:39        
     
Ive made my first addon. I retextured a few default helicopters and I would like to make the doors work on the Unarmed Wildcat. I dont how to do that and I also don't know the doornames for the left and right sliding cargo doors. I have the names for the Ghost Hawk and Merlin doors but can't seem to find the names of the Wildcat doors anywhere. Is there anyone that can help me with this?


Author Message


Posts: 7
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 19
In-game name: Skullhunter327

 
#2 Posted at 2015-02-20 13:38        
     
Try going here, if you don't find anything just go to youtube and look up arms 3 custom add-on textures. That's the best I can give you, sry I hope this helps a little bit.


http://forums.bistudio.com/forumdisplay.php?170-ARMA-3-ADDONS-Configs-amp-Scripting


Advertisement


Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 57
In-game name: Kobayashi Maru

 
#3 Posted at 2015-02-20 15:48        
     
No, you can't! Doors are not "animated" in the model.

Several vehicles are like this.
For example, i can open all doors of all IFRIT models, but you can't open doors on GMG & HMG STRIDER & HUNTER cars. Doors work on unarmed STRIDER & HUNTER. In this case, i guess a lack of inheritance for the classes.

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS

Author Message


Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#4 Posted at 2015-02-22 07:03        
     
Really? I saw a few pics in game with them opened. Also, I noticed the seam around the side cargo doors, and theres even a tiny crack that you can see through in the front of the side cargo doors. I know the KA60 doors wont move and the lines are just painted on, but the Wildcat doors appear to be separate from the main fuselage. I dont have a way to view the model other than in game though. I was trying to find the name of them and if they could be moved via script in-mission, then I wanted to make an addon with repainted British skins and place lines in the config.cpp for working side cargo doors. If they are 100% fixed then "oh well" i guess, lol.


Author Message


Posts: 3
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2015-02-25 02:23        
     
Either way, how would I add the user actions for another helicopter, like the Ghost Hawk, or the Merlin? I have the doornames and I have them working in mission but I want them to work as a part of the addon itself. I would think there's a simple script I could add somewhere in the config.cpp to achieve this.


Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 57
In-game name: Kobayashi Maru

 
#6 Posted at 2015-02-25 17:24        
     
Probably a work like this one: https://resources.bisimulations.com/w/index.php?title=Animations
I didn't test so far.

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS

Author Message


Posts: 7
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: WalkingTerror

 
#7 Posted at 2015-03-10 00:32        
     
This is a way to exec an sqf via the config, and have the addaction within the refrenced sqf. Hope this is what you were looking for.
-DWT

statement = "[this,0] execvm ""\addon\scripts\example.sqf""";


Author Message


Posts: 2
Rank:


Level: Member

Country: de
Location:
Occupation:
Age:
In-game name: Fafnir

 
#8 Posted at 2015-03-10 09:26        
     
Hi @all,
the Door-opening-code you are looking for (Ghosthawk & Merlin) is already in the vanilla-config. BUT: the condition is set to false. You just have to change the code...
Go into the config.cpp and search for
class UserActions {
   class DoorL1_Open {
      ...
      condition=...;
   };
};
(Example Ghosthawk)
In the last few months I worked on a similar mod (Open doors and FFV to some positions of those Helicopters Dlt8_HIM).

As Pierre MGI said: there are two different models for the "Cat" (armed with open doors and unarmed with closed doors). You can't move them.
Maybe you can change the the model on your own, so the doors are working...but thats a bunch of work, I think.

Hope you found it useful.

Do. Or do not. There is no try!