(curiosity and tutorial) Fun with Flying Turrets

Avatar
Darkylight
81 Posts
Posted Jun 20, 2011

Hey people! I'm a custom fan you know. So... I'm making a crazy idea... Turret with wings!!! And now they can move!!!

http://www.youtube.com/watch?v=a7DsfoRbHOU

Here we go :biggrin:, I will do a tutorial and put the vmf when i will finish it. So now I need some ideas to get better.

It works with a invisible box with a path round track. The wings are special func_doors and parent to the turret.

Its curious that when the turret see someone and it lose it stop and search it O.o, but I didnt make it lol.

Well, have fun with video.

EDIT!!

HOW TO MAKE FLYING TURRETS

You need a big room because it needs to rotate.
Now create an entity npc_portal_turret_floor.
The propeties for it are...:

Turret can be picked by the player: no
Allow shotting through portals: yes
Damage pushes player: yes

Put it a name, for this tutorial "turret1"

Now create a box with the same size than the turret, you need to be sure is exact the same size, make a hollow with -2 and change texture for invisible.

This will be the entity tracktrain, dont worry, is easy to use.

Put a name for the invisible tracktrain (like turret1_train) and put this settings:

Disable receiving shadows: Yes
Disable shadows: Yes
Max Speed: 150
Initial speed: 150
Change velocity: Ease in/ease out
Change angles: Ease in/ease out
First Stop Target: t1_track1 (for this tutorial, is the first point the entity start flying)

Dont touch anything more.

Now, create the wings, like you want, I use light10 for texture with a triangle, put the start of the wing at the back of the center of the turret and put the origin in the same point and rotate it to the back 15 or 20 degrees.

Now make entity func_door_rotating:

Speed 1500
start sound:Rock.ImpactSoft
Distance: 45

in outputs:

OnfullyOpen | t1_right (the name of the wing) | Close
OnfullyClose | t1_right | Open

in flags:

Non-solid to player
Passable

Now the same for the left wing BUT with -45?.

And parent the two wings to the turret.

Now, create the path_track (start in the first point the turret will appear and finish with the next stop is the first).

Here we are, the turret now flys but you need one more thing, how to finish with it? :

Now create a trigger_once with the same size than the box and put in outputs:

OnStartTouch | turret1_train | Kill
OnStartTouch | turret1_wingleft | Lock
OnStartTouch |turret1_wingright | Lock

flags for physics objects too :biggrin:

And now the turret will finish the life when someone or something pushes it (excepts walls ceiling and other things xD)

This afternoon with a explain videotutorial because writting is much complicated to do ok? :biggrin:

But this is the flying turret :biggrin:

Advertisement
Registered users don’t see ads! Register now!
Avatar
KenJeKenny!?
238 Posts
Posted Jun 20, 2011
Replied 29 minutes later
Haha that looks really funny :razz: but is it on a tracktrain or did you have it working on some ai?
Avatar
Darkylight
81 Posts
Posted Jun 20, 2011
Replied 9 minutes later
tracktrain, how to do it with ai? xD

Well, some thing more is...

Images 1
Post image 1
Avatar
NocturnalGhost
200 Posts
Posted Jun 21, 2011
Replied 14 hours later
Lol, that's great. :thumbup:

:potd:

Avatar
KenJeKenny!?
238 Posts
Posted Jun 21, 2011
Replied 50 minutes later

Darkylight wrote:
tracktrain, how to do it with ai? xD

I was just asking.... I don't know how to work with AI's :sad:

And i was wondering... would you be able to break them free of the tracktrain? so basicly knocking them out of the sky? or by sending them off into a grinder with a tractor beam for example...

Avatar
Darkylight
81 Posts
Posted Jun 21, 2011
Replied 26 minutes later
I'm working in it, because I saw that if you collide with the turret the turret disable. But I'm thinking... if the turret disables... the invisible box (the tracktrain) is killed and... yeah the turret stop flying.

I never worked with AI, I think is very difficult, however not much to release.

Avatar
Mediaburn
25 Posts
Posted Jun 21, 2011
Replied 1 hour later
lol AWSOME!
Avatar
Darkylight
81 Posts
Posted Jun 21, 2011
Replied 26 minutes later

