Results 1 to 3 of 3

Thread: Fishing Rod

  1. #1
    Wire Amateur Spoon God's Avatar
    Join Date
    Jul 2009
    Posts
    91

    Wink Fishing Rod

    Quote Originally Posted by Spoon God View Post
    Someone also suggested I make it so you can fish them out with a fishing rod, but i'm not sure wether to do that or not since it would cause a lot of complications.
    - Source: Virtual Pond -

    Yup, I said I might do it, and here it is!

    DOWNLOAD!

    As I said, it would cause a lot of complications if I were to make a fishing rod E2 that interacts with the virtual pond...for instance:
    - The virtual pond only checks for a small box of water, and does not get the shape of the full body of water.
    - Lag, especially with more than one virtual pond.
    - Creating a system for removing caught fish, passing them onto the rod, then replacing them.

    So, I made it a standalone fishing rod - it can be used with any body of water, and does not require the virtual pond.
    You could still spawn it in the same body of water, to give the feel of being able to see the fish you are finding, but the choice is yours!

    _Instructions_

    1) Spawn the E2 - it will create a fishing rod, a fishing wire, and a float for you. No setup necessary!

    2) Hold the fishing rod over some water, with the float touching the surface, like so;


    3) Wait patiently until your float starts to bob up and down. This means you have hooked a fish!


    4) Pull the rod up, and the line will reel itself in, pulling the fish into view for you.


    5) After taking any necessary notes of what you have caught, gloating to your fellow players, or whatever you feel like doing with the fish, you can release it by putting it back into the water. Repeat from step 3.

    _EDIT_
    Forgot those of you who don't have an account:
    Code:
    # Made by Spoon_God
    @name Fishing Rod
    @persist [W H S T]:number [A NoAng]:angle [B E F L R]:entity [O NoVec]:vector C:array
    @model models/props_c17/signpole001.mdl
    if(tickClk()){
        holoAng(2,NoAng)
        rangerDefaultZero(0)
        rangerHitWater(1)
        rangerIgnoreWorld(0)
        if(H==2){
            if(S<50){
                if(rangerOffset(100,L:pos(),vec(0,0,-1)):hit()){
                    S+=0.25
                    holoScale(2,vec(0.04,0.04,S))
                    holoPos(4,L:pos()+vec(0,0,S*-6))
                    if(S>=50){
                        S=50
                        H=0
                        holoAlpha(4,0)
                        holoAlpha(5,0)
                    }
                }
            }
        }
        D=rangerOffset(S*2,L:pos(),vec(0,0,-1))
        holoPos(3,D:position()+O)
        rangerIgnoreWorld(1)
        if(D:hit()){
            if(!H){
                if(T){
                    T--
                    if(!T){
                        H=1
                        T=randint(1000,3000)
                        holoAlpha(4,255)
                        holoAlpha(5,255)
                        holoColor(4,C[randint(C:count()),vector])
                        holoColor(5,F:getColor())
                    }
                }
            }
        }elseif(H==1){
            if(S>15){
                S-=0.25
                holoScale(2,vec(0.04,0.04,S))
                holoPos(4,L:pos()+vec(0,0,S*-6))
            }else{
                O=NoVec
                H=2
            }
        }
        if(H){
            W+=20
            if(W>360){
                W-=360
            }
            if(S==50){
                holoAng(5,ang(sin(W)*30,0,0))
            }
            if(F:isUnderWater()&H==1){
                O=vec(0,0,sin(W))
            }
        }
    }elseif(first()){
        C=array(vec(255,255,255),vec(255,50,50),vec(255,255,50),vec(255,50,255),vec(50,255,255),vec(50,255,50),vec(50,50,255))
        T=randint(1000,3000)
        E=entity()
        E:setMass(10)
        E:setAlpha(0)
        A=E:angles()
        S=50
        R=holoCreate(1,E:pos()+vec(0,0,80):rotate(A),vec(0.2,0.2,14),A,NoVec,"hqcone") # Rod
        holoParent(1,E)
        L=holoCreate(2,E:pos()+vec(0,0,164):rotate(A),vec(0.04,0.04,45),NoAng,vec(255,255,255),"hqcylinder2")
        holoClip(2,NoVec,vec(0,0,-1),0)
        holoClipEnabled(2,1)
        holoParent(2,E)
        holoMaterial(2,"models/props_lab/tank_glass001")
        B=holoCreate(3,L:pos(),vec(0.3,0.3,0.6),NoAng,C[randint(C:count()),vector],"hqicosphere2")
        holoMaterial(3,"models/shiny")
        holoParent(3,2)
        F=holoCreate(4,L:pos()-vec(0,0,300),vec(0.4,0.7,1),NoAng,NoVec,"hqicosphere")
        holoParent(4,2)
        holoAlpha(4,0)
        holoCreate(5,L:pos()-vec(0,0,305),vec(0.05,0.6,0.7),NoAng,NoVec,"pyramid")
        holoParent(5,4)
        holoAlpha(5,0)
        runOnTick(1)
    }
    Attached Files Attached Files
    Last edited by Spoon God; 06-02-2010 at 09:04 AM. Reason: Smaller pics that don't screw the page up
    (Ragdoll Keyframer) (Awesome Heads) (Fish Tank) (Virtual Fish Pond) (Fishing Rod) (Crap) (Sparkle) (Airboat Tank V2.0) (Balls of Rubber V2.0) (Bomb Truck) (Nuke Cannon) (Jet)
    If my computer is online, you can see all my new stuff at my E2 page.

  2. #2
    Wire Amateur SuperNovuh's Avatar
    Join Date
    May 2010
    Posts
    69

    Default Re: Fishing Rod

    haha this was awesome in-game. Especially with holo solid

  3. #3
    Wirererer Dragonheart's Avatar
    Join Date
    Jan 2009
    Location
    Celedon City, Kanto
    Posts
    341

    Default Re: Fishing Rod

    I love your little fishehs! Great that it interacts with your holo pond E2,
    I throw

Posting Permissions

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