Sheep Tag New and improved, Help please

F

fratleyslaye

Guest
I have a few questions, I have been playing with the map editor for awhile and I cannot find how to do a few things, or tutorials.


My knowledge: Nothing, I have winged everything and have made a successful rpg map and helped on a AoS map, GOTM.

Okay, on to the help =]

Need to find out how to distribute gold per time.

How to get a timer and a leaderboard working, my leaderboard doesn't look right BUT it could be because the map has only been testing in beta.

Sell tower doesn't appear on the add ability list for my farms, thinking it's because windwalk is a hero ability and I cannot make my farms heroes.

Cannot get my shops to sell right, I have to make it an ally building and when I do that the items drop on the ground when buying.

Cannot get Cash farm to distribute gold over time, but I think the gold over time question a bit up will solve this one.

=] That's all I see for now, thankyoufor the time :-D
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> I cannot make my farms heroes.

You can, if you really want to.
It's simpler though to find your ability, and set "stats - hero ability" to false.

> Cannot get my shops to sell right...

Do they have all needed abilities?
Sell item, Select Hero... have a look at, for example, a Goblin Merchant.

> Cannot get Cash farm to distribute gold over time, but I think the gold over time question a bit up will solve this one.

Hm... you mean getting Gold automatically for every Farm you have?

Event:
- Time: every 10 seconds
Conditions:
Actions:
Set UnitGroup = All units of type Farm
Pick every unit in UnitGroup and do
- Player - Add 10 to Owner of (Picked unit)'s current Gold
 

Rabarber

You can change this now in User CP.
Reaction score
94
Acehart said:
Event:
- Time: every 10 seconds
Conditions:
Actions:
Set UnitGroup = All units of type Farm
Pick every unit in UnitGroup and do
- Player - Add 10 to Owner of (Picked unit)'s current Gold
Call DestroyGroup (udg_UnitGroup)
 
F

fratleyslaye

Guest
Event:
- Time: every 10 seconds
Conditions:
Actions:
Set UnitGroup = All units of type Farm
Pick every unit in UnitGroup and do
- Player - Add 10 to Owner of (Picked unit)'s current Gold[/QUOTE]

When I goto Set UnitGroup it asks me to make a Variable, and not sure what to do from there, everything else is A-Ok =]
 
F

fratleyslaye

Guest
It comes out like this:
Set UnitGroup[Variable]=Units of type Cash farm

What do I put in the variable position?
 
F

Fratleyslaye

Guest
Another question :-\ But in trigger editor, I was reading how to create a leaderboard and at the end of it it asks to add +1] but I am not sure how to get that to come out correctly, if u need the specs, ill write it down and we can go from there.

P.S Thanks for all the help already =]
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Set UnitGroup[Variable]

UnitGroup is just a simple variable of type "unit group".
It's not an array. Uncheck the "array"...



Set variable,
choose a variable,
for the part after the "=", start with "Arithmetic".
Which already says "value + 1", change "value" to your variable, the +1 is already there.


Ever thought about registering?
 
F

fratleyslaye

Guest
Everything is exact to your example and my farm blows up as soon as I try to build it. =[
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
:D

A trigger that adds gold can't possibly blow up a farm...

Care to post it?
(You can copy & paste it here, by right-clicking your trigger's name, and using "copy as text").


Do you have any triggers that run on the event "a unit begins construction"?
If not, what did you do to that poor farm?
 
F

fratleyslaye

Guest
The problem with the leader board is the triggering, I am using a TD trigger example so that could be the problem, but my trigger tally reads:
Set player_killz[(Player number of(Owner Of(Killing Unit)))] = player_killz[player number of(Owner Of(Killing Unit)))]

It should read:
Set player_killz[(Player number of(Owner Of(Killing Unit)))] = player_killz[player number of(Owner Of(Killing Unit)))] + 1)

I have gotten the +1 on there but it didnt have the last parantheses around it and ended up not bringing up any of the players on the board at all.
 
F

fratleyslaye

Guest
Code:
Cash over time
    Events
        Time - Elapsed game time is 10.00 seconds
    Conditions
    Actions
        Set UnitGroup = (Units of type Cash Farm)
        Player - Add 10 to (Owner of (Picked unit)) Current gold
 
F

fratleyslaye

Guest
mmm, I figured it out =O Dumb reason too lol, I had the tooltip set as saying "Don't let the wolfs come near this, because even there breath will knock this down" and I put it with 1 hp, and for some reason i would build it, and it would explode lol

Problem solved. Now it wont give me gold over time, I even set it to 1 second to see if that would fix the problem and nope =(
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Time - Elapsed game time is 10.00 seconds

This event only happens once, 10 seconds into the game...

Change that to "time - periodic event".
 
F

fratleyslaye

Guest
It is still not ticking like it should, I lowered the time from 10 to 3 to 5 to 1, moving it around for balance ideas and it still doesn't work.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Actually, you forgot some important part:
Code:
Unit Group - Pick every unit in UnitGroup and do (Actions)
    Loop - Actions
        Player - Add 10 to (Owner of (Picked unit)) Current gold
 
F

fratleyslaye

Guest
That is a bit important, Really appreciate everything you have helped me with tonight, and this morning :D
 
F

fratleyslaye

Guest
Err I get in the (Actions) you need to put Loop-Actions but neither Loop or Actions are in there
 
F

fratleyslaye

Guest
:banghead: wow triple post, when do i get to edit my posts? =\ I found it, nevermind
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> I found it, nevermind

The actions or the edit button? :p


"Unit group - pick every unit in unit group and do multiple actions".
The "Loop - actions" part is automatic.


Upon registering, you got a "confirmation email".
Have a look, there's a link inside you need to click.

> tonight, and this morning

We're in the middle of the day actually... :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top