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 - Crwn

Pages: [1] 2 3 4 5 6 ... 225
1
Suggestions & Requests / Re: HatMod UI (Menu) CONCEPT
« on: May 04, 2018, 01:18:13 PM »
If you look at menu.cs of my jailbreak client you can see how I did this.

2
Help / Re: Can you "Log in" to blockland's demo via key?
« on: April 18, 2018, 08:22:57 AM »
As long as both computers are on the same network, yes. IIRC, if there are two different computers on two different networks using the same key, the key will be revoked.
Well you can use your key on different networks all you want, just not at the same time. Its not going to automatically revoke you either, the worst thatll happen is youll both get kicked out of the server.

3
Help / Re: Can you "Log in" to blockland's demo via key?
« on: April 13, 2018, 08:55:23 AM »
Yes.

4
Sounds like an issue with the Jailbreak client, not the number of add-ons you have. Client sided add-ons shouldn't affect how many server sided add-ons you can run.

If you could add me on Discord (Drake#7415) I'd be happy to help figure out what is causing the issue, as you might not be the only person affected by this.

5
Modification Help / Re: Adding image overlay/GUI to screen
« on: March 03, 2018, 12:12:38 PM »
Actually I got it to show up in-game :) Thanks. But now I would like it to resize itself according to other player's screen resolutions so it's not getting cut off for being too big or being too small an image for the screen coverage. I thought I could do this by using the getExtent method on PlayGui and then use the width and height return from that to resize the bitmap. But I'm having trouble figuring it out as it gives me an error saying "PlayGui::getExtent--wrong number of arguments" or some such. Any idea how I would fix this? I'm using this reference (GuiControl - Page 298): http://greekmods.webs.com/docs/Appendix%20A%20-%20Quick%20References.pdf
PlayGui::getExtent(%this) is the definition of the function. It requires an object %this to be called. Most of the time you are using an object's method you can just call it right on the object like this: playGui.getExtent();. The function that I normally use to get the resolution of the client's screen is getRes() though.

6
Modification Help / Re: Adding image overlay/GUI to screen
« on: March 03, 2018, 11:16:38 AM »
Ah ok setBitmap is what I was looking for then :) So I can still save the gui as any name I want or do I have to save it as the default PlayGUI for example?
Well that really depends on what you're trying to do. You can add a bitmap control to any GUI in Blockland to make your image appear. The PlayGUI example was just assuming you wanted to have the image on your screen while in a server. It doesn't have to be like that, you could put the image in a menu that you open with a keybind.

7
Modification Help / Re: Adding image overlay/GUI to screen
« on: March 02, 2018, 09:25:11 AM »
More specifically, you'll want to create a GuiBitmapCtrl and use the setBitmap(image_path) method on it. From there you can add it to the PlayGUI (or whatever GUI you want) to have it appear in your game.

8
Drama / Re: .22rain (BL-ID: 42431) (tagging alot on glass
« on: February 03, 2018, 07:48:26 PM »
Banned.

9
Help / Re: I cannot see texts in Blockland Glass.
« on: February 01, 2018, 05:44:31 PM »
Fonts should be located in Blockland/base/client/ui/cache. Could you look to see if you have:
Verdana Bold_12
Verdana_12

Please also post a console.log of this happening.

10
Add-Ons / Re: Dark Skin for Blockland Glass
« on: January 30, 2018, 08:15:20 PM »
I didn't notice that one, should be better now:

11
Add-Ons / Dark Skin for Blockland Glass
« on: January 30, 2018, 05:25:43 PM »
Dark Mode for Blockland Glass*

I felt that Glass was way too bright so I made it darker. Since this is a blanket dark mode for everything Glass, some things don't look so great.
Most of the things you use everyday should look decent enough though. If anyone notices some small things that should be fixed I'll get to it, but many of the GUIs are hard to modify.
Download

Pretty good:


Not so great:


*not associated/supported by Blockland Glass

12
General Discussion / Re: Glass' Trench Wars
« on: January 24, 2018, 12:54:32 PM »
Admins have a command that lets them dig/place blocks much faster than normal people. One if not more of the admins were definitely doing so when I was on. Not sure why you cant just remove the command.

As for the FOV thing its absolutely ridiculous to expect us to change our FOV just because of your poorly coded server. It wouldnt even be that hard to remove or even properly fix the issue.

13
Drama / Re: The goddamn stuffposters on Blockland glass
« on: January 23, 2018, 09:20:24 AM »
Removed the carrot stuff. I banned him and SCOOBERT DOOBERT#3731 (Spunky) for trolling.

The description of #general was created before #memes, I've edited the description to make it clear its for Blockland related content.

14
Modification Help / Re: GuiObjectView's mountObject
« on: January 09, 2018, 05:37:18 PM »
It seems like giving it a name just makes it crash? I wish this thing would give me errors instead of just quitting.

15
Modification Help / GuiObjectView's mountObject
« on: January 08, 2018, 10:24:29 PM »
I'm trying to use the following function:
GuiObjectView::mountObject(%this, %name, %model, %skin, %parentName, %nodeName, %detailLevel)

This is what I'm doing as a test:
Code: [Select]
function objViewTest()
{
if(isObject(objViewTest))
objViewTest.delete();

%this = new GuiObjectView(objViewTest)
{
position = "600 200";
extent = "300 600";

lightColor = "1 1 1 1";
lightAmbient = "0.5 0.5 0.5 1";
lightDirection = "0 0.707 -0.707";
orbitDiststance = "2";
};

MainMenuGui.add(%this);
%this.createBlockhead(-1, 1);
  %this.schedule(0, "setOrbitDist", 5.5);
  %this.schedule(0, "setCameraRot", 0.22, 0.5, 2.8);

  %this.schedule(1500, "mountObject", "", "Add-Ons/Gamemode_Jailbreak/datablocks/hats/TV/TV.dts", "", "", "head", 100);
}

The createBlockhead function is from Blockland Glass, it just loads the object like this:
%this.setObject("", "base/data/shapes/player/m.dts", "", 100); and sets the avatar.

The last line of my test function is where mountObject gets used, I've tried entering nothing for %lod as well as 100. It's possible I'm just not using the correct %nodeName, but using things like "head" or "rfoot" crashes me. Everything else gives an error.

If you want to try this out just have Glass on your client and run this code at the main menu. I tried out a few different models but maybe someone else knows how to use this?

Pages: [1] 2 3 4 5 6 ... 225