View Poll Results: Do you like it?

Voters
1. You may not vote on this poll
  • No

    0 0%
  • I don't know

    1 100.00%
  • Yes

    0 0%
+ Reply to Thread
Results 1 to 6 of 6

Thread: My litte turret

  1. #1
    Wire Noob kristian02's Avatar
    Join Date
    Apr 2007
    Location
    Norway
    Posts
    27

    Talking My litte turret

    Hi i havent played Gmod i a while and made a turret in E1, the day before a learned that it has been put down

    And becouse i like to share:
    My litte turret-gm_ps_hugeflatconstruct_svn0002.jpg
    My litte turret-gm_ps_hugeflatconstruct_svn0005.jpg
    My litte turret-gm_ps_hugeflatconstruct_svn0006.jpg

    Here is the advdupe file:
    delta turret .txt

    And the expresion codes:
    turret.txt
    accum.txt

    I am trying to learn E2 "again". But could some 1 convert them over to E2 please :P
    It could help whit my understanding off E2.
    Attached Thumbnails Attached Thumbnails My litte turret-gm_ps_hugeflatconstruct_svn0003.jpg  
    Last edited by kristian02; 05-25-2010 at 12:47 PM.

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

    Default Re: My litte turret

    The poll is unnecessary and pointless here, but the turret itself looks nice. You seem to have used thrusters to rotate the base but then used hydraulics for the upper section, a nice change of pace from most autoturrets.

  3. #3
    Wire Noob kristian02's Avatar
    Join Date
    Apr 2007
    Location
    Norway
    Posts
    27

    Default Re: My litte turret

    Yeah i realy dont like the auto turrets, they kinda works out of thin air XD

    And how do i remove the poll?

  4. #4
    Spucatum Tauri Bull's Avatar
    Join Date
    Jun 2008
    Location
    Finland
    Posts
    6,009

    Default Re: My litte turret

    Code:
    @name Turret
    @inputs Elev Bear Dist Acc Heightadd
    @outputs Ac AR EH
    Ac = -Elev-EH
    AR = ( Acc < 0 | Acc > 125 )
    # which is the same as if ( Acc < 0 | Acc > 125 ) { Ar=1} else {Ar = 0}
    # ( Acc < 0 | Acc > 125 ) returns either true (1) or false (0) , so a simple AR = does the trick already
    EH = atan(Heightadd/Dist)
    For the accumulator, don't use E2, use an accumulator gate.
    My signature has a point.
    Quote Originally Posted by Squeakyneb View Post
    when l3ulletje says do it, do it.
    That

    Quote Originally Posted by Anticept View Post
    By the way, Bull is in charge.

  5. #5
    Wirererer Tommyx50's Avatar
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    229
    Blog Entries
    1

    Default Re: My litte turret

    Quote Originally Posted by Bull View Post
    Code:
    @name Turret
    @inputs Elev Bear Dist Acc Heightadd
    @outputs Ac AR EH
    Ac = -Elev-EH
    AR = ( Acc < 0 | Acc > 125 )
    # which is the same as if ( Acc < 0 | Acc > 125 ) { Ar=1} else {Ar = 0}
    # ( Acc < 0 | Acc > 125 ) returns either true (1) or false (0) , so a simple AR = does the trick already
    EH = atan(Heightadd/Dist)
    For the accumulator, don't use E2, use an accumulator gate.
    Meh. I'll change the accumulator anyways.

    Code:
    @name Accumulator
    @inputs A Delta Reset
    @outputs Acum
    
    Acum = Acum + A
    
    if (Reset == 1) {Acum = 0}
    Or you can use both in one chip:

    Code:
    @name Turret & Accumulator
    #Turret 
    @inputs Elev Bear Dist Acc Heightadd
    @outputs Ac AR EH
    #Accumulator
    @inputs A Delta Reset
    @outputs Acum
    
    #Turret
    
    Ac = -Elev-EH
    AR = ( Acc < 0 | Acc > 125 )
    
    # which is the same as if ( Acc < 0 | Acc > 125 ) { Ar=1} else {Ar = 0}
    # ( Acc < 0 | Acc > 125 ) returns either true (1) or false (0) , so a simple AR = does the trick already
    
    EH = atan(Heightadd/Dist)
    
    #Accumulator
    
    Acum = Acum + A
    
    if (Reset == 1) {Acum = 0}
    Though I am not sure why you need the Delta input, nothing about Delta in there.
    Expression 3 GATE


    -Something to remember. We cannot see your information through this. Only you (and G. Bush) can.

  6. #6
    Banned Teh1337bix's Avatar
    Join Date
    Oct 2008
    Location
    gm_bigcity
    Posts
    445

    Default Re: My litte turret

    Nice turret
    BTW: LEARN CPU!!!

+ Reply to Thread

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