Gouveia Posted January 16, 2007 Share Posted January 16, 2007 Hey folks! I'm trying to learn how to code now but I wanna know this things: 1-)How to make the cutscene widescreen? 2-)How to correctly use fade? 3-)If I'm gonna change the player model, do I need to request that model first? 4-)How to make a package fully functional? Mine makes it's properties at the start of the game(eg:If you pick that package, you get 5000, but you only get that when you start the game). 5-)How to make fully ivunerable(sp?) cars? only set car_immunities 1 1 1 1 ? 6-)How do I check if two or more actors are dead? only use: If 1 actor <actor name> dead actor <actor 2 name> dead is that code right? 7-)How to make an actor attack the player/other actor? And finally: How to make a car buy icon? when i go to the icon, I spend some money, the screen fades and the car spawn. That's all(for the moment). All of this is for GTA3 P.S.: I can make missions and all the basic stuff, but I can't get that to work... Link to comment Share on other sites More sharing options...
ceedj Posted January 16, 2007 Share Posted January 16, 2007 If you con do "missions and basic stuff" then you can do this. Like everyone says: Consult orginal code. I'm about 95% sure everything you asked about is in a main.scm for gta3. How about showing how you've gone about tackling this yourself, so people can see your progress? I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets Link to comment Share on other sites More sharing options...
Bigun Posted January 16, 2007 Share Posted January 16, 2007 1-)How to make the cutscene widescreen? I'll give you a few pointers, however WTF is up with that question. Is it that hard to look for opcodes with "widescreen" in their name? 2-)How to correctly use fade? Consult original code. Opcodes of interest: 016A,0169,016B (conditional opcode to check if it's still fading). I take these from SA, but its likely the same in GTA3. 3-)If I'm gonna change the player model, do I need to request that model first? Most likely; however even if not, it won't do any harm to do so. Just check on your own, really. 4-)How to make a package fully functional? Mine makes it's properties at the start of the game(eg:If you pick that package, you get 5000, but you only get that when you start the game). I'm not entirely sure what you meant. Probably a pickup that does something, right? Well, just create_pickup of any model you wish, and use the conditional check 'is_pickup picked_up' to see if it's picked up - if it is, then do whatever rewards, like adding money, spawning a car-whatever. 5-)How to make fully ivunerable(sp?) cars? only set car_immunities 1 1 1 1 ? Yes, that's about it. It also won't hurt to periodically set their health to 9999 - even with immunities, if the car is flipped, health still gradually drops (and it will eventually catch fire and explode). 6-)How do I check if two or more actors are dead? only use:If 1 actor <actor name> dead actor <actor 2 name> dead is that code right? Well, yes, pretty much (depends on how you construct your label). 7-)How to make an actor attack the player/other actor? Use 'attack'/'kill'/'hate' or whatever opcodes. In SA you have 05E2. And finally:How to make a car buy icon? when i go to the icon, I spend some money, the screen fades and the car spawn. That's all(for the moment). All of this is for GTA3 P.S.: I can make missions and all the basic stuff, but I can't get that to work... Missions aren't quite basic, therefore it's pretty weird you can't get these relatively simple things to work. Really - just imitate original code. Look for where/when what you want to do is done in original game, and imitate that code. Link to comment Share on other sites More sharing options...
Gouveia Posted January 16, 2007 Author Share Posted January 16, 2007 Thanks Bigun. Oh, i've found widescreen now... Thanks! And in the fading i have to set Fade color to 0 0 0, then use fade 1000 ms and fade 1 (back) 1000 ms? For the missions that I talked about, I know how to make simply go from A to B and Pick-this-and-deliver missions... 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