1. Post #401
    Gold Member
    ryno5660's Avatar
    May 2005
    1,985 Posts
    There's a version with a custom model, look around. You guys should really buy portal.

  2. Post #402
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    Hi all!

    I just came to upload my version of cube:
    The funny cube!
    It contains new model edited lua sounds and now even more, you don't need css or any other game as all files and models included, and now you can enjoy .mp3 or .wav with it!
    But, nevermind just download and spawn :)

  3. Post #403
    Gold Member
    Tinter's Avatar
    March 2008
    7,471 Posts
    i can make my own cube i just gonna make it follow me with a tool called follow tool so now i can die less creepy

  4. Post #404
    Rooflex's Avatar
    April 2007
    534 Posts
    creec posted:
    Hi all!

    I just came to upload my version of cube:
    The funny cube!
    It contains new model edited lua sounds and so on.
    But, nevermind just download and spawn :)

    There is a link for download:
    Awesome.

    Though next time gimme a PM first.

  5. Post #405
    Gold Member
    Kwigg's Avatar
    January 2007
    1,013 Posts
    Hey since some people want to know what it looks like when it is moving I reverse engineered the cube so it go after you when you LOOK at it instead of going with your back turned.

    Link:

  6. Post #406
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    Rooflex posted:
    Awesome.

    Though next time gimme a PM first.
    Yeah sorry, but i included you in credits and you didn't say it is copy right protected.
    Sorry if it was illegal from your view point. :P

    Edit:

    You should really try this cube if you haven't.
    And as you see this companion cube isn't scary and has not scary sound's change at all!
    :)

    PS: I was so scared once and almost fell from my chair. Just joking!

  7. Post #407
    Rooflex's Avatar
    April 2007
    534 Posts
    creec posted:
    Yeah sorry, but i included you in credits and you didnt say it is copy right protected.
    Sry if it was illegal from your view point. :P

    Edit:

    You should really try this cube if you havent.
    And as you see this companion cube isn't scary and has not scary sound's change at all!
    :)


    PS: I was so scared once and almost fell from my chair. Just joking!
    Actually, i do remember putting something like "Don't use without permission" in my readme, but whatever.

    And i already got about 20 versions of the cube, my entity folder is getting cramped. :(

  8. Post #408
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    Rooflex posted:
    Actually, i do remember putting something like "Don't use without permission" in my readme, but whatever.

    And i already got about 20 versions of the cube, my entity folder is getting cramped. :(
    Really? Well sorry for that one.
    I don't think i saw it, but i can remove my upload and leave it as my personal teaser. :D

  9. Post #409
    Rooflex's Avatar
    April 2007
    534 Posts
    creec posted:
    Really? Well sorry for that one.
    I don't think i saw it, but i can remove my upload and leave it as my personal teaser. :D
    No no, keep it uploaded, it's fine, just wanted to make something clear. :laugh:

  10. Post #410
    Tabasco Lord
    Arc Nova's Avatar
    September 2005
    9,229 Posts



  11. Post #411
    Kosai106's Avatar
    September 2007
    168 Posts
    Zeddy posted:
    I spawned this on some dark creepy map with lots of jumps and such. I spawned it, hopped through a teleport, hopped through a second, and then started jumping on these little pillars to get out of a pit. I did the first few, and turned around for a second, and it was perched behind me on a pillar, with the heart up-side down. I kept jumping, and mid jump, the bastard jumped up and stabbed me.
    Having it randomly select a player to follow, then having about 10 in a multiplayer server would be scary. Imagine this on Freespace night, or something like that. Or in the Ravenholm RP map.

    Edit:



    You have atrocious spelling and grammar.
    I fixed it for you, but you need to remember to capitalize, spell properly, use good grammar, and punctuate.
    The latest version of Firefox has a spell checker built in, much like the one in Microsoft Word but you don't have to copy and paste to make sure the spelling and such is correct. The easiest fix is common sense and a decent education.
    Okay thanks :)

  12. Post #412

    January 2008
    12 Posts
    This video was excellent:
    http://uk.youtube.com/watch?v=y0uoPbVO0M4

    [spoiler]Made me laugh when there was nothing there, and then the flashlight comes on and it's right next to you.[/spoiler] The Weighted Companion Cube will never hurt you in any way.

  13. Post #413
    Gold Member
    Tinter's Avatar
    March 2008
    7,471 Posts
    heeyo posted:
    This video was excellent:
    http://uk.youtube.com/watch?v=y0uoPbVO0M4

    [spoiler] The Weighted Companion Cube will never hurt you in any way.
    other than killing you

  14. Post #414
    Jake sandbox's Avatar
    December 2007
    7 Posts
    very nice cube ,gold star

  15. Post #415
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    What about my "Funny companion cube" it is good for scary maps.

  16. Post #416
    Gold Member
    Kwigg's Avatar
    January 2007
    1,013 Posts
    Creec all you did is change the model and some other bits.

  17. Post #417
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    Kwigg posted:
    Creec all you did is change the model and some other bits.
    Quack! I made it funny and added model and added sounds and wrote lua and made it addon, but nevermind.
    I just want to know is it "(NOT)Funny" now?

    PS: What about the quy who reversed companion cube's movement to jump around? You can do it simply by welding something to any companion cube.

  18. Post #418
    02browns's Avatar
    January 2006
    90 Posts
    I tried adding custom sounds to this but it won't play.

    Can someone tell me where to put the sounds and how to edit the lua file so they will play properly, i've tried everything.

  19. Post #419
    KwiggALT's Avatar
    April 2008
    697 Posts
    02browns posted:
    I tried adding custom sounds to this but it won't play.

    Can someone tell me where to put the sounds and how to edit the lua file so they will play properly, i've tried everything.
    There is a place in the lua called creepy sounds.
    Edit that part.

  20. Post #420
    02browns's Avatar
    January 2006
    90 Posts
    This is what I've done, have i done it wrong?

    I put one mp3 in there to see if that would work instead of wav, still no noises being emitted.

    Also have i put the sounds in the right place?

    I tried this directory but still doesn't work, i've also tried the gmod sound directory and it doesn't work there either.


    Some help would be much appreciated, thank you.


    Here's the code after my edit. (I've cut off the bottom part to stop wasting space on the forum page)
    Code:
    -- Pefectly harmless companion cube
    -- SENT by Teta_Bonita
    
    AddCSLuaFile( 'cl_init.lua' )
    AddCSLuaFile( 'shared.lua' )
    include('shared.lua')
    
    local COOLDOWN_TIME = 1.5
    local THINK_DELAY = 0.2
    
    local TELEPORT_PROB = 0.09
    local TELEPORT_COOLDOWN = 1
    local TELEPORT_MAX_DIST = 3000
    local TELEPORT_MAX_DIST_FROM_PLR = 450
    local TELEPORT_MIN_DIST_FROM_PLR = 100
    local TELEPORT_MAX_TRIES = 20
    
    local CREEP_PROB = 0.09
    local CREEP_COOLDOWN = 1
    local CREEP_DISTANCE_FRACTION = 0.5
    
    local STAB_MAX_DIST = 80
    local STAB_PROB = 0.1
    local STAB_COOLDOWN = 2
    local STAB_FORCE = 12000
    local STAB_DAMAGE = 500
    
    local EMITSOUND_MAX_DIST = 2200
    local EMITSOUND_PROB = 0.08
    local EMITSOUND_COOLDOWN = 4
    
    local CREEPY_SOUNDS = 
    {
    
    	{
    		Snd = Sound( "scarycube/beat.wav" ),
    		Dur = 20
    	},
    	
    	{
    		Snd = Sound( "scarycube/boom.wav" ),
    		Dur = 18
    	},
    	
    	{
    		Snd = Sound( "scarycube/build_up.wav" ),
    		Dur = 40
    	},
    	
    	{
    		Snd = Sound( "scarycube/errie.wav" ),
    		Dur = 14
    	},
    	
    	{
    		Snd = Sound( "scarycube/errie2.wav" ),
    		Dur = 34
    	},
    	
    	{
    		Snd = Sound( "scarycube/jaws.wav" ),
    		Dur = 12
    	},
    
    	{
    		Snd = Sound( "scarycube/knocking.wav" ),
    		Dur = 12
    	},
    	
    	{
    		Snd = Sound( "scarycube/lol.mp3" ),
    		Dur = 22
    	},
    	
    	{
    		Snd = Sound( "scarycube/psycho2.wav" ),
    		Dur = 10
    	},
    	
    	{
    		Snd = Sound( "scarycube/scream.wav" ),
    		Dur = 8
    	},
    	
    	{
    		Snd = Sound( "scarycube/shadow.wav" ),
    		Dur = 26
    	},
    	
    	{
    		Snd = Sound( "scarycube/zbeat2.wav" ),
    		Dur = 6
    	},
    	
    	{
    		Snd = Sound( "scarycube/build2.wav" ),
    		Dur = 40
    	},
    
    }
    
    local sndDrawKnife = Sound( "weapons/knife/knife_deploy1.wav" )
    local sndStab = Sound( "weapons/knife/knife_stab.wav" )
    
    
    function ENT:SpawnFunction( plr, tr )
    
    	if not tr.Hit then return end
    	
    	local ent = ents.Create( self.Classname )
    	ent:SetPos( tr.HitPos + tr.HitNormal * 24 )
    	ent:Spawn()
    	ent:Activate()	
    	ent:SetVictim( plr )
    	
    	return ent
    
    end

  21. Post #421

    March 2007
    10 Posts
    Nice work, this is quite scary, but can you make a special version that changes between random generic HL2 models everytime it moves?

  22. Post #422
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    Superraptor5 posted:
    Nice work, this is quite scary, but can you make a apecial version that changes between random generic HL2 models everytime it moves?
    Heh, that would be awesome, but maybe too scary.

    Edit:

    02browns posted:
    This is what I've done, have i done it wrong?

    I put one mp3 in there to see if that would work instead of wav, still no noises being emitted.

    Also have i put the sounds in the right place?

    I tried this directory but still doesn't work, i've also tried the gmod sound directory and it doesn't work there either.
    Some help would be much appreciated, thank you.


    Here's the code after my edit. (I've cut off the bottom part to stop wasting space on the forum page)
    Code:
    -- Pefectly harmless companion cube
    -- SENT by Teta_Bonita
    
    AddCSLuaFile( 'cl_init.lua' )
    AddCSLuaFile( 'shared.lua' )
    include('shared.lua')
    
    local COOLDOWN_TIME = 1.5
    local THINK_DELAY = 0.2
    
    local TELEPORT_PROB = 0.09
    local TELEPORT_COOLDOWN = 1
    local TELEPORT_MAX_DIST = 3000
    local TELEPORT_MAX_DIST_FROM_PLR = 450
    local TELEPORT_MIN_DIST_FROM_PLR = 100
    local TELEPORT_MAX_TRIES = 20
    
    local CREEP_PROB = 0.09
    local CREEP_COOLDOWN = 1
    local CREEP_DISTANCE_FRACTION = 0.5
    
    local STAB_MAX_DIST = 80
    local STAB_PROB = 0.1
    local STAB_COOLDOWN = 2
    local STAB_FORCE = 12000
    local STAB_DAMAGE = 500
    
    local EMITSOUND_MAX_DIST = 2200
    local EMITSOUND_PROB = 0.08
    local EMITSOUND_COOLDOWN = 4
    
    local CREEPY_SOUNDS = 
    {
    
    	{
    		Snd = Sound( "scarycube/beat.wav" ),
    		Dur = 20
    	},
    	
    	{
    		Snd = Sound( "scarycube/boom.wav" ),
    		Dur = 18
    	},
    	
    	{
    		Snd = Sound( "scarycube/build_up.wav" ),
    		Dur = 40
    	},
    	
    	{
    		Snd = Sound( "scarycube/errie.wav" ),
    		Dur = 14
    	},
    	
    	{
    		Snd = Sound( "scarycube/errie2.wav" ),
    		Dur = 34
    	},
    	
    	{
    		Snd = Sound( "scarycube/jaws.wav" ),
    		Dur = 12
    	},
    
    	{
    		Snd = Sound( "scarycube/knocking.wav" ),
    		Dur = 12
    	},
    	
    	{
    		Snd = Sound( "scarycube/lol.mp3" ),
    		Dur = 22
    	},
    	
    	{
    		Snd = Sound( "scarycube/psycho2.wav" ),
    		Dur = 10
    	},
    	
    	{
    		Snd = Sound( "scarycube/scream.wav" ),
    		Dur = 8
    	},
    	
    	{
    		Snd = Sound( "scarycube/shadow.wav" ),
    		Dur = 26
    	},
    	
    	{
    		Snd = Sound( "scarycube/zbeat2.wav" ),
    		Dur = 6
    	},
    	
    	{
    		Snd = Sound( "scarycube/build2.wav" ),
    		Dur = 40
    	},
    
    }
    
    local sndDrawKnife = Sound( "weapons/knife/knife_deploy1.wav" )
    local sndStab = Sound( "weapons/knife/knife_stab.wav" )
    
    
    function ENT:SpawnFunction( plr, tr )
    
    	if not tr.Hit then return end
    	
    	local ent = ents.Create( self.Classname )
    	ent:SetPos( tr.HitPos + tr.HitNormal * 24 )
    	ent:Spawn()
    	ent:Activate()	
    	ent:SetVictim( plr )
    	
    	return ent
    
    end
    Yes you seem to have right sounds in right directory to me.

    EDIT: You really have right code, but it takes time to load these sounds, try making more cubes, but then you notice that these sounds are unstoppable.

  23. Post #423
    Gold Member
    BlackhawkGT's Avatar
    June 2007
    211 Posts
    Why did i do this D:
    .

  24. Post #424
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    02browns

    I figured out it.
    You CAN use waw files as you are trying.
    You just don't hear them right away because it takes time to launch them.

    BUT, evne if your .waw format sounds start to work they don't have such function as STOPSOUND and they will continue to play even if you look at cube or remoe it, so use only valve sounds in SCARY_SOUNDS section.

  25. Post #425
    Pronema's Avatar
    September 2006
    114 Posts
    Very cool, you have my download.

  26. Post #426
    02browns's Avatar
    January 2006
    90 Posts
    creec posted:
    02browns

    I figured out it.
    You CAN use waw files as you are trying.
    You just don't hear them right away because it takes time to launch them.

    BUT, evne if your .waw format sounds start to work they don't have such function as STOPSOUND and they will continue to play even if you look at cube or remoe it, so use only valve sounds in SCARY_SOUNDS section.
    Well i don't mind if the wav files don't stop playing, i'm just annoyed that they won't start playing at all. You say i've done it correctly but neither my code or yours plays the sounds. So how long am i expected to wait, and is there a way of speeding up the loading process?

  27. Post #427
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    02browns posted:
    Well i don't mind if the wav files don't stop playing, i'm just annoyed that they won't start playing at all. You say i've done it correctly but neither my code or yours plays the sounds. So how long am i expected to wait, and is there a way of speeding up the loading process?
    I tried to add wav sounds, and for the first they didn't work but after i made around 5 cubes and run around they started to play, but even when i look at cubes they keep playing music.

    Edit:

    If you want music in your gmod try my addon:
    http://forums.facepunchstudios.com/s...d.php?t=477926

  28. Post #428
    Chainsaw's Avatar
    February 2008
    263 Posts
    HOLY SHIT!! That's scary... And awesome!

  29. Post #429
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    Here is a new version of companion cube!
    It can now use .mp3 and .wav files.

    There were a lot of people who wanted to add own sounds to it but it didn't work but now it does, just add them to My funny companion cube.

  30. Post #430
    ZonicTH's Avatar
    July 2007
    84 Posts
    Don't blink, don't even blink. Blink and your dead. They are fast, faster than you can believe. Don't turn your back. Don't look away, and DON'T blink... good luck.



    *blinks, killed*

  31. Post #431

    September 2007
    18 Posts
    TetaBonita posted:
    There is no stopping the cube.
    what about a nuke?


    fuck that might just stop me...



    IDEA!


    A GIANT MAGNET!!!!!

  32. Post #432
    Dude902's Avatar
    November 2007
    590 Posts
    Is there a way to change the companion cube to make a TF2 spy knife instead of the CSS one? 'Cause I don't have CSS, and it looks funny. I tried, but I think I did something wrong because it doesn't appear. Do I have to reposition it?

  33. Post #433
    White_Fang's Avatar
    March 2008
    19 Posts
    Drag0nSnak3 posted:
    That thing actually scared me while i was playing on Dustbowl.
    1. I decided to try and keep an eye on it, so i placed a camera and turned away. It didn't move. I placed an RT camera and placed a monitor. I think it moved in front of me.
    2. I place a PHX window (a couple actually). It moved through them. Try playing with this thing in Ravenholm :D
    10 Cubes on ravenholm is one of the scariest things ever, i will never be the same *eye Twitches*

  34. Post #434
    Gold Member
    creec's Avatar
    August 2007
    4,206 Posts
    Dude902 posted:
    Is there a way to change the companion cube to make a TF2 spy knife instead of the CSS one? 'Cause I don't have CSS, and it looks funny. I tried, but I think I did something wrong because it doesn't appear. Do I have to reposition it?
    Added knife model to my Funny companion cube.

    Edit:

    It's ready now, but i need to test it.

    Edit:

    Moving the development of my custom Funny companion cube to other thread.
    HERE: http://forums.facepunchstudios.com/s....php?p=9815243


    DOWNLOAD:

  35. Post #435
    Gold Member
    clanratc's Avatar
    September 2006
    2,056 Posts
    It scared the crap out of me.

  36. Post #436
    Hi, my name is mastermaul, and I'm a butt.
    mastermaul's Avatar
    January 2008
    8,388 Posts
    THIS THING SCARED THE SHIT OUT OF ME! I encased it in shipping crates, NUKED IT TWICE, and the damn thing stabbed me in the back.

  37. Post #437
    Gold Member
    Someoneuduno's Avatar
    November 2006
    1,788 Posts
    BlackhawkGT posted:
    Why did i do this D:
    .
    We all hate that part :(.

  38. Post #438
    soulsquisher's Avatar
    May 2007
    45 Posts
    I managed to catch it move by creating a reflective surface, but on a side note this would be a great game mode. It would also be cool if once in a certain range of the player if they turn around to look then it will stab them.

  39. Post #439
    CriticalMass's Avatar
    April 2008
    4 Posts
    I had a few of them welded to the ground, frozen, roped about 20 times each and under a frozen, welded dumpster. They got me.

  40. Post #440
    Gold Member
    Kwigg's Avatar
    January 2007
    1,013 Posts
    I roped 1 to 28 rigid ropes.
    It kept catapulting me really high.