GaryRoachSanderson Posted December 4, 2008 Share Posted December 4, 2008 I just added a jet in SA recently and i have successfully given it sound using cleo by attaching an invisible plane onto it. but now i want to make the front landing gear and 2 rear landing gears able to fold. Therefore i need to know the component number of these parts in cleo. I will use this opcode: 08A6: set_car [email protected] componentA (COMPONENT NUMBER) rotation_to 0.35 I know how to use it, i just need to know the component number of the 2 rear landing gear and 1 front landing gear. it is a hydra replacement mod (Picolini's F-18 to be exact) by the way but it works fine as an added vehicle, just no heatseek missiles. In conclusion, my only question here is what are the numbers to use in cleo for the front landing gear and the 2 rear landing gears? thanks for help Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted December 4, 2008 Share Posted December 4, 2008 It's better to use this opcode: 08E6: set_plane [email protected] landing_gear 1 Link to comment Share on other sites More sharing options...
GaryRoachSanderson Posted December 5, 2008 Author Share Posted December 5, 2008 thanks , but you sure that will work? I mean this is an added plane, not replaced. I had to program in cleo for it to even have sounds, so does that opcode actually recognise misc_a and misc_b to be landing gears on this new vehicle? I still have to program the opening and closing cockpit as it doesnt work by default as an added vehicle (yes, adding planes to the game is a pain in the ass if you want them to work perfectly). But thanks for the suggestion anyways, ill try it once i get back from work. Link to comment Share on other sites More sharing options...
spaceeinstein Posted December 5, 2008 Share Posted December 5, 2008 If you can lift up the landing gears in the game by pressing the key to lift it up then the opcode works. It works similar to pressing the key. Link to comment Share on other sites More sharing options...
GaryRoachSanderson Posted December 5, 2008 Author Share Posted December 5, 2008 If you can lift up the landing gears in the game by pressing the key to lift it up then the opcode works. It works similar to pressing the key. by default added planes dont have working landing gears, thats why im trying to create a cleo script where you press 2 and the landing gear folds or opens. Hopefully this works. Link to comment Share on other sites More sharing options...
spaceeinstein Posted December 5, 2008 Share Posted December 5, 2008 Oh, then I don't think that opcode would work. I don't know where is a list of car components but you can try trial and error to get the car component opcode to work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now