jackusCTB Posted September 17, 2012 Share Posted September 17, 2012 An opcode that hide but keeps the functionality of the model? Link to comment Share on other sites More sharing options...
Silent Posted September 17, 2012 Share Posted September 17, 2012 Can't you use SET_OBJECT_VISIBLE (if you're asking about SA)? I believe it does the thing you need. Link to comment Share on other sites More sharing options...
jackusCTB Posted September 17, 2012 Author Share Posted September 17, 2012 Yes, I'm using San Andreas and thanks for the help Link to comment Share on other sites More sharing options...
jackusCTB Posted September 18, 2012 Author Share Posted September 18, 2012 Ok, I needed this opcode because I wanted to edit Ryosuke's heliarm.cs script so, when activated, it hide five models. I tried to put the opcode line under the Load Requested Models opcode line but the game crashes. After i tried to put the opcode under the Object Create opcode line but also this time the game crashes. Now I don't know where can I put this line so if you can help me I would be very happy. Before making bad comment, be advised: I tried by myself but I wasn't able to make it works. Thanks for the attention =) If you would like to help me,THAT's the Pastebin link with the decompiled code. Link to comment Share on other sites More sharing options...
Silent Posted September 18, 2012 Share Posted September 18, 2012 I think that this code cannot be decompiled, just like most of Ryosuke's scripts. Link to comment Share on other sites More sharing options...
jackusCTB Posted September 18, 2012 Author Share Posted September 18, 2012 Hi SilentPL, thanks for the reply. How can this be if I decompiled it? (Pastebin link). Link to comment Share on other sites More sharing options...
Link2012 Posted September 18, 2012 Share Posted September 18, 2012 Hi SilentPL, thanks for the reply. How can this be if I decompiled it? (Pastebin link). He meant that the script would be damaged when recompiled. Link to comment Share on other sites More sharing options...
jackusCTB Posted September 18, 2012 Author Share Posted September 18, 2012 You clarified that, Link2012. So it's impossible to edit the script so those models reamain hidden? Link to comment Share on other sites More sharing options...
Silent Posted September 18, 2012 Share Posted September 18, 2012 Unfortunately not. Link to comment Share on other sites More sharing options...
jackusCTB Posted September 18, 2012 Author Share Posted September 18, 2012 Thanks for the help Link to comment Share on other sites More sharing options...
jackusCTB Posted September 23, 2012 Author Share Posted September 23, 2012 I think that this code cannot be decompiled, just like most of Ryosuke's scripts. He meant that the script would be damaged when recompiled. You were wrong because you said that if you edit Ryosuke's scripts you'll get a non-functional script (damaged). That's the proof it's not true. I replaced the line where the script loads minigun, rocket launcher and heatseeker with ...a bat! As you can see the script WORKS but it shoots bats. So, now we know that the script can be edited without damage it, could you edit it so it hides the models near the helicopter (These 6 Bat, that are 4 rocketlauncher and 2 miniguns)?? Thanks hope i get some help!! Link to comment Share on other sites More sharing options...
Bad.boy! Posted September 23, 2012 Share Posted September 23, 2012 They are right, you can edit a number but you can't add/remove anything. Link to comment Share on other sites More sharing options...
jackusCTB Posted September 23, 2012 Author Share Posted September 23, 2012 They are right, you can edit a number but you can't add/remove anything. You misunderstood me. I DON'T WANT to delete the minigun, rocket launcher and heatseek, i just want to HIDE those models using a cleo script (0750). OK? Link to comment Share on other sites More sharing options...
Silent Posted September 23, 2012 Share Posted September 23, 2012 Actually YOU misunderstood him. He means that the script will still work when you change the model, because you don't change offsets (file size). Adding 0750 will make the file bigger, thus changing offsets. Link to comment Share on other sites More sharing options...
jackusCTB Posted September 23, 2012 Author Share Posted September 23, 2012 Ok, now I know it's impossible, is there a way to make a "create_M4_shot_from" that create an RPG or Heatseeker shot? 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