This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Degen

Pages: [1]
1
Serverside Modding / [TC 3.3.5] Custom damage school?
« on: January 05, 2017, 06:11:19 am »
So I've been trying without success to create a custom damage school and have it show up on a weapon in-game.

ex.
Code: [Select]
Holy Sword
100-200 Damage
+50-60 Holy damage
but let's say instead of Holy I wanted to add Water damage..

I found Resistances.dbc stores damage schools including Physical, but adding a new line and using the id in item_template.dmg_type1 doesn't seem to do the trick. I'm obviously missing something and I couldn't find a single related forum post.

If anyone has some ideas they would be appreciated.

2
Lately I've been trying to increase the number of talent trees for all classes from 3 to 4. I found "#define MAX_TALENT_TABS 3" in DBCStructure.h and changed it to 4 but that wasn't enough. (I didn't expect it to be easy)

Right now I'm looking at a few places n Player.cpp and DBCStores.cpp where talent tabs are built, but I can't figure out how it all works. If someone has an idea of how to do this, or is more familiar with c++ and just wants to lend a hand I would be very appreciative! I'll keep trying for now and will update if I figure it out.

3
Serverside Modding / [SOLVED] [Trinity 3.3.5] Static Weapon Skills
« on: July 05, 2016, 03:27:27 pm »
Searched all over and couldn't find any info on this.

I'm trying to change a character's weapon skill (Let's say One-handed Swords) to be 1 out of 500 at level 1, and not have the cap increase by 5 every time they level up. Does anyone have an idea on how to do this?

Edit: I think I found what I'm looking for in the player.cpp, but the c++ is gibberish to me and I can't figure out how to change what I want to change. If anyone knows their way around all these global variables, I'd love some insight.

Another edit: I finally solved this after much trial and error. Tried my best to describe it below but there are probably things I've overlooked so don't take this as a tutorial.



Max weapon skill is defined in Unit.h, I set it to 1000 instead of 5 * player level.
Code: [Select]
uint16 GetMaxSkillValueForLevel(Unit const* target = NULL) const { return (target ? getLevelForTarget(target) : getLevel()) * 5; }
to...
Code: [Select]
uint16 GetMaxSkillValueForLevel(Unit const* target = NULL) const { return 1000; }


Player.cpp also needs to be edited where "5 * plevel" is hardcoded in.
Code: [Select]
uint32 skilldif = 5 * plevel - (defence ? GetBaseDefenseSkillValue() : GetBaseWeaponSkillValue(attType));
to...
Code: [Select]
uint32 skilldif = 1000 - (defence ? GetBaseDefenseSkillValue() : GetBaseWeaponSkillValue(attType));

The skilldif variable in this calculation will now round down from 1000 instead of 5. Edit it accordingly.
Code: [Select]
float chance = float(3 * lvldif * skilldif) / plevel;

Being constantly far away from weapon skill cap means combat will be mostly misses. I myself solved this by removing miss chance completely, but there are probably better ways..

4
Miscellaneous / [SOLVED] Turning instance into normal map breaks SmartAI
« on: August 13, 2015, 03:56:10 am »
I turned Ragefire Chasm into a normal zone using the areatable and map dbc's and now the smart scripts connected to every mob inside that map are broken. Does anyone know a work-around to this problem?

5
Miscellaneous / [QUESTION] Heroic class creation requirement?
« on: July 04, 2015, 07:23:53 am »
Is it possible on Tc2 to have DK's unlocked by an achievement, rather than getting a character to a specific level?

6
Random / Become lootable on death?
« on: June 28, 2015, 10:44:03 am »
Would it be possible to make it so when a character dies in pvp, they can be looted (by their killer) for all of their items including gear? That would be wild.

7
Miscellaneous / [SOLVED] Acherus Knight Battlegear Recolor
« on: June 27, 2015, 06:53:28 am »
Does anyone know the display id's (or how to get them) of the brown version of the DK green-quality starting armor? I can find the .m2's in wowmodelviewer, but the dropdown menu for choosing different textures is so small I can't see the full name of the texture, so I have no idea what to look for in the ItemDisplayInfo.dbc table.

8
Modelling and Animation / [QUESTION] Removing .m2's from map
« on: June 25, 2015, 01:36:54 pm »
I want to remove the statues lining the walls of Herod's room in SM. Specifically, the old SM in map 44. How complicated would this be? It will be my first time doing anything with model editing, but I do have experience working with 3d.

9
Miscellaneous / [SOLVED] Map 44 WMO ID?
« on: June 24, 2015, 09:37:38 am »
I'm using Herod's room in old SM (Map 44) as a hub for my personal project, but while indoors there is no music or ambience. I've googled around and found that I need to edit something in the WMOAreaTable.dbc, but I have no way of finding the ID for the WMO used in this map. Can anyone with the resources and know-how check that for me?

Pages: [1]