just stopped in to say hi before crow bans me

bawb
Posts: 39
Joined: Thu Feb 26, 2015 12:21 pm

just stopped in to say hi before crow bans me

Post by bawb »

:wavee:


Image


:crow:



still taking code requests if you know how to get ahold of me
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: just stopped in to say hi before crow bans me

Post by perrinoia »

What do you know about gui?
Image
bawb
Posts: 39
Joined: Thu Feb 26, 2015 12:21 pm

Re: just stopped in to say hi before crow bans me

Post by bawb »

That it is a pain in the fucking ass. And that you can edit them when you make a proper script to pair alongside of editgui(); but ive never tried it past coding huds and stuff



er guiedit(); ?? I don't remember.
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: just stopped in to say hi before crow bans me

Post by perrinoia »

I'm trying to replace the old 2d item huds with 3d items.

As you can see, I figured out how to add 3d rotating items to the playgui.
However, I don't know how to control them.
By default, when i open the K menu then click and drag on the screen, the item rotates in ways I don't need it to do...
I want the 3d shapes to move around the screen when I click and drag them, like any other hud element.

Currently, I have 4x 3d shapes in my playgui with fixed positions (I only know how to change by editing the cs file), but I can change which item it displays, and whether or not it is visible, via the console.

When I connect to a server for the first time, I want to be able to generate one 3d shape, one text hud, and one radio button for each item in the server's mod. The 3d shapes should be visible only when item count is greater than zero AND the corresponding radio button is ON, OR the k menu is visible. The text huds should be visible only when item count is greater than 1 OR the k menu is visible. The radio buttons should be visible only when the k menu is visible. All 3 elements should move together, when dragged and dropped. And all of these objects should be saved in a separate file for each server mod.

If you know how to any part of this, lemme know so I can start piecing this script together.
Image
bawb
Posts: 39
Joined: Thu Feb 26, 2015 12:21 pm

Re: just stopped in to say hi before crow bans me

Post by bawb »

Whatever you posted didn't show up


feel free to email me any code or stuff you have and I can take a look/see what I can do.
ryansvideoblog@gmail.com
Groove
Posts: 218
Joined: Thu Apr 17, 2014 10:36 pm

Re: just stopped in to say hi before crow bans me

Post by Groove »

dang bawbs still alive!

ay bawb you wouldn't happen to know a way to set the chat input popup width? seems to ignore settings in play.gui and always resets back to 370, only had luck changing it with a plugin
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: just stopped in to say hi before crow bans me

Post by perrinoia »

Isn't the width reset every time it receives a message? Perhaps you can attach to that event to prevent it from resetting.
Image
Groove
Posts: 218
Joined: Thu Apr 17, 2014 10:36 pm

Re: just stopped in to say hi before crow bans me

Post by Groove »

if you set it in tree(); it seems to stick for your play session but then resets when u exit

i see a spot in the .exe where it resets it on create/destroy and i can patch that but there's gotta be an easier way
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: just stopped in to say hi before crow bans me

Post by perrinoia »

Can you write a script that replaces that function in the exe?
Image
Groove
Posts: 218
Joined: Thu Apr 17, 2014 10:36 pm

Re: just stopped in to say hi before crow bans me

Post by Groove »

well thats what im thinking is, if the value can be set in tree(); and it works, it must be able to be set somehow by script

i just have no idea how :hbeat:
Post Reply