 |
LoganSpade Newbie
Joined: 11 Apr 2001 Posts: 2
|
Posted: Wed Mar 27, 2002 6:46 pm
A beginner at scripting |
Okay .. I'm comfortable enough with zMUD now to attempt scripting. I've had some programming experience in the past, just not with zMUD. After reviewing the many posts on scripting and bots I can tell this will be complicated at first .. but not impossible.
Basically I have a small area mapped out (about 30 rooms) and want to target around 10 mob types (of about 20 in the area). I know how to set a script for the character to move throughout the area in a predetermined path, and I know how to set triggers to attack my target mobs. What I don't know is how to combine the 2 things together. My goal is for the bot to roam a specific path ..over and over.. killing the target mobs as the comes upon them.
I'm not asking anyone to write this for me .. just asking for any helpful tidbits, insight, tips and/or reading material. For instance where is the scripting manual .. or a listing of available script commands.
Thanks in advance for any help you can offer!  |
|
|
 |
kognesty Newbie
Joined: 08 Jan 2001 Posts: 8 Location: USA
|
Posted: Wed Mar 27, 2002 9:38 pm |
As a tidbit, or hint, look into setting up specific scripts for rooms. You can set the same script to every room in your map. In terms of moving and then fighting simply attach a movement command to the death of the mob, and have this script changed for each room you enter so that you don't move the wrong way. The best bet to getting what you want out of this, or the key to doing it, will be in the power of putting specific scripts for specific rooms. Let your imagination roam from there, on how to move and kill between rooms.
Now as far as scripting goes, any combination of triggers, aliases, macros, variables, and buttons is considered a script. I tend to place my scripts inside a specific class folder to distinguish between different scripts I've written. So make a class folder, and group your triggers and what not in that folder, then attach the result to a room in your map. This method might be slightly off in specific process. You might just write out the triggers and whatnot inside the automapper for each room.
Hope this gives you some helpful advice, and good luck! |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|