I love contraptions like thisI will have to try it out in-game and see how it works, I would to see you adding the bomb dropping.
Introduction
A clone of the popular NPC, this thing strikes fear into even the most established GModders!
What is it?
I created and perfected a 100% Expression2 Combine Helicopter. No, it doesn't throw bombs at you. I couldn't figure that out, but don't worry! I'm trying! This is my very first published Wired contraption, so be nice! I would appreciate some constructive criticism, and not just "THS SUXX!!!!!1" if you don't like it.
EDIT: IT CAN THROW BOMBS (but you need the PewPew mod)
Make Your Own!
1. Spawn a Combine Helicopter (models/Combine_Helicopter.mdl)
2. You need the Weight STool. Set the helicopter's weight to 200 (or 225 if you want it to be smoother).
3. Spawn an Expression2 chip with the code bin the dupe file somewhere near the helicopter (Doesn't need to be on it!).
Optional steps:
4. Spawn a Wired Turret, then wire it to the chip. Weld it to the front of the helicopter on the model's turret. The heli was fine-tuned so that the model's turret is aiming at you.
5. Spawn two Wired Explosives. One is to be non-lethal with it's damage at 0, the other one with as much damage with the biggest radius that you can get it. This is the "final explosion", per-se. Wire the non-lethal one to "Explosive2" on the chip and the damaging one to "Explosive".
6. Spawn and weld a Damage Detector onto the helicopter. Wire it's first input to the "Damage" output on the chip.
If you're too lazy to do the above, then just use the dupe attached to this thread (combine helicopter ai v2_3).
Pictures
Credits Corner
RND member "Churros" for code-debugging and testing.
"The spy" for helping me with the code here 'n there, testing and being a jolly good sport.
RND members "Mingebagger", "Death", "Tomcat", "Magic", and numerous others for suggestions, help, and putting up with my inane spamming of the copters.
"Bill12341234" for suggesting I weld an Automatic Turret to it...
Well...
That didn't go down so well...
Random Pictures I Accidentally Uploaded That I Didn't Want To Go To Waste And I Didn't Want To Delete Them
Beta engine!
Background
Uh...?
EDIT: Adv. Dupe file posted. Put it in DRIVE:/(Steam Directory)/steamapps/(Your Username)/garrysmod/garrysmod/data/adv_duplicator/.
EDIT 2: Screenshot uploaded as an attachment because Biz.nf isn't working right.
EDIT 3: New piccies, screenshot attached has been removed, all is well.
EDIT 4: See intoduction.
Last edited by DarkShadow6; 03-28-2010 at 06:38 PM. Reason: BOMBS. YOU WANT IT?
I love contraptions like thisI will have to try it out in-game and see how it works, I would to see you adding the bomb dropping.
I tried setMass(1) even, but for some reason it didn't work.
Oh, and sorry about the whole "Pictures / dupe tomorrow", I was playing Fallout 3 all day.
findByModel("models/Combine_Helicopter.mdl")
E = findResult(1)
E:setMass(200)
or
E = entity():isConstrainedTo()
E:setMass(200)
Well fine, you try it and see that it doesn't work.
Mass and weight, though related, are two different things.
EDIT: DISREGARD THET I SUCK MATH AND CAN'T DO A GOOGLE SEARCH CURRECTLEE.
But still, it don't work.
EDIT2:
...Err...
The images aren't working...
EDIT3:
HOW COME HE GOT A COOKIE?!
![]()
Last edited by DarkShadow6; 03-04-2010 at 06:38 PM. Reason: Wah.
... you so sad for a cookie.. ill give u one as long as u put links to pictures or something.
use imageshack.us
super COOKIE
![]()
Maso: Sol, you haven't made anything that is worthy of anything
Drunkie: ;agree;
im the...
The Do What You Can Man.
COOKIES OM NOM NOM NOM!
Piccies uploaded.
Oh, and...
MEGA BUUUUUUUUUMP FOR TEH LULZ LOL
Sorry I had to...
seriously getting serious
Bookmarks