creating a village builder

Joccaren

You can change this now in User CP.
Reaction score
54
Set it too a variable and use the action 'Destroy Visibility Modifier Region' with the VMR variable as the VMR to destroy.
 

millzy

Ultra Cool Member
Reaction score
44
how do i work it out so that it destroys the right variable sorry for being so noob
 

Joccaren

You can change this now in User CP.
Reaction score
54
Use arrays. If you have one capture trigger per base, this will be easier. If you have one only capture trigger that works for every base, then it will be a bit harder. Which one are you using?
 

millzy

Ultra Cool Member
Reaction score
44
i havent dont anthing for capturing bases yet

EDIT:would this work
Trigger:
  • Base 1
    • Events
      • Unit - A unit enters base 1 circle <gen>
    • Conditions
    • Actions
      • Visibility - Create an initially Disabled visibility modifier for (Owner of Circle of Power (large) 0058 <gen>) emitting Visibility across base 1 <gen>
      • Visibility - Create an initially Disabled visibility modifier for (Owner of Circle of Power (large) 0058 <gen>) emitting Visibility across base 1 Copy <gen>
      • Unit - Change ownership of Circle of Power (large) 0058 <gen> to (Owner of (Entering unit)) and Change color
      • Visibility - Create an initially Enabled visibility modifier for (Owner of Circle of Power (large) 0058 <gen>) emitting Visibility across base 1 <gen>
      • Visibility - Create an initially Enabled visibility modifier for (Owner of Circle of Power (large) 0058 <gen>) emitting Visibility across base 1 Copy <gen>
 

Joccaren

You can change this now in User CP.
Reaction score
54
Probably. I'm not that familiar with visibility modifier regions so I'm not sure if the disabled modifier regions would work and that would also leak. It would probably be better to set that regions visibility modifier region to a variable and destroy that variables modifier region like this:

Trigger:
  • Base 1
    • Events
      • Unit - A unit enters base 1 circle
    • Conditions
      • Player - Owner of (Triggering Unit) not equal to (Owner of (Circle of Power(large) 0058 <gen>))
    • Actions
      • Visibility - Destroy (Base_1_Visibility_Modifier)
      • Visibility - Create an initialy enabled visibility modifier region for (Owner of (Triggering Unit))
      • Set (Base_1_Visibility_Modifier) = (Last Created modifier region)
      • Unit - Change owner of (Circle of Power (large) 0058 <gen>) to (Owner of (Triggering Unit))
 

millzy

Ultra Cool Member
Reaction score
44
ok ill use that and see if it works later
EDIT: do visability modifier work for the ally of the player getting the visibility modifier?

also any 1 out there that can help me with gates?
 

Joccaren

You can change this now in User CP.
Reaction score
54
I don't think the visibility modifier counts for allied players. If you want, I can modify the trigger to include allies, unfortunately you'll have to use one variable per region instead of being able to use arrays.

Also, what do you want to know about gates?
 

millzy

Ultra Cool Member
Reaction score
44
ok i wont worry about the allies

heres a link to my post with what i need help with on the gates
http://www.thehelper.net/forums/showthread.php?t=140600

im Also thinking about making a muitiboard for each player displaying things like amount of units/hp of there king gold income buildings and other stuff

but i dont know how to make a muitiboard for only 1 player
 

millzy

Ultra Cool Member
Reaction score
44
BUMP:eek:

EDIT: also iv got an income system for gold witch is evry 10/15/20/25/30 seconds depenting on witch race you pick the amount of gold depents on the building level e.g Farm gives 6 gold every 15 seconds farm lvl 2 gives 12 every 15 seconds

what i want is when the income is given i want display to the players there Total income amount what do i do to add up all the income for the players income and display it to them in total

heres a trigger exaple for the human income
Trigger:
  • fifteen second
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
    • Actions
      • Set income_group[1] = (Units in (Playable map area) matching ((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Equal to Farm)))
      • Unit Group - Pick every unit in income_group[1] and do (Actions)
        • Loop - Actions
          • Player - Add 6 to (Owner of (Picked unit)) Current gold
      • Custom script: call DestroyGroup (udg_income_group[1])
      • Set income_group[1] = (Units in (Playable map area) matching ((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Equal to Great farm)))
      • Unit Group - Pick every unit in income_group[1] and do (Actions)
        • Loop - Actions
          • Player - Add 12 to (Owner of (Picked unit)) Current gold
      • Custom script: call DestroyGroup (udg_income_group[1])
      • Set income_group[1] = (Units in (Playable map area) matching ((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Equal to Elite farm)))
      • Unit Group - Pick every unit in income_group[1] and do (Actions)
        • Loop - Actions
          • Player - Add 28 to (Owner of (Picked unit)) Current gold
      • Custom script: call DestroyGroup (udg_income_group[1])
 

millzy

Ultra Cool Member
Reaction score
44
:(:(:(:(:( bump :(:(:(:(:(

iv got this trigger to stop allys killing each other but it also stops players from killing there own units
how can i add any ally kill but allow players to kill the own units
Trigger:
  • anti ally kill
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Attacking unit)) is an enemy of (Owner of (Attacked unit))) Equal to False
        • Then - Actions
          • Game - Display to (Player group((Owner of (Attacked unit)))) for 10.00 seconds the text: ((Name of (Owner of (Attacked unit))) + is trying to attack your units mayby trying to betray you)
          • Game - Display to (Player group((Owner of (Attacking unit)))) for 10.00 seconds the text: (If you realy want to betray + ((Name of (Owner of (Attacked unit))) + you have to unally him/her))
          • Unit - Order (Attacking unit) to Stop
        • Else - Actions
 

XKillerBoy

Active Member
Reaction score
1
Trigger:
  • If - Conditions
    • (Owner of (Attacking unit)) Not equal to (!=) (Owner of (Attacked unit))
    • ((Owner of (Attacking unit)) is an ally of (Owner of (Attacked unit))) Equal to (==) True

It may look different for you. I'm using NewGen.
 

millzy

Ultra Cool Member
Reaction score
44
ok thanks that worked

what can i add to make it so you can only have a total of 40 income buildings


Trigger:
  • fgdg
    • Events
    • Conditions
    • Actions
    • For each (Integer A) from 1 to 12, do (Actions)
    • Loop - Actions
    • Player - Limit training of Farm to 40 for (Player((Integer A)))


i cant just use this trigger because people will be able to have 40 farms then upgrade them. then be able to build farms again what system will i need to create so that each player is only aloud 40 income buildings for there race. so you have 12 lvl 1 farms 18 lvl 2 farms 10 lvl 3 farms for example and you cant build any more
 

Wratox1

Member
Reaction score
22
just make a small region where the circle of power is and when a unit enters it and is not owned by the player that owns it already make him own the base?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      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