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

Pages: [1]
1
Modification Help / Re: Overriding the default 32x32 cross-hair size
« on: September 21, 2017, 12:38:04 AM »
The crosshair on your screen is a GUI object. Its name is "Crosshair".

To accomplish what you're trying to do you'll need to resize the object. You can do this by calling resize(x, y, w, h) on it.

Example: Crosshair.resize( getWord(Crosshair.position, 0), getWord(Crosshair.position, 1), 128, 128);

The first two arguments are the position of the object, all I did was make it stay where it already was but keep in mind if you're resizing the object it's not going to be centered how you want it anymore. You'll have to offset it. You're also going to have to figure out when to run this code, look into when the crosshair is added (hint: onAdd).

I have absolutely next to no modding experience, but I'm gonna give this a swing. I've been trying to read up on how to go about scripting this, I'm only worried that this is too much effort for a cross-hair design! XD

2
Modification Help / Re: Overriding the default 32x32 cross-hair size
« on: September 21, 2017, 12:36:11 AM »
what happens if you change resolution?
does the crosshair get resized/moved, or deleted and readded?

When it is resized the cursor becomes smaller relative to the resolution change, almost as if the dpi in the image changed. i resized it 4x bigger so it was 4x smaller.

3
Modification Help / Overriding the default 32x32 cross-hair size
« on: September 20, 2017, 02:24:40 PM »
 I had the idea to add a functional rangefinder next to my cross-hair like you would find in many precision rifle scopes, just something to get an estimate for distance of another player for fun and possibly a small amount of usefulness. When i created the cross-hair i assumed that enlarging the window of the cross-hair wouldn't affect the actual in-game size of the cross-hair but i was wrong, i increased the window from 32x32 to 128x128 to fit everything in, so obviously the cross-hair is 1/4 the normal size, completely negating the usefulness of the rangefinder. Is there any way to override the 32x32 default window?



A picture of the cross-hair at 128x128, each dot/hash denotes 100, 150, 300, and 400 studs respectively. I do intend to re-evaluate the space between distances as 100-150 isn't a very practical distance gap, this cross-hair was more of a test than anything.

4
General Discussion / Re: Overriding the 32x32 Cross-hair Size
« on: September 20, 2017, 02:21:48 PM »
You're probably right, I'll throw it up there.

5
General Discussion / Overriding the 32x32 Cross-hair Size
« on: September 19, 2017, 11:34:55 PM »
Today I had the idea to add a functional rangefinder next to my cross-hair like you would find in many precision rifle scopes, just something to get an estimate for distance of another player for fun and possibly a small amount of usefulness. When i created the cross-hair i assumed that enlarging the window of the cross-hair wouldn't affect the actual in-game size of the cross-hair but i was wrong, i increased the window from 32x32 to 128x128 to fit everything in, so obviously the cross-hair is 1/4 the normal size, completely negating the usefulness of the rangefinder. Is there any way to override the 32x32 default window?



A picture of the cross-hair at 128x128, each dot/hash denotes 100, 150, 300, and 400 studs respectively. I do intend to re-evaluate the space between distances as 100-150 isn't a very practical distance gap, this cross-hair was more of a test than anything.

6
General Discussion / Re: Commemorating the life of Thorfin25
« on: April 28, 2015, 10:27:55 PM »
So this happened on the memorial server :P
In poor taste if you ask me...


Ignorance kinda pisses me off. when you see that someone committed Self Delete in the MOTD, at least take it with a grain of salt.

7
General Discussion / Re: Commemorating the life of Thorfin25
« on: April 28, 2015, 04:18:30 PM »
Man, idk if im ever gonna forget him. tbh, he was one of the most inspiring people ive ever met. he was skilled as hell. BL won't ever be the same without him to me.

8
General Discussion / Re: Commemorating the life of Thorfin25
« on: April 27, 2015, 10:45:09 PM »
Hi, I'm Sampi. I dont quite think i knew Thor on a personal enough level to call him a "close" friend but we definitely shared some laughs. Thor was an amazing person. He always seemed to know what to do and how to do it with humor. He was extremely skilled with words, code, building, and was one of the most experienced people ive ever met. Thor, no matter who was on the server, always made it fun. He, a player named Xdere and I were commonly found on Glass' Island Fortwars up untill a few months ago when the owner gave up on the server. Honestly, that server with the presence of those other two players always made me happy. I don't joke when i say i am diagnosed with clinical depression, but every time i logged on they both had a way of making me smile. whether it was building an impenetrable volcano base or continually Annoying Orangeing Scotty_Diam's crappy pilot skills, we always had a good time. I know its not much, but heres a picture of me, him, Xdere, & stratofortress when we found an interesting bug in Strat's coding. R.I.P. Thor, I'll miss you man <3

9
Drama / Re: Xdere crashed a server
« on: January 29, 2015, 10:54:23 PM »
"Internet drama and interpersonal problems."... damn, was that server crash that emotionally devastating to you?

11


so um... fite me m80?

Pages: [1]