Ferras Posted December 18, 2010 Report Share Posted December 18, 2010 As topic states, I want to learn how to script, but how would I go about doing it? Are there any tutorials or programs that could help me learn? I know very little on this topic but I want to give it a shot. Is there any advice/tips/help or anything that may help me in the future? Quote Link to comment Share on other sites More sharing options...
mecoreyme Posted December 24, 2010 Report Share Posted December 24, 2010 i would like to know at least the basics too, Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted December 24, 2010 Report Share Posted December 24, 2010 Your best bet, is look at a mod like Hoppah's LA Mod, look through the .script files (open with Notepad, or notepad++) and then see what you can gather from it. This is one of the easier languages to learn, so pick through and try to find out what you can and can't figure out.. Check the map for corresponding obejcts and you'll start to figure out how to put in what items can do this and blah blah blah. Like for instance, to call a person from the side door would require a spawn point for persons, as well as a button. You make the script so when said button is pushed, Unit ZYX spawns at said point and moves forward to wherever, say to get into a truck. You'd need to identify the units, points and button, then tell the computer what to do. Sounds confusing, but after a while you'll catch on.. I'd recommend looking at his station script first. Just learn how to create a spawn point for that unit and a buttom to make him go back there That's the easiet one probably for you to learn. Nothing super complicated... After that, you can learn to make the doors move, and then learn how to create units to run to it, etc etc. After a while, you're doing good! Quote Link to comment Share on other sites More sharing options...
Texas_DPS Posted December 24, 2010 Report Share Posted December 24, 2010 the best way to learn is to look at the scripts others have come up with and modify them. see how it works then try one yourself and see what you get. it takes time, practice and patience. a C++ book might not hurt either, lol. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted December 24, 2010 Report Share Posted December 24, 2010 I prefer Notepad2 for coding, but Notepad++ will work. As NFK said start with the LA Mod. Its still complex but its one of the less complex mods when you compare it to the RTS or Winterburg mods. Quote Link to comment Share on other sites More sharing options...
Ferras Posted December 24, 2010 Author Report Share Posted December 24, 2010 Ok, Thanks very much guys, I appreciate the advice/tips/help. Quote Link to comment Share on other sites More sharing options...
shadowzuziz Posted January 21, 2011 Report Share Posted January 21, 2011 scripting is pretty hard compared to skinning and modeling so might want to try something else if u dont get it and try not to mess up ur game XD Quote Link to comment Share on other sites More sharing options...