REAL custom Resources? How?

jnZ

I
Reaction score
64
Is there a way to create REAL custom resources that workl like trees or goldmines? so for example gold and lumber still are the basic resources and I want to add a third one (rock for example) that is exactly gathered like lumber (most important for me is that the worker has to go back to the townhall with the gathered resources) help will result in +rep
 

Septimus

New Member
Reaction score
58
Well, there is a possible way of doing that which I am uncertain for. However, you would not be able to make it into a icon with indication of it at the upper right of your screen.

You might need to make a multiboard out of it.
 

jnZ

I
Reaction score
64
yeah the multiboard thing is not the problem. only important for me is if its possible to create "real custom Resources" as mentioned above.
 

UndeadDragon

Super Moderator
Reaction score
447
Yeah, there is no way to add a third resource apart from, as Septimus said, making a multiboard to display the current amount of your new resource. This would however make everyone able to see how much of the new resource you have.

EDIT: Seen post above: How about making a custom ability based on harvest and make it targetable to the thing you want to get resources from.
 

Xapphire

Liberty, Simply said; a lie.
Reaction score
45
The only possible way of literally adding a new recourse would be changing your food, to something else, and changing the icon to some rock, and then making triggers gaining food or rock, and then making the buildings you create cost rock, but then you would exactly have a way of knowing your food because youd make all your actual units 0 food so they wont randomly add food or rock on creation.
 

jnZ

I
Reaction score
64
i know about all this all i need to know is how to force a worker to return a gathered custom-resource to the townhall and only after that add +10 rock (rock integer +10) and not a attacks unit of type rock / add +10 rock integer trigger. please ready the post carefully before you reply. but thanks for your intention to help

EDIT: iam sorry if its a bit hard to understand what i try to explain but my english isnt very well
 

jnZ

I
Reaction score
64
ofcourse you have to use triggers. but i cant think of any tirgger like that? but at least thats the reason why i opend this thread. ideas?
 

WindexIsBack

New Member
Reaction score
100
Such uncreative people here, shame on you!

It's quite easy to make it look like you have a new resource.

Create an image below one of the resource (sort as if the third resource is attached)
Create a floating text on this image.

Every .03 seconds, update the position of both of these to your current screen cords


And if you spend a bit of time on that image, you can make it look quite realistic. You could even go as far as to edit the UI image of that section.
Hopefully you're getting to where I'm getting at
 

Septimus

New Member
Reaction score
58
I do not think you could had possibly create such a custom resources unless you use ability skill for it.

Cause there is no event indicate that a unit gather resources.

Perhaps this could be done through jass.
 

jnZ

I
Reaction score
64
this thread is drifting into a comepletly wrong direction peaople pleas listen:

i only need the, lets call it "animation" (i know it doesnt fit), after for example a ghoul collected lumber at a tree, and then HE RETURNS TO THE TOWNHALL TO RETURN THE LUMBER (ONLY THEN LUMBER IS ADDED). i need that also for a third resource (rock example). the only trigger i can think of is to make those "rocks" units and whenever one of those rockunits is attacked add rock to the owner of the attacking unit. but i want those return animations
 

Septimus

New Member
Reaction score
58
Well, as for this. I think it is possible, but not sure how to do it though.

You would need to make the unit only able to attack certain unit. For example, set the rock as ancient type and only certain unit had the capability to attack ancient unit.

2nd, you might need to add a ability to this attacker unit including a trigger for it.

Set the trigger that shall the unit attack rock between 10-15 hit, it would automatically cast this skill at certain structure such as castle.

When the ability been cast towards the castle in within xxx range, the unit would play the current animation and would be order to attack nearby rock again.
 

Lobster

Old Fogey ofthe site
Reaction score
90
see genesis of empires map (or maybe goe 2), it uses multiboard for about 8 recourses.
 

WilliamPa

Active Member
Reaction score
51
I would do that when destructible is attacked, run random number from 1 to 15, if it is below 3, give the unit ability to bring stone back. Then the ability should have abit cast time. Then create trigger which checks when unit is starting an ability and the ability is bring wood. remember it must be Starts casting an ability. Then remove ability and add stones to that player, and remove the ability. The cast time is because the player might fast click it many times and it may give alot of stone.
 

jnZ

I
Reaction score
64
ok i think forcing the worker to return to the townholl in order to return the custom resource is not possible, so i would do it basicly like williampa says, whenever a worker attacks a "stone unit" set the custom value of the attacking unit to custom value +1 and at a custom value of 5 (5 hits) add 10 rocks or whatever.

because there will be other custom resource that will be gathered the same way ill have to to something like whenever a worker is ordered a movementorder, set customvalue to 0 so he cant get a customvalue of 4 at rocks and the last 5th hit at uhm, corals, and he immediately returns 10 corals after 1 hit.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top