KenJeKenny!? wrote:
And i was wondering... would you be able to break them free of the tracktrain? so basicly knocking them out of the sky? or by sending them off into a grinder with a tractor beam for example...

To kill them: Hitting the turret or falling in it, it stops flying and goes to the floor, but already cant finish flying with explosions but I will made, its easy.

I tested it, when the turret goeos into the funnel, it doesnt do anything, x)

turret collides with projected_walls, and etc but not pushes into the funnel because it is following a path.

I will make a much better tutorial with a better flying turret fixing all possible bugs.

UPDATES

-Turret can fly and see you, now it do the correct path and angle.
-Turret can die but when it die you can pass it...
-If the turret goes into the funnel it doesnt do anything.
-If turret explodes the train continue flying...

Next update:

-Turret can be picked by the funnel and die
-Turret can die if it is picked
-Turret can die if explodes
-Turret explodes if it falls in the toxic

When I will finish it I will put the finished and better tutorial explaining it in video.

Avatar
Brits
39 Posts
Posted Jun 21, 2011
Replied 40 minutes later
HAHA amazing! :lol:
Avatar
Brainstone
401 Posts
Posted Jun 21, 2011
Replied 2 hours later
Awesome
:potd:
Avatar
-ArttyIntel-
76 Posts
Posted Jun 21, 2011
Replied 1 hour later
This a very interesting project. Do you think you could use the same idea but using turrets with wheels?
Avatar
Darkylight
81 Posts
Posted Jun 21, 2011
Replied 56 minutes later

-ArttyIntel- wrote:
This a very interesting project. Do you think you could use the same idea but using turrets with wheels?

Yep, and trains to go from one site to other site, and... other things with moving. But I think turret with wings are better :biggrin:

Avatar
-ArttyIntel-
76 Posts
Posted Jun 21, 2011
Replied 14 minutes later
Yea they are greatly amazing(: But dont seem very much like something they would use in the labs. Anyways. It would be awesome to set it where there are turrets trolling the corridors and your suppost to sneak around them:DD
Avatar
Brainstone
401 Posts
Posted Jun 21, 2011
Replied 3 hours later
Would you allow me using them in my mappack? I would of course mention you as the creator. I think I would give them little helicopter rotors above their heads.
Avatar
Darkylight
81 Posts
Posted Jun 21, 2011
Replied 35 minutes later

BrainstoneX wrote:
Would you allow me using them in my mappack? I would of course mention you as the creator. I think I would give them little helicopter rotors above their heads.

Sure, I can upload the vmf but its not finished without bugs. (funnel bug), can explode etc but if the turret touch funnel it cut the funnel O.o, and I dont know how to fix it because I cant do conditions with the funnels...

Avatar
-ArttyIntel-
76 Posts
Posted Jun 21, 2011
Replied 1 hour later

BrainstoneX wrote:
I think I would give them little helicopter rotors above their heads.

That would be so flippin amazing. xD

Uhm. Id like permission to use them to if I could(:

Avatar
Darkylight
81 Posts
Posted Jun 21, 2011
Replied 12 minutes later
note: Free use, dont need to have permission

BUT I will make a tutorial and upload the vmf, I'm having problems to make it so please wait (30 min of tutorial @_@).

Avatar
-ArttyIntel-
76 Posts
Posted Jun 21, 2011
Replied 4 minutes later

Darkylight wrote:
note: Free use, dont need to have permission

Haha just making sure(: Best thing to do. I plan on editing it and putting wheels on, but I will still give you creds(:

Avatar
Brainstone
401 Posts
Posted Jun 23, 2011
Replied 1 day later
I have created one with a helicopter rotor, but everytime it stops loosing sight and goes to sleep mode, the tracktrain won`t move anymore for the rest of the game and dust is emitted, where the trackttain is colliding with the turret. :sad: Do you have the same?
Advertisement
Registered users don’t see ads! Register now!
Avatar
The Irate Pirate
236 Posts
Posted Jun 23, 2011
Replied 36 minutes later
What has science done!?