I am creating a dialog, which I've assignet a custom background for, but I also want to to fill the empty space inside it with an image, I've tried creating a dialog image, but it lays on top of the border of the dialog, is there any way to make it lay underneath the dialog border?
Currently this is my trigger:
You might want to post some of the triggers you are using, I cant tell much from the video you have shown (though it's good to have a video to see the actual error).
I made a voting system some time ago, which finds the average vote of all votes cast after a specified amount of time. I do not expect anything but maybe one person finding it usefull, but I thought I'd put it out here :)
When launching the map, a dialog will be shown for all players, where they can vote. Each vote will increase a global value by a value specific to the vote.
For instance voting Very Easy will increase the value by 1, while voting Hard will increase it by 4.
After the vote time has passed, the global value will be devided by the amount of people who have voted, and the average will be found.
When the average have been found a trigger will determine what difficulty value should be set.
So if 1 person votes Very Easy (1) and 1 person votes Normal (3) the average will be 2, and the difficulty will be set to Easy (2).
Right now the only thing happening when voting is to display a Text Message displaying what the final result is, but to set a difficulty you could easily just set an upgrade for a player, or allow/disable a behavior, depending on what difficulty is set.
I could most likely create a system like this pretty fast with a dialog. You will just have to create 5 global integer variables with array room enough for each player (16).
1 for the Attribute Points Remaining to spend.
and then 4, 1 for each attribute.
Then create a trigger that increases the Attribute Points Remaining by 5 when your unit gains an expirience level.
Then you will have to create 4 buff behaviors (1 for each attribute) that each will increase the coresponding attribute by 1, make it stack as many times as possible.
Then you will have to create a dialog with 4 buttons, 1 for each attribute. Then make the buttons add the attribute to the unit when a player uses the button, and increase the amount of the global variable coresponding to attribute, with 1. You will have to add a condition that checks if the Attribute Points Remaining is higher than 0.
Then you could also add a label that displays the amount of attribute points remaining, and maybe make the dialog toggle able with a button, or a hotkey.
This will only work for 1 unit for each player though.
I can make it for you, but I want to know if you can use it before I make it though ;)
I made a system for voting some time ago, as a tutorial. It will let all players vote for the difficulty in the start of the game, and then take the average.
For instance if you got 3 difficulties;
Easy
Normal
Hard
if one votes easy and one votes hard, the final result will be normal.
The way this works is to give each difficulty a number, and when a player votes, add the number coresponding to the option selected, and then when they are done, take the final amount, and devide it by the amount of players who voted.
EDIT: Sorry for necro posting, was browsing some post to look for something, while I was browsing the most recent posts, so mixed it up.
Is it possible to create new tabs in the help menu?
I have removed the race info tabs, now I only got the TIPS tab, but I want to create an additional tab named "Attributes", how can I do this?
I imported your library, and I can make it show me my resolution, but now when I try to create a dialog, I am setting it up like this, and It does not create a dialog.
Well, yeah - might've expressed myself wrong. I should not have posted here, because it turned out I did not solve it with a custom script at all (And had more with triggers than galaxy scripting to do).
I used the Catalog Field Value Set action. With that you can change the data for a specific player, so for instance increase the damage of an effect only for player 1.
I copied over your effect, and tried to set my persistants to the same as yours, but I couldnt get it to work. So I ended up just completely copying your spell, and modifying it from there :) thank you.
EDIT: I think I figured out what caused it. For some reason, I cant make a missile launch from a 0,0,Z offset, the X value has to be something else than 0.
0
Thank you :) But I found another solution, I just found an image and set it to a border.
0
I am creating a dialog, which I've assignet a custom background for, but I also want to to fill the empty space inside it with an image, I've tried creating a dialog image, but it lays on top of the border of the dialog, is there any way to make it lay underneath the dialog border? Currently this is my trigger:
0
You might want to post some of the triggers you are using, I cant tell much from the video you have shown (though it's good to have a video to see the actual error).
0
I made a voting system some time ago, which finds the average vote of all votes cast after a specified amount of time. I do not expect anything but maybe one person finding it usefull, but I thought I'd put it out here :)
When launching the map, a dialog will be shown for all players, where they can vote. Each vote will increase a global value by a value specific to the vote. For instance voting Very Easy will increase the value by 1, while voting Hard will increase it by 4. After the vote time has passed, the global value will be devided by the amount of people who have voted, and the average will be found. When the average have been found a trigger will determine what difficulty value should be set.
So if 1 person votes Very Easy (1) and 1 person votes Normal (3) the average will be 2, and the difficulty will be set to Easy (2).
Right now the only thing happening when voting is to display a Text Message displaying what the final result is, but to set a difficulty you could easily just set an upgrade for a player, or allow/disable a behavior, depending on what difficulty is set.
0
@msong7229: Go
http://www.thehelper.net/threads/diablo-style-stat-system.157925/
Here you go ;) I'll post it on SC2Mapster aswell, but that will be tomorrow.
0
@msong7229: Go
I mean that if this is not the kind of system you need, I dont want to waste time creating it ;)
NOTE: The system I'm making will only work for 1 unit per player, btw.
0
@msong7229: Go
I could most likely create a system like this pretty fast with a dialog. You will just have to create 5 global integer variables with array room enough for each player (16). 1 for the Attribute Points Remaining to spend. and then 4, 1 for each attribute.
Then create a trigger that increases the Attribute Points Remaining by 5 when your unit gains an expirience level.
Then you will have to create 4 buff behaviors (1 for each attribute) that each will increase the coresponding attribute by 1, make it stack as many times as possible.
Then you will have to create a dialog with 4 buttons, 1 for each attribute. Then make the buttons add the attribute to the unit when a player uses the button, and increase the amount of the global variable coresponding to attribute, with 1. You will have to add a condition that checks if the Attribute Points Remaining is higher than 0.
Then you could also add a label that displays the amount of attribute points remaining, and maybe make the dialog toggle able with a button, or a hotkey.
This will only work for 1 unit for each player though.
I can make it for you, but I want to know if you can use it before I make it though ;)
0
I made a system for voting some time ago, as a tutorial. It will let all players vote for the difficulty in the start of the game, and then take the average.
For instance if you got 3 difficulties; Easy Normal Hard
if one votes easy and one votes hard, the final result will be normal.
The way this works is to give each difficulty a number, and when a player votes, add the number coresponding to the option selected, and then when they are done, take the final amount, and devide it by the amount of players who voted.
EDIT: Sorry for necro posting, was browsing some post to look for something, while I was browsing the most recent posts, so mixed it up.
0
Is it possible to create new tabs in the help menu? I have removed the race info tabs, now I only got the TIPS tab, but I want to create an additional tab named "Attributes", how can I do this?
0
@b0ne123: Go
Thank you :)
0
@BasharTeg: Go I dont want to increase the size of the dialog, I want to make it allign to the right edge,
@Monkalizer: Go I have already made the dialog, the only problem I got is that I can not make the text allign.
0
I want to allign the text in a dialog label. I want the dialog to show some stats, and this is what happens now:
0
I cant seem to get this to work?
I imported your library, and I can make it show me my resolution, but now when I try to create a dialog, I am setting it up like this, and It does not create a dialog.
I DID run both the setup and refresh action at initialization. Any idea why this is not working, or do I have to use another method.
0
Well, yeah - might've expressed myself wrong. I should not have posted here, because it turned out I did not solve it with a custom script at all (And had more with triggers than galaxy scripting to do).
I used the Catalog Field Value Set action. With that you can change the data for a specific player, so for instance increase the damage of an effect only for player 1.
0
@abvdzh: Go
I copied over your effect, and tried to set my persistants to the same as yours, but I couldnt get it to work. So I ended up just completely copying your spell, and modifying it from there :) thank you.
EDIT: I think I figured out what caused it. For some reason, I cant make a missile launch from a 0,0,Z offset, the X value has to be something else than 0.