Proposed RaceID changes
Posted: Wed May 01, 2019 5:59 am
I know this has been brought up before but here I go again
we have a race in Spawn table, that so far i havenot been able to figure out what the #'s 1-20 used match up to yet
many things we need to do are by race, there are well of 100 race types in this game, when you look at Lore and Legend, beastord warders, familars etc
using the model id is not a great idea like we are using it now for global loot tables, since if i want an elemental global loot table there are 40-50 elemental model_id
here is what i am proposing
leave the race column alone in spawn, since i dont want to screw up what its purpose is, (that is sent to client) although i dont know if it affects the client
create a new column in spawn table called lua_race_id and and populate it based from a new race id reference list,with those id's starting at #101
it would include all L&L races, Warder races, and the Races of the old race list on wiki there is a reason to start the lua_race_list at 101 explained below
once we get the list populate and the i can script the population of the lua_race_id into the spawn_table.that should get every creature/NPC with a Lua_race_id
in lua functions we all ready have addspellbonus that supports specific classes, i can update that spell to support lua_race_id as well, and factions
classid's are 0-100 max race id's start at 101, and we just let devs know that if its a faction to add 1000 to the faction number
this way the current scripts dont need changed that use class, and you can the optional parameter
this is example not exact
1 fighter, 101 priest, 1001 qeynos faction
so when using addspellbonus(target,bonus catatory, bonumus amount,id's)
id's can contain any class,lua_race_id, or faction without issue
i would also add his support to damage , healing, lua functions as well and other lus functions that could be race/class /faction specific
some might say why not just use model_id instead of a new column
well for elememtal alone there are over 40 elemental model ids, and that would be a great pain to have to type in every model_id that is could apply to
also Model is not a Race
thats almost like saying i need all Ford Vehicles to stop , but instead of saying Ford as the common item, having to list all the vehicles ford makes instead
we have a race in Spawn table, that so far i havenot been able to figure out what the #'s 1-20 used match up to yet
many things we need to do are by race, there are well of 100 race types in this game, when you look at Lore and Legend, beastord warders, familars etc
using the model id is not a great idea like we are using it now for global loot tables, since if i want an elemental global loot table there are 40-50 elemental model_id
here is what i am proposing
leave the race column alone in spawn, since i dont want to screw up what its purpose is, (that is sent to client) although i dont know if it affects the client
create a new column in spawn table called lua_race_id and and populate it based from a new race id reference list,with those id's starting at #101
it would include all L&L races, Warder races, and the Races of the old race list on wiki there is a reason to start the lua_race_list at 101 explained below
once we get the list populate and the i can script the population of the lua_race_id into the spawn_table.that should get every creature/NPC with a Lua_race_id
in lua functions we all ready have addspellbonus that supports specific classes, i can update that spell to support lua_race_id as well, and factions
classid's are 0-100 max race id's start at 101, and we just let devs know that if its a faction to add 1000 to the faction number
this way the current scripts dont need changed that use class, and you can the optional parameter
this is example not exact
1 fighter, 101 priest, 1001 qeynos faction
so when using addspellbonus(target,bonus catatory, bonumus amount,id's)
id's can contain any class,lua_race_id, or faction without issue
i would also add his support to damage , healing, lua functions as well and other lus functions that could be race/class /faction specific
some might say why not just use model_id instead of a new column
well for elememtal alone there are over 40 elemental model ids, and that would be a great pain to have to type in every model_id that is could apply to
also Model is not a Race
thats almost like saying i need all Ford Vehicles to stop , but instead of saying Ford as the common item, having to list all the vehicles ford makes instead