Search the Community

Showing results for tags 'script'.

Found 9 results

  1. 010 MFBO editor scripts

    I have an issue which is visible on the first picture, I have problem with copy pasted ADT in azeroth. The problem is from the height differences according to my opinion.I used the script and template from this site but i have a problem when i run the script on my ADT-s. What am i doing wrong? What is the solution?
  2. Greetings Model-Changing community, I posted this on Emu-devs not too long ago maybe someone has use for it. How to setup? Create an item in the database with an on use effect, use a test spell such as http://www.wowhead.com/spell=33208/gossip-npc-periodic-talk modify scriptname column to the scriptname of the script and you're done. Limitations When re logging visual of mount is removed and the current mount aura will override it. Tooltip of spell still shows the real mount aura(your mount visual will obviously be different however) enum mount_timer { MOUNT_TIMER = 3000, }; enum MountSpells { SPELL_MOUNT_SPECTRAL_TIGER = 42777, //We use this as the actual mount spell, the display id overrides it via the script. }; enum MountDisplayIds { RABID_BEAR_MOUNT_DISPLAY_ID = 1082, }; /* [Reins Of The Custom Bear] */ class item_reins_of_the_custom_bear : public ItemScript { public: item_reins_of_the_custom_bear() : ItemScript("item_reins_of_the_custom_bear") { } bool OnUse(Player* player, Item* item, SpellCastTargets const& targets) { player->CastSpell(player, SPELL_MOUNT_SPECTRAL_TIGER, false); //A mount spell to modify ground movement speed player->m_Events.AddEvent(new reins_of_the_custom_bear_handler(player), player->m_Events.CalculateTime(MOUNT_TIMER)); // OnUse is instant so we need to delay the changing of mount visual until cast is complete. return true; } class reins_of_the_custom_bear_handler : public BasicEvent { public: reins_of_the_custom_bear_handler(Player* player) : player(player) {} bool Execute(uint64 /*time*/, uint32 /*diff*/) { if (player->HasAura(SPELL_MOUNT_SPECTRAL_TIGER)) //Check if mounted before changing mount visual, prevents bugs { player->Mount(RABID_BEAR_MOUNT_DISPLAY_ID); //The custom mount display id } return true; } Player* player; }; }; void AddSC_item_custom_mounts() { new item_reins_of_the_custom_bear(); }  
  3. Version 1.0.0

    13 downloads

    Purpose: Removes Z offsets of MCNKs in given ADT files. It does not add their values to actual heightmap data, so this can be used only for fixing offset-related bugs after the usage of tools like OBJtoADT or similar ones that work with heightmap data but does not pay attention to MCNK Z offset. Usage: Prerss F7 to run the script and select the ADT files to process. CMD version: To come. Requires: WoWADT.bt In order to run any of my scripts you need a new version of 010 editor binary templates which can be downloaded here.  
  4. Version 1.0.0

    11 downloads

    Purpose: Calculates the heighest model UID from the given ADTs in the specified directory. Also processes files in subfolders. Usage: Prerss F7 to run the script and select the directory. The resulted value will be displayed in the message box and copied to your system clipboard. CMD version: Not available, not planned. Requires: WoWADT.bt In order to run any of my scripts you need a new version of 010 editor binary templates which can be downloaded here.  
  5. Version 1.0.0

    9 downloads

    Purpose: Recalculates all the model UIDs in given ADTs from a specified directory including its subfolders. It can start counting UIDs from the last max UID, which can be calculated with: ADTMaxModelUIDCalculator.1sc. Highly recommended to be used on the map before its release. Usage: Prerss F7 to run the script and select the directory. After the process is finished the last used UID will be displayed in the message box and copied to your system clipboard. CMD version: Not available, not planned. Requires: WoWADT.bt In order to run any of my scripts you need a new version of 010 editor binary templates which can be downloaded here.  
  6. Version 1.0.0

    14 downloads

    Purpose: Enables vertex shading (MOCV) in WoW .wmo model by setting an appropraite flag. Usage: Prerss F7 to run the script. Select group WMO files.. CMD version: Not available, not planned. Requires: WoWWMO.bt In order to run any of my scripts you need a new version of 010 editor binary templates which can be downloaded here.  
  7. Version 1.0.0

    32 downloads

    Purpose: Modifies specified materials in a WMO to glow at night. Used for window and lantern textures mostly. Usage: Prerss F7 to run the script. Select root WMO files you want to modify. The script with show you windows with texture names. If the texture is meant to be lightened click "Yes", if the texture is meant to stay the same click "No" and if you want to stop the process click "Cancel". Note: all the data that has already been modifed will be saved when you cancel, the script just won't go futher. CMD version: Not available, not planned. Requires: WoWWMO.bt In order to run any of my scripts you need a new version of 010 editor binary templates which can be downloaded here.  
  8. Version 1.0.0

    24 downloads

    Purpose: Edits MFBO data in ADT and sets it to given values. By default it is configured for removing MFBO related bugs. Though, values can be changed however you like. Usage: Run the script. Select files you want to edit. If you need some special MFBO data, change values in lines: 36 and 43. CMD version: Not available, coming soon. Requires: WoWADT.bt In order to run any of my scripts you need a new version of 010 editor binary templates which can be downloaded here.  
  9. Version 1.0.1

    19 downloads

    Purpose: Moves terrain and models along the Z-axis. Comes in handy when you need to merge two pieces of maps that have very big height difference. Usage: Prerss F7 to run the script. Enter the modifier value (negative or positive). Select ADTs files you want to raise or lower. CMD version: Not available, not planned. Requires: WoWADT.bt In order to run any of my scripts you need a new version of 010 editor binary templates which can be downloaded here.