TrinityCore / TrinityCoreCustomChanges

TrinityCore 3.3.5a custom patches, read wiki to get diffs
https://github.com/TrinityCore/TrinityCoreCustomChanges/wiki
GNU General Public License v2.0
72 stars 59 forks source link

sub-categories on telenpc #2

Open Aokromes opened 5 years ago

Aokromes commented 5 years ago

add to telenpc the posibility of create sub categories, on that way it can be more compact.

ie:


Cities
|--Neutral
|  |-Dalaran
|  |-Shattrah
|  \-Argent Tournament
|--Aliance
|  |-Ironforge
|  |-Stormwind
|  |-Exodar
|  \-Darnassus
|--Horde
Instances
|--Eastern Kingdom
|--Kalimdor
|  |-Caverns of time
|  |-Zul Farrak
|  \-other
|--Outland
|--Northrend
Raids
|--Classic
|--BC
|--WOTLK
Baynar commented 5 years ago

From looking at the script and sql i think it already does. Has someone tested it ?

Aokromes commented 5 years ago

updated post to make it cleaner.

Baynar commented 5 years ago

Doesn't gossip_menu + smart scripts already support this type of script ?

ghost commented 5 years ago

if linked correctly in gossip_menu_option, you may even be able to do it without using smart_scripts.

Aokromes commented 5 years ago

going db needs maintenance of ids to be sure they aren't replaced by a fix.

acidmanifesto commented 3 years ago

We do have a npc ai in my project group, we can remake for 335 that is src lvl only with tele locations already? Do you want me attempt? Do not create a branch yet until i get something compliable.

acidmanifesto commented 3 years ago

@Aokromes I have a src script ready if you are interested with tele locations and categories. image

Followed by selection faction restrictions places as well showing with If and case statements: image

With organization based on character level. Need to be >= 59 for burning crusades dungs and raids, >= 68 for wotlk dung and raids. image

Npc will need to be placed manually with .npc add 66666 But npc is nuertral with both horde and alliance.