Welcome Back! Please login below. If you are not yet a member, why not register? Enjoy!

Join the forum, it's quick and easy

Welcome Back! Please login below. If you are not yet a member, why not register? Enjoy!

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Following mouse aiming turret friend. 31We have now opened a new Build server! IP: 188.165.193.102:27016Following mouse aiming turret friend. 31

5 posters

    Following mouse aiming turret friend.

    oskarso
    oskarso
    Elite Member
    Elite Member


    Number of posts : 439
    Age : 29
    Location : Over here
    In-Game Name : Badlands

    Credits Credits :
    Following mouse aiming turret friend. Left_bar_bleue2 / 1002 / 100Following mouse aiming turret friend. Right_bar_bleue

    Warnings! Warnings! :
    Following mouse aiming turret friend. Left_bar_bleue0 / 100 / 10Following mouse aiming turret friend. Right_bar_bleue

    Registration date : 2008-07-25
    Points : 267
    Reputation : 7

    Following mouse aiming turret friend. Empty Following mouse aiming turret friend.

    Post by oskarso Fri Jul 17, 2009 4:18 am

    Firstly put this in console: wire_expression2_model models/props_phx/construct/metal_plate1.mdl

    Spawn the exp gate and make it no grav.
    Put the following code in:
    Code:
    @outputs Gyro:angle
    @persist V:vector

    interval(10)

    Plate=entity()

    Me=owner()

    P=Plate:elevation(Me:aimPos())
    Y=Plate:bearing(Me:aimPos())
    R=Plate:angles():roll()

    Gyro=-ang(P,Y,R)*1000

    Plate:applyAngForce(Gyro+$Gyro*5)

    V=(Me:pos()-Plate:pos()+vec(0,0,150))*1000

    Plate:applyForce(V+$V*5)

    Then make a turret and a numpad input or what ever you want to use!
    (It may be a bit hard finding where the plate is pointing)
    This will follow you around 150 units above you and pointing where ever you look.
    I found this on the wiremod forums in a 2 part video.
    Andyator
    Andyator
    Member
    Member


    Number of posts : 28
    Age : 29
    Location : U.S.A, River Falls, WI
    In-Game Name : [BS] Andyator [GU]

    Credits Credits :
    Following mouse aiming turret friend. Left_bar_bleue0 / 1000 / 100Following mouse aiming turret friend. Right_bar_bleue

    Warnings! Warnings! :
    Following mouse aiming turret friend. Left_bar_bleue0 / 100 / 10Following mouse aiming turret friend. Right_bar_bleue

    Registration date : 2009-06-17
    Points : 36
    Reputation : 0

    Following mouse aiming turret friend. Empty Re: Following mouse aiming turret friend.

    Post by Andyator Fri Jul 17, 2009 8:04 am

    Its AWESOME, the aim is a little off. But I have just one question...
    How do I change the model back?
    oskarso
    oskarso
    Elite Member
    Elite Member


    Number of posts : 439
    Age : 29
    Location : Over here
    In-Game Name : Badlands

    Credits Credits :
    Following mouse aiming turret friend. Left_bar_bleue2 / 1002 / 100Following mouse aiming turret friend. Right_bar_bleue

    Warnings! Warnings! :
    Following mouse aiming turret friend. Left_bar_bleue0 / 100 / 10Following mouse aiming turret friend. Right_bar_bleue

    Registration date : 2008-07-25
    Points : 267
    Reputation : 7

    Following mouse aiming turret friend. Empty Re: Following mouse aiming turret friend.

    Post by oskarso Fri Jul 17, 2009 12:54 pm

    Just click on a model in the e2 context menu.
    Bam
    Bam
    Admin
    Admin


    Number of posts : 1952
    Age : 37
    Location : Hull, UK
    In-Game Name : [BS] Bam

    Credits Credits :
    Following mouse aiming turret friend. Left_bar_bleue100 / 100100 / 100Following mouse aiming turret friend. Right_bar_bleue

    Warnings! Warnings! :
    Following mouse aiming turret friend. Left_bar_bleue0 / 100 / 10Following mouse aiming turret friend. Right_bar_bleue

    Registration date : 2008-05-27
    Points : 1598
    Reputation : 76

    Following mouse aiming turret friend. Empty Re: Following mouse aiming turret friend.

    Post by Bam Fri Jul 17, 2009 2:48 pm

    Cool, think I might try this Very Happy

    Mouse aimed nuke dispenser!
    Andyator
    Andyator
    Member
    Member


    Number of posts : 28
    Age : 29
    Location : U.S.A, River Falls, WI
    In-Game Name : [BS] Andyator [GU]

    Credits Credits :
    Following mouse aiming turret friend. Left_bar_bleue0 / 1000 / 100Following mouse aiming turret friend. Right_bar_bleue

    Warnings! Warnings! :
    Following mouse aiming turret friend. Left_bar_bleue0 / 100 / 10Following mouse aiming turret friend. Right_bar_bleue

    Registration date : 2009-06-17
    Points : 36
    Reputation : 0

    Following mouse aiming turret friend. Empty Re: Following mouse aiming turret friend.

    Post by Andyator Fri Jul 17, 2009 9:12 pm

    Lol duh thats right, thanks
    Epoch
    Epoch
    Member
    Member


    Number of posts : 50
    Age : 30
    Location : Ontario
    In-Game Name : [BS] Epoch

    Credits Credits :
    Following mouse aiming turret friend. Left_bar_bleue0 / 1000 / 100Following mouse aiming turret friend. Right_bar_bleue

    Warnings! Warnings! :
    Following mouse aiming turret friend. Left_bar_bleue0 / 100 / 10Following mouse aiming turret friend. Right_bar_bleue

    Registration date : 2009-07-14
    Points : 64
    Reputation : 0

    Following mouse aiming turret friend. Empty Re: Following mouse aiming turret friend.

    Post by Epoch Fri Jul 17, 2009 9:17 pm

    So thats what that was.
    avatar
    Blackbull
    Hello! I'm new!
    Hello! I'm new!


    Number of posts : 11
    Age : 33
    Location : iceland
    In-Game Name : blackbull ice

    Credits Credits :
    Following mouse aiming turret friend. Left_bar_bleue0 / 1000 / 100Following mouse aiming turret friend. Right_bar_bleue

    Warnings! Warnings! :
    Following mouse aiming turret friend. Left_bar_bleue0 / 100 / 10Following mouse aiming turret friend. Right_bar_bleue

    Registration date : 2009-08-18
    Points : 13
    Reputation : 0

    Following mouse aiming turret friend. Empty Re: Following mouse aiming turret friend.

    Post by Blackbull Tue Aug 18, 2009 12:19 am

    nice i understand this all!

    Sponsored content


    Following mouse aiming turret friend. Empty Re: Following mouse aiming turret friend.

    Post by Sponsored content


      Current date/time is Fri May 17, 2024 1:46 pm