+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [E2] FailCake Stalker V1

  1. #1
    Wirererer failcake's Avatar
    Join Date
    Jul 2009
    Location
    In Aperture Science Laboratories
    Posts
    298

    Talking [E2] FailCake Stalker V1

    And Another evil e2...=).

    How to use :

    Spawn E2 and say -stalker personname. Simple..

    Code:
    @name FailCake Stalker V1
    @outputs Person:entity Go
    @persist Goto:array Song
    @trigger all
    
    runOnTick(1)
    
    if(first()){
    entity():setAlpha(0)
    Go = 0
    hint("MADE BY [CG]FailCake",100)  
    }
    
    Goto = owner():lastSaid():explode(" ")
    Ee=entity():isWeldedTo()
    
    if(Goto[1,string]=="-stalker")
    {
        findByClass("player")
        Ply = findToArray()
        hideChat(1)
    
            for(I = 1,Ply:count())
            {
                if(Ply[I,entity]:name():lower():find(Goto[2,string]:lower()))
                {
                Person = Ply[I,entity]
                Go = 1
                break
                }
            }
    }else{
    hideChat(1)
    }
    
    
    if(Go){
        
    Songs=array()
      
    Songs:setString(1,"music/stingers/hl1_stinger_song28.mp3")
    Songs:setString(2,"music/stingers/hl1_stinger_song27.mp3")
    Songs:setString(3,"ambient/atmosphere/hole_hit5.wav")
    Songs:setString(4,"ambient/machines/thumper_hit.wav")
    Songs:setString(5,"ambient/materials/metal4.wav")
    Songs:setString(6,"ambient/tones/tunnel_wind_loop.wav")
    Songs:setString(7,"ambient/atmosphere/cave_hit5.wav")
    Songs:setString(8,"d3_citadel/stalker_breathing.wav")
    Songs:setString(9,"ambient/voices/playground_memory.wav")
    Songs:setString(10,"music/stingers/industrial_suspense1.wav")
    Songs:setString(11,"vo/halloween_boo1.wav")
    
    Songs:setString(12,")ambient/sawblade_impact1.wav")
    Songs:setString(13,"vo/halloween_scream2.wav")
    Songs:setString(14,"vo/halloween_haunted1.wav")
    Songs:setString(15,"vo/halloween_moan1.wav")
    
    Material = array()
    
    Material:setString(1,"matsys_regressiontest/background")
    
    
    
    holoCreate(1)
    holoModel(1,"cube")
    holoScaleUnits(1,vec(0.2,50,50))
    holoPos(1,Person:toWorld(vec(-40,0,50)))
    holoColor(1,vec(255,255,255))
    holoAlpha(1,255)
    holoAng(1,Person:angles():setPitch(0):setRoll(0))
    
    
    holoCreate(2)
    holoModel(2,"cube")
    holoScaleUnits(2,vec(0.1,50,50))
    holoPos(2,Person:toWorld(vec(-40.2,0,50)))
    holoAng(2,Person:angles():setPitch(0):setRoll(0))
    holoColor(2,vec(1,1,1))
    holoAlpha(2,255)
    
    
    Song += 0.1
    if(Song == 2){
    R = randint(1,15)
    R2 = randint(1,1)
    holoEntity(1):soundPlay(7331,0,Songs:string(R))
    holoMaterial(1,Material:string(R2))
    holoColor(1,vec(255,255,255))
    }
    
    if(Song >= 30){
    soundStop(7331)
    holoColor(1,vec(1,1,1))
    Song = 0
    }
    
    
    
    }
    if(duped()){selfDestructAll()}
    if(duped()){selfDestructAll()}
    I will Post Video Soon..

  2. #2
    Wiremod Helper Lyinginbedmon's Avatar
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,659

    Default Re: [E2] FailCake Stalker V1

    Ignoring the substantial optimisation to be had with this, isn't this basically a minge chip? You stick a couple holograms near someone and randomly play sounds through them.

    The Olympus Technologies drones, totally not SkyNet in Gmod form.
    Cronus: The Ultimate Drone, definitely SkyNet in Gmod form.
    The gBrain Project, the drone controls system that thinks it's better than you

  3. #3
    Wirererer failcake's Avatar
    Join Date
    Jul 2009
    Location
    In Aperture Science Laboratories
    Posts
    298

    Default Re: [E2] FailCake Stalker V1

    Quote Originally Posted by Lyinginbedmon View Post
    Ignoring the substantial optimisation to be had with this, isn't this basically a minge chip? You stick a couple holograms near someone and randomly play sounds through them.
    Ye....A bit..

  4. #4
    Wire Sofaking Jack37's Avatar
    Join Date
    Jul 2009
    Location
    In front of Tatra T6A5
    Posts
    780

    Default Re: [E2] FailCake Stalker V1

    put Songs=array() and all Songs:setString(...) into first(). The array doesn't need to create every game tick.


    Wanna add me?:


    My Apps: Adv. Dupe -> E2 Code

  5. #5
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [E2] FailCake Stalker V1

    And you can use Songs =array("Song1","Song2","Song3")

  6. #6
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: [E2] FailCake Stalker V1

    Yeah I don't think it was a good idea releasing this to the public. Minges will see this and immediately download it.

  7. #7
    Wire Noob Fair's Avatar
    Join Date
    Feb 2010
    Posts
    20

    Default Re: [E2] FailCake Stalker V1

    Also, this chip gotta take tons of ops.

    Since it's creating holos, arrays and such over and over every game tick.

  8. #8
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: [E2] FailCake Stalker V1

    Holos should only be repositioned and have their angles changed every tick (if that), everything else having to do with holograms should be in if(first())
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

  9. #9
    Wire Amateur hoyo321's Avatar
    Join Date
    Jan 2009
    Location
    Korea,Republic of
    Posts
    85

    Default Re: [E2] FailCake Stalker V1

    you can find player by using "E = findPlayerByName("S")"
    it can find player from using part of player's name
    Sorry, I'm not good at English

  10. #10
    Wire Sofaking Jack37's Avatar
    Join Date
    Jul 2009
    Location
    In front of Tatra T6A5
    Posts
    780

    Default Re: [E2] FailCake Stalker V1

    Quote Originally Posted by hoyo321 View Post
    you can find player by using "E = findPlayerByName("S")"
    it can find player from using part of player's name
    We tried this on server and it always returned "" (empty)


    Wanna add me?:


    My Apps: Adv. Dupe -> E2 Code

+ Reply to Thread
Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots