RSSy MYGO.pl Opublikowano Listopad 1, 2019 o 14:40 RSSy Udostępnij Opublikowano Listopad 1, 2019 o 14:40 Description:Using only hl2 entities; this allows players to spawn, and emulate flying/piloting helicopters in game. HL2DM users will also have the ability to fire rockets in the direction the helicopter is facing. This isn't perfect, and I still have more to do, but it's pretty fun to use when you get the controls down.Demo VideoGeneral Notes: I went through a lot of different entities piecing this together, and made a mess of the code in the chaos of it. I have a lot to clean and optimize. This is however the most stable I've gotten it. I can't do a lot of testing on my own though. This should be fairly simple to port over to other games, it would require swapping the models and adjusting the thrusters. I do not own any other games so I can't really do that. The admin flag for use is set to ADMFLAG_CHEATS This is only v1.0, I hope to do more to this, but please let me know of any bugs. Use Notes: The CS:S version doesn't have any weapons! I hope to change this. The max spawn limit is 8 helicopters in one game. I would not recommend increasing this value too high. Gravity may affect it, it seems prime server gravity is 620 for HL2DM and 800 for CS:S Commands: Code: sm_helicopter > Spawn a pilotable helicopter where you are looking. > Press E (use) on the helicopter to enter. > Press E (use) on the helicopter again to exit. CONTROLS WHILE FLYING Code: [SPACE] (Jump) - Move Upwards [CTRL] (Duck) - Move Downwards [W] (Forward) - Move Forward (Backward) - Move Backward [A] (Left) - Move Left [D] (Right) - Move Right [MOUSE1] (Primary) - Turn Left [MOUSE2] (Secondary) - Turn Right [R] (Reload) - *HL2DM ONLY* Fire Rockets Installation: 1. Tap on "Get Plugin" below 2. Put the downloaded file Helicopters.smx in your servers plugins folder: SERVER/GAME/addons/sourcemod/plugins/ (optional) Put the source file Helicopters.sp in your servers scripting folder: SERVER/GAME/addons/sourcemod/scripting/ Todo: Spoiler A lot of cleaning and optimizing. Fix bugs as they come. Delete helicopter being looked at. Prevent spawning in area where helicopter will get stuck. Emulate homing rockets. Add weapon to CS:S helicopter (hopefully emulated homing rocket). Improve the flying physics, would like to add banking, but rotation tends to mess things up. I'm open to suggestions. CHANGELOG: Spoiler V1.0 (November 1, 2019) Initial Release Attached Files Get Plugin or Get Source (Helicopters.sp - 28.8 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się