• exploding sofa!? HELP :D
    72 replies, posted
  • Avatar of eryk
  • [QUOTE=epic-lulz;13644555]You ask for more help then anybody else on the forums....[/QUOTE] yea :/ I have many gamemodes projects in my head then sometimes i don't now what is wrong :D and some goes deaht then i don't think this [QUOTE=epic-lulz;13644555]You ask for more help then anybody else on the forums....[/QUOTE] then i now some threat i have started whas a little idiots Threat's it whas easy things :/ But lolfish Work It?
  • Avatar of lolfish
  • its just one problem. Its exploding when it touches another prop or vehicle. D: plz help ;D
  • Avatar of eryk
  • [code] function ENT:StartTouch() local Player = LocalPlayer() if ( ent:GetClass() == "Player" then self.Entity:Explode() end [/code] Change Ent:StarTouch for this :D I think is like this [not tested]
  • Avatar of lolfish
  • [QUOTE=victi;13645803][code] function ENT:StartTouch() local Player = LocalPlayer() if ( ent:GetClass() == "Player" then self.Entity:Explode() end [/code] Change Ent:StarTouch for this :D I think is like this [not tested][/QUOTE] :) thx
  • Avatar of Overv
  • Use my code, it explodes when a player other than the spawner/owner gets near like you wanted in the OP.
  • Avatar of Coolman12
  • [QUOTE=Overv;13644306]I know someone from Sweden who's 13 years old and speaks perfect English so that's bullshit. @victi: Maybe we helped him a bit too much [img]http://d2k5.com/sa_emots/rolleyes.gif[/img][/QUOTE] im sweden and i spek perfekt english. [img]http://d2k5.com/sa_emots/rolleyes.gif[/img]
  • Avatar of lolfish
  • but u said im sweden. Thats not right its: Im swedish and i speak perfect english. Haha lol :)
  • Avatar of eryk
  • [code] function ENT:Use( activator, caller ) if ( activator:IsPlayer() ) then self.Entity:Explode() end end [/code] Maybe this works? (If you will get it to explode when you press E on it) If it don't work then use OverV's Code
  • Avatar of eryk
  • [QUOTE=Overv;13646237]Victi, re-read his first post, that's not even what he wants.[/QUOTE] Oh Yea.... But LolFish use OverV's Code he's Code is Much better and work :D
  • Avatar of Diaklu
  • [QUOTE=lolfish;13646072]but u sad im sweden. Thats not right its: Im swedish and i speak perfect english. Haha lol :)[/QUOTE] You just got trolled boy.
  • Avatar of conman420
  • [QUOTE=victi;13645803][code] function ENT:StartTouch() local Player = LocalPlayer() if ( ent:GetClass() == "Player" then self.Entity:Explode() end [/code] Change Ent:StarTouch for this :D I think is like this [not tested][/QUOTE] I am pretty sure its "player". I think GetClass returns everything in lowercase regardless of its actual classname so "BOMB" would return "bomb".
  • Avatar of Coolman12
  • [QUOTE=lolfish;13646072]but u sad im sweden. Thats not right its: Im swedish and i speak perfect english. Haha lol :)[/QUOTE] lol, i was joking :D Also, it's "said" not "sad" [img]http://d2k5.com/sa_emots/emot-v.gif[/img][img]http://d2k5.com/sa_emots/emot-v.gif[/img]
  • Avatar of lolfish
  • [QUOTE=Coolman12;13648246]lol, i was joking :D Also, it's "said" not "sad" [img]http://d2k5.com/sa_emots/emot-v.gif[/img][img]http://d2k5.com/sa_emots/emot-v.gif[/img][/QUOTE] okay :P srry :D
  • Avatar of lolfish
  • do someone know how i can add a icon in entities on my explosing sofa :D?
  • Avatar of eryk
  • Just look this :D [url]http://wiki.garrysmod.com/wiki/?title=SpawnIcon[/url] :D There can you Read How Good Luck :D You can take a picture of you sofa and make a icon from you picture Good Luck
  • Avatar of lolfish
  • [QUOTE=conman420;13648134]I am pretty sure its "player". I think GetClass returns everything in lowercase regardless of its actual classname so "BOMB" would return "bomb".[/QUOTE] nope. not working D:
  • Avatar of Combiner8761
  • Hej på dig svensk, (lolfish) jag måste säga att om du ska bli accepterad i facepunch, måste du stava engelska bra, annars får du stavningsnazister på dig. Och jag är nästan perfekt på engelska. Även om jag är... [img]http://sa.tweek.us/emots/images/emot-ninja.gif[/img] Elva år... Och om du har ett problem att göra en ikon, så kan jag göra en åt dig. Translated from swedish: Hello, swede (lolfish) i have to say that if you're are going to be accepted in facepunch, you have to spell english good, or you will get grammar-nazis on you. And i'am almost perfect at english. Even if i'am... [img]http://sa.tweek.us/emots/images/emot-ninja.gif[/img] Eleven years old... Oh, and if you have a problem making the spawnicon, i can make one for you.
  • Avatar of lolfish
  • [QUOTE=Combiner8761;13659365]Hej på dig svensk, (lolfish) jag måste säga att om du ska bli accepterad i facepunch, måste du stava engelska bra, annars får du stavningsnazister på dig. Och jag är nästan perfekt på engelska. Även om jag är... [img]http://sa.tweek.us/emots/images/emot-ninja.gif[/img] Elva år... Och om du har ett problem att göra en ikon, så kan jag göra en åt dig. Translated from swedish: Hello, swede (lolfish) i have to say that if you're are going to be accepted in facepunch, you have to spell english good, or you will get grammar-nazis on you. And i'am almost perfect at english. Even if i'am... [img]http://sa.tweek.us/emots/images/emot-ninja.gif[/img] Eleven years old... Oh, and if you have a problem making the spawnicon, i can make one for you.[/QUOTE] Jag vill göra en själv för jag är ganska bra på photoshop :) fast jag vet inte hur jag ska göra för jag vill bara ha den i ena addons map jag har. ps har du skype? Translated from swedish: I want to make my own icon, because im pretty good at photoshop :) . But i dont how i can have the icon in the addon map and still working. D: srry if im spelling wrong plz dont write any bad coment :D
  • Avatar of Combiner8761
  • [QUOTE=lolfish;13660813]Jag vill göra en själv för jag är ganska bra på photoshop :) fast jag vet inte hur jag ska göra för jag vill bara ha den i ena addons map jag har. ps har du skype? Translated from swedish: I want to make my own icon, because im pretty good at photoshop :) . But i dont how i can have the icon in the addon map and still working. D: srry if im spelling wrong plz dont write any bad coment :D[/QUOTE] Först skapar du en VTF fil med photoshop, sen sparar du den som din saks namn. (exploding_sofa) nu ska du skapa några mappar i din addon mapp; materials, i materials skapar du en till mapp vid namn VGUI, i den skapar du ännu en mapp kallad entities. i den lägger du VTF filen. Men det räcker inte, Du måste skapa en VMF fil. Det är enkelt. Skapa en textfil, skriv in [code] "UnlitGeneric" { "$basetexture" "VGUI/entities/exploding_sofa" "$ignorez" 1 "$vertexcolor" 1 "$vertexalpha" 1 } [/code] Spara det som explosing_sofa.VMF Lägg den i samma mapp som VTFen är i. Starta upp gmod, och voila, en ikon. Nope facepunchers, you won't get a translation this time.[img]http://sa.tweek.us/emots/images/emot-keke.gif[/img]
  • Avatar of eryk
  • [QUOTE=Combiner8761;13661592]Nej, jag har inte skype, men jag har MSN. min adress är Evil_Tonberry*hotmail.com utbyt * med @. (jag vill inte ha spam[img]http://sa.tweek.us/emots/images/emot-ninja.gif[/img]) Jo, först skapar du en VTF fil med photoshop, sen sparar du den som din saks namn. (exploding_sofa) nu ska du skapa några mappar i din addon mapp; materials, i materials skapar du en till mapp vid namn VGUI, i den skapar du ännu en mapp kallad entities. i den lägger du VTF filen. Men det räcker inte, Du måste skapa en VMT fil. Det är enkelt. Skapa en textfil, skriv in [code] "UnlitGeneric" { "$basetexture" "VGUI/entities/exploding_sofa" "$ignorez" 1 "$vertexcolor" 1 "$vertexalpha" 1 } [/code] Spara det som explosing_sofa.VMT Lägg den i samma mapp som VTFen är i. Starta upp gmod, och voila, en ikon. Nope facepunchers, you won't get a translation this time.[img]http://sa.tweek.us/emots/images/emot-keke.gif[/img][/QUOTE] I uderstant 90% off all that (im DK) :D