• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Help With Repick and Kick

Status
Not open for further replies.
Level 18
Joined
Jan 12, 2011
Messages
1,511
Help With Repick..

Well im making a map (the world of azeroth) and well the map is almost complete (i could still add some more races if it wouldnt be bcuse blizzards 8mb shitty limit...) well it got like 22 races but i need help with something , how can i make a repick system like : before 5 mins of gametime has passed player can type -repick and all his units /buildings / heros will disapear and he will get 5 more circles so he can use his upgrade (the one that replaces the circles with peons).. if you dont understand very well try the map is in the map section (its in pending maps but it does not have bugs and its very well made took me hours to make the races)..



thnx for all the help mods and people give here :p
 
Last edited:

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
GangSpears system is a really good idea this is how i think it should look

1- make a variable , name it what ever you want (i use unitgroup_remove) and type is unit group

2- use this triggers
  • repick system
  • Events
  • Player - Player 1 (Red) types a chat message containing -repick as An exact match
  • Conditions
  • Actions
  • Set unitgroup_remove = (Units owned by (Triggering player))
  • Unit Group - Pick every unit in unitgroup_remove and do (Unit - Remove (Triggering unit) from the game)
  • Player - Limit training of Heroes to 1 for (Triggering player)
  • Wait 300.00 seconds
  • Trigger - Turn off (This trigger)

Also how you want the kick system you want the host to kick players or like all players vote?
 
Last edited:
Level 18
Joined
Jan 12, 2011
Messages
1,511
but there are 2 problems the limit hero to one isnt needed bcuse the game already makes u able to train only 1 per hero. also that trigger wont remove the already picked hero i mean he can revive it cant he? :S also how to make that after player types repick he will recover the 5 starting circles? do i have to make 5 regions and make player types repick and create 5 circles each 1 in every region ?
 
Level 18
Joined
Jan 12, 2011
Messages
1,511
i only need 2 stuff to finish it how to reset upgrades and also i cant find how to add
Unit Group - Pick every unit in unitgroup_remove and do (Unit - Remove (Triggering unit) from the game)


and also here:

1- make a variable , name it what ever you want (i use unitgroup_remove) and type is unit group
ok i named it unitgroup and type unit group but do i need to add more stuff?
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
1. no you dont need any more variables

NOTE!! - Not the one with multiple actions

select those
1. unitgroup - pick every unit in (units in(playable map area)) and do action
2. click (units in(playable map area))
3. select unitgroup_remove
4. go back
5. click action
6. select unit - remove
7. your done

im working on research remove system atm
 
Last edited:

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,156
You can not unresearch upgrades in WC3. Once an upgrade level is increased by eithor triggers or by researching it, it will be permanent.

Heroes that are removed can not be revived for the logical reason they no longer exist. Heroes are only revivable when they are dead. Removed units simply do not exist
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,156
then i only got one idea when a unit types repick you max all researches thats the only way i think
That is a bad idea. The result would be that by repicking you get all technologies for free meaning anyone who does not repick at start will be at a major disadvantage.

The only solution I can think of is to charge the repicking player the cost of all upgrades that still effect his selection choice. This could be done over another 5 minute period to prevent being totally broke when repicking.
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
That is a bad idea. The result would be that by repicking you get all technologies for free meaning anyone who does not repick at start will be at a major disadvantage.

The only solution I can think of is to charge the repicking player the cost of all upgrades that still effect his selection choice. This could be done over another 5 minute period to prevent being totally broke when repicking.

how about this system then, when you repick next time you upgrade something it cost normal price+upgrades allready used

its maybe a bit hard to make but think its fair
 
Status
Not open for further replies.
Top