Staredit Network

Staredit Network -> UMS Assistance -> Ban and music system
Report, edit, etc...Posted by Joshgt2 on 2005-11-18 at 18:28:51
I got 2 questions and one of them involves the use of uberation and the other does not.

1. (uberation) I need a banning system in an online match. I have 4 players in the game and player 2 is not acting the best so I want to type in "ban2". I have an idea on how to do the text detection but I can't seem to get it to work... Here is what I want it to detect... Joshgt3: ban2 It is as simple that. I type in each line for the byte things but it still does not seem to work... Can someone guild me though this one please?

2. I want music in my map but it seems that with Hyper Triggers (x3) on the music will not work correctly. I am simply using a trigger like this...

Trigger
Description:
Music
Players:
¤ Any player
Conditions:
¤ Current player brings "at least" "1" "Music on" to "Music on"
Actions:
¤ Play wav "MD Music"
¤ Wait 27000 milliseconds
¤ Preserve Trigger

Yes the wait time is 27000 milliseconds because the music is 27 secounds long. I am not a big fan of death counters but this thing is not working too well with me... If I take hyper triggers off and set the wait time to around 16500 milliseconds then the music works fine. Can someone give me some help on this one as well? Thanks for the help guys.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-11-18 at 18:39:57
1st- Im not sure about EUD, im against all things anti-mac

2nd- Use a two trigger DC im not sure of the effects on waits so i would use the Deathcount.



Trigger
Description:
Death Count-Counter
Players:
¤ All Players
Conditions:
¤ Always
Actions:
¤ Add 1 death of an unused unit
¤ Preserve Trigger



Trigger
Description:
Wav Player
Players:
¤ All Players
Conditions:
¤ Player suffers at least 189 or 216 (couldnt remember if it was *7 Or *8) of unused unit
Actions:
¤ Play Wav.
¤ Set Dc of unused unit to 0
¤ Preserver trigger


those triggers should work without flaw. Now of course the music will start 27 seconds into the game but it saves you from adding a 3rd trigger.
Report, edit, etc...Posted by PCFredZ on 2005-11-18 at 18:43:43
QUOTE(Joshgt2 @ Nov 18 2005, 06:28 PM)
2. I want music in my map but it seems that with Hyper Triggers (x3) on the music will not work correctly. I am simply using a trigger like this...










Trigger
Description:
Music
Players:
¤ Any player
Conditions:
¤ Current player brings "at least" "1" "Music on" to "Music on"
Actions:
¤ Play wav "MD Music"
¤ Wait 27000 milliseconds
¤ Preserve Trigger

Yes the wait time is 27000 milliseconds because the music is 27 secounds long. I am not a big fan of death counters but this thing is not working too well with me... If I take hyper triggers off and set the wait time to around 16500 milliseconds then the music works fine. Can someone give me some help on this one as well? Thanks for the help guys.[/b][/color]
[right][snapback]358701[/snapback][/right]

Follow these instructions verbatim:
1. Copy the hyper triggers 3 times using the "copy" function; you don't have to change anything in the triggers.
2. Delete the original 3 hypers you had before.
3. Repeat these steps every time you create ANY new triggers that has at least 1 "Wait" action.

If you use Kept_wheat's method, i.e., using death counters: change it so that the wav plays when the death is 0, then change the count to 319, which is 27 * 11.8 (the CORRECT multiplier -_- ). This reversed method ensures the music plays when the game start.
Report, edit, etc...Posted by Joshgt2 on 2005-11-18 at 23:25:29
That simple? Thanks for the help but anything on the text detection?
Report, edit, etc...Posted by The_Shattered_moose on 2005-11-19 at 00:24:46
As I recall, you have to put in seperate values for every possible name length on the EUD front.
Report, edit, etc...Posted by I-X-King-X-I on 2005-11-19 at 00:27:24
might wanna check out the tut's, not sure if there is one, but might be handy/helpful
Report, edit, etc...Posted by Joshgt2 on 2005-11-19 at 10:02:55
I did check out the tutorials and nothing was there. I am still looking for something though.
Report, edit, etc...Posted by LegacyWeapon on 2005-11-19 at 10:07:01
We have tutorials for everything!
http://www.staredit.net/index.php?tutorial=125
Report, edit, etc...Posted by Joshgt2 on 2005-11-19 at 12:17:16
I know there is one for the music. I just got done going though that and almost finished with it in my map. But I need help on the ban system. I took the instructions from another user but they are not seeming to work on battle.net. Is it because the text detection won't work on battle.net or what?
Report, edit, etc...Posted by LegacyWeapon on 2005-11-19 at 12:41:28
You need to make a copy of the same triggers for every line.
The bytes would look like this.
Bytes 1-4: "Josh"
Bytes 5-8: "gt3:"
Bytes 9-12: " ban
Bytes 13-16: "2/0/0/0"

Using this on multiplayer may cause server splits.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-11-20 at 10:53:42
What is a server split? And why don't you just make a manual ban system in game? Or do you just want ONLY you to be able to ban people?
Report, edit, etc...Posted by Joshgt2 on 2005-11-20 at 10:59:12
Only me. Other people might not use it correctly.

So copy the same thing for every line eh? I will try that out.
Report, edit, etc...Posted by PCFredZ on 2005-11-20 at 11:31:01
QUOTE(Joshgt2 @ Nov 20 2005, 10:59 AM)
Only me. Other people might not use it correctly.
[right][snapback]360059[/snapback][/right]

Then it'd be a whole lot easier if you just put a secret location that leads to a "Banning Room".

Using text to ban someone is just a needless trinket that's more efforts than it's worth.

QUOTE(Finrod_Felagund @ Nov 20 2005, 10:53 AM)
What is a server split?
[right][snapback]360052[/snapback][/right]


I don't know why Legacy mentioned it if it gave more questions than answers. A server split is when the game "splits" for the players. Everyone who can use EUDs-- that is, Windows users --will stay in their game and see the other people "dropped", while everyone else who can't use EUDs-- Macs --will be in their own game and see the Windows users "dropped".
Report, edit, etc...Posted by Joshgt2 on 2005-11-20 at 11:54:39
I got my own secret banning system like you said. Thanks for the help guys
Next Page (1)