question random spawn.

04/21/2013 12:35 shakalaka_boom#1
Probably a stupid question, but... I want to do a few bosses spawn "randomly". that would spawn the boss., not in one place., and randomly in one of the 3 \ 4 of coordinates ....
or randomly on the map, anywhere .. how can implement it?
or unrealistic at all?...what I tried, does not work.
04/22/2013 14:56 castor4878#2
The Willieoseu map (#19, 2nd light map) contains the answer.

The boss 'Water Wen Old Man' is known to appear sometime around Fedion Leopardess Butcher and sometime around Fedion Deadly Poison Frog at the other side of the road.

This is obtained with the definition of a "large" pop area in the .svmap file (and for that mob #2305 it is: (1320 - 1465) to (1407 - 1794).

As a reminder:
- mob are defined with a *one* pop-area, they are spawn within that rect and then move around that point by a maximal distance of Normal.Range
- NPC are defined with 1 or several points, they stay immobile if a single pt is provided and loop move on these points otherwise.

in order to have a mob anywhere on the map, simply give the map's size, but this includes a lot of non reachable zones (mountains and so on), so you will certainly have to check the map in detail to define better areas (possibly several).
04/22/2013 17:38 killer2p#3
best spot would probably be on a mostly flat area like 15 zone which you can also use the 100+ maps for that
04/22/2013 17:57 andr3y_you96#4
an example from OI
Quote:
------------Evilmidget Clavi------------

[bothmob_027, (64, 1, 604800, (100,2000))] = (577.27, 12, 805.04),(2414)
[RandomRespawn] = (45,3600),(577.27, 12, 805.04),(508.45, 59, 542.16),(403.67, 71, 117.76)
04/23/2013 18:50 shakalaka_boom#5
Quote:
Originally Posted by castor4878 View Post
The Willieoseu map (#19, 2nd light map) contains the answer.
.
Thank you, but maybe you did not understand me. I would want that one boss SPAWN in one of the 3 places ... how i can set one boss 3 different coordinates in svmap, do not combine them into one large area? and how to expose the spawn boss in svmap ... I have not found in the database how to change spawn ... always used Obelisk.ini
Quote:
Originally Posted by andr3y_you96 View Post
an example from OI
You can explain more ... I can not understand this code ...

(100,2000) - Mapid \ portal id ... why there Mapid 100
and not 64?
.........
[RandomRespawn] = (45,3600) - which means this piece?
04/23/2013 18:58 andr3y_you96#6
read here [Only registered and activated users can see links. Click Here To Register...]
04/23/2013 21:58 shakalaka_boom#7
I know how to put a boss obelisk.ini and change time spawn, I do not know how to change the spawn in sql table ...
I read this thread.
there has been asked the same question, the answer was not....
See, I add a mob in obelisk.ini
Code:
[Bothmob_038, (2, 1, 3600 (100.2000))] = (996.404, 53, 1196.864), (2477)
mob spawn in the correct coordinates....

I Add a line with RandomRespawn, turns this.
Code:
[Bothmob_038, (2, 1, 3600 (100.2000))] = (996.404, 53, 1196.864), (2477)
[RandomRespawn] = (45,3600),(996.404, 53, 1196.864),(985.912, 37, 1329.796),(1046.732, 24, 1419.531)
and the mob does not spawn.