Game Interface Question & Ability Question

This is a forum where you can ask our code monkeys for assistance. Questions on technical help belong here.
Dylan1473
Posts: 96
Joined: Fri Oct 30, 2009 12:00 am

Game Interface Question & Ability Question

Postby Dylan1473 » Sat Mar 20, 2010 8:50 am

I have a game interface related question:

In the advanced game interface control, which section controls the text in the upkeep box (the one that comes down if you hover the mouse over the place that says "Low Upkeep" or "No Upkeep" or whatever) next to the second line (the one that usually says "Gold Income Rate:")? I've been hunting around and can't seem to find it. It's a greyish 100% when there is no upkeep.

EDIT: Another thing:

I'm trying to create a "Big Bad Voodoo" based ability which affects buildings. While I've succeeded in creating a healing ability that affects buildings in an area that previously could not (using the exact same target information) the "Big Bad Voodoo" based ability will not function. I'm not sure whether this is an inherent flaw in the ability or if I'm doing something wrong. Suggestions regarding this matter would be appreciated.
Last edited by Dylan1473 on Sat Mar 20, 2010 10:06 am, edited 1 time in total.
User avatar
Slayer4000X2008
Posts: 436
Joined: Mon Oct 12, 2009 12:00 am
Location: Dominion of Canada
Contact:

Game Interface Question & Ability Question

Postby Slayer4000X2008 » Sat Mar 20, 2010 10:29 am

I will answer number two now and come back with the answer to number one. Target information only says what you can click on with an ability, I had the same general problem with a shockwave (now breath of fire[needlessly changed] based) I had changed the target information and nothing. Try changing some other things on the ability and see if you can get it working. If not you may need to make a trigger for it.
Dylan1473
Posts: 96
Joined: Fri Oct 30, 2009 12:00 am

Game Interface Question & Ability Question

Postby Dylan1473 » Sat Mar 20, 2010 11:31 am

I fixed the building heal ability by changing the target information, and it was just a general area restore ability.
Last edited by Dylan1473 on Sat Mar 20, 2010 11:32 am, edited 1 time in total.
duckne55
Posts: 197
Joined: Tue Jan 19, 2010 12:00 am

Game Interface Question & Ability Question

Postby duckne55 » Sat Mar 20, 2010 12:04 pm

Slayer4000X2008 wrote:I had the same general problem with a shockwave (now breath of fire[needlessly changed] based)
[offtopic]
well shockwave distorts the ground, and that has generally been known to cause memory leaks... so its not that bad.
[/offtopic]
Romek
Posts: 25
Joined: Tue Nov 10, 2009 12:00 am
Location: GMT
Contact:

Game Interface Question & Ability Question

Postby Romek » Sat Mar 20, 2010 5:57 pm

> well shockwave distorts the ground, and that has generally been known to cause memory leaks... so its not that bad.
Distorting ground and Memory Leaks have nothing to do with each other.
Distorting ground is known to be the cause of desyncs though, as (IIRC) GetLocationZ() will likely return different values for each player when used on ground that's being distorted, and will then lead to a desync when used in most code.
User avatar
Slayer4000X2008
Posts: 436
Joined: Mon Oct 12, 2009 12:00 am
Location: Dominion of Canada
Contact:

Game Interface Question & Ability Question

Postby Slayer4000X2008 » Sat Mar 20, 2010 6:29 pm

Your getting off topic here, my problem with that was alrdy solved. This topic is for Dylan1473's problems.
Dylan1473
Posts: 96
Joined: Fri Oct 30, 2009 12:00 am

Game Interface Question & Ability Question

Postby Dylan1473 » Sat Mar 20, 2010 6:57 pm

The game interface issue takes priority:

In the advanced game interface control, which section controls the text in the upkeep box (the one that comes down if you hover the mouse over the place that says "Low Upkeep" or "No Upkeep" or whatever) next to the second line (the one that usually says "Gold Income Rate:")? I've been hunting around and can't seem to find it. It's a greyish 100% when there is no upkeep.


For the second issue, I can always create a trigger - it's a bit more complicated, but that's what I'll do if an alternative solution cannot be found. I already have around twenty abilities that are centered on or affected by triggers. I just feel like the ability should be able to be changed by settings within itself, since this is almost exactly the same circumstance it was originally designed for - just with buildings, not units.

These are probably the last two existing issues that I know of in the map in question. Once I get these last couple things cleared up, I can probably release the first version after a couple of final tests.
Last edited by Dylan1473 on Sat Mar 20, 2010 6:58 pm, edited 1 time in total.
duckne55
Posts: 197
Joined: Tue Jan 19, 2010 12:00 am

Game Interface Question & Ability Question

Postby duckne55 » Sat Mar 20, 2010 10:48 pm

Romek wrote:Distorting ground and Memory Leaks have nothing to do with each other.
Distorting ground is known to be the cause of desyncs though, as (IIRC) GetLocationZ() will likely return different values for each player when used on ground that's being distorted, and will then lead to a desync when used in most code.
fine, fine, i remembered i read that somewhere, probably thehelper or wc3c, perhaps i remembered wrongly.

NOW BACK ON TOPIC.

The controls for that can be found in JASS NewGen, I dont think normal world-editor has it.
eleteguard
Posts: 96
Joined: Mon Oct 12, 2009 12:00 am

Game Interface Question & Ability Question

Postby eleteguard » Sat Mar 20, 2010 10:51 pm

I have yet to find a way to remove that gray 100%. Its like hard coded into every map.
Dylan1473
Posts: 96
Joined: Fri Oct 30, 2009 12:00 am

Game Interface Question & Ability Question

Postby Dylan1473 » Sun Mar 21, 2010 9:12 am

duckne55, are you referring to the grey 100% being editable by Jass NewGen? Because I think I may actually have that tool.

I'm using the upkeep box as sort of a map info thing; currently, it's almost perfect. It says "Gnoll Tag" in green permanently at the top (in the upkeep place that's always visible), when the box is opened it goes down only to the third line which says "Updated Saturday March 20 2010" but, the second line (the first beneath the one always visible) it says "by Dylan1473"..."100%" in faded grey text. I suppose this could be interpreted to have some meaning, but I'd prefer to just get rid of the 100%.
duckne55
Posts: 197
Joined: Tue Jan 19, 2010 12:00 am

Game Interface Question & Ability Question

Postby duckne55 » Sun Mar 21, 2010 9:37 am

yes, it should be editable. I'm sure i removed it in a map i made, can't attach it or anything cause i don't have wc3 on this comp.
Dylan1473
Posts: 96
Joined: Fri Oct 30, 2009 12:00 am

Game Interface Question & Ability Question

Postby Dylan1473 » Sun Mar 21, 2010 9:48 am

Yes, I definitely have that. How would I go about changing this now? Is it added to Game Interface or do I need to change something else?

EDIT: I should add that I've already fixed the second issue by creating a trigger for the ability. The Game Interface issue is now the sole remaining issue in the map that I know of.
Last edited by Dylan1473 on Sun Mar 21, 2010 10:29 am, edited 1 time in total.
Dylan1473
Posts: 96
Joined: Fri Oct 30, 2009 12:00 am

Game Interface Question & Ability Question

Postby Dylan1473 » Sat Mar 27, 2010 8:27 am

I've been unable to find a solution to the game interface issue. I think I may run a few final tests, then upload the map to epicwar or something. It's not a major problem.
Last edited by Dylan1473 on Sat Mar 27, 2010 8:27 am, edited 1 time in total.