Files

> > CS2D > Lua Scripts > Helicopter 2.5 + AI dev[For fun script]
Files overviewCS2D overviewLua Scripts overview

English Helicopter 2.5 + AI dev[For fun script] >

5 comments294 kb, 32 Downloads

old Helicopter 2.5 + AI dev[For fun script]

Mora
User Off Offline

This script is just to touch mechanics and is rude.
INFO

I thought of a specific sky vehicle that may be adjusted however you want, to make a boss from it, to make it a carrier that brings u on start as CT or T or whatsoever. But currently I've done control.
I have done this with chat gpt help. Do not expect it to be very optimized. Probably You might have Your own ideas and is free to use/edit and reupload better versions of this one!

INFO

Don't go outside map borders, there's no limit for that so it and may cause bugs(setpos spam)
The video will show u what can u do with that. https://youtu.be/6riq_N_YECg
E - enter/leave
Serveraction1 (mostly F2) - Check vehicle on pointer/Remove hud
Serveraction3 (mostly F4) - Open control menu.
Mechanics: Press E to enter helicopter. To control it's command u must take the keys (f4), once u took them u can manage helicopter.
Press E to enter helicopter as a passenger if there is already guy handling controls: once guy left controls - u can press E again as a passenger to take control of the helicopter. If the helicopter is in the sky you can control WSAD while driving it but you cant use F4 menu, you must have the keys to do that. Once owner return keys you're able to pick them while driving helicopter. Passenger can't open any menu. You can also capitulate with E while in air with parachute being USER(handling copter) and as a passenger. If USER is left, You - being as a passenger - going to the USER chair, pressing E again cause capitulation from the helicopter.

Changes:
27:01:2026 - Smooth
More >


28:01:2026 - Smooth 2
More >


28:01:2026 - Linux now working!
More >


01:02:2026 - Helicopter features
More >


02:02:2026 - Helicopter AI
More >


04:02:2026 - AI update:
- The main File has not been updated - You can keep heli_copter.lua but I've included heli_copterAI.lua which contain AI included, is not done yet that's why I split it.
- AI movement/rotation is fixed: smooth movement and rotation
- AI turbo mode entrance after getting X hp percent. ex: 2000 HP, Turbo Mode: 30%, 2000-601 > no turbo, 600 HP and less(which is 30%) = AI helicopter enters turbo mode
- AI Turbo mode fix
- Smooth everything related to AI. I dont think You need a video about cuz not much changes there.


Test: Helicopter test 45.43.137.50:36963 (currently not updated on server due to AI dev)
Password: 1111
Don't go outside map borders, there's no limit for that so it and may cause bugs(setpos spam) - no problem with AI helicopter as long as it doesn't use setpos.
edited 26×, last 04.02.26 07:10:04 am
Approved by Gaios

Download Download

294 kb, 32 Downloads

Comments

5 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Marcell
Super User Off Offline

Helicopter, helicopter!
I like it!

old

Mora
User Off Offline

@user Mami Tomoe: This script is obviously not optimized, mess and uses always/key/ms100/player mouse pos which cause additional traffic and also this helicopter created as a toy to play with mechanics, so don't expect it working like patek philippe clock. Changing something might lead to unknown consequences and confusing to fix, also probably is harder to add some commands and other things so easy as I might want, after changing something in one code block you need to go another block for additional edits, and especially when I have no errors but script still doesn't work That makes it hard to develop a thing Yourself. The script meets u rude. The good thing is all working with no problems noticed(except AI version)

old

Mami Tomoe
User Off Offline

Why is your script rude?

old

Mora
User Off Offline

Thank You! There is one more AI update which is in "test" mode. You can watch video or play it yourself, keep in mind there is current heli_copter.lua version and heli_copterAI.lua. both almost identical, the first one contain update 01:02:2026, the second one contain update 02:02:2026
edited 1×, last 02.02.26 01:06:06 pm

old

SeNY
User Off Offline

holy cow, ts is crazy ngl. awesome
I like it!
To the start Previous 1 Next To the start