Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Greek2me

Pages: 1 [2] 3 4 5 6 7 ... 570
16
Add-Ons / Re: Slayer | New Bugfix Update
« on: September 04, 2018, 09:25:53 PM »
is there a way to make it so that when players on a specific team die, it plays a client sound for them? i want to have onMinigameDeath(team1) or something like that for a trigger so it only triggers if the player who dies is on team 1.

Maybe something like this:

onMinigameDeath -> Client -> VCE_IfValue <var:cl:team> == [team #]
onVariableTrue -> Client -> Playsound

I don't remember the exact VCE events but it should be similar to the above.

17
Add-Ons / Re: Slayer | New Bugfix Update
« on: September 03, 2018, 03:41:23 PM »
No, I think it might be a problem with the way that onVariableTrue detects the minigame. Try including all players' bricks in the minigame?

18
Add-Ons / Re: Slayer | New Bugfix Update
« on: September 02, 2018, 01:06:30 PM »
Hey Greek, how do I go about detecting when there's only one player left on a slayer team through events? Do I have to use VCE to do that? or is there a trigger event in slayer events for that.

Reason i'm asking is because i'm making a zombie survival gamemode and it's supposed to be that when there's only one human left alive it plays special music until they die.

Yeah, there's a VCE variable for it. <var:mg:teamLiving[1-6]>

So to get the number of players alive on team 1, use <var:mg:teamLiving1>

There's more VCE stuff listed in the Help tab of the GUI.

Anyone know how to get player persistence to work with slayer?

I looked into it a little but honestly I just don't have time to work on it.

19
Modification Help / Re: Finding Dynamic Fields on SimObject
« on: August 28, 2018, 09:47:06 PM »
Tagged fields? Sorry, it's been forever since I've worked with these.

Code: [Select]
%index = 0;
while((%field = %object.getTaggedField(%index)) !$= "")
{
//do stuff here
%index ++;
}

20
Add-Ons / Re: Blockland Glass 4.2
« on: August 28, 2018, 07:55:40 PM »
As always, thanks again to the community for continued support and faith in Glass. We're here for at least another year, so cheers to that.

Cheers!

21
Add-Ons / Re: Slayer | New Bugfix Update
« on: August 24, 2018, 04:17:30 PM »
player persistence doesn't seem to be working with slayer.

People don't rejoin where they left off they rejoin in the spawn room.

Scores and items don't save either.

I already told you this, but for anybody else reading, I don't think that's how persistence is supposed to work.

Any way I can set uniforms without being in a team?

What do you mean? Like, change your player appearance? What's your end goal?

22
Add-Ons / Re: /Ty's CityRPG - Fixed Version (Update 8/21, re-download)
« on: August 23, 2018, 08:05:55 PM »
This has been updated on my website. Anybody that has Support_Updater (so basically everyone) should see it as soon as they launch Blockland.

23
Suggestions & Requests / Re: V10 Trench wars
« on: August 12, 2018, 12:17:57 PM »

24
Add-Ons / Re: Slayer | New Bugfix Update
« on: August 10, 2018, 02:26:21 PM »
Excellent! Before trying just want to be sure, this only allows the event to modify the game. It doesn’t allow anybody to edit the game through the gui, right? If so that’s excellent ty and should be done bothering you hahah.

Yep, that's right!

25
Add-Ons / Re: Slayer | New Bugfix Update
« on: August 10, 2018, 02:19:23 PM »
Double post. Is there a way to make these events usable by everyone? Right now assume they’re only usable by those with edit permissions.

Glad it's working! Yeah, you can edit the file called "restrictedEvents.cs" in config/server/slayer. Look for this line:
Code: [Select]
$Slayer::Server::Events::RestrictedEvent__Minigame_Slayer_setPref = 1;
You can change it to one of these values:
Quote
-1=anyone with edit rights; 0=host; 1=super admin; 2=admin; 3=creator; 4=full trust; 5=build trust

You can also set it to "" to allow anybody to use the event, but I don't recommend that as it could be a security problem.
Code: [Select]
$Slayer::Server::Events::RestrictedEvent__Minigame_Slayer_setPref = "";
Save the file and (re)start Blockland.

26
Add-Ons / Re: Slayer | New Bugfix Update
« on: August 10, 2018, 09:52:36 AM »
Thanks for that. Going to test it out rn.
Edit: Doesn’t seem to work. Have tried with multiple file types. Version 4.1.4

The file type should be ".txt"

Look at the attached screenshot.

27
Add-Ons / Re: Slayer | New Bugfix Update
« on: August 10, 2018, 12:02:40 AM »
Is there a way of changing the games win conditions through events?
I.E. conditions are normally time and lives, though would like to be able to disable those for a round via events for some other win condition.

Probably did not describe very well but an example would be CS’s defusal gm. When Bomb is placed, win conditions are no longer all T/CT dead or time, rather the game creates a new condition being explosion / defusal.

There is a way to change minigame settings via events, but it's pretty hidden by default.

You need to create a file in config/server/Slayer called ".advancedEvents.txt". Note the period at the beginning. The contents of the file don't matter; it can be blank. This is just to prevent people that don't know what they're doing from destroying things.

Once you create this file and (re)start Blockland, you'll find a new event called Minigame->Slayer_setPref.

The event has three fields. The first is Category, the second is Title, and the third is Value. Each Slayer preference has a category and a title. For the lives preference, these would be "Victory Method" and "Lives", respectively.

So to set the lives to 5, for example, you would create an event like this:
Code: [Select]
onActivate -> Minigame -> Slayer_setPref [Victory Method] [Lives] [5]
Simple! You can find a complete list of preferences here or here.

TLDR: Possible, but requires some setup.

28
Add-Ons / Re: Slayer | New Bugfix Update
« on: August 07, 2018, 07:03:23 PM »
is there a reason why when I place rally points for bots they don't head for them

The functionality was actually removed. Sorry :/

29
General Discussion / Greek2me's Servers Online
« on: August 05, 2018, 08:39:27 PM »




Join. I dare you.

30
Add-Ons / Re: Slayer | New Bugfix Update
« on: July 23, 2018, 08:51:03 PM »
Here's a graph showing the number of users on each version. It's actually a lot better than I thought, with 55% of people having the very recent 4.1.3.

edit: excuse the formatting...

Pages: 1 [2] 3 4 5 6 7 ... 570