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.
No
I don't know
Yes
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:
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.
Last edited by kristian02; 05-25-2010 at 12:47 PM.
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.
Yeah i realy dont like the auto turrets, they kinda works out of thin air XD
And how do i remove the poll?
For the accumulator, don't use E2, use an accumulator gate.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)
Meh. I'll change the accumulator anyways.
Or you can use both in one chip:Code:@name Accumulator @inputs A Delta Reset @outputs Acum Acum = Acum + A if (Reset == 1) {Acum = 0}
Though I am not sure why you need the Delta input, nothing about Delta in there.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}
Expression 3 GATE
-Something to remember. We cannot see your information through this. Only you (and G. Bush) can.
Nice turret
BTW: LEARN CPU!!!
Bookmarks