+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Soccer Ball!

  1. #11
    Wire Noob Middle Thumb's Avatar
    Join Date
    Dec 2009
    Posts
    26

    Talking Come and play with muffin and i on the server

    ok so muffin, i see you made a soccer field, that looks sweet by the picture, my bro and i will be happy to test it on you, and if anyone else wants to come to the server and play against us that would be great for us and the server! so again, i hope you all are liking it so far and feel free to tell friends about it and the server! :huh: ^_^ :mellow: hahaha faces!

  2. #12
    Wirererer Muffin Burglar's Avatar
    Join Date
    Nov 2009
    Posts
    212

    Default Re: Soccer Ball!

    Er, late bump?
    (Field is out D
    |-- E2 Monkey Ball -- | -- gPaint! --|

  3. #13
    Wire Sofaking postman's Avatar
    Join Date
    Mar 2010
    Location
    oregon
    Posts
    578

    Default Re: Soccer Ball!

    I didnt even know this was made until a friend said that my soccer ball was your with my name, i assure you its not but i figured id post what i made.

    Code:
    @name Soccer ball
    @inputs
    @outputs
    @persist Players:array Kicker:array R:array
    @model models/props_phx/misc/soccerball.mdl
    interval(100)
    if(first()){entity():setMass(9000)}
    
    findByClass("player")
    Players = findToArray()
    
    for(I = 1,Players:count())
    {
    Player=Players[I,entity]
    
    if(Player:aimPos():distance(entity():pos()) < 20 & changed(Player:keyUse())&Player:keyUse()&(Player:weapon():type()=="weapon_crowbar"|Player:weapon():type()=="weapon_stunstick"))
    {
        entity():applyForce(((entity():pos() + vec(0,0,300))- entity():pos())*entity():mass()-entity():vel()*(entity():mass()/2))
        Kicker:setEntity(1,Player)
        timer("wait",100)
    }
    if(clk("wait"))
    {
        entity():applyForce(((entity():pos() + vec(0,0,500))- entity():pos())*entity():mass()-entity():vel()*(entity():mass()/3))
        entity():applyForce(Kicker:entity(1):eye()*entity():mass()*400)
    }
    if(Player:aimPos():distance(entity():pos()) < 20 & changed(Player:keyAttack2())&Player:keyAttack2()&(Player:weapon():type()=="weapon_crowbar"|Player:weapon():type()=="weapon_stunstick"))
    {
        Kicker:setEntity(2,Player)
        entity():applyForce(Kicker:entity(2):eye()*entity():mass()*1500)
    }
    }

    as you can see, my code isnt as neat and you cant pick up the ball, but still, nice work.
    My stuff:
    AI E2's:
    Bugz|Tribbles|Wonderball|AI release thread
    Other:
    Hoverboard|E2 release thread
    Holo Stargate|Holo Dashboard|Poltergeist
    (tell me if any of the links dont work via PM please)

+ Reply to Thread
Page 2 of 2 FirstFirst 12

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