Raised This Month: $ Target: $400
 0% 

l4d2 Drone


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-08-2020 , 09:21   l4d2 Drone
Reply With Quote #1



Ripped off from my previous Luffy plugins.. suppose to be a land mine.. flown up to sky while spinning with particle firework and thrown to enemy(activator).
Since the plugin size beyond control so i decide to convert it to Drone. I have no interest to release
this as a full plugin as my original intension is a machine learning to accompany me playing around.


This guy intrigue me. Instead of ugly imagination on web browser, why not real game object machine learning..?


Its fully working Drone..
* She can shoot..
* my playground basically just a square orange wall so i m not gonna
include teleport incase the Drone stuck. Its your problem now.



What You Do With This Up To You.
If you plan to release to public with your own version, be my guess.

"drone_spawn 360" Command test spawn
"drone_home" Command call back drone/ unstuck

button USE + MOUSE2
Follow target: Aim at any entity, player or enemy and press "E + MOUSE2"
Clear target: Aim at floor and press "E + MOUSE2"

The code.. it is what it is since my plan still far away
so bare in mind for the garbage left over.

-GsiX with six eggs full of love.


Dont just stare at me like that.
Please download my backup image below.
Help me hit 100 likes download..
Attached Images
File Type: jpg Webp.net-compress-image.jpg (49.5 KB, 481 views)
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_drone.sp - 138 views - 31.9 KB)
File Type: inc l4d2_drone.inc (19.4 KB, 137 views)
File Type: smx l4d2_drone.smx (23.8 KB, 138 views)
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-15-2020 at 06:10. Reason: .... asking people to give me 100 likes
GsiX is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-08-2020 , 10:58   Re: l4d2 Drone
Reply With Quote #2

Sorry.. I m not bumping since no 1 push this down yet.
I forgot to check if the create entity fail halfway, break, reverse it by just killing the parent. It safe to direct kill from the root(parent). Its in the include file.

Edit: you can unstuck the drone use sdkhook starttouchpost. If the parent touch something other than his own children, enemies and survivor, teleport him to players head.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-08-2020 at 11:21.
GsiX is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-08-2020 , 20:30   Re: l4d2 Drone
Reply With Quote #3

To do the shooting thing I can recommend attaching a env_weaponfire to the drone, which some plugins like the "Witch Guard" uses.
__________________

Last edited by Marttt; 11-08-2020 at 22:15. Reason: I have tried...
Marttt is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-08-2020 , 21:40   Re: l4d2 Drone
Reply With Quote #4

env_weaponfire

That link.. its an AI build in targeting system. Awesome..

P/S:
the joke things, i m not a pro coder.. usually i m just doing my own things..
you don't have to delete what have been said. Its the moderator job to do. psssttt.. dont help them


Edit2: The targeting AI really intrigue me.. i ll investigate this bad boi. Thanks man.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-09-2020 at 01:44.
GsiX is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-09-2020 , 12:30   Re: l4d2 Drone
Reply With Quote #5

Updated... Drone now can follow any target, entity, player or enemy. read the description 1st post.

added gun as suggested by Marttt. It now can shoot to kill.. damage you have to tweak yourself.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-12-2020 , 11:51   Re: l4d2 Drone
Reply With Quote #6

UPDATE:
** Small update.. all 4 rotor fully animated. Rotor direction indicate the thrust trajectory.
** Command and button changed.. Please read description first page.
** I remove bunch of unnecessary code and extra unused thrust.
** I add bunch of simple AI sensor, i suppose the drone will no longer collide with anything unless it a stall column.. doubt it but i didn't test. She might still stuck if the column as small as golf club.

The Drone perk haven't finish yet.. i couldn't find a model that can be scale down. Should be on her belly player can press to get small amount of ammo and health, it depleted and recharge from time to time

EXTRAS:
They said you should worry, you should panic, you should run..
The mighty AI gonna take over our world..
What they didn't say is the AI was made by GsiX brewed with 6 eggs of love flavor.



Have a nice day..

Edit: If you found a way to collide her, show me a picture.

If you like my idea..
please give a like by downloading the image in first post.
Not my backup image below.
Attached Images
File Type: jpg test-min.jpg (85.8 KB, 127 views)
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-12-2020 at 12:11.
GsiX is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-13-2020 , 06:25   Re: l4d2 Drone
Reply With Quote #7

I think that for collision, the entity is usually created as a "pipe_bomb_projectile" / "molotov_projectile",
At least is how it's done in the missile plugin.
__________________
Marttt is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-15-2020 , 06:21   Re: l4d2 Drone
Reply With Quote #8

UPDATE:
**
small update, fixed the perk button by recycle existing model. Added a variable at top plugin to make it easy to tweak or store .cfg file if anyone interesting.

First phase end here. Next phase, the drone will lose/stripped off of all his animation, sideway sensor and the constrain system to make way for the machine learning.
The next phase is no longer suit for gameplay as the plugin has to mimic/simulate a real drone flight capable to make his own decision.


This mark the end of the gameplay development.
Hope you guys entertained
.

__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 11-15-2020 at 06:32. Reason: google translate
GsiX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode