astazou Posted September 6, 2022 Posted September 6, 2022 (edited) Hello all, I did scripts for my dedicated server, I'm pretty sure they could interest other sysAdmins/missionMakers, so I decided to share them for people to not have to rebuild the wheel. Script to control the groundSpeed on parkings/taxiways and send a player to spectator By default (but editable): - speed<25kt: no message - 25kt<speed<40kt: message to the player only - 40kt<speed: player unspawned and sent to spectator (you can uncomment the line to kick the player if you prefer ) Here is the script and the how to: https://github.com/frasta/DCS_script_groundSpeedLimit It's working on dedicated server only, if you want to use it on a mission your are hosting on your "normal DCS client acting as a server", edit the code to us unit:destroy() instead of force_player_slot. Script to kick players doing teamshooting/teamkilling The first version of this script was quite sensitive, it was autokicking when the first bullet was touching the plane of someone else in the same team. I made it more flexible (because accidents happen): now the victim (only him) receives a message from the server to know if the player must be kicked or not, in the next 30 seconds after the shot. It helped a lot on my server to reduce "kids behaviours". Now people are more respectful, and if it's just an accident, the victim can choose to not kick him Details and script are here: https://github.com/frasta/DCS_script_autoKick Script autorestart the mission The script will manage to restart the mission on the server after 10H (editable) only when the last player leaves the server, very useful when you have to reboot the server because beginners make holes in your runways , or because most of players prefer to fly during day, etc.... Of course, if players stay connected longer, the mission will not reboot until the last player disconnect (after the 10 hours) Here is the link => https://github.com/frasta/DCS_script_autorestartMission Script to make players stop to shoot in forbidden zones When you are managing a public server, sometimes players just take off, come back to the same airfield and shoot vehicules/buildings/planes/players in the area, which is really annoying. This script can't send them to spectator (because of "double" (or more) weapon, script is triggered twice, spectorizing the player, but the script is executed a second (or more) time and try to spectorized a player not here anymore. So I took decision to make an explosion at the position of where the naughty player is. you can edit the explosion size and/or message in the .lua file. Here is the link => https://github.com/frasta/DCS_script_NoShootZone DCS removeJunk script 🕳 Sometimes players crash or bomb on airbases (or eject from the ground, making explode their airplane ), creating craters, wreckages or debris, all of them could be annoying for other players who didn't ask anything. This script detects a crash in zones and delete the craters/wreckages/debris. Here is the link => https://github.com/frasta/DCS_script_removeJunkWhenCrash If you have any questions, please, do it in a public place (on the forum or in a public channel on a Discord). I don't want to do personal support because your question could interests other players, and, I don't know everything, other players could help you too - My Discord server: https://discord.gg/ZUZdMzQ (you can also find me on the official DCS Discord server or on the modding hub Discord server) - My Github: https://github.com/frasta Thx for you understanding. Regards Asta☠ Edited April 25, 2023 by astazou new script added 4 My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
astazou Posted November 19, 2022 Author Posted November 19, 2022 Hello players, I added a new script to punish players who shoot in forbidden zone. Enjoy! 2 My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
astazou Posted December 17, 2022 Author Posted December 17, 2022 Update for the "no shoot zone", it was triggering even for Mig21's jato, now it's fixed 1 My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
astazou Posted January 29, 2023 Author Posted January 29, 2023 Update for the "no shoot zone" script, I had to move the explosion behind the center of the plane of 2 meters to avoid the pilot to be killed (it was causing a crash in rare cases on the BS3) 2 My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
astazou Posted April 25, 2023 Author Posted April 25, 2023 Hello mission editors, I added a new script to remove craters, wreckages or debris after a player crashed in zones. Enjoy! My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Cthu1hu42o Posted October 16, 2023 Posted October 16, 2023 Hello, looking for help or if you think it's possible to add script for if player has smoke on below 500 AGL to boot? Aerobatics server admins are taking out smoke pods because of "overwhelming complaints". Just searching for ways to get it back! Thanks!
Recommended Posts