134 Results
[QUOTE=Remscar;36568741] Some Strange Image [/QUOTE] I dont get it... This some sort of In-game player modifier or something?
SeveredSkull Developing Reply
[QUOTE=Remscar;36568731]Don't make a new post with the same information... :facepalm:[/QUOTE] People were bitching about it... so hes doing what they wanted IMO.
SeveredSkull Developing Reply
cl_init.lua [lua] include("shared.lua") function ENT:Draw() self.Entity:DrawModel() end [/lua] init.lua [lua] AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include("shared.lua") function ENT:SpawnFunction( ply, tr ) if ( !tr.Hit )...
SeveredSkull Developing Reply
Whoops. :tinfoil: Sorry. Forgot you are on GMod12. In GMod13 commands still work when they are only added serverside... Don't ask me why... SHARED.LUA in the gamemode :v: I should really stay off the forums when I'm drunk.
SeveredSkull Developing Reply
:suicide: :suicide: :suicide: :suicide: :suicide: :suicide: :suicide: :suicide: Ok. Last little trick. Move that spawn_sun_cannon out of your entity and into your gamemode's init.lua If it still doesn't work then... I haven't got a damn clue.
SeveredSkull Developing Reply
Well Fuck. Well my friend... This is what we call "Debugging the fuck out of it untill the son of a bitch fucking works, or tells us what is going wrong" Observe: [lua] ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "Sun Cannon" ENT.Author = "Gnossie...
SeveredSkull Developing Reply
No, sorry. I'm about to head off. Plus I don't have HL2RP, nor do I know any of its workings. I am going off of what I am [I][U]assuming[/U][/I]... For all I know, I am wrong... I also just noticed I made an error in my last post. Parameter is the "First". Look in your ...
SeveredSkull Developing Reply
You know... I feel like an idiot. Im sitting here looking at init thinking thats the issue.... Here: [lua] ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "Sun Cannon" ENT.Author = "Gnossienne" ENT.Spawnable = true ENT.AdminSpawnable = true function...
SeveredSkull Developing Reply
Don't know mate... I don't see anything. Although you might have accidentally deleted it for all I know... You are on GMod12 right? Type "lua_reloadents" in console and show me the results... I've been looking over it and I don't see anything blatantly wrong with it... ...
SeveredSkull Developing Reply
well obviously you need to have it named to the ones used :dance: The last parameter in these are the names: [code] surface.CreateFont("Arial", ScaleToWideScreen(16), 700, true, false, "hl2_ThickArial"); surface.CreateFont("Verdana", ScaleToWideScreen(17), 600, true, f...
SeveredSkull Developing Reply
[QUOTE=Bletotum;36567698]you would need a large somewhat elaborate map; that's the hardest part the map would probably need to make heavy use of a selection of models for the terrain, ones that players can spawn some limited number of in order to hide themselves with effect...
SeveredSkull Developing Reply
setting the table to nil is pretty much the internal functionality of table.remove...
SeveredSkull Developing Reply
And you are positively SURE that there is no error being displayed in your console? The only time the factory error ever occurs is if the entity cannot be generated due to an error in the init, shared, or cl_init... Could you post your console again? But this time, pleas...
SeveredSkull Developing Reply
[gamemodes\netstorm\entities\entities\sun_cannon\init.lua:36] function arguments expected near ':' Not sure which one is line 36 since you changed your code since OP [editline]30th June 2012[/editline] also, PLEASE use [ LUA ] [ /LUA ] tags instead of code! It puts line n...
SeveredSkull Developing Reply
Are you able to spawn it normally via the Q menu? [editline]30th June 2012[/editline] Also... When you change the level with the gamemode loaded... It has to load the entities first... look for errors in that section.
SeveredSkull Developing Reply
Odds are you fucked up something in your code and it cannot load. Errors in console when the gamemode loads? [editline]30th June 2012[/editline] ENT.MODEL = "models/props_c17/oildrum001.mdl" That... Thats probably whats screwing you over. You cannot do this. You must us...
SeveredSkull Developing Reply
surface.CreateFont [editline]30th June 2012[/editline] My bad. Misunderstood. Basically yes... they actually have to exist in order for you to use them.
SeveredSkull Developing Reply
[QUOTE=werewolf0020;36566535]i wonder how a "The Hunger Games" gamemode would end up in gmod[/QUOTE] I saw one kid paying for it made.... Dont know if anyone ever started. [editline]30th June 2012[/editline] [QUOTE=Spencer Sharkey;36566453]Finally, that was a long week :...
SeveredSkull Developing Reply
[QUOTE=Griffen97;36566131]I have no errors that come up in the console. It's simply no text is shown on doors or when I type /textadd. Joe, your fucking hilarious. Go become a comedian, your life is going no where but shitposting on FP anyways.[/QUOTE] Make fun of him a...
SeveredSkull Addons Reply
In GMod13, Garry removed all the default fonts. You have to create your own now. He probably did this in GMod12 as well.
SeveredSkull Developing Reply
Exactly. Its that simple. [editline]30th June 2012[/editline] Just an FYI: That applies for just about anything. Entities, weapons, players, npcs, and even props
SeveredSkull Developing Reply
You're still not getting the point that it is going to lag like hell. But ok. Do what you will.
SeveredSkull Developing Reply
Allright. Well I am glad you have it working. I strongly suggest moving to something more simplistic such as just storing the players inventory on the server and its players. Because as I said, too many networked variables will lag the player. It also doesn't make sense to sen...
SeveredSkull Developing Reply
[QUOTE=vercas;36560952] Another thing that all Source weapons need to feel more realistic is a damn true muzzle flash. Those tiny little yellow patches on the screen don't fool anybody.[/QUOTE] Someone else would have to do those... I have yet to dive into the Effects area.
SeveredSkull Developing Reply
[QUOTE=vexx21322;36556294]One of the biggest issues with weapons in various mods is that the weapons feel like garbage either because of the 'feel' of the damage or the recoil. Hopefully this circumvents the latter and we can get some really nice feeling weapons.[/QUOTE] A...
SeveredSkull Developing Reply
You should avoid using anything in Networked Variables unless you absolutely need it every single frame, and need constant client side reference to it. If you did the entire inventory for the player in networked variables, it would be VERY laggy in-game as the server will cons...
SeveredSkull Developing Reply
[QUOTE=joyenusi;36553364]You're wrong in saying that I didn't attempt to understand what you said, but I couldn't and your explanations didn't help. Don't get so mad, what I did works for me... For now. How do I fix my structure? What are Network Vars? and how do I use them?...
SeveredSkull Developing Reply
You could make a table and fill it with the locations and a link to the actual entity. At X seconds, iterate through the table, checking if the entity exists. If it does, skip it. If it does not, create a new entity at the locations stored. You would need to make some sort ...
SeveredSkull Lua Developer Discussion Reply
\garrysmod\garrysmod\lua\autorun\client
SeveredSkull Developing Reply
You still arent getting the point. That entire playerData table is pointless. Stop using glon! You dont need it. Second, you are wasting time storing it all in network strings. NW vars are already synched with clients. You don't need to store the names of the items becaus...
SeveredSkull Developing Reply
Well obviously you aren't performing any calls/modification/changes on the name, now are you? You are displaying them! So in your "for" loop to actually create the icons and such, you use the key... Like this: [code] for k, v in pairs(ply.rp_inventory) do local name = k loc...
SeveredSkull Developing Reply
Well first of all. You do not have any table called "inventoryItems" on your player... [code] for k,v in pairs(playerData.inventoryItems) do [/code] Second. That encoding is HORRIBLE. You are overwriting data with a decoded version, rendering it useless later on!!!! Thirdly...
SeveredSkull Developing Reply
[QUOTE=Amplar;36548207]it feels like the human element is not in the math of this recoil stuff. an average soldier can control a weapon in full auto quite easily, especially an AR15 type gun- their barrel is directly in line with the stock, which means your body's anatomy does...
SeveredSkull Developing Reply
[QUOTE=rebel1324;36512092]I've seen RP gamemode called 'NO RP', and it was my favorite gamemode until now.[/QUOTE] Care to share why you liked it so much? [editline]27th June 2012[/editline] [QUOTE=JoeSkylynx;36511568]Just add a god-damn playerbased economy such as the o...
SeveredSkull Addons Reply
[QUOTE=G-Enigma;36522985]Also set SWEP.GRecoil to something (ex; 0.3) or it spits errors.[/QUOTE] [QUOTE=SeveredSkull;36456731]SWEP.GRecoil - This used to be set as the result of the UpdateRecoil while I was testing. I simply changed it to return the value instead. Forgot ...
SeveredSkull Developing Reply
[QUOTE=Gmod4ever;36516318]It looks like the simplest way to implement this is to just paste the entire thing at the very top of your SWEP. If your SWEP is just a generic bullet-shooter, it shouldn't have a think function, so you don't have to worry about anything. If the SWE...
SeveredSkull Developing Reply
[QUOTE=Crossu88;36515563]Sorry to ask, but I am at a loss in how I am to implement this, would someone explain to me how?[/QUOTE] Copy/Paste my code above into your weapon (or base). Do some research on how much the gun you are making weighs and set SWEP.GWeight = (Your gun...
SeveredSkull Developing Reply
[QUOTE=_Chewgum;36495118] cancer[/QUOTE] I take it you do not like RP? Care to give your explanation why? [QUOTE=FrankPetrov;36492527]I have to say that I ran a server for about 4 months with a custom map, nicely edited darkRP gamemode, different models, [B]removed printe...
SeveredSkull Addons Reply
Entity.lua
SeveredSkull Developing Reply
[QUOTE=Insomnia Array;36480066]Probably your save functions are derped up.[/QUOTE] More than likely... And without the rest of the gamemode, really can't tell if he is no longer calling the load functions on the players initial spawn either. IMO, OP should just redownlo...
SeveredSkull Developing Reply
Part of it is sitting publicly [URL="http://www.facepunch.com/showthread.php?t=1192737"]here[/URL] if you want to take a look.
SeveredSkull Developing Reply
Help and support forum bro... Use it. And By Input, I assume you mean resolution? If so, just change it? You kinda gave us a very vague description. Post a screenshot or something
SeveredSkull Garry's Mod General Reply
[QUOTE=OldFusion;36482443]I mean that calculating the energy applied is only the firs step, you need to split the energy in to 2 vectors the one that pushes backwards and the one that pushes up. [img]http://cold.netburst.co.uk/file/Screenshot-2012-06-25_16.56.55.png[/img] ...
SeveredSkull Developing Reply
[QUOTE=OldFusion;36480319]What you calculate here [lua] local GunRecoilLBS = (BulletWeight / 7000 / 32.2 / 2) * MuzzleVelocity * MuzzleVelocity * (BulletWeight + ChargeGrains) / (self.GWeight * 7000) * rf [/lua] Is the energy applied in opposite direction of the b...
SeveredSkull Developing Reply
[QUOTE=skullorz;36476557]You can't limit players with too much seriousness. Doing that makes the RP seem like a dictatorship run by the owner.[/QUOTE] Hopefully, Everything will be player run. Items, shops, buisnesses, etc. Depends on how people actually play it, but that...
SeveredSkull Addons Reply
[QUOTE=ash47;36476378]I like to piss fart around. Play something like Saints Row 3, or San Andreas, what will keep people interested is lots of varying gameplay, even if the activities are random and make no sense, as long as they are fun, you will keep people playing :P[/Q...
SeveredSkull Addons Reply
What would you want to see in a RP-Based Gamemode?
SeveredSkull Addons Thread
Allright, So I am nearing the end of finishing the base of my new Roleplaying/MMOish gamemode. Now I need some content suggestions. I would like to first start by saying, this is not a DarkRP, PERP, OA, HL2RP, or any other type of RP edit. I have written 100% of the code. I d...
SeveredSkull Addons Reply
That thread was asking to limit it. You can LIMIT it with a math.Clamp() of the pitch, yaw and roll of the eye angles, and then set the result.
SeveredSkull Developing Reply
Go find the CSS Realistic Weapons. It includes a bunch of already existing weapons, as well as the base for you to make some off of. Best one so far in my opinion. I'm in the process of writing my own. Once I finish it, Ill give you the link to mine as well.
SeveredSkull Developing Reply
Why don't you check your DB and see if there are any records of players in it.
SeveredSkull Developing Reply
[video=youtube;DBEIoEBByIU]http://www.youtube.com/watch?v=DBEIoEBByIU&feature=youtu.be[/video] Here y'all go. Turn down your volume a bit. It came out a little louder than intended Edit: Also, it totally screwed over my quality. Recorded at 1600x900. I don't know what th...
SeveredSkull Developing Reply
Ill go make one real quick for you guys. Bear in mind I don't have very good video editing software... Behold the plague of Windows Movie Maker. EDIT: Nevermind. Lost track of time. Gotta go off to work. Ill do it when I get back.
SeveredSkull Developing Reply
[QUOTE=Nexus435;36457492]imo viewpunch already gives a fine result making things absolutely realistic in games usually doesn't work[/QUOTE] This has nothing to do with ViewPunch. Generally You would give an angle to punch the players view a certain amount, Usually, this is t...
SeveredSkull Developing Reply
[QUOTE=KatNotDinner;36457466]He could've stated it the first day when I had no progress. He is an ass cause i made quite big progress and then he suddenly told everyone about that script. Also why did you go through the entire thread to vote me boxes?[/QUOTE] Wow. Fucking ...
SeveredSkull Garry's Mod General Reply
I'm pretty sure Garry added a VAC ban for things like this already. But awesome nonetheless
SeveredSkull Developing Reply
[QUOTE=_Chewgum;36454724]How come GunRecoilLBS and RecoilMod are not local. And SWEP.GRecoil is never modified. And I think you forgot to add SWEP to AddRecoil. Or am I missing something...[/QUOTE] SWEP.GRecoil - This used to be set as the result of the UpdateRecoil while I ...
SeveredSkull Developing Reply
I guess it would also be worth noting that a cone of 0.02 seems to be a very good number for this system. The cone is meant to give a false sense of the system that I have implemented. With this system, we no longer really need the cone at all, but best keep it at 0.02 for any...
SeveredSkull Developing Reply
[QUOTE=skullorz;36425688]Try this: [b][url=wiki.garrysmod.com/?title=Gamemode.HUDShouldDraw]Gamemode.HUDShouldDraw [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b][/QUOTE] [QUOTE=cis.joshb;36427202][url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/ind...
SeveredSkull Developing Reply
[QUOTE=LedZepp;36432209]Nevermind someone already got it for me:P[/QUOTE] Sorry, been busy. [QUOTE=Insomnia Array;36421865] @SeveredSkull, apparently default GMod SQL library doesn't support callbacks, AFAIK, isntead it simply returns the value.[/QUOTE] Sorry. Ha...
SeveredSkull Developing Reply
[QUOTE=Insomnia Array;36452746]Some people working on SWEPs and SWEP bases should definetly look into this. Silly recoil always turned me down when trying to code a weapon based on some SWEP base.[/QUOTE] That is [B][I][U]EXACTLY [/U][/I][/B]why I put the effort through to m...
SeveredSkull Developing Reply
So I've been working on this code for a while now, and I am overjoyed at how well it performed. I figured in the long time I have been in this community, I might as well contribute back to it. I have come up with a mathematically correct formula for applying recoil to the play...
SeveredSkull Developing Reply
[Release] Mathematically correct Recoil
SeveredSkull Developing Thread
[QUOTE=tgp1994;36425579]Sorry, I forgot to mention, I had actually tried sending the usermessage without anything other than the string (with the string still sized at 254 bytes), and I was still getting that too large error. I was [B][I][U]looking on the wiki about using d...
SeveredSkull Developing Reply
[QUOTE=Wizard of Ass;36448148]I updated my np++ with just running the script, gj wasting your time.[/QUOTE] The script in the Bin folder? :P
SeveredSkull Garry's Mod General Reply
Also a TODO should be reserved table names like "AmmoTypes" that are created with the game.
SeveredSkull Garry's Mod General Reply
You need " ; " at the end of your queries first of all, second that's not how the SQL functions work in Gmod. Thirdly, You fucked up your hooks beyond belief. Fourth, Your Player_donated function is in the wrong area. [code] AddCSLuaFile("_MYSQL.lua") include("_MYSQL.lua"...
SeveredSkull Developing Reply
[Help] How to Override weapon selection menu? Is there a Hook?
SeveredSkull Developing Thread
Allright, So I just put my finishing touches on the HUD I have been working on, which is pretty much a 100% custom VGUI. (Or it is going to once I implement a few things I cant find hooks for, like this.) I need to override the selection menu for the weapons, but I cannot see...
SeveredSkull Developing Reply
[QUOTE=Amplar;36409878]anyone know why FP won't send out a confirmation email? my friend keeps trying to register to FP but it won't send the email. he wants to join the competition[/QUOTE] Who knows. I cant even get my browsers (IE, Firefox, and Chrome) to allow the login...
SeveredSkull Garry's Mod General Reply
Because it is. Quit posting about it.
SeveredSkull Garry's Mod General Reply
I know right? Figured 2 of them out though. An addon I had was overwriting a table (What are the odds of that?!) I was for player speeds, so that explained the running speeds. Also apparenly if you overwrite PlayerSpawn, it stops calling SetModel on the player, so thats t...
SeveredSkull Developing Reply
Then why is it posted at the bottom of your pastebin? :pwn: [editline]20th June 2012[/editline] [QUOTE=BradenFase;36411961] Nothing to do with ENT:Use.[/QUOTE] Doesn't matter. If you fuck up the syntax to the point of where it cant compile, then [B][I][U]nothing [/U][...
SeveredSkull Developing Reply
This is Lua, not C. if not (tr.Hit ) then return end [editline]19th June 2012[/editline] Dude... Did you not read your error? line 12: unexpected symbol near '!' I mean... come on.
SeveredSkull Developing Reply
You already anwsered your own question. Store the player's steam ID in SQL. When a player connects, query for his steam id. If the entry is found, the player is a donator so you must store some sort of variable on the player. Then all you need is a simple check to see if the v...
SeveredSkull Developing Reply
[QUOTE=Holo;36407902]There was a powercut and therefore the garrysmod.org is down. It has been down for over 12 hours (considering it from my area). It will be back up soon.[/QUOTE] [QUOTE=garry;30985737]We had a powercut, all should be back to normal now.[/QUOTE] Tha...
SeveredSkull Garry's Mod General Reply
There is this wonderful thing called Google. I can't IMAGINE how many times people have coded these two things. Do a search and look.
SeveredSkull Developing Reply
[QUOTE=al-ryazanov;36367550]Remove the local before FNames inside the if ... else clause: [LUA] local FNames = {} if sex == true then FNames = {"Alice", "Linzy", "Susan", "Mary", "Linda", "Helen", "Sarah", "Jessica"} else FNames = {"James", "John", "Alan", "Ro...
SeveredSkull Developing Reply
[GMod 13] Strange Various Issues
SeveredSkull Developing Thread
Hello everyone. From day to day I have been having some very odd issues, but I am not quite sure if they are Bugs at this point. These issues have seemed to be occuring randomly, without any sort of code changes. 3 days ago, Entities started disappearing, as in the second you...
SeveredSkull Developing Reply
[QUOTE=Spencer Sharkey;36357939]Yeah... You can just set the Primary ClipSize to -1 -_-[/QUOTE] Learn to read before you rate all of my posts Dumb. Because you sir, are [B][U][I]wrong[/I][/U][/B]. [QUOTE=SB2DevTeam;36366165]Can't he just add the ammo back to the gu...
SeveredSkull Developing Reply
[QUOTE=DrJenkins;36340699]Doesn't setting Primary Fire to -1 Work?[/QUOTE] Primary Fire? You mean [LUA]SWEP.Primary.ClipSize = -1 [/LUA] This??? or [LUA] function SWEP:PrimaryAttack() self.Weapon:SetNextSecondaryFire( CurTime() + self.Primary.Delay ) self...
SeveredSkull Developing Reply
[QUOTE=SeveredSkull;36303336] Also, it would be more efficient to modify it so all your VIP lines are in 1 if statement with OR's since you are doing the same shit each time.[/QUOTE] [QUOTE=Derek_SM;36333540][lua] if ( t == TEAM_HITMAN or t == TEAM_VIPGANG or t == TEAM_VI...
SeveredSkull Developing Reply
[QUOTE=Map in a box;36328535]It was a typo and if you had common sense you could notice it. Edited. Also, reread my post.[/QUOTE] Then learn to write clear, grammatically correct sentences. If you had common sense you could do this, and then people wont think you have the ...
SeveredSkull Developing Reply
[QUOTE=SeveredSkull;36328725][B][I][U]Missing [/U][/I][/B]models do not crash your game... What else is going on? Also you are in the wrong section.[/QUOTE] [QUOTE=Jackpody;36330781]Some props can crash Mac computers.[/QUOTE] You do know what the word "[B][I][U]Missing[...
SeveredSkull Garry's Mod General Reply
Post Nuke RP? [url]http://postnukerp.com/[/url]
SeveredSkull Addons Reply
Do you by chance have this all in one file? because the ENT:Draw() function should be in a file called cl_init.lua and the rest should be in either init.lua or shared.lua You need to split up your locations based on the type of functions you are using. Clientside scripts (L...
SeveredSkull Developing Reply
[QUOTE=TCB;36327129]That's down to the map.[/QUOTE] [b][url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index933a.html]Entity.SetVelocity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
SeveredSkull Garry's Mod General Reply
Missing models do not crash your game... What else is going on? Also you are in the wrong section.
SeveredSkull Garry's Mod General Reply
Line 16 is your position. Change that. reduce 11.5 to something (up to you... will require fiddling, but that is the number in units above the position of the printer)
SeveredSkull Developing Reply
[QUOTE=TurbomanAlco;36327829]Oh thank you so much. I didn't even know what half of the convar flags even meant. I'll use that instead and see if it works. I thought that the FCVAR_CLIENTCMD_CAN_EXECUTE flag had somthing to do with that.[/QUOTE] You and me both... Learn somet...
SeveredSkull Developing Reply
[QUOTE=Map in a box;36328020]People have to make their profile private if they don't want to, if they get kicked for something like that they will probably just leave and find another server.[/QUOTE] Isn't that the whole fucking point of having a PUBLIC profile? It is Public...
SeveredSkull Developing Reply
[QUOTE=Scotty1207;36328151]It worked before the drawing code, so I will re do it with the worldbox text and then try it again, I properly just added something by accident.[/QUOTE] Well when things tend not to work, usually it involves an error... Would you mind giving it to ...
SeveredSkull Developing Reply
Then odds are you did not code your ENT:Use() hook correctly to give the player money. Did this work before you added this drawing code in or did it not work at all before?
SeveredSkull Developing Reply
[QUOTE=Scotty1207;36327814] Also when I press e on it now I don't receive any money from it. [/CODE][/QUOTE] Thats a whole different issue... Where did you get this printer from?
SeveredSkull Developing Reply
draw.SimpleText( String Text, String Font, Number X, Number Y, Color Color, Number Xalign, Number Yalign ) See this page: [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexe61e.html[/url]
SeveredSkull Developing Reply
[lua] function SWEP:Reload() if self:DefaultReload( ACT_VM_RELOAD ) then self.Owner:GiveAmmo(self.Primary.ClipSize - self:Clip1, self.Primary.Ammo, true); end end [/lua] Here. Every time I try to edit something it winds up fucking up my code segments. Just use...
SeveredSkull Developing Reply
Here. [lua] function SWEP:Reload() if self:DefaultReload( ACT_VM_RELOAD ) then self.Owner:GiveAmmo(self.Primary.ClipSize - self:Clip1, self.Primary.Ammo, true); end end [/lua] [editline]14th June 2012[/editline] Fucking 1 line bullshit again.
SeveredSkull Developing Reply
Yes. Parameters and Arguments (args) are the same thing...
SeveredSkull Developing Reply
JustSoFaded means you must change draw.WordBox to draw.SimpleText and fix the parameters that are being passed into the function.
SeveredSkull Developing Reply