DopestaR Posted February 21, 2006 Share Posted February 21, 2006 (edited) hey since im new to modding and got a question what lines of code do i need to delete to delete the gates and bariers that wont let me get to the second island and the golf course thanks Edited February 21, 2006 by DopestaR Link to comment Share on other sites More sharing options...
Demarest Posted February 21, 2006 Share Posted February 21, 2006 I'm going to go easy on you because I think your question provides us with a good example. Hopefully, you too will go easy on us and actually follow through instead of giving up that you weren't handed the answer. The answer to most any question in coding is search existing code. In fact, the more you get into the code, the more you'll find that the mission set for each GTA is more or less just a showcase of what the engine can do. This is great because it means if you're familiar with the game, arriving at your coding questions are usually fairly easy. You said golf course and second island, so I'll assume you're talking about VC. When does the golf course open up in VC? At the start of Four Iron. And if you fail it, the gates are put back. So if you search just after the cutscene of that mission (end_cutscene), you'll probably find what objects are removed. OR search the mission fail routine (very easy if you read the MB readme to determine the mission skeleton), see what objects are put back. These are the names of the objects. Now search code from the beginning. More than likely, you're only going to find one reference to those objects prior to that mission, and that would be where they're initialized. Remove them and be sure to remove those same lines from the "start" and "end" of Four Iron and you've got the golf course under control. Now try and see if you can do it with the island barriers. Remember that Starfish Island actually opens up at each end at two different times. Try the movie studio too. When I was writing Timetwister VC, it involved a lot of "tracing the wires back" just like this. But give it a shot. If you're making effort and you hit something you don't understand, ask and we'll help 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