Raised This Month: $32 Target: $400
 8% 

[L4D2 & L4D] Airdrop


Post New Thread Reply   
 
Thread Tools Display Modes
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 01-21-2022 , 04:30   Re: [L4D2 & L4D] Airdrop
Reply With Quote #131

I will publish a new test version of airdrop since it's ready to be pre-released.

Commands
PHP Code:
sm_airdrop <- calls airdrop with random configuration 
sm_airdrop_specific 
<- calls airdrop with specific configuration (sm_airdrop_specific <airplane conf name> <airdrop conf name>)
sm_airdrop_reload_config <- reloads config
sm_airdrop_info_dump 
<- Dumps some config info 
Notes
  • Config must me placed at sourcemod/data/
  • Please report about any bugs or errors
  • l4d2_airdrop_on_tank is optional plugin. Install only when you want to airdrop will be called after tank death
  • Plugin preview by sonic155

Requires
Credits
  • Silvers for his Flare plugin
Attached Files
File Type: cfg l4d2_airdrop_info.cfg (10.4 KB, 132 views)
File Type: sp Get Plugin or Get Source (l4d2_airdrop_on_tank.sp - 158 views - 697 Bytes)
File Type: sp Get Plugin or Get Source (l4d2_airdrop.sp - 174 views - 55.1 KB)
__________________
cry

Last edited by BHaType; 02-12-2022 at 19:03. Reason: Update
BHaType is offline
Send a message via AIM to BHaType
Gold Fish
Senior Member
Join Date: Mar 2020
Old 01-21-2022 , 05:55   Re: [L4D2 & L4D] Airdrop
Reply With Quote #132

Quote:
Originally Posted by BHaType View Post
I will publish a new test version of airdrop since it's ready to be pre-released.

Commands
PHP Code:
sm_airdrop <- calls airdrop with random configuration 
sm_airdrop_specific 
<- calls airdrop with specific configuration (sm_airdrop_specific <airplane conf name> <airdrop conf name>)
sm_airdrop_reload_config <- reloads config
sm_airdrop_info_dump 
<- Dumps some config info 
Notes
  • Config must me placed at sourcemod/data/
  • Current version doesn't have any builtin airdrop callers. That means that only admin can call airdrop or you can install "l4d2_airdrop_on_tank" so airdrop will be called upon tank death
  • Please report about any bugs or errors
nice

Would you like to replace the aircraft model with a helicopter? For a change

Spoiler



Is it not scary that your timer is not tracked and does not close when you force a map change?
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");


Last edited by Gold Fish; 01-21-2022 at 07:31.
Gold Fish is offline
moschinovac
Member
Join Date: Mar 2019
Location: Vietnam
Old 01-21-2022 , 09:28   Re: [L4D2 & L4D] Airdrop
Reply With Quote #133

Quote:
Originally Posted by BHaType View Post
I will publish a new test version of airdrop since it's ready to be pre-released.

Commands
PHP Code:
sm_airdrop <- calls airdrop with random configuration 
sm_airdrop_specific 
<- calls airdrop with specific configuration (sm_airdrop_specific <airplane conf name> <airdrop conf name>)
sm_airdrop_reload_config <- reloads config
sm_airdrop_info_dump 
<- Dumps some config info 
Notes
  • Config must me placed at sourcemod/data/
  • Current version doesn't have any builtin airdrop callers. That means that only admin can call airdrop or you can install "l4d2_airdrop_on_tank" so airdrop will be called upon tank death
  • Please report about any bugs or errors
Pick up weapon from crates only have One clip for me >.<
moschinovac is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 01-21-2022 , 17:18   Re: [L4D2 & L4D] Airdrop
Reply With Quote #134

Quote:
Originally Posted by Gold Fish View Post
Would you like to replace the aircraft model with a helicopter? For a change
Model is hardcoded because there is no chance that after changing model airdrop will work properly. Maybe soon i will add some settings choose between airplane or helicopter.

