View Full Version : 2 Problems
Garfield1337
12-05-2010, 11:10 PM
I have 2 problems:
Is there a way to make players unable to see owner of a unit by hovering cursor over the unit? I've seen this in couple of maps,it's very important for my map.
Is it possible to remove or hide a dialog window that is opened to a player? I tried using Hide dialog function,but it seems it can't hide it while it's opened. What i'm trying to do is removing the dialog if the player doesn't click any button for 10 seconds. It would be fine if i can make the player click a dialog button also.
+rep for help.
Solved
GangSpear
12-06-2010, 12:31 AM
1: i think is about game inferface?
2: try use clear dialog? o.o
InfinateAnswers
12-06-2010, 01:27 AM
When you go to ally properties, it says Player 1 in changeable text, change it to a space or whatever you wish.
For your other question id have to see your original trigger and with it i could probably fix it to make it work.
Garfield1337
12-06-2010, 09:12 AM
@GangSpear,
1. I'll try to find it in game interface.
2. It doesn't remove dialog.
@InfinateAnswers,
1. But that would change player name (right?) and i want players to keep their names.
2. There's no need for trigger,i tried doing it on a test map like: Set dialog title,set button 1,button 2,show dialog and a trigger that will remove it after several seconds. Didn't work. Try to do it yourself in a test map and tell me if you succeed.
InfinateAnswers
12-06-2010, 07:43 PM
Instead of making a seperate trigger to hide it, put use a if then else statement saying if countdowninteger equal to or less than 0 then hide dialog
then create another trigger thats periodic and removes from the integer (or real) every cycle.
And for the ally properties, it does not effect a players username, just the display of player 1, player 2, etc.
Garfield1337
12-06-2010, 08:22 PM
Where is ally properties btw? I thought you meant the Player settings.
Oh and for hidding dialog,i know why it didn't work. My friend told me it pauses game in single player,but Hide Dialog function works fine in multiplayer.
InfinateAnswers
12-07-2010, 12:27 AM
i could have sworn i already replyed.... i said its under scenario tab, or whichever tab has Map Description in it
Garfield1337
12-07-2010, 12:31 AM
Under scenario tab,the only option that is similar to what you're speaking of is Ally Priorities and that can't really help.
InfinateAnswers
12-07-2010, 12:35 AM
Did i really have to go into world editor and look at it? could you not have looked around yourself... i said it was around that area and i didnt know the exact name of it, under Player Properties it says Player 1 in a white box and etc. you erase it and put a space or whatever you desire
Garfield1337
12-07-2010, 12:48 AM
Well,i thought that changes name...sorry,blegh..
Anyway,it doesn't seem to work,it's true it doesn't show Player 1;Player 2 etc..
But in case it's a human player,it still shows name.
InfinateAnswers
12-07-2010, 12:50 AM
then look around, ive seen maps that dont show their name before, and im sure you will find it either in scenario, or in game play constants
Garfield1337
12-07-2010, 12:52 AM
If i could find it,then i wouldn't post here.
InfinateAnswers
12-07-2010, 12:53 AM
but i told u where to look..... fine ill look for it, even though i have a 15 page term paper due tomorow and i havnt even started\
Edit: Found it, under Game Interface, scroll down to Text - General 'Player' and Text - General 'Players' and make the values a space.
Garfield1337
12-07-2010, 12:54 AM
Lol im not rushing you+i have looked myself.
If you have work to do,don't let me disturb you.
EDIT: It's not really it,but i'll search in Game Interface and constans. Thanks a lot anyway.
InfinateAnswers
12-07-2010, 01:13 AM
check my last post
Garfield1337
12-07-2010, 01:18 AM
It's kinda hard to test because your solution works when player is computer,but not when it's human.
Thanks for the help,consider it solved,i don't want waste your time anymore :)
mckill2009
12-07-2010, 01:22 AM
Is there a way to make players unable to see owner of a unit by hovering cursor over the unit? I've seen this in couple of maps,it's very important for my map.
try OBJECT EDITOR >>> HIDE MINIMAP DISPLAY set to TRUE...
Garfield1337
12-07-2010, 01:24 AM
That hides minimap display,which means you won't be able to see the unit in minimap. That won't help.
InfinateAnswers
12-07-2010, 01:52 AM
Try changing the value Player Name to space, it might actually change their names, but you never know
Garfield1337
12-07-2010, 09:30 PM
InfinateAnswers,
Your solution does seem to work for computer players since it leaves blank text instead of player name,but not for human players. Actually,it doesn't even work for computer players whose name is changed by triggers,for example.
Is there a way to make players unable to see owner of a unit by hovering cursor over the unit? I've seen this in couple of maps,it's very important for my map.
So does anybody have solution to this? I'm pretty sure it's possible.
InfinateAnswers
12-07-2010, 10:05 PM
Have you tried under Art in object editor? may be theres something there that says "Show player name over unit" lol.
Garfield1337
12-08-2010, 07:00 PM
Solved thanks to Dark.Revenant. (http://www.hiveworkshop.com/forums/members/dark.revenant/)
It's the Game - Enable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
function.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.
Search Engine Optimization by
vBSEO 3.5.1 PL2