plugin::ScaleTrash
This is a very simple plugin used to set a mobs level within a range. Using this combined with Akka's scaling system can save so much time when making a zone. You can get his scaling system here.
This is an example from a default.pl I've been working on. This will set every mob in the zone that has "snake" in its name to 40-50 with a variance of 3. Akka's scaling system then takes over and scales that mob to its level. I hope this saves some of you a bit of time! Example: Code:
sub EVENT_SPAWN { Code:
#::: Usage: plugin::ScaleTrash(min_level, max_level, variance); |
Question?: Couldn't you use the 'level' and 'maxlevel' column in the database to set level rather than doing it every time a mob spawns?
|
Not when, for example, you are dynamically creating zone spawns based off raid/group/player level in an instance.
|
I guess, but that's not what's happening here, this is just what I said in Perl form.
|
Quote:
|
I guess if you're wanting your content to scale based around the player you can do it that way, but the way you're currently doing it can be done in the database then manipulated by Akkadius' scaling script; therefore, this is unnecessary without a scaling factor determining the level of the mobs. For example, if I were to go in Crushbone, I have a level of 1 on a mob, a max level of 5 on the same mob, he'll go between 1 and 5 and scale based upon the database scale rate, and if I have Akkadius' script, he'll scale with that. Now I could make it to where it checks the version of the zone and pulls the average level of a group in order to scale the zone to their specifications, but I don't see the necessity of scaling it based upon the level of the people in a group. With that you would only need one zone for content if they scaled based upon average group level, scaled through Akkadius' script, then had loot added to them according to level.
|
Quote:
The whole group thing was an example I used of what you can easily do with this. You using it or not is up to you lol. |
Actually, I'm not doing all Orcs, I do it by zone.
Code:
UPDATE npc_types n INNER JOIN spawnentry s ON n.id = s.npcID INNER JOIN spawn2 s2 Code:
SELECT DISTINCT n.* FROM npc_types n INNER JOIN spawnentry s |
Quote:
|
Quote:
|
Quote:
|
Township does work with me directly, if his plugin didn't make sense from a practicality/use standpoint I would have been straight open and honest about it before it found its way here.
The DB field in npc_types only affects the inital spawn, this is only to scale on the fly via script to set the key for my scaling system. It is a simple addition, to use or not to use is up to the end user. |
I am looking for a way to scale only certain NPC's. I dont want to scale the whole zone.
Is it possible? if so how? Aardil |
Quote:
Here is a very simple example of doing that. quests/zonesn/default.pl Code:
sub EVENT_SPAWN { |
Quote:
Here is a very simple example of doing that. Code:
sub EVENT_SPAWN { |
If Akk's scaling system would work for only certain NPC's then that would be what I need.
This is a special event so the NPC's in question are only spawned during the event. NPC's are all named A_Thief no other NPC's contain that name. So the above script could work IF I could get Akk's leveling system to work. I have dug around a bit and the links to Akk's leveling system seem broken, I keep getting error 404.. Another issue is he posted that it wont work with some DB. I guess what I need is a walk through on how to install the system on my DB I am not a super coder, I know perl but not alot else. Aardil |
Yeah my scaling system is definitely out of date - I can look at refreshing the documentation tonight or tomorrow potentially
|
That would be great!
Thank you |
Not trying to sound pushy but any progress on this?
Aardil |
Shameless "bump"
Still waiting Aardil |
Akkadius absolutely has zero time right now and for the foreseeable future.
Bumps are ok..but, please be patient. |
I understand completely.
Normally I am busy also and dont have enough time to do what I need /want. Currently, I am laid up (hurt shoulder) so I have time as I cant work ATM. One hand typing SUX!!!! I dont mean to sound pushy at all. Just trying to keep this on his mind. In the mean time I am attempting to learn Blender...... Its over my head right now. I can create a few things Thanks to the forums here but I still have a lot to figure out. I am no artist so basically, I need to find on line what I need then through blender change it some then import it to eq. Its alot harder than it seems for me. |
I've been out of town for the past two weeks on business, I will look at this when I have time here. If you keep tabs/bump it will help me remember to rewrite the scaling for this since it has changed significantly
|
Been working on trying to get this working.
Mind you I have not gotten very far but some progress. I managed to create the DB entries based on the snippets you posted. Where my issue comes in is after creating the tables, I must have done something wrong. The tables are there and have the appropriate headers (may not be what they are really called) but it does have all the names. When I create or add a row, the row will accept numbers but not letters. So I can create a row and type in 12345 and it works. If I try to type butcher in the zonesn column, it ignored it and goes back to a blank row Any idea how to resolve this? Thanks Aardil Fixed nevermind |
All times are GMT -4. The time now is 08:59 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.