Post Your Current WIP V.3!: Tutorials, Tools and Model Packs Galore (GM13 googogogo)
5,225 replies, posted
heavily armored flying tank sniper
[img]http://dl.dropbox.com/u/12150594/Garrysmod/gm_bigcity0019.jpg[/img]
[img_thumb]http://dl.dropbox.com/u/12150594/Garrysmod/gm_bigcity0020.jpg[/img_thumb]
[QUOTE=Balto-the-Wolf-Dog;36294623]Ohh, its on. :v:
'bout time I tackle a fin only VTOL anyway, I know James beat me to the punch with a fin only osprey, but eh, it must be done.[/QUOTE]
It's not on couse i will never make it fly only by fins. Although... suddenly that concept became much more tempting. Maybe I will make it fly by fins! And ACF! so it is on. :F
[QUOTE=unrezt;36261964]Like red said its pretty easy, here is a very simple steering wheel.
[code]
holoAng(1, Body:toWorld(ang(45, 0, -Body:toLocal(SteeringArm:angles()):yaw())))
[/code][/QUOTE]
I can't seem to get this to spawn right. The E2 gave me errors regarding inputs on Body and SteeringArm, when I fixed that it just sits there and goes "Whaaaa?" at ":angles())". The E2 wiki doesn't mention a damn thing about holograms of use, what little it does mention about angles does absolutely nothing to solve this, random tinkering just returns more errors, and google fails me.
Halp? Or am I going to have to go somewhere else to get help?
Hello generic facepunch contraptions person
Here is a tank speed hold/cruise control/speed governor/whatever e2. Does the job nicely.
[code]
@name ACF tank speed hold
@inputs Up Down Throttle Active
@outputs T MPH Set Delta
@persist Set Delta T2 Active2 MaxSetting
@trigger
#Hi, I am Iwancoppa
#Welcome to ACF tank speed hold V1.1
#WIRING INSTRUCTIONS
#Active to the button that will toggle the speed hold
#Up to the button that increases target speed
#Down to the button that decreases the target speed
#Throttle to your tank chip
#Wire the engine's throttle to T
#MPH is your speed in MPH
#Set is the speed that it will aim for
#When the hold is off, the engine's throttle will be equal to the throttle input allowing
#for regular driving.
#Change MaxSetting to change the maximum target speed.
MaxSetting = 33
interval(1)
MPH = toUnit("mph",entity():vel():length())
Delta = $MPH
if(Active2){
T =clamp( T + ((Set - MPH) / 2) - (Delta * 20),0,100)
} else {T = Throttle}
if(Up & ~Up){Set++}
if(Down & ~Down){Set--}
if(Set < 2){Set = 2}
if(Set > MaxSetting){Set = MaxSetting}
if(Active & ~Active & Active2 == 0 ){Active2 = 1}
elseif(Active & ~Active & Active2 == 1 ){Active2 = 0}
[/code]
Enjoy.
Tankette-APC-thingi
2tons, 1.6l diesel.
Featuring holo brake bars, gas pedal, shutters(with fading door armor) and cruise control speed gauge.(courtesy of poheniks)
Uses the tank speed hold e2 in my last post for cruise control.
Resistant to 7.62mm from all angles.
[IMG]http://cloud-2.steampowered.com/ugc/596972801603898538/AD8297A9CE439B81A90C9F763C5550EC29A9434D/[/IMG]
[B]Shutters down.[/B]
[IMG]http://cloud.steampowered.com/ugc/596972801603889965/21182C11577A9228BB4A899F52DC3BD18AA7A518/[/IMG]
[B]Shutters up.[/B]
[IMG]http://cloud-2.steampowered.com/ugc/596972801603879633/5D134A3E53E956A42A79E4E92D415460D7B1563C/[/IMG]
[B]Inside view. Gauge is on the left.[/B]
[IMG]http://cloud.steampowered.com/ugc/596972801603884098/979C1453313D0C852345F7C1955A5D990E104D53/[/IMG]
[B]Open that shutter foo[/B]
[QUOTE=TestECull;36298885]I can't seem to get this to spawn right. The E2 gave me errors regarding inputs on Body and SteeringArm, when I fixed that it just sits there and goes "Whaaaa?" at ":angles())". The E2 wiki doesn't mention a damn thing about holograms of use, what little it does mention about angles does absolutely nothing to solve this, random tinkering just returns more errors, and google fails me.
Halp? Or am I going to have to go somewhere else to get help?[/QUOTE]
Well...you need to define the entities. Wire these to your car's body and steering plate.
[code]
@inputs [Body SteeringArm]:entity
[/code]
You also need to create the hologram.
[code]
if (first()) {
holoCreate(1)
}[/code]
Putting it all together you get:
[code]
@inputs [Body SteeringArm]:entity
interval(90)
if (clk()) {
holoAng(1, Body:toWorld(ang(45, 0, -Body:toLocal(SteeringArm:angles()):yaw())))
} elseif (first()) {
holoCreate(1)
}[/code]
[QUOTE=unrezt;36300246]Well...you need to define the entities. Wire these to your car's body and steering plate.
[code]
@inputs [Body SteeringArm]:entity
[/code]
You also need to create the hologram.
[code]
if (first()) {
holoCreate(1)
}[/code]
Putting it all together you get:
[code]
@inputs [Body SteeringArm]:entity
interval(90)
if (clk()) {
holoAng(1, Body:toWorld(ang(45, 0, -Body:toLocal(SteeringArm:angles()):yaw())))
} elseif (first()) {
holoCreate(1)
}[/code][/QUOTE]
[img]http://i.imgur.com/Q2QLW.jpg[/img]
Thanks! Gonna conk out now, tomorrow I will fiddle around with the various settings and make it wheel shaped. Maybe even give it color!
[QUOTE=RedReaper;36295384][IMG]http://media.tumblr.com/tumblr_lxrlreKoCr1qjzzyw.gif[/IMG]
that's more than the amount of ops on some of my entire contraptions.
[editline]11th June 2012[/editline]
I made a tilting rotor heli with fin and an acf radial. We really need more turbines.[/QUOTE]
Just gonna correct Jake a little, I made the chips, and most of em are running 0 ops, other than ones that need to run every tick, like the targeting system.
ah. That's a bit different.
Also, Iwan, "interval(1)"? That's like runOnTick(1). Most servers don't go below interval(20) or whatever anyway.
[img]http://i.imgur.com/sVMa1.jpg[/img]
Coming along. It ain't the prettiest steering wheel in the land but by god it works.
[QUOTE=RedReaper;36308729]ah. That's a bit different.
Also, Iwan, "interval(1)"? That's like runOnTick(1). Most servers don't go below interval(20) or whatever anyway.[/QUOTE]
interval(1) = interval(10) = interval(15) = runOnTick(1) (on 66 tick servers anyway)
interval(N) is always clamped and rounded to multiples of 15. You can confirm this yourself using this code...
[code]
if (first()) {
Curtime = curtime()
interval(1)
}
else {
Curtime = curtime() - Curtime
print(Curtime)
reset()
}
[/code]
[QUOTE=unrezt;36309092]interval(1) = interval(10) = interval(15) = runOnTick(1) (on 66 tick servers anyway)
interval(N) is always clamped and rounded to multiples of 15. You can confirm this yourself using this code...
[code]
if (first()) {
Curtime = curtime()
interval(1)
}
else {
Curtime = curtime() - Curtime
print(Curtime)
reset()
}
[/code][/QUOTE]
Great! thanks unrezt!
Also, if anyone wants to know how, I can make a tutorial for the holo brake bars, shutters and gas pedal.
[QUOTE=iwancoppa;36311886]Great! thanks unrezt!
Also, if anyone wants to know how, I can make a tutorial for the holo brake bars, shutters and gas pedal.[/QUOTE]
Holo brake bars are best brake bars! Also the shutters were a nice touch. I like that. I have a cupola that works the same way.
Holo lets you do so many neat little things.
[thumb]http://i262.photobucket.com/albums/ii113/Frankess/Gmod/gm_buttes0013-1.jpg[/thumb]
[thumb]http://i262.photobucket.com/albums/ii113/Frankess/Gmod/gm_buttes0014-1.jpg[/thumb]
Almost done. All I have to do now is write nice code which will controll all proppelers. First tests showed that it is possible to fly with that only by fins. Oh, and it has 310 props where 80% are in proppelers.
Sorry for no AA but I had to disable it in order to get more FPS. My PC is slowly dying.
[code]@name Holo - Steering Wheel
@inputs Master:entity
@outputs
@persist AD Ard
@trigger
interval(100)
#Steering wheel cannot be at 90 degrees. Must be less than 90 degrees
#steering master must be facing forward at rest.
if(first())
{
Mul = 3
Color = vec(128,128,128)
Ang = entity():angles():yaw()
holoCreate(1,entity():toWorld(vec(0,0,10)),vec(0.075,1.25,0.125),entity():toWorld(ang(0,90,0)),Color)
holoParent(1,entity())
holoModel(1,"hq_rcube")
#holoAlpha(1,0)
holoCreate(2,entity():toWorld(vec(0,0,10)),vec(1.3,1.3,1.3),angnorm(entity():angles()+ang(0,0,90)))
holoModel(2,"hq_torus_thin")
holoColor(2,Color)
holoParent(2,1)
holoCreate(3,entity():toWorld(vec(0,0,6)),vec(0.25,0.25,0.75),angnorm(entity():angles() + ang(0,0,0)),Color)
holoModel(3,"hq_rcylinder")
holoParent(3,entity())
holoMaterial(1,"Models/Weapons/V_Stunbaton/W_Shaft01a")
holoMaterial(2,"Models/Weapons/V_Stunbaton/W_Shaft01a")
holoMaterial(3,"Models/Weapons/V_Stunbaton/W_Shaft01a")
}
AD = Master:bearing(entity():pos() + (entity():forward():setZ(0) * 5000000000000000000)) /45
AD0 = (AD*360)
Ang = (entity():angles():yaw() + (AD0))
holoAng(1,entity():toWorld(ang(90,AD0,0)))
holoPos(1,entity():toWorld(vec(0,0,10)))
[/code]
Steering wheel.
Making a panzer2 - like tank that is multicrew and megarealistic.
PA hydros/sliders allows for nice pod lifting so I can fit a roof hatch/cuppola for the driver and commander/gunner.
ok this is my first using ACF and doing bodywork tell me what you think and i know it looks silly
[IMG]http://cloud.steampowered.com/ugc/559818641734552052/AC5CF375FF4A077DF3F1228E5B2A2629D9C0B43F/[/IMG]
[URL=]http://cloud-2.steampowered.com/ugc/559818641734546799/CB04D8E51676FED88CAFE239E7E8B5E0897C6A47/[/URL]
[QUOTE=leadmax;36320306]ok this is my first using ACF and doing bodywork tell me what you think and i know it looks silly
[IMG]http://cloud.steampowered.com/ugc/559818641734552052/AC5CF375FF4A077DF3F1228E5B2A2629D9C0B43F/[/IMG]
[URL=]http://cloud-2.steampowered.com/ugc/559818641734546799/CB04D8E51676FED88CAFE239E7E8B5E0897C6A47/[/URL][/QUOTE]
I'd use smaller guns, something less ridiculous for that size.
Never. There is no substitute for more gun. A texan who built a lot of guns told me that once, and it's a mantra that's always done me well in gaming.
[QUOTE=ShadowPhoeni;36322784]I'd use smaller guns, something less ridiculous for that size.[/QUOTE]
i am that was just a joke set up
im using 2 50mm auto loading canons
Just realised how awesome ACF is.
And now I'm doing some research on real independet suspension systems without using those stupid Rigid Ropes.
[img]http://i.imgur.com/xmJk5.gif[/img]
Dang, i really want to rebuild a DPV Buggy. But when it comes to to ball joints this engine really tends to suck. Any ideas?
There's nothing stupid about rigid rope independent suspension. It's the best and least laggy option. As long as you do it correctly :v:
No need to be rude.
Systems with rigid ropes involved tend to spread their wheels while they are damping. Also it is kind of impossible to use them as pivot arms, since they can't resist any kind of axial force (applied to the wheels).
By using props I am able to integrate some limiters (by using advanced ball joints). It get's a bit complicated if I try this with rigid ropes. At least as far as i know.
[QUOTE=R4mir3z;36325592]No need to be rude.
Systems with rigid ropes involved tend to spread their wheels while they are damping. Also it is kind of impossible to use them as pivot arms, since they can't resist any kind of axial force (applied to the wheels).
By using props I am able to integrate some limiters (by using advanced ball joints). It get's a bit complicated if I try this with rigid ropes. At least as far as i know.[/QUOTE]
I tried to reply to you on Youtube, but it said your account wasn't accepting messages from non-contacts.
I wanted to show you this: [img]http://i.imgur.com/pmNMR.png[/img]
Tried it out and... what can i say. It works like a charm! But it's not like I've expected something else from you, dear Sir.
No more spazzing out with my weird contraptions \o/
[QUOTE=R4mir3z;36325592]No need to be rude.[/QUOTE]
I am sorry about my incredibly rude and offensive statement. :v:
[img]http://cloud-2.steampowered.com/ugc/594721714894909978/1B19A0CDDDCF46035EB06A1A5FD0FD35E06D4AAE/[/img]
Completely analogue wooden tank, purely using general construction props. ~Old School~
My just finished car: The Mamba hyper-roadster
[URL=http://imageshack.us/photo/my-images/502/gmracex170000.jpg/][IMG]http://img502.imageshack.us/img502/9343/gmracex170000.jpg[/IMG][/URL]
[URL=http://imageshack.us/photo/my-images/850/gmspeedwayv20000.jpg/][IMG]http://img850.imageshack.us/img850/103/gmspeedwayv20000.jpg[/IMG][/URL]
[URL=http://imageshack.us/photo/my-images/207/gmspeedwayv20001.jpg/][IMG]http://img207.imageshack.us/img207/9371/gmspeedwayv20001.jpg[/IMG][/URL]
[URL=http://imageshack.us/photo/my-images/801/gmspeedwayv20002.jpg/][IMG]http://img801.imageshack.us/img801/8305/gmspeedwayv20002.jpg[/IMG][/URL]
Its a bit basic, just a body an ACF 7.0 Liter V12, a gearbox, some wheels and two seats but 0-60 in 1.8 seconds and a maximum top speed of 116 MPH(limited due to wheels screwing up at 1200 wheel RPM)/sustainable top speed of 102 MPH, is always fun....
Edit:
It shoots flames out of the exhaust periodically when the engine is revving past 7200 RPM, pictures are also fixed...
And now my answer to the VTOL:
[img]https://dl.dropbox.com/u/61950362/freespace06_v2-10049.jpg[/img]
[img]https://dl.dropbox.com/u/61950362/freespace06_v2-10048.jpg[/img]
V-312 Bagheera
Wrenches to whoever can guess my new name source
Sorry, you need to Log In to post a reply to this thread.