[GUIDE] SHDR Version for TWRPG
Moderator: Cheaters
-
- Newcomer
- Posts: 4
- Joined: October 9th, 2018, 5:02 pm
-
- Newcomer
- Posts: 1
- Joined: March 2nd, 2020, 11:51 am
Re: [GUIDE] SHDR Version for TWRPG
Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.
-
- Junior Member
- Posts: 38
- Joined: April 4th, 2020, 5:25 pm
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
Re: [GUIDE] SHDR Version for TWRPG
I know this post is sort of old, but this shouldn't be too hard to accomplish. I'll describe what I would do to make repick not get disabled, you can try it out yourself if you want to do this.Mikrov wrote:Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.
The first thing you need to do is discover what trigger is called to repick a hero. To do this, search for "-repick" in the script. You should find a call that is something like: TriggerRegisterPlayerChatEvent(triggerName, player, "-repick", true)
Now from there, you note down the trigger name. It'll be a weird looking variable like "UXN" or something.
Now you search for "call DisableTrigger(triggerName)" Delete all occurrences of this line. And repick should no longer be disabled.
If you don't find and calls to DisableTrigger, then try looking in the Conditions of the trigger. And if you don't find anything obvious that would make it not work there, look in the Actions and check if everything is in a big "if" block.
-
- Junior Member
- Posts: 38
- Joined: April 4th, 2020, 5:25 pm
Re: [GUIDE] SHDR Version for TWRPG
Thank you for the advice. I will try it.owner123 wrote:I know this post is sort of old, but this shouldn't be too hard to accomplish. I'll describe what I would do to make repick not get disabled, you can try it out yourself if you want to do this.Mikrov wrote:Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.
The first thing you need to do is discover what trigger is called to repick a hero. To do this, search for "-repick" in the script. You should find a call that is something like: TriggerRegisterPlayerChatEvent(triggerName, player, "-repick", true)
Now from there, you note down the trigger name. It'll be a weird looking variable like "UXN" or something.
Now you search for "call DisableTrigger(triggerName)" Delete all occurrences of this line. And repick should no longer be disabled.
If you don't find and calls to DisableTrigger, then try looking in the Conditions of the trigger. And if you don't find anything obvious that would make it not work there, look in the Actions and check if everything is in a big "if" block.
-
- Newcomer
- Posts: 3
- Joined: April 10th, 2020, 8:55 am
Re: [GUIDE] SHDR Version for TWRPG
Question, why after i try to play my own map. after i change item drop chance, i cant play it multiplayer, like play using kloader, that can open 2 char with same username at the same time, but every time i host the map and other warcraft join my map that i edit, it cant start, because the download progress show beside the username but it never change.. anybody know how to solve it? pls..
Thank you.
Thank you.
-
- Member
- Posts: 54
- Joined: June 8th, 2020, 4:27 am
Re: [GUIDE] SHDR Version for TWRPG
might be a map size issue on older wc3 patches. Try this https://www.hiveworkshop.com/threads/st ... 31.291782/
-
- Newcomer
- Posts: 3
- Joined: April 10th, 2020, 8:55 am
Re: [GUIDE] SHDR Version for TWRPG
after i edit the map, the file size is getting bigger and bigger, is that the problem?InSaniTy- wrote:might be a map size issue on older wc3 patches. Try this https://www.hiveworkshop.com/threads/st ... 31.291782/
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 4 times
Re: [GUIDE] SHDR Version for TWRPG
It's due to CRC. Whenever you change anything in war3map.j the CRC will change, doesn't matter if you and your friend has the exactly same map. That doesn't applies to models (.mdx, .mdl, ...).
-
- Newcomer
- Posts: 3
- Joined: April 10th, 2020, 8:55 am
Re: [GUIDE] SHDR Version for TWRPG
any solve for this things?nuzamacuxe wrote:It's due to CRC. Whenever you change anything in war3map.j the CRC will change, doesn't matter if you and your friend has the exactly same map. That doesn't applies to models (.mdx, .mdl, ...).