#346 in game /cmd to add a race_type to targeted spawn + a /cmd to get race_type for a targeted spawn

Closed
opened 3 years ago by neatz09 · 4 comments
neatz09 commented 3 years ago
There is no content yet.
image commented 3 years ago
Collaborator

race type is based on the model id so you can't add a race type to a spawn, just change its model id.

We could add it to /spawn details, but we don't even have a translation in code from integer race id -> string, eg. 101 -> Dragonkind

race type is based on the model id so you can't add a race type to a spawn, just change its model id. We could add it to /spawn details, but we don't even have a translation in code from integer race id -> string, eg. 101 -> Dragonkind
image commented 3 years ago
Collaborator
  • need to be able to manipulate the race_types table to add new entries, race_id + category + model_type, potentially sub_category as well.
  • need command to return of race type string to display its DB ID
- need to be able to manipulate the race_types table to add new entries, race_id + category + model_type, potentially sub_category as well. - need command to return of race type string to display its DB ID
image commented 2 years ago
Collaborator

/spawn set race_type race_id:uint16 category:string subcategory:string modelname:string

category/subcategory/modelname are optional

/spawn set race_type race_id:uint16 category:string subcategory:string modelname:string category/subcategory/modelname are optional
image commented 2 years ago
Collaborator

/spawn details 2nd page is updated to also include the fields information for race type, category, subcategory and model name completed via 8a6753febb

/spawn details 2nd page is updated to also include the fields information for race type, category, subcategory and model name completed via https://git.eq2emu.com/devn00b/EQ2EMu/commit/8a6753febba21d49c92dfd541c0e8c9b58403f17
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.