Secret shared control with single unit (tricky)

Steamsteam

New Member
Reaction score
1
Hey, I was wondering...

this idea came to mind randomly and i think its pretty cool.. (there are three ideas i had)

1) is there any way for a unit that i send to someones base to change their modle making lets say a footman look like a pesant with shared controll with my opponent and changes to his colour to my oppoents colour but with that unit only?

2) lets say i have a unit with possesion.. is there a way to allow my opponent to keep controll of that unit (the unit i possess/also allowing me to take controll and keep my opponents colour) untill i say a certin phrase or move it to a location?

3) is there a way for me to use something like farie fire where its permenent, gives me controll of the unit and the opponent doesnt realize it... (it doesnt have to be premenet...)
 
You want to make a unit that you can send into your opponents base that your opponent will think is his own unit? You could change ownership of a unit with triggers if it's selected so you opponent will (maybe) think it's his own unit. Colors can be changed too, but you cannot change the model of the unit without replacing it. You could create a invisible unit following around the ''spy'', thus giving you vison of it even if your opponent controls it.
 
I don't you and an opponent can both share one of his units.

And if you make the unit your unit, your opponent's towers/units will auto-attack it. So he will certainly know it is your unit.

I think the closest thing you could get is to make the unit Neutral Passive.

Or also play around with the Mechanical critters that Humans have. A unit you can sneak around in their base that enemy units won't recognize.
 
mechanical sheep isnt that good against me (in melee). When I get the chance I mass click sheep til they explode all the time.
 
Maybe something like this?

Example:
  • A = a unit owned by you, Player 1
  • B = a unit owned by the enemy, Player 2
  • A cast possession on B
  • change ownership on unit B to Player 3
  • Both Player 1 and Player 2 have control of Player 3's units.

I tried to explain it with a list to make a very clear example. While creating this spell you might run into problems with limited player slots. If there are two players in the game, you will require 1 extra player slot for the shared units. With 3 players in the game you will require 3 extra player slots. 4 players require 6 additional slots. 5 players require 10 additional. It goes on.
 
thats a good idea.. give both of them shared controll over another players units.. i was thinking last night i could just replace the unit with the exact unit only different modle untill it exits the region which would then turn it back into the unit i had before... but id need to change abilitys too..


is there a way to have one unit where my enemy and i share controll but two people see different abilitys?


-also if its a 4 player map 3v1 would i still need 6 additional slots? id just give shared controll over player 5s units to everyone so if all of the three people have these units they would just be able to also controll eachothers once its in his base.. or would i not be able to correctly reasign the units to their orriginal owners?
 
Hey another question on this topic:

these are my triggers...

Code:
Event:
map int
actions:
player: make player 1 treat player 12 brown with full vision and full shared unit ctrl (this is continued for all my player slots)
this is the 'spell' its more like an aura rather then a casted spell since i only want this ability to be activated when unit enters player 1s base
Code:
Event: 
unit enters region player 1 base
Actions:
if Conditions:
unit equal to wisp (testing unit) 
remove triggering unit from game
create 1 city worker for player  brown in center of player 1 base
change colour of triggering unit to red

(i also tried making it - replace unit and using the last replaced unit change to red trigger but still no luck)

the problems im having is no one has shared unit ctrl with brown or shared vision also browns created char isnt turning red.. other then that its working


edit:

i changed the player settings so that the positions are not fixed locations (which means insted of having to move your user name to the colour u want u can stay what ever position you want and change your colour from there .. not what i wanted but it allows shared ctrl over browns units)

the colour still isnt getting changed and i made it back to "replace unit" triggers
 
bump - the problem im having is my shared unit ctrl isnt working but i dont know whats wrong with that trigger...

Code:
event:
map int
action:
make player 1 red treat player 12 brown as ally with full shared unit ctrl
 
-also if its a 4 player map 3v1 would i still need 6 additional slots? id just give shared controll over player 5s units to everyone so if all of the three people have these units they would just be able to also controll eachothers once its in his base.. or would i not be able to correctly reasign the units to their orriginal owners?

You wouldn't have to have 6 additional slots no. It all depends on who you want to allow controlling the units that you possess.


I tried making a map to see how the dynamic worked in practice. I am very very inept in GUI triggering, so I wouldn't recommend using any of it. It's only meant as a start to something better.

Player 1 - 4 are player controllable
Player 5 - 10 are shared player slots

The dreadlord has been given the spell Possession


is there a way to have one unit where my enemy and i share controll but two people see different abilitys?
Players won't be able to see different ability icons on the units. However, you can try to see if the triggering player is the one who clicks the button or the one who owns the unit. If it's the one clicking the button, then you can make the effect from clicking an ability different between the two players.
 

Attachments

  • SharedControlTest2.w3x
    14.5 KB · Views: 99
thanks bob! that spell is perfect! i made it so the unit was removed insted of sticking around.. how ever - wat did you mean "you cant make the unit reapear due to variables being erased due to wait"?
 
thanks bob! that spell is perfect! i made it so the unit was removed insted of sticking around.. how ever - wat did you mean "you cant make the unit reapear due to variables being erased due to wait"?

Glad you can make use of it.

I can try to explain further what I mean.

The spell I attempted to create changes the ownership of the target for a duration. After the duration has completed, the unit is returned back to it's original owner.

Changing the ownership when you cast the spell is simple. The difficulty begins when you want to return the ownership to it's original owner. Who was this owner?

There are multiple ways to solve this, but the simplest and sure way (well almost. see below) to do it is with a local variable holding the information for you. That will require some Jass scripting. Using a global variable is a bad idea, because if you cast the spell once more, the global will be overwritten with new information.

Just a local variable will also not give you a bug-free spell. If you possess one unit, and then someone else possesses this same unit again before it's ownership is returned to the original owner, you will recieve incorrect information on who is the original owner.

If you want to correct this bug, I'd recommend Jass. Assuming that is not a viable option, you could bypass the problem by saying only units that are not currently possessed, can be possessed. To do this, put all possessed units in a unit group, and remove them from the group when they return to their original owner. Add a condition to the spell so only units not in the group can be possessed.

Hope this is not too confusing. Good luck!
 
3) is there a way for me to use something like farie fire where its permenent, gives me controll of the unit and the opponent doesnt realize it... (it doesnt have to be premenet...)
Indeed there is:
Trigger:
  • Actions
    • Unit - Grant shared vision of *Some Unit* to *Some Player*
 
afraid to say it is a bit confusing :p

btw i didnt know tom jones played warcraft! thats kinda cool :p

also - this spell will only be used on red atm and maybe a few other players (all those players will not have access to the techtree that is required for this spell :p)

also - i changed the spell by adding the remove unit action but i cant get it to return to the original unit after a duration. was that already built into the trigger?
 
also - i changed the spell by adding the remove unit action but i cant get it to return to the original unit after a duration. was that already built into the trigger?

No it wasn't. I planned to, but when I encountered the requirement for local variables, I just stopped right there.

I'm away right now, so I'm afraid I can't help you with the code.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      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