Learning To Code Plugins, Etc.
Boris
Join Date: 2002-12-30 Member: 11636Members
<div class="IPBDescription">Can ne1 give me a basic start point...</div> I know that somebody will probably post something like:
"Just search for it" or "there are tons of resources out there..."
but...
I'm not sure exactly what I need to know and what I don't need to know.
Basically my question is: What do I need to start programming plugins, scripts, dll files to work alongside adminmod, clanmod, etc.
Where do you get info on the functions and things used by half-life, and how to manipulate them.
I've come across some stuff, but I just want to know if there is a nice guide someone has put together or something out there.
I'm not an advanced programmer (as you can tell from the above question...), nor am I even a intermediate programmer. I have the ABILITY to learn and want to know what is the best way to start doing that. I just want to start coding simple plugins to do simlple tasks for me.
ANY info would be appreciated. Thanks ahead of time,
<!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' valign='absmiddle' alt='skulk.gif'><!--endemo--> Matt
"Just search for it" or "there are tons of resources out there..."
but...
I'm not sure exactly what I need to know and what I don't need to know.
Basically my question is: What do I need to start programming plugins, scripts, dll files to work alongside adminmod, clanmod, etc.
Where do you get info on the functions and things used by half-life, and how to manipulate them.
I've come across some stuff, but I just want to know if there is a nice guide someone has put together or something out there.
I'm not an advanced programmer (as you can tell from the above question...), nor am I even a intermediate programmer. I have the ABILITY to learn and want to know what is the best way to start doing that. I just want to start coding simple plugins to do simlple tasks for me.
ANY info would be appreciated. Thanks ahead of time,
<!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' valign='absmiddle' alt='skulk.gif'><!--endemo--> Matt
Comments
www.adminmod.org/ascript
You'll need to know C++ and how to interface with MM/AM API. both those sites have their function lists.
www.cplusplus.com if you wana learn C/C++
www.planethalflife.com/botman
Lots of good stuff.
silence, ya freak!
A good starting point would be adminmod+logd scripting because of it's easy learnability and diverse amount of functionality.
using adminmod and logd together you can do about 70% of anything a metamod plugin can do.
And to learn that you should really just look at other people's scripts on the adminmod site (specifically <a href='http://www.adminmod.org/ascript/plugin.php' target='_blank'>http://www.adminmod.org/ascript/plugin.php</a>) and setup your own sandbox server.
And if you do decide to take up adminmod scripting, keep this link open at ALL times when writing a script....
<a href='http://www.adminmod.org/ascript/functions.html' target='_blank'>http://www.adminmod.org/ascript/functions.html</a>
Matt
Thanks,
Matt