Quote:
Originally Posted by Gold Fish View Post
Is it not scary that your timer is not tracked and does not close when you force a map change?
All timers have checks so they automatically stop but yea its much better to kill all timers on map change. Will be fixed in next version.

Quote:
Originally Posted by moschinovac View Post
Pick up weapon from crates only have One clip for me >.<
Thanks. Fixed in next version. Will release it soon.
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 01-21-2022 , 21:38   Re: [L4D2 & L4D] Airdrop
Reply With Quote #135

Updated pre-release version
PHP Code:
Added parachute keys to config
Added timer keys to config
Added TIMER_FLAG_NO_MAPCHANGE flag to timers (Thanks to Gold Fish for reporting)
Fixed ammo count in weapons (Thanks to moschinovac for reporting
__________________
cry

Last edited by BHaType; 01-21-2022 at 21:39.
BHaType is offline
Send a message via AIM to BHaType
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 01-22-2022 , 07:19   Re: [L4D2 & L4D] Airdrop
Reply With Quote #136

Do I have to add both smx file for the plugin to work?
__________________

Looking for some fun!
thewintersoldier97 is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 01-22-2022 , 18:00   Re: [L4D2 & L4D] Airdrop
Reply With Quote #137

Quote:
Originally Posted by thewintersoldier97 View Post
Do I have to add both smx file for the plugin to work?
To install airdrop:
  1. Put "4d2_airdrop.smx" to "sourcemod/plugins folder"
  2. Put "l4d2_airdrop_info.cfg" to "sourcemod/data folder"

"l4d2_airdrop_on_tank" is optional plugin. If you install it then airdrop will be called after tank dies.
__________________
cry

Last edited by BHaType; 01-22-2022 at 18:03.
BHaType is offline
Send a message via AIM to BHaType
Gold Fish
Senior Member
Join Date: Mar 2020
Old 01-22-2022 , 20:19   Re: [L4D2 & L4D] Airdrop
Reply With Quote #138

Failed to call airdrop at this location (in the screenshot)
planes also froze in place from above
Attached Images
File Type: jpg Безымянный.jpg (94.6 KB, 109 views)
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");


Last edited by Gold Fish; 01-22-2022 at 20:22.
Gold Fish is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 01-22-2022 , 23:13   Re: [L4D2 & L4D] Airdrop
Reply With Quote #139

Quote:
Originally Posted by BHaType View Post
To install airdrop:
  1. Put "4d2_airdrop.smx" to "sourcemod/plugins folder"
  2. Put "l4d2_airdrop_info.cfg" to "sourcemod/data folder"

"l4d2_airdrop_on_tank" is optional plugin. If you install it then airdrop will be called after tank dies.
I was confused cause none of the command seem to work (console respond "Unknow command") while testing your latest version. The plugin show up normally on my plugins list and the plane was flying by after few minutes as I configurated on cfg file but no airdrop to be seen. Installed the parachute models on first post too.
__________________

Looking for some fun!

Last edited by thewintersoldier97; 01-22-2022 at 23:14.
thewintersoldier97 is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 01-23-2022 , 02:55   Re: [L4D2 & L4D] Airdrop
Reply With Quote #140

Quote:
Originally Posted by thewintersoldier97 View Post
I was confused cause none of the command seem to work (console respond "Unknow command") while testing your latest version. The plugin show up normally on my plugins list and the plane was flying by after few minutes as I configurated on cfg file but no airdrop to be seen. Installed the parachute models on first post too.
Make sure you don't have any copies or old versions of plugin. Check error logs and try to use default config.

Quote:
Originally Posted by Gold Fish View Post
Failed to call airdrop at this location (in the screenshot)
planes also froze in place from above
I just tested it and I don't see anything similar as in the screenshot. About failing to call airdrop, this is because you have "skyboxonly" setted to 1 and airplanes blocks rays from touching the sky so you can't call airdrop.
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Reply


Thread Tools
Display Modes

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 01:52.


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