- Name: Objscale
- What it does: This module allows to set the scale/size of GameObjects and Creatures for each individual spawn.
- Author: Tralenor
- Repository: https://github.com/Tralenor/mod-objscale
- Download: https://github.com/Tralenor/mod-objscale/archive/refs/heads/main.zip
- License: MIT
This module allows to set the scale/size of GameObjects and Creatures for each individual spawn. (This is a port of the Objscale TC-Corepatch from Rochet2) This is done by setting the spawns scale to a custom value, which is independend from the template and saved in two new databasetables: objscale_creature and objscale_gameobject.
Select/target a Creature and then use the following Command:
npc_scale set X
replace X with any positive floatingpoint number
-
Get the GUID of the wanted Gameobject (e.g walk up to the GameObject and use the Command .gobject near)
-
use the following command to set the GameObjects scale:
gob_scale set Y X
- Where Y is the GUID of the GameObject which is to be Changed. (the command also accepts the GameObject-Hyperlinks which are generated by the .gobject near command)
- And X is the scaling factor (use any positive floatingpoint number)
the objscale Module requires:
- AzerothCore with at least commit : 6cf82e3bd6cd481405be04ae67afa30d280a91bf (added to main Repo on 6 May 2022)
- OR: add the two needed hooks (OnCreatureSaveToDB and OnGameObjectSaveToDB) by merging https://github.com/Tralenor/azerothcore-wotlk/tree/On-Creature/GameObject-SaveToDB-Hook into your project
1) Simply `git clone` the module under the `modules` directory of your AzerothCore source or copy paste it manually.
2) Import the SQL manually to the World Database
3) Re-run cmake and launch a clean build of AzerothCore.
- Tralenor (author of the module)
- Rochet2 (Original Author of Objscale)
- AzerothCore: repository - website - discord chat community