PDA

View Full Version : Modders Tutorial for making a mod for MAM


Buzz_Litebeer
01-31-2003, 01:18 AM
It is a little hard to follow, the install.txt is a bit iffy, but it should get you through it, i make no bones about writing it as fast as I could get away with.

The thing is though, when you finally do get to editing the .scr file it is so commented out that if you cant figure out whats going on, there is something wrong.

Main stream modders should be able to just jump right in, those of you with less experience? well I hope you can follow the steps step by step, and be well on your way to creating modifications.

Also, if your able to get to the script file for MAM_testpak.scr, you can look at the scripts from the other modules, and in the main package itself for the REALLY advanced uses of MAM, and its functions.

anyway here is the download link

http://www.filefront.com/?filepath=/mohaacrew/hammer/User-MAM_tutpak.zip

and you can get started, if you want anything clarified, or want to perhaps take a little of your time and add a tutorial of your own (IE you figured out this one, got something nifty working and want to show others how) post here.

The MoHAdminMod was created through 2 modders working hard together, if you want to jump on in and get working on it too, it can ONLY get better, and better is what we are looking for.

Buzz out

Buzz_Litebeer
02-09-2003, 02:28 AM
MAM itself almost comes with nothing, basic team switching and client commands, you now have to download its security module seperately, what this allows us to do is to write the security module wihtout interfering with the main MAM interperter, IE if you have to upgrade, you know exactly what file you are needing to edit.

Now you may only have to add ONE line to MoH_Adminmod.cfg file, instead of multiple variable files.

that ONE line will execute the configuration script for whatever MAM package you are installing, that way you know exactly what variables work for what package.

This is how the new MAM_Security package works it has its own config called MAMSecurity.cfg and theaddonpack has its own config as well addonpak.cfg, and its as easy as putting

exec addonpak.cfg

in the Moh_Adminmod.cfg file at the end to install it, instead of having to add some cryptic info like

append register_mam_mod "global/addonpak.scr" bla blah blah

see how much easier it is to type

exec addonpak.cfg

;-)

we thought so too!

This also allows people to have a framework for easier installation of any files they may want to give out too.

Hammers goodies for example is now as easy to install as executing its config somewhere in mohaa!

how cool is that!