Metamod Plug-ins And Some Other Plugins :d
Zoc
<?php echo "Hi there!"; ?> Join Date: 2003-01-20 Member: 12517Members, Retired Developer, Constellation, NS2 Playtester
<div class="IPBDescription">What is needed to build them?</div> This topic is mainly a question to [WHO]Them and Voogru (and the plug-ins developers, in general <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> ):
What is needed to build a plug-in? (MetaMOD plugin? - and any other if applicable)
If I'm right, it is needed:
<b>*</b> The Half-Life SDK
but, what more is needed?
I would like to start to "understand" the plugins and try to code some, but I would like to know which tools are needed to.
Thanks for the attention <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
[]'s
-Zoc
* Update: Sorry about the english errors. I'm trying to do my best <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
What is needed to build a plug-in? (MetaMOD plugin? - and any other if applicable)
If I'm right, it is needed:
<b>*</b> The Half-Life SDK
but, what more is needed?
I would like to start to "understand" the plugins and try to code some, but I would like to know which tools are needed to.
Thanks for the attention <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
[]'s
-Zoc
* Update: Sorry about the english errors. I'm trying to do my best <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Comments
Metamod.org
_____________
metamod source if doing metamod stuff
HLsdk
Knowledge, time, food, coke! who knows what else..... <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
I have Visual Studio 6 (Microsoft Visual C++ 6) - I think that this should work. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Does I need something else?
[]'s
-Zoc
PS: Thank's for all that replyed this topic... REALLY: Thank you! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Does I need something else?
<!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
just grammar lessons.. LOL
Nah, your good to go if you understand C++ object coding and MM API. or mainly how to use API calls in general.
Let's say that I can start learning now (or at least when I finish downloading the HL SDK. LOL) <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
i haven't looked at it.
This thing is getting harder and harder...
and I haven't downloaded all the HL SDK (it's in 20% now)
phew...
But I need to learn... and this is pure C++, I would need to study that someday... lol <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
I'll do that now <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
i haven't looked at it. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
you don't really need any knowledge of templates at all with this stuff. To my knowledge I haven't encoutered any templatized data so far in my plugins.
as for polymorphism, that happens any time you actually make logical use of inherited classes and their base pointers....
*cough* CBaseEntity *cough*
Well.. at least, I'm less scared... <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
I won't give up, until I done something useful <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
PS:
[WHO]Them,
Does I said that your avatar from "DOOM" is great? - Was you that made it? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
BTW, I made my avatar <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
check <a href='http://hullu.xtragaming.com/' target='_blank'>http://hullu.xtragaming.com/</a>
No msvc project files included since I use mingw but they should compile with msvc without problems.
check <a href='http://hullu.xtragaming.com/' target='_blank'>http://hullu.xtragaming.com/</a>
No msvc project files included since I use mingw but they should compile with msvc without problems. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Thank you hullu, but I'm a bit lost yet:
What plug-ins have a "most clear" hearders (To I start reading by it - or to start trying to do something by them) ? (did i hear a "I have a file with all clean readers, ready to start a plugin? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->)
And, about mingw, Where can I download it/find more information about it? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
But, I noticed that the plugins uses some files of the sdk and other files of metamod sources, but not all files, and not the same files for each plugins.
The question is: What files I need to build a plugin? Which files from the sdk and from metamod I need to use and what files can be discarded?
Sorry for all this inconvenience, but I'm a bit lost again... <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
thanks for all that are helping <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
But since different plugins use different data there's no clear definition about what to discard since different plugins will need different files.
so... in short, you basically need the shortened version of the sdk from the metamod site and all of the metamod source
Error executing cl.exe. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
This is happening when I try to compile many plugins (Incluiding the "lerklift" and the "unstuck pro"), but the file is in the directory and I tryed also to add it to the "hearders folder" on the M$VC++, but It didn't worked... <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
and about the SDK that is in the Metamod site, is it this file:
<a href='http://metamod.org/files/sdk/hl_sdk_v23_source.exe' target='_blank'>http://metamod.org/files/sdk/hl_sdk_v23_source.exe</a> ?
and I got the metamod source.
I need that file above?
PS: I'll try first try to make some pre-made plugins work, and later try to modify them... (do you think that I'll be in a 'good way' trying to do that? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->)
the metamod main folder should be.....
<hlsdk main dir>/multiplayer/metamod
and the lerklift main dir should be......
<hlsdk main dir>/multiplayer/metamod/lerklift
using that setup, you shouldn't need to modify anything within the compiler to be able to compile.
otherwise you can directly edit the project include folders, I believe they're under.....
project->settings->c/c++
change category to "preprocessor"
and there should be a field named "additional include directories" which if you setup those correctly should get you up and running for just 1 project/plugin
<!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
That is the path I strongly recommend. Take a simple, working plugin from someone else and work with it until you can compile and run it. Better to have a feel for how things are built before you throw new code in the mix. Simple plugins...Voogru's randomteam plugin is probably a good one to try out first. I believe he's a MSVC++ guy, so all the extra junk MSVC wants should be there.
the progress I make at the first look it was to send someone a (fixed) message... I know that this isn't much, but is something to start with <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
I deleted all the code fo gorgekick (not all, really - modified many parts of it) and ended it that.. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> PlayerChatMessage(pPlayer, "* Fixed Message goes here\n");<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
but I'd like to send like this:
nsa_testmessage <playerid> <message>
it would be?
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> PlayerChatMessage(pPlayer, "* ",(CMD_ARGV(2-)," \n");
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
where CMD_ARGV(1) is the PlayerID
is this correct? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
<a href='http://www.planethalflife.com/botman/stripper2.shtml' target='_blank'>http://www.planethalflife.com/botman/stripper2.shtml</a>