Full Version : xml ?
xmlspawner >>Q&A >>xml ?


<< Prev | Next >>

krazeemum- 10-01-2007
Hi;
First wanted to say I love this system, trying to learn all I can.
I have a question, if someone could help me please. I wrote a game for players on my shard. A Mongbat shoot actually whereby players must pay a token to play, the npc gives the player, a bow and arrows to use. Right now, I have it set up on an autoreward after killing 5 and it works great. The problem is every time a player kills 5 they get a prize, takes the challenge out of it. I'd like to take that one step further tho and limit it to only 5 shots period the player gets then and only then if they kill 5, they get a prize otherwise the qame ends there. Is this possible to do or is it just me? Please bare with me I'm new to all this.
Thanks so much for you time

ArteGordon- 10-03-2007
How are you running the game? Is this a script that you have written, or are you trying to do it using the XmlQuest system?

krazeemum- 10-03-2007
oppps I'm sorry. I'm trying to do this with the XMLQuest System, if possible. Thank you so much for replying. Like I said in previous post, I have it working to where the player pays the token to play to the npc quest giver, kills x amount of mongbats and they get their reward and it's awesome. I just need to know if there is a way to put a check of some kind on the player or the bow they get whereby if they shoot the bow 5 times thats all they get to do. If they happen to kill the 5 they get a prize, if not the quest ends and the questholder(book) they get disappears. I have a target mongbat that was created for me which I put on a seperate spawner for them to kill so they can't go out and kill regular mongbats. I also have a special bow named a mongbat bow for them to use to kill the mongbats as well, it is just a renamed regular bow for the sake of the game. I'm afraid I don't know a lot about scripting and the person who created the items for me can't seem to figure out how to limit the bow either. I tried using the xml maxuses attachment through the quest system and couldn't seem to do much except confuse myself more. Like I said, I'm new to this so here I am in over my head and needing help. Thanks again for you all of your help, I love this quest system.

krazeemum- 10-12-2007
Any suggestions would be very helpful
Thanks again, would really like to get this to work

ArteGordon- 10-13-2007
the problem is that attachments dont have any way of detecting weapon swings by default. They can detect hits, but not swings.
It would require adding a hook into the baseweapon code like some of the other xmlspawner installation steps that give attachments access to those sorts of events.

krazeemum- 10-13-2007
Thanks for the help.