View Single Post
Old 03-14-2005, 11:22 PM   #1 (permalink)
Gator81
Forum Novice
 
Join Date: Jan 2005
Age: 47
Posts: 176
Default GatorsGauntlet using xmlspawner2

Alright, this is my first real submission, and without ArteGordan and his great help this would never of happened.
This may help some people starting off better understand xmlspawner and some detailed steps on setting up part of a quest.

Since the information is pretty big, I will add it with code tags and also put it in the zip file. Enjoy and if there are any questions I will try to do the best i can to help.
Code:
First I would like to thank ArteGordon for the help in guiding and instructing me in the different steps and methods that I could take to get this accomplished.

I wanted to try and give some step by step instructions for what was done and hope this may be some help to someone else trying to setup their own quest using xmlspawner.

this was an idea that started when a friend and I were goofing off in green acres and walked to the lower north east corner. there we spotted another dungon with teleported there to explore. We seen that it was empty and was probally a dungon that uo was working on and didnt complete, so the idea was to make something with it. At first we were going to make an undead city there but after some work was started I thought this would be great to setup something like a gauntlet type quest since there are 6 hallways. This is where I started asking ArteGordon questions if he would help guide me in setting up this quest and with alot of help I feel its close to being complete.
 
1. My friend and I used pandoras box to set doors in between each set of hallways so this would be six areas to go through, we then named each door "door1,2,3...7 to name the door do this:
[props and target the door click on right arrow at top to goto next page and you should see name, click on the arrow and rename the door to door1,2, ect....

2. I then needed to set a spawner to open the first door so these are the steps I did:
   
[add xmlspawner - with target cursor I set the spawner 2 tiles in front of the door
[props - clicked on spawner 
I used the top right arrow to goto the next pages and made changes to:
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
(this would mean that between 1-3seconds the spawn or action will take place)
ProximityMsg=Beware there is no Return - clicked on right arrow and typed in message
ProximityRange=1 - clicked on right arrow and deleted -1 and type in 1 (-1 disables this)
RefractMax=30s - clicked on right arrow and clicked by 's' and type in 30
RefractMin=20s -  clicked on right arrow and clicked by 's' and type in 20
(this was done so I wouldnt keep trying to open the door over and over, it would wait 20-30seconds before trying to do this again.
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
(I did this so I could test, this defaults to player and the triggers wouldnt work for me untill i changed this)
TriggerObject - click on arrow, select Null, you should get a target cursor, click on the spawner, it should open another gump and just right click on it to close, now you should see:
TriggerObjectName "spawner"
closed props
clicked on spawner
when spawner gump opened I clicked on the scroll to the right of the first line, this should open up a blank book, click on the right top side of the book and you should see a cursor flashing, there type:
SET,door1,basedoor/open/true/locked/false
then click with right mouse and it will put the command in the first line and it will set max=1
(SET needs to be caps, door1 will be the name of the first door, want it to open and be unlocked)
Now for me I usually always click on reset at the bottom and then clicked on the ON button, now somtimes if there was a problem you would see it in red in that area, sometimes you will not see an error untill you close the gump and test the spawner by walking to it, if it didnt work open the spawner again by clicking on it and you may see the error then.

2. I then walk through the door and set another spawner to lock the door behind me.
[add xmlspawner - target the ground close to the door and place
[props and click on the spawner
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
ProximityMsg=The Door has Locked Behind You - clicked on right arrow and typed in message
ProximityRange=1 - clicked on right arrow and deleted -1 and type in 1 (-1 disables this)
RefractMax=30s - clicked on right arrow and clicked by 's' and type in 30
RefractMin=20s -  clicked on right arrow and clicked by 's' and type in 20
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
closed props
clicked on spawner
when spawner gump opened I clicked on the scroll to the right of the first line, this should open up a blank book, click on the right top side of the book and you should see a cursor flashing, there type:
SET,door1,basedoor/open/false/locked/true
then click with right mouse and it will put the command in the first line and it will set max=1

3. set spawns in the first hallway, one in the right one in the left
in left hallway (or west)
[add xmlspawner - i place this in the center of the pentagram that was there
[props - and click on spawner
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
ProximityMsg=This is Easy - clicked on right arrow and typed in message
ProximityRange=3 - clicked on right arrow and deleted -1 and type in 3 (-1 disables this)
RefractMax=2m - clicked on right arrow and clicked by 'm' and type in 2
RefractMin=1m -  clicked on right arrow and clicked by 'm' and type in 1
SpawnRange=2 - clicked on right arrow and changed to 2
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
TriggerObjectProp=currentcount=0 - click on arrow and type in currentcount=0
(with TriggerObject this will see if the object has a spawn and if it dont then this spawner will spawn if it does then this spawner will not)
name=spawner1a - this names the spawner so we can identify it better
close props for now, we will need to come back and do some more
walk the the right hallway (east)
[add xmlspawner - i place this in the center of the pentagram that was there
[props and click on spawner
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
ProximityMsg=This is Easy - clicked on right arrow and typed in message
ProximityRange=3 - clicked on right arrow and deleted -1 and type in 3 (-1 disables this)
RefractMax=2m - clicked on right arrow and clicked by 'm' and type in 2
RefractMin=1m -  clicked on right arrow and clicked by 'm' and type in 1
SpawnRange=2 - clicked on right arrow and changed to 2
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
TriggerObject - click on the right arrow, select Null, this should give you a target cursor, walk to the west hallway and target spawner1a, it should bring up another gump just right click to close it then walk back to east spawner props should still be up.
TriggerObjectName should have 'Spawner1a" in the box
TriggerObjectProp=currentcount=0 - click on arrow and type in currentcount=0
name=spawner1b -click on arrow and name spawner1b
close props
click on spawner
when spawner gump opened I clicked on the scroll to the right of the first line, this should open up a blank book, click on the right top side of the book and you should see a cursor flashing, there type:
ratman/combatant/TRIGMOB
(this could be any creature in the game, combatant makes it aggressive, TRIGMOB (in caps) targets who triggered the spawn, so it wont just stand there it will attack you)
I click on reset and on to see if there are any errors, then I kill the spawn.
I then go back to the west hallway and do
[props
TriggerObject - click on the right arrow, select Null, this should give you a target cursor, walk to the west hallway and target spawner1b, it should bring up another gump just right click to close it then walk back to east spawner props should still be up.
TriggerObjectName should have 'Spawner1b" in the box
close props
click on spawner
when spawner gump opened I clicked on the scroll to the right of the first line, this should open up a blank book, click on the right top side of the book and you should see a cursor flashing, there type:
spider/combatant/TRIGMOB
I click on reset and on to see if there are any errors, then I kill the spawn.

3. set a spawner to open door so i can goto North to the next hallway this door will be created where the walls are closest in the middle in the North hallway between first and second hallway

[add xmlspawner - set it on the second tile in front of the door
[props and click on spawner
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
ProximityRange=1 - clicked on right arrow and deleted -1 and type in 1 (-1 disables this)
RefractMax=2m - clicked on right arrow and clicked by 'm' and type in 2
RefractMin=1m -  clicked on right arrow and clicked by 'm' and type in 1
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
TriggerObject - click on arrow, select Null, you should get a target cursor, click on the spawner, it should open another gump and just right click on it to close, now you should see:
TriggerObjectName "spawner"
close props
click on spawner
at the bottom right you should see a props button click on that, it will open 3 pages of props, you will notice that changes that you made should be in green. you need to goto the right side and click on the arrow next to 
TriggerObjectPr... (prop) and you need to type in this command:
GET,spawner1a,killcount>0 & GET,spawner1b,killcount>0
(GET "in caps" will check spawner1a to make sure there is a kill greater then zero &=is and spawner1b for a killcount greater then zero)
click on the right arrow to close
then click on the scroll to the right of the first line, this should open up a blank book, click on the right top side of the book and you should see a cursor flashing, there type:
SET,door1,basedoor/open/true/locked/false
then click with right mouse and it will put the command in the first line and it will set max=1
click on reset and then 'on' to see if there are any errors then close

Now is the time to test the first hallway, run to the west and a ratman should spawn, kill it and the go to the east and a spider should spawn, kill it and the go the the door in the middle and in a couple secs the door should open for you.

Now that you have the first area done, you just repeat the steps, for each hallway, I made the spawns harder for each hallway that i did and I did change some of the spawn messages and door trigger messages.

4. after you go through last door, i belive it will be door7
you need to use pandoras box again and block the path to the west and east and the cave to the north, after blocking the two halways i just placed walls so it looked like a big square
in the middle of the now made room i placed a spawner
[add xmlspawner
[props -click on spawner
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
ProximityMsg=Deaths Advocate Approaches - clicked on right arrow and typed in message
ProximityRange=3 - clicked on right arrow and deleted -1 and type in 3 (-1 disables this)
RefractMax=2m - clicked on right arrow and clicked by 'm' and type in 2
RefractMin=1m -  clicked on right arrow and clicked by 'm' and type in 1
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
name=spawnerfinal
close props
click on spawner
then click on the scroll to the right of the first line, this should open up a blank book, click on the right top side of the book and you should see a cursor flashing, there type:
lichlord/isparagon/true
(spawns a paragon lichlord, again you can set to what you want for creature)
then click with right mouse and it will put the command in the first line and it will set max=1
click on reset and then 'on' to see if there are any errors then close

5. now set a spawner one tile in front of the wall in front of the cave entrance
[add xmlspawner
[props and click on spawner
Duration=1m - click on right arrow and click by the 'm' and type 1
(this is how long this spawn will last when its active)
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
ProximityRange=1 - clicked on right arrow and deleted -1 and type in 1 (-1 disables this)
RefractMax=2m - clicked on right arrow and clicked by 'm' and type in 2
RefractMin=1m -  clicked on right arrow and clicked by 'm' and type in 1
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
TriggerObject - click on arrow, select Null, you should get a target cursor, click on the spawner, it should open another gump and just right click on it to close, now you should see:
TriggerObjectName "spawner"
close props
click on spawner
at the bottom right you should see a props button click on that, it will open 3 pages of props, you will notice that changes that you made should be in green. you need to goto the right side and click on the arrow next to 
TriggerObjectPr... (prop) and you need to type in this command:
GET,spawnerfinal,killcount>0
(GET "in caps" will check spawnerfinal to make sure there is a kill greater then zero)
 then click on the scroll to the right of the first line, this should open up a blank book, click on the right top side of the book and you should see a cursor flashing, there type:
moongate/target/(5733,792,0)/targetmap/trammel
(what will happen here is when you kill the spawn it will make the kill greator then zero, that will trigger this spawn and create a moongate that will stay up for one min (duration=1) so when you walk in it will gate you to (x,y,z) on the trammel map. you can change this to what you want but the coords should gate you to a room to the north, you should be able to see it on your radar since your a admin if you have any question just start walking back south of the room and you should run into the wall you made in front of the cave, if you dont then you need to change trammel to felucca.
after I was for sure I was in the right one I then closed the opening in the room with pandoras box.

6. in the room i added a Quest Reward Stone I dont know who to give all the credit to but the last person to edit the one I downloaded was stryder, and he didnt know who did it either, so kudo's to someones hard work.
I also made a simple edit to the stone, I made it so everything was free, but now I need to figure out how to add where you can only pick one item.
After that I will set a moongate or teleporter to take them back to a town.
there have been to many good moongate and teleport scripts to name everyone that I would like to thank.

There is alot of changes or different ways someone else may of done this, but with the help from ArteGordon this is what I have put togather, and this has been tested and works. I hope if this is not what someone wants it may give you a clue to help you do something you do.

Please forgive any grammer or spelling issues.

Extra:

After more talking with ArteGordon, I have been working on setting up the Guantlet so it could be saved and placed with little or no work. This should spawn all wall/doors/creatures/rewards/and extras. This was placed on the felucca map, and at the moment is working fine for me. You may still go in and change the spawns and or rewards.
Note: you need to set a gate in the entrance room somewhere, this would be so if anyone dies they can get out, the region is set so you cannot mark/gate/or recall. so this gauntlet is all or nothing, might want to put up a sign to make sure stuff is insured before trying.

I also didnt setup a quest to get down here, you may make it a open dungon for everone to goto, or you might setup a small quest that needs to be done to show them worthy to come down here.

I also noticed that when you walk in front of the doors you may have to wait a sec before you trigger it to open. this could of been because of lag, but wanted to let you know.

this is to let you know how i set the walls and doors and extras up:
by now you have a better idea getting around in the spawner
for the first hallway that had walls and doors I had used pandoras to set the first and then I opened a wordpad doc on my desktop and typed in the locations and commands that I would need.
the first wall and door went like this:
static,577/location/(5729,975,0)/name/gguant_wall
static,577/location/(5730,975,0)/name/gguant_wall
metaldoor,0/location/(5731,975,0)/name/gguant_door1
static,577/location/(5732,975,0)/name/gguant_wall
static,577/location/(5733,975,0)/name/gguant_wall
static,577/location/(5734,975,0)/name/gguant_wall

its a static deco, static id of 577 (look at pandoras and you will see under the picture of it two numbers, the one to the right is the one i used), stating you are going to set to a location, (x,y,z) coords if you use do props on the wall it will show you the coords, showing you going to name the wall wich is good to keep track of, and what you name it.
metaldoor is the type of door,0 is the direction, and the rest is the same exept what i used for the name.
[xmlspawner
first line I copied and pasted in the fist line of the spawer
did the same for the rest
I deleted the walls and door that i set with pandoras
and set count to one for each of the lines and watch them all spawn

for the static walls that needed to be turned, I used statuc,578 which you will see in pandoras
the other thing I did was setup the QuestRewardStone to spawn instead of it just setting there:

[add xmlspawner
[props
Duration=1m - click on right arrow and click by the 'm' and type 1
maxdelay=03s - beside maxdelay i clicked on right arrow clicked by 's' and typed 3
mindelay=01s - beside mindelay i clicked on right arrow clicked by 's' and typed 1
ProximityRange=1 - clicked on right arrow and deleted -1 and type in 1 (-1 disables this)
RefractMax=2m - clicked on right arrow and clicked by 'm' and type in 2
RefractMin=1m -  clicked on right arrow and clicked by 'm' and type in 1
SpawnRange=1 - clicked on right arrow and changed to 1
TriggerAccessLevel=Admin - clicked on right arrow and picked admin
TriggerObject - click on the right arrow, select Null, click on the spawnercrystal
TriggerObjectName should have 'Spawner1" in the box
TriggerObjectProp=Get,GspawnFinalFight,killcount>0
(that is so you can only get the reward to spawn if you kill the final monster)

and in spawner on the fist line i just typed in QuestRewardStone

Now when trigger is hit, it will spawn the reward stone for 1min and then it will dissapear

the other spawner in this room is for blocking the doorway and creating the publicmoongate.
 

Ok, with even more help for ArteGordon, I learned that if in my spawners if I setup subgroups on them the spawns will be faster, ect. the walls and doors. When I did this and respawned the Gauntlet, it was much faster, and also figuring that instead of using the doors for a triggerobject and using the spawnercrystal itself has saved me alot of time. 

I will add the QuestRewardStone to this, just put it in your customs folder
you will have to do [xmlload GatorsGauntlet.xml to load the Gauntlet (remember this is in the empty dungon at the north east corner of green acres, and it is setup for felucca

Enjoy
Attached Files
File Type: zip GatorsGauntlet.zip (37.7 KB, 526 views)
Gator81 is offline