• GoldenForge - Hat and Trail store addon
    181 replies, posted
  • Avatar of TARPIS
  • Anyone know if this runs on DarkRP? And will it interfere with the F4 button for jobs etc. ?
  • I'm running a Zombie Survival gamemode and seem to get errors from a fresh install. Pressing F4 only errors on the client saying Pressing on hats or weapons etc says these errors, settings tab opens only showing a model. [gf_client.lua:360] attempt to call method 'GetHats' (a nil value) [gf_client.lua:471] attempt to call method 'GetTrails' (a nil value) [gf_client.lua:646] attempt to call method 'GetHats' (a nil value) Script enforcer is on. Also, how would I change it from F4 to F5? I had a quick look through gf_client.lua but cannot find anything.
  • Avatar of nexitem
  • is still still active and worked on? I would be intrested... Edit: its throwing errors on my server mhh
  • [QUOTE=nexitem;34599753]is still still active and worked on? I would be intrested... Edit: its throwing errors on my server mhh[/QUOTE] Well he has uploaded it too GM13 workshop so I'm guessing so.
  • Avatar of kennyist
  • If anyone has been editing this still: Is there any LUA commands to edit trail textures, some ive added are too small, rotated the wrong way ETC. Is there anyway to fix this?
  • Avatar of MadkillerMax
  • New TF2 styled role the dice (rtd) by me which has goldenforge capablities! [URL] http://facepunch.com/threads/1128759?highlight=[/URL] Tell me what you think!
  • Avatar of KevinK
  • For the people with this error: [gf_client.lua:360] attempt to call method 'GetHats' (a nil value) [gf_client.lua:471] attempt to call method 'GetTrails' (a nil value) [gf_client.lua:646] attempt to call method 'GetHats' (a nil value) Use 7-Zip and don't forget to place it in /addons. I'd like to thank Chewgum for helping me with this. :)
  • Avatar of Bboy
  • Looks great! But how would I go about making this only usable for a specific group of players only? Thanks! EDIT: Figured it out.
  • Avatar of MadkillerMax
  • [QUOTE=Bboy;35464209]Looks great! But how would I go about making this only usable for a specific group of players only? Thanks![/QUOTE] Are you asking about my RTD if so, I can give you a few little codes
  • Avatar of werewolf0020
  • [QUOTE=MadkillerMax;35468323]Are you asking about my RTD if so, I can give you a few little codes[/QUOTE] For fuck sake dude not every single post here regarding an store has to go with your RTD script seriously stop it
  • Avatar of Digital Spit
  • Where can I locate the file that changes the execute button from "f4" to something like "f5" or "f6" ? I've looked for it but cannot find it
  • Avatar of Chewgum
  • [QUOTE=Digital Spit;35577758]Where can I locate the file that changes the execute button from "f4" to something like "f5" or "f6" ? I've looked for it but cannot find it[/QUOTE] gf_server.lua, search for "ShowSpare2" you can't make it open on f5/6 there though.
  • This is really good, but everytime i kill Death or a runner, i don't get any Scrap Metal? This is the same thing with the pointshops and it's pissing me off... Great work, but how do i get the metal to work upon death?
  • [QUOTE]timer.Create( "gsmem", 60, 0, function() for k, v in pairs(GF.GrtPlayers()) do if ply:IsAdmin() or ply:IsSuperAdmin() then Player.GiveScrapMeatal(10, Thanks For Donating to the server, you get 10 more metal in 1 min) else Player.GiveScrapMetal(2, Thanks for playing on the server, you recieve mroe metal in 1 min) end end end)[/QUOTE] Where do I put this to make it work? Also, Is it possible to make it able to do this: INNO kills traitor inno gets 10 points, And if so, where do I put it?
  • i got a problem my points are now - and i cant buy anything and i dont know how to reset them i tryed unistalling goldenforge and reinstalling it then it says i have 0 points and then when i earn them i get - and does any 1 know how to do a lua script for winning money on deathrun?
  • [QUOTE=tehhaz;35865518]i got a problem my points are now - and i cant buy anything and i dont know how to reset them i tryed unistalling goldenforge and reinstalling it then it says i have 0 points and then when i earn them i get - and does any 1 know how to do a lua script for winning money on deathrun?[/QUOTE] Here it is. Just place it in the init.lua file on the Gamemode. [lua] function GM:OnRoundResult( result, resulttext ) self.BaseClass:OnRoundResult( result, resulttext ) for _,v in pairs( player.GetAll() ) do if v:Alive() and v:Team() == result then v:GiveScrapMetal( 15, "You have won and recieved 15 scrapmetal!" ) end end end [/lua]
  • Does any one know how to add a player model section to this shop because im not very good at scripting and i gave it ago but it is hard would some 1 show me how to make a player model section like the trails and hat section and would u be able to show me what to put in the lua file so i can get the playermodels into that section
  • Can some one help me with a playermodel section in this shop the setup_ i dont know what to put in there to make it a playermodel section please Help Thanks
  • Avatar of Bboy
  • I'm surprised no one mentioned that there isn't a sell feature on this. Will there be one in the future? And if not, how could I go about adding this myself?
  • Avatar of Braden1996
  • I'm in the process of creating a server and I'm almost finished, and I want to intergrate your addon into the server but I have a few questions first. - Does Goldenforge still work? - Can Goldenforge give players money on a time delay. Say every 5 minutes the player would recieve some points. - Can I rename the point system and addon name in-game with your permission? Credit will be given. Thank you for reading, and I would very please if you could take the time to respond.
  • Avatar of Thelurker1234
  • [QUOTE=Braden1996;36275832]I'm in the process of creating a server and I'm almost finished, and I want to intergrate your addon into the server but I have a few questions first. - Does Goldenforge still work? - Can Goldenforge give players money on a time delay. Say every 5 minutes the player would recieve some points. - Can I rename the point system and addon name in-game with your permission? Credit will be given. Thank you for reading, and I would very please if you could take the time to respond.[/QUOTE] Test it, for me it didnt
  • Whenever you join a server, if says you are have 0 points and then a few minutes later it shows your actually points. Is there anyway to fix this? Because there have been numerous complaints of people on my server having 0 points.
  • Avatar of Braden1996
  • I've done a few tests on this and it still works quite well. Only problem I found is that you couldn't unequip your hats
  • Avatar of consolecowboy
  • [QUOTE=Soleeedus;35678861]Does this even still work?[/QUOTE] works for me, would love to see people updating it, commiting to svn or what not, i see people have powerups and such. I can unequipe hats, i simply hit the cross next to its name ;)
  • Avatar of Thelurker1234
  • [QUOTE=consolecowboy;36961198]works for me, would love to see people updating it, commiting to svn or what not, i see people have powerups and such. I can unequipe hats, i simply hit the cross next to its name ;)[/QUOTE] Nice reply to a several month old post.
  • Avatar of Chewgum`
  • I updated and improved some stuff on the workshop/gmod 13 version: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=6857[/url] [img_thumb]http://puu.sh/Ymrl[/img_thumb]
  • i got the addon working to an extent, all seems to work but when you try to equip somthing this error comes up and you cant see anything on the model. in this case it was equiping headcrab [ERROR] attempt to index local 'attachment' (a nil value) 1. LayoutEntity - addons/goldenforge/lua/gf_items/hats/headcrabhat.lua:21 2. LayoutEntity - addons/goldenforge/lua/gf_client.lua:560 3. unknown - lua/vgui/dmodelpanel.lua:94 [ERROR] bad argument #1 to 'SetPos' (Vector expected, got nil) 1. SetPos - [C]:-1 2. LayoutEntity - addons/goldenforge/lua/gf_client.lua:562 3. unknown - lua/vgui/dmodelpanel.lua:94 Addtion: Trails work fine Been looking over and seems that the Hats that have scale in dont work. edited the lua of a hat that dident work and removed scaling factors and it worked. so the problem has somthing to do with the scaling codes used