• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] New mini-patch breaking values in my campaign?

Status
Not open for further replies.
Level 6
Joined
Dec 11, 2014
Messages
93
Hey all. So I've been working on a map recently and have nearly completed the two custom factions (Fully playable Naga and Bloodelves) and everything was working great. I launch wc3 to test my last round of changes (And I literally mean last round, everything was good otherwise) and it tells me there is an update. I'm shocked, because it's been like 2 years since we got anything really for WC3 (well I guess 1 year since the last 'big' update with basically nothing) so I go ahead and download it because it tells me I have to before I can play anyway.

Download it. All is good. I launch my map, and the values of some of my custom buildings are broken and cost negative gold and lumber. I'm baffled by this and check my map, the values still read right there. Yet anytime I launch the game the upgrades still have negative values? (The naga town hall upgrades and the blood elf tower upgrades in particular).

Not really sure what's going on with that? Anyone else experiencing something similar to this since the mini-patch?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
Maybe this is related to the data set chosen for your map? To avoid updates breaking object editor data the data set has to be set to base (not patch) so that patch changes are not applied to it.

My recommendation would be to try a backup version of your map from a few days ago to see if that also has this problem since the new patch. If so then we know for certain the patch was not just cosmetic and did change stuff. If not then we know that something you did between that backup version and now must be the cause.

EDIT:
The below post might help diagnose the issue. It is possible you have accidently set your upgrade cost mode from relative to absolute meaning you are getting resources refunded because the upgraded unit type is cheaper than the base unit type.
 
Last edited:
Level 6
Joined
Dec 11, 2014
Messages
93
Maybe this is related to the data set chosen for your map? To avoid updates breaking object editor data the data set has to be set to base (not patch) so that patch changes are not applied to it.

My recommendation would be to try a backup version of your map from a few days ago to see if that also has this problem since the new patch. If so then we know for certain the patch was not just cosmetic and did change stuff. If not then we know that something you did between that backup version and now must be the cause.

EDIT:
The below post might help diagnose the issue. It is possible you have accidently set your upgrade cost mode from relative to absolute meaning you are getting resources refunded because the upgraded unit type is cheaper than the base unit type.
Yeah, this seems to be the issue. I swapped it to relative cost and things are fixed now. Not sure how it ended up getting switched over though, because I hadn't changed anything in data. Though my game did have a major crash when I tried to test my map and then it told me I had an update. Maybe something wonky happened then? Not entirely sure but this did fix the issue, so thank you!

EDIT: However I am noticing that values for my other world editor buildings are now different as well? They all seem to be reading like the other custom buildings, it's just I hadn't modified them so I didn't notice until I went to fix it.

Now the keep is saying it costs 705 gold and 415 lumber, and the castle reads 1025 gold and 625 lumber. Is this from the same issue? And if so do I need to reset all these values to what they used to be now too? Did my weird glitch somehow change all these values or did the editor just update to use these values instead of relative?

I tried making a new empty map and the values in there are also reading as 705 gold 415 lumber, 1025 gold 625 lumber etc.
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
EDIT: However I am noticing that values for my other world editor buildings are now different as well? They all seem to be reading like the other custom buildings, it's just I hadn't modified them so I didn't notice until I went to fix it.
Are you sure you are using the base game data set and not the current patch? Current patch data set requires costs be absolute rather than relative to work correctly I think.
 
Level 6
Joined
Dec 11, 2014
Messages
93
Are you sure you are using the base game data set and not the current patch? Current patch data set requires costs be absolute rather than relative to work correctly I think.
I managed to figure it out last night. I changed the value and it was reading as base game data so that was all fine but was still showing the values.

but once I closed the actual launcher for battle.net and reopened the change updated. Not sure why I had to do that for it to trigger the change from absolute back to relative (or why it got set to absolute in the first place) but once I changed it back AND reopened my launcher the update was fixed. Thanks!
 
Level 6
Joined
Dec 11, 2014
Messages
93
Just for curiosity, what is that of "upgrade cost mode absolute and relative"?
From what I gathered from this instance, basically relative means it will be a flat cost, so if you have your town hall set to cost 300 gold, and your keep to 380 gold, it will display that in the editor and cost that much in game no matter what. (Same for lumber values)

Where absolute seems to be the total cost of the unit. So if you have upgrade cost mode as absolute, your cost for town hall would be 300 gold, and your keep's cost would need to be set to 680 gold (the original 300 from townhall, and then the 380 from the upgrade). If you left it at just 380, then because it's the TOTAL cost of the unit (including upgrades) when they go to upgrade to a keep, it would actually only cost 80 gold in game, because they already paid the 300 gold when they built* the town hall.


* = They don't actually have to build it, as long as it's in the game. So if you have a preplaced town hall in game (or the starting units create your town hall and 5 peasents, you would still only need 80 gold to upgrade your keep if you were on Absolute)
 
Status
Not open for further replies.
Top