Jump to content

Solved one bug (melee distance much too close) - finally


Recommended Posts

Posted (edited)

Yeah. The distance was much too close. Now I found a way to solve this shit for good. without creating a new bug by changing the attack_distance. Go in the source code file UNIT.cpp line 10368. There they use 1.5f yard for combat reach what is obviously bullshit. I changed it into 5.0f and voila. Now it looks much better. One major bug solved. Unfortunately I still cant change this super bullshit that they come very often from behind and wanna cuddle with my ass. This only works if they come in front of me. This means 50% of the times it looks now normal.

   SetFloatValue(UNIT_FIELD_COMBATREACH, 5.0f/*1.5f*/);

Yeah I reinstalled mangoszero. I know its wrong. I know it will harm my health. But I am bored because I lead a very anormal life. The psychopaths that rule over this planet took care that this is the case. They dont like me at all. Because I am superior in every way.

Yeah and I will solve the other mistakes too. I have already some ideas. For example missing .blp-files. I guess one problem is that you dont check the patch.mpq because there some of the missing files are. I will use modding tools to correct this shit. I will also use modding tools to correct the wrong gold_ore_icon. This is bullshit. It was always there. This must be a bug. But I will correct this shit. And well the game_mechanic bugs are not so easy to solve because I still have no clue what you have done in your code where you have done it and so on. If it possible to find this shit I will solve this also but at the moment I am not very positive because I have the impression its not in the sourcecode at all.

Wait I changed something else too. May be it was that. I changed in SpellEffects.cpp line 5645 the value 3.6666 into 5.0f. I will check if it was that.

Okay I checked it may be it was both. But may be there are still wrong calculations. For example with the bounding_radius. I have no idea what for a bs you did there.

Edited by Hochdeutscher
Posted

No the shit still does not work correctly. Now the combat reach is much too big. It just looks correct now what the distance belong. I will try something out. Bye.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use