2,254 Results
What you proposed worked just as I wanted it to work. Thank you!
Hugabuga Programming Reply
The teammate is the target.
Hugabuga Programming Reply
Here we go again Is it possible to use AddForceAtPosition, and add extra force to the ball, but without messing up the position the ball is supposed to head towards? Vector3 force = new Vector3(teammate.position.x * passingForce.x, teammate.position.y * passingForce.y, teamm...
Hugabuga Programming Reply
I should of figured that out, it's kind of obvious and worked. Thanks!
Hugabuga Programming Reply
That actually worked, at least for the minutes and partly for seconds. This is how it looks: if (GameManager.GameOn) { curPlayedTimeMins += ((5400 * Time.deltaTime) / playTime) / 60; curPlayedTimeSecs += ((5400 * Time.deltaTime) / playT...
Hugabuga Programming Reply
I always choke when it comes to math, so please help. Basically, I'm making a simple soccer game using C# in Unity. A regular soccer match is 90 minutes, but my games matches will last for 5 minutes, but the timers text will still gradually go from 0 to 90, just like it is...
Hugabuga Programming Reply
Nice of you to do this. I love prophunt and I'll definitely try it, the prop rotation is a great feature which I think was lacking in the old one. And your voice is funny
Hugabuga Game Modes Reply
[QUOTE=JasonMan34;52896734]Is it only with your server? Are you connecting through the server menu or through IP address? What about your client console? Sometimes a bad addon could cause issues Could never hurt to paste it here[/QUOTE] Works fine with other servers, a...
Hugabuga Developing Reply
[QUOTE=JasonMan34;52896705]Check your console and the server console, you could probably find some info there[/QUOTE] Forgot to mention that, can't seem to find anything on the console. Says that I connected and everything, and as soon as I cancel on Sending Client Info it...
Hugabuga Developing Reply
Not really a lua question but oh well, installed a GMod dedicated server using SteamCMD, the server starts fine but when I try joining locally, it kind of gets stuck on Sending Client Info. I can press cancel and the game doesn't freeze. Just doesn't go past it. Anyone got any...
Hugabuga Developing Reply
[QUOTE=Drury;51806889]Is your animation set up so you can't move the elements around? In this situation I'd just grab the title, get it in a proper position, round up its coordinates and then adjust the animation accordingly. Seems to me like a matter of just meddling with the...
Hugabuga Programming Reply
[QUOTE=Persious;51719887]I'm rather new to Unity, and I'm messing with animations for a android game. What I'm trying to do is having textboxes that start outside the screen, and "roll" onto the screen. I've set everything up, and did the animation, but it doesn't work as I...
Hugabuga Programming Reply
I'm rather new to Unity, and I'm messing with animations for a android game. What I'm trying to do is having textboxes that start outside the screen, and "roll" onto the screen. I've set everything up, and did the animation, but it doesn't work as I want it to. The anima...
Hugabuga Programming Reply
I'm rather new to Unity, and I'm messing with animations for a android game. What I'm trying to do is having textboxes that start outside the screen, and "roll" onto the screen. I've set everything up, and did the animation, but it doesn't work as I want it to. The anima...
Hugabuga Programming Reply
[QUOTE=Moat;51161854]Try using these on the frame, not the text entry. [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Panel/SetKeyboardInputEnabled]Panel:SetKeyboardInputEnabled[/url] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url...
Hugabuga Developing Reply
[QUOTE=Moat;51160531]This might work: [url]https://github.com/garrynewman/garrysmod/blob/784cd57576d85712fa13a7cea3a9523b4df966b0/garrysmod/lua/vgui/dtextentry.lua#L312[/url][/QUOTE] Tried it, same problem.
Hugabuga Developing Reply
If I have a DTextEntry and I do not call MakePopup on the frame that the DTextEntry is parented on, but rather I use gui.EnableScreenClicker, how could I make it possible to click on the DTextEntry and type into it?
Hugabuga Developing Reply
[QUOTE=darpeyface;51156939]theres no other option for DPanels besides SetBackgroundColor [url]http://wiki.garrysmod.com/page/Category:DPanel[/url][/QUOTE] There's also a Paint() function for Panels.
Hugabuga Developing Reply
[QUOTE=darpeyface;51156866]so [CODE]timer.Create( "DeathCoughTimer", (RandomAidsDeathTime) - 30, 1, function() surface.PlaySound( "ambient/voices/citizen_beaten4.wav" ) FoggyVision:SetBackgroundColor( Color(255, 255, 255, 100) )[/CODE] and [CODE]local FoggyVision = vgui...
Hugabuga Developing Reply
Uh, is it possible to make DIconLayout only go horizontal?
Hugabuga Developing Reply
[QUOTE=cartman300;51146773]No, if you look closely it just swaps each index sequentially with a random index.[/QUOTE] Yeps, I can see it now, I screwed it up myself!
Hugabuga Programming Reply
[QUOTE=Fourier;51146106][code] for(int i=0;i< list.Count;i++) { int randomIndex = randomInt(i, list.count); // swap i and randomIndex var obj = list[randomIndex]; list[randomIndex] = list[i]; list[i] = obj; } [/code] This could be made...
Hugabuga Programming Reply
What's the best way to shuffle a List in C# (Unity)?
Hugabuga Programming Reply
I'm having a bit of trouble with Unity C, and I'm really new to C# and don't understand that much. What I'm currently working on is a game for parties. Now, I made a Settings scene containing 3 checkboxes (Questions, Games and Dares), and you can toggle/untoggle them. Th...
Hugabuga Programming Reply
You are setting the alpha color to 0 which will make it invisible, so do it like this draw.SimpleTextOutlined("CIVIL GAMERS", "cg", 140, ScrH() - 150, Color(255,255,255), TEXT_ALIGN_LEFT,TEXT_ALIGN_LEFT,1, Color(0,0,0,255))
Hugabuga Developing Reply
[QUOTE=BillyOnWiiU;49971603][lua]for _,v in pairs(ply:GetWeapons()) do print(v:GetClass()) end[/lua] ?[/QUOTE] Fucking shit, I didn't even think about that lol
Hugabuga Developing Reply
I'm having trouble giving weapons assigned to a table using Player:GetWeapons() back to a player by looping through the table. The tables output looks like this: [lua] 1 = Weapon [41][weapon_crowbar] 2 = Weapon [42][weapon_pistol] 3 = Weapon [82][weapon_smg1] 4 = Weap...
Hugabuga Developing Reply
[QUOTE=tyguy;48299145]Waittttt, what happens when we log off?? Does our ship still stay?[/QUOTE] Yeah the ships stay. Pretty neat feature, and fun to find players on planets.
Hugabuga Addons Reply
[QUOTE=Tripleskit;48294236]It would be cool to able to tell what upgrades do before you upgrade something. This is more in regards to planet-specific upgrades like Core Heater and Tide Analyzer. [editline]25th July 2015[/editline] It was only about 40 systems man. Y...
Hugabuga Addons Reply
I'm having a blast on the server. I can't wait to get my own colony!
Hugabuga Addons Reply
I'm going to test it out right now, pretty damn excited.
Hugabuga Addons Reply
[QUOTE=PortalGod;48191002]this would look great with a better font/s[/QUOTE] I'm still trying to find fonts that'll fit
Hugabuga Developing Reply
[QUOTE=ms333;48190547]Looks good. You should style the scrollbars and close button to match your style. And maybe try to position the minus and plus better in your stats buttons.[/QUOTE] Yeah I was thinking about styling the scrollbars, but the close button is there for ...
Hugabuga Developing Reply
I'm working on a War gamemode for educational purposes, and this is the creation menu: [img_thumb]http://i.imgur.com/iXSCT6W.jpg?[/img_thumb] What do you guys think? Should I change something or what?
Hugabuga Developing Reply
[QUOTE=CabooseRvB;48188600]While there were cases of women and children being evacuated, bodies of both are still being discovered in mass burials. The victims were still targeted because of their background and ethnicity.[/QUOTE] But if they did let them go, how come ...
Hugabuga Polidicks Reply
[QUOTE=CabooseRvB;48187770]The Holocaust shouldn't be a 'standard' for what determines genocide.[/QUOTE] I understand what you mean, but as I've understood, the serbs let women and kids go, and then slaughtered the men, does that still count as a genocide?
Hugabuga Polidicks Reply
[QUOTE=wewt!;48187057]You shouldnt ask yourself why we post in threads relevant to us, you should ask yourself why only threads with news about us that get posted are like this. [editline]12th July 2015[/editline] bosnia isnt just about genocide and floods you know [e...
Hugabuga Polidicks Reply
[QUOTE=MegaTronJohn;48187115]Playing around with SetCamPos and SetLookAt can be a bitch with weapon models. For some reason weapon models always seem to be displayed MUCH smaller than the DModelPanel's size itself, so just play around with SetLookAt and SetCamPos. But beware, ...
Hugabuga Developing Reply
I'm stressing myself the fuck out. I'm using a DModelPanel and want to display a weapon without rotation, and show the side of it but I can't figure it out. [lua] local WeaponModel = vgui.Create( "DModelPanel", ListItem ) WeaponModel:SetPos(90, 0) WeaponModel...
Hugabuga Developing Reply
[QUOTE=JumpinJackFlash;48182419]All I know is that this thread is full of obscure flags. Bosnia, Faroe Islands, Slovenia, Croatia... Normally everyone forgets that you guys even exist outside of something to do with the war(s) which is kinda sad. Except for the Faroese, of ...
Hugabuga Polidicks Reply
[QUOTE=AntonioR;48180608]This is one of those extreme posts when you can't really tell if the poster is a delusional idiot, or he's being sarcastic or something.[/QUOTE] I might be a delusional idiot.
Hugabuga Polidicks Reply
[QUOTE=BlackMac;48180122]He should try admitting it was genocide first.[/QUOTE] I disagree on it being genocide. Yes, it was horrible, it's absolutely a war crime and the people behind it, like Ratko Mladic absolutely need to be punished for it. But what happened to the jews...
Hugabuga Polidicks Reply
Did you even read through your code? It's not categorises
Hugabuga Developing Reply
p1:SetNWInt ('level', p1:GetNWInt ('level') + 1) this should work
Hugabuga Developing Reply
Im always listening to his song when I'm working.. Rest in peace Ben!
Hugabuga Polidicks Reply
[QUOTE=Jsm;47362698]The video / photos that the BBC managed to get from a plane further north than the Faroe Islands is really impressive. I shall post a link if I can find it. Wait we have members from the Faroe Islands? For some reason that surprises me.[/QUOTE] ...
Hugabuga Polidicks Reply
It was amazing here in the Faroe Islands, once in a lifetime experience for sure.
Hugabuga Polidicks Reply
Its's happening here in about 30 minutes!
Hugabuga Polidicks Reply
This looks awesome!
Hugabuga Addons Reply
I'm making a third person game, and I'm using click-to-move. For some stupid ass reason the character goes crazy most of the time, and I have no idea why. If I increase the distance in Vector3.Distance the character won't go crazy as often, but the position where the charac...
Hugabuga Programming Reply
I'm making a third person game, and I'm using click-to-move. For some stupid ass reason the character goes crazy most of the time, and I have no idea why. If I increase the distance in Vector3.Distance the character won't go crazy as often, but the position where the charac...
Hugabuga Programming Reply
I'm struggling to figure out how I can get a camera to follow a specific object, and if I click on another object, it will follow that object instead. I'm totally blank on how to do it. Could someone elaborate?
Hugabuga Programming Reply
[QUOTE=shutter_eye5;46873299]Liveleak (full video - including moment of detonation): [B][U]Please note: Graphic content in linked video, view at your own discretion.[/U][/B] [URL="http://www.liveleak.com/view?i=19c_1420559522"]http://www.liveleak.com/view?i=19c_1420559522[/...
Hugabuga Polidicks Reply
It's nothing specific, I'm just wondering which ones are good out there if you want to teach yourself within the mobile world.
Hugabuga Programming Reply
Just a general question, if I'd want to create a regular application on a mobile, which software (For example Xamarin) would you prefer?
Hugabuga Programming Reply
my report worked, it seems :>
Hugabuga Polidicks Reply
Do people have to pay for my script for me to see if my developer settings are working, or can they for example get as far as checking out, or what?
Hugabuga Developing Reply
A fun playerbase, no matter the gamemode. If you have a fun time with other players, you will enjoy playing there.
Hugabuga Garry's Mod General Reply
[QUOTE=Banana Lord.;46008673]It's just important to say [i]what[/i] isn't working rather than leaving everyone to guess. I don't have a developer description and I really doubt Matt would rather you say "script header editing doesn't work" and just start taking wild stabs at ...
Hugabuga Developing Reply
[QUOTE=Banana Lord.;46008479]Okay this isn't even my site and this bug report is making me angry. [i]What[/i] doesn't work? How can it be reproduced? What are the [i]exact[/i] steps? I imagine, however, based on another post from the other page, that the image proxy Ma...
Hugabuga Developing Reply
Does updating a script header work? It doesn't seem to work for me.
Hugabuga Developing Reply
I'd say MoronYard due to it being very original and has a lot of great people there.
Hugabuga Garry's Mod General Reply
[QUOTE=QwertySecond;45874609]I remember this shit, it was doing the rounds on facebook a few months back. The Faroe islands have about 2% of arable land for 48,000 residents, and event that doesn't grow produce very well. The Pilot whales have been a valuable source of food f...
Hugabuga Polidicks Reply
[QUOTE=426_Hemi;45864438]Sorry by advance, but in my biased mind, the grinds sound like making a whole shoal of whales run aground on the beach and once they can't escape running at them knife at hand and stab the shit outta them until they die. This debate kind of remind...
Hugabuga Polidicks Reply
[QUOTE=JohnnyMo1;45855617]Not only that, but the amount they hunt each year is a very small portion of the pilot whale population. It's likely sustainable. [b]I think some complaints could be made about the humaneness of the actual killing[/b], but you could make that same...
Hugabuga Polidicks Reply
[QUOTE=Virtanen;45855821][img]http://puu.sh/bfWJH/00d1e9f736.png[/img] :I[/QUOTE] All those "thumbs up", too.
Hugabuga Polidicks Reply
[QUOTE=Riller;45855722]Dang, didn't know you guys had a functioning flagdog, kinda thought FP would just slap you in with Denmark :v:[/QUOTE] Funny enough, we do :P [editline]31st August 2014[/editline] [QUOTE=426_Hemi;45855672]Well maybe I watched whale wars too much, b...
Hugabuga Polidicks Reply
I am from Faroe Islands.
Hugabuga Polidicks Reply
[quote] An Australian woman is one of 14 anti-whaling protesters who have been arrested on the Faroese Island of Sandoy on Saturday, after unsuccessfully trying to stop the mass slaughter of 33 pilot whales. The Sea Shepherd Conservation Society volunteers entered the water ...
Hugabuga Polidicks Reply
14 activists arrested in Faroe Islands, due to whaling
Hugabuga Polidicks Thread
Played the last closed beta, was awesome. Had a lot of fun, but I recommend playing with friends.
Hugabuga News Node Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
The trailer is so sad, jeez. Telltale sure as hell know how to make trailers touchy.
Hugabuga News Node Reply
[QUOTE=Azza;45755082]And you disgust me, because you're a dumbass. This is actually good news, if you take a utilitarian approach. Yes, some innocents died here, but the leader of a terrorist organization also, who is dead set on creating martyrs and carrying out killings on...
Hugabuga Polidicks Reply
I laughed my ass off reading Frozendairys posts, thank you for that. But on the more serious side, I still don't think all people that have been VAC banned years ago will hack again.
Hugabuga Developing Reply
[QUOTE=Monkah;45752721]Source? I'm interested. [editline]20th August 2014[/editline] I'd rather see a wife and a kid dead as opposed to five hundred more casualties in an attempt to get rid of the guy.[/QUOTE] There will be a lot more casualties, and again, most will...
Hugabuga Polidicks Reply
It's not fucking weird that people support Hamas, all these innocent lives lost, there's always someone left behind, that will hate Israel for what they are doing. [editline]21st August 2014[/editline] [QUOTE=AJ10017;45752303]because it was the wife and child of a terrorist ...
Hugabuga Polidicks Reply
[QUOTE=GunFox;45743362]I really don't understand the end goal here. How could they possibly be so stupid as to think that this will help their cause. "We've gotta get them to stop bombing us" "I know, lets kill one of their citizens, surely that will dissuade them!" ...
Hugabuga Polidicks Reply
[QUOTE=KillerJaguar;45733087]So? Your goal is to make a game. GML isn't as gimped as you'd think it is. [editline]18th August 2014[/editline] And Unity isn't very good for 2D[/QUOTE] It's getting more and more features for 2D, and currently is has enough featurees...
Hugabuga Programming Reply
Oh fuck me, I see. I was being stupid, thanks.
Hugabuga Programming Reply
By name
Hugabuga Programming Reply
Well, Network.CloseConnection requires a argument, and I have absolutely no idea how I can get the player.
Hugabuga Programming Reply
Uh, I'm having trouble disconnecting clients. If I say, I've got a button (Quit), and when a player clicks it, he gets disconnected from the server. I've google'd a ton, but nothing has come up handy for me (Might be because I'm too stupid to understand it).
Hugabuga Programming Reply
I'm trying to make nameplates for players now, yet it doesn't seem to show up for each player. name = "Bob"; and the "names" array is a list of multiple names. [code] private void InputNameChange() { if (Input.GetKeyDown(KeyCode.E)) { ChangeNameTo(names[...
Hugabuga Programming Reply
Fuck me, starting to work again this monday and now it's on 50% off, fucking hell.
Hugabuga Programming Reply
Oh, I see, didn't know that existed, let me try that. [editline]14th August 2014[/editline] [QUOTE=KillaMaaki;45691220]First of all, you don't need to the "GameObject player;" line at the top of the script, the player variable can just be defined inline. Second of all, yo...
Hugabuga Programming Reply
I'm trying to make all the players teleport back to a position if they touch the "lava", but it seems like only the player that touches it, and SOMETIMES both teleport back. [code] public class CollisionEnemy : MonoBehaviour { GameObject player; void OnCollisionEnt...
Hugabuga Programming Reply
This video made my heart cry :(
Hugabuga Polidicks Reply
Hm, I'll try that and see if it does any difference.
Hugabuga Programming Reply
[QUOTE=KillaMaaki;45680968]I'd say the most flexible would be a custom script that serializes what you need.[/QUOTE] That sounds complicated :P
Hugabuga Programming Reply
[QUOTE=KillaMaaki;45680824]Not what I meant. Is it watching the transform, the rigidbody, a custom script... ?[/QUOTE] Custom script, that controls the the movements. I'll try sending the velocity too, and see what happens. - I mean it watches the transform only. [e...
Hugabuga Programming Reply
I'm using the "Reliable Delta Compressed"
Hugabuga Programming Reply
For some reason there's lag in the movement, and I have no clue how to fix it. (Go to 1 minute) [url]https://www.dropbox.com/s/e847ujfvb5v4d9w/2014-08-13-1948-25.mp4[/url]
Hugabuga Programming Reply
Oh, okay, I'll try that.
Hugabuga Programming Reply
I've finally managed to get a 2D platformer multiplayer working, but I can't get the camera to follow each player (Each player should have it's own camera). The player is a prefab.
Hugabuga Programming Reply
[QUOTE=Icejjfish;45670544]oh okay. I think your best shot atm is serious darkrp[/QUOTE] DarkRP is impossible as SeriousRP, but I guess if he doesnt want to make his own RP then DarkRP is his only shot.
Hugabuga Garry's Mod General Reply
And I watched jumanji yesterday :( RIP
Hugabuga Polidicks Reply
Finally someone to kick these fuckers.
Hugabuga Polidicks Reply
I'm usually against killing people, but I'd not mind getting rid of these shit fucking bags.
Hugabuga Polidicks Reply
Very sad, but I wouldnt put the blame on Israel without proper proof.
Hugabuga Polidicks Reply