My Question Topic

MeMM00

New Member
Reaction score
0
hey guys, i'm new here...

i bought the game 2 months ago and i thought maybe i should make a map

wherever can you go than here to ask your questions
ill keep it short so you guys don't get head-ache from Wot

1. i want to know how to auto-train units, i saw it in another map mod and whenever a building was build it automatically makes units and when 1 units is finished it adds another so it keeps on training indefinitely

2. with help from the question above, how can you train "gold" or "lumber"?

3. i want an ability for all buildings that, when used, sells the building, how to do this?

4. i saw in this other map mod that when you had a certain item in your inventory, it auto-fired without even clicking on enemies, how to do that?

5. is there some kind of trick if you want to increase weapon's range, or do you need to make an exact duplicate with higher range for the same weapon?

6. how can you make armor thats invulnerable?(while still being selectable)

7. how can you remove the maximum food limit?

thats it for now... thanks in advance
 

Komaqtion

You can change this now in User CP.
Reaction score
469
1. Well this is kinda simple... Two triggers are probably needed for this:
Trigger:
  • Train the first units
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Constructed structure)) Equal to Town Hall
          • (Unit-type of (Constructed structure)) Equal to Keep
    • Actions
      • For each (Integer A) from 1 to 7, do (Actions)
        • Loop - Actions
          • Unit - Order (Constructed structure) to train/upgrade to a Footman


Trigger:
  • Keep training them
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Constructed structure)) Equal to Town Hall
          • (Unit-type of (Constructed structure)) Equal to Keep
    • Actions
      • Unit - Order (Constructed structure) to train/upgrade to a Footman


This is probably all that is needed ;)
First you order the structures to train 7 of the unit, to queue them up, and then whenever you finish trainijng one, you queue one again ;)

2. Hmm... :S Not too sure I understand what you mean there :S
Like, you train a unit in a building, and when it's done, you either gain gold or lumber ?

If so, then maybe something like this:
Trigger:
  • Train gold
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to +100 Gold
    • Actions
      • Unit - Remove (Trained unit) from the game
      • Player - Add 100 to (Owner of (Trained unit)) Current gold


So, you just make a new unit, it doesn't matter what it's based on, and change the condition and such :D

3. Ability, or can this be a unit too ? :eek:
If it can, then:
Trigger:
  • Sell building
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to Footman
    • Actions
      • Unit - Kill (Triggering unit)
      • Player - Add 150 to (Owner of (Triggering unit)) Current gold


If it's an ability, then just change the event to "A unit Starts the effect of an ability", and the condition to "(Ability being cast) Equal to Sell building" :D

4. There is an ability which does this actually, and it's called "Phoenix Fire", and just add that to an ability and it should work, I think XD

5. Not too sure about this one :S
I don't think there is an ability, but I believe you can use upgrades for it...
Though, the downside of upgrades is, whenever you upgrade it to a higher "level", you can't downgrade it after...

6. Armor ? You mean like an item which makes you invulnerable ? :S

7. Why not just set it to some VERY high number ? :eek:
This field can be found in "Gameplay Constants" in the "Advanced" tab :D
 

MeMM00

New Member
Reaction score
0
1. thanks, i didnt know what event or actions to use so thanks for pointing out

2.exactly what i meant, ditto for this one

3. ability would be better, but this suffices, thanks

4.i need it on an item, any pointers?

5.i have 4 races whereby one of them get increased range for all units
but i understand i need to do that the "hard and long" way XD

6.no i mean like, the unit or structure has absolutely no health and cant be attacked. what stats do i need to change for that(it still can be selected though)

7.that would suffice, thanks
 

KillingSpree

New Member
Reaction score
7
Komaqtion, your second trigger doesn't work, I think you accidentaly only changed the action because it's exactly the same as your first trigger ;).

This trigger works:
Trigger:
  • training Footman
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to Footman
    • Actions
      • Unit - Order (Triggering unit) to train/upgrade to a Footman
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
6. Give the unit the ability "Invulnerable (Neutral).
 

MeMM00

New Member
Reaction score
0
1-4 works

5. is going to take the long path

6. should work, didn't try

7. food limit caps at 300, i cant get it higher than that.
i was going to use food as a currency but it now caps at 250 for me so whatever unit i build it should use 50 food so i can subtract the double of it
as in "paying" with food

are there any workarounds?

8. new question! whenever a unit is build it pings on your mini-map, how can i disable this?
 

MeMM00

New Member
Reaction score
0
7. food limit caps at 300, i cant get it higher than that.
i was going to use food as a currency but it now caps at 250 for me so whatever unit i build it should use 50 food so i can subtract the double of it
as in "paying" with food
are there any workarounds?

8. whenever a unit is build it pings on your mini-map, how can i disable this?

9. after my "bank" trains gold it cant upgrade anymore even after i cancel unit training, how can i solve this?
 
General chit-chat
Help Users

      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