![]() |
![]() ![]() |
![]() |
NewBie |
![]()
Post
#1
|
Member ![]() ![]() Group: Members Posts: 26 Joined: 12-August 14 Member No.: 2,349 ![]() |
how to add a command so that the bot uses a parachute and generally add a command, and generally add an additional parameter, a server command, so that the bot uses it..
and also how to add a pause or so that the bot stops, say, for 2-3 seconds in one place, how to add this? |
DNA.styx |
![]()
Post
#2
|
Member ![]() ![]() Group: Members Posts: 12 Joined: 15-December 23 Member No.: 2,660 ![]() |
Hi!
Head over to the RCBot2 Github repo and check how the bot performs actions. Get familiar with the code and how it works/complies. Perhaps look at the W_FL_FALL waypoint flag, and see if that can be used in DOD:S to force the bot to trigger the parachute. The big thing to keep in mind before you start coding, is that none of the DOD:S waypoint files will have pathways that result in big drops for the bot (otherwise the bot will kill themselves by trying to follow the pathway). So that will result in you having to edit any of the current waypoint files to include a new pathway that will only work on servers that have the parachute plugin installed. You will need to figure out a way to manage the distribution of waypoint files to indicate if they need the parachute plugin or not. > and also how to add a pause or so that the bot stops, say, for 2-3 seconds in one place, how to add this? Have a look in the code for W_FL_WAIT_GROUND, and see if you can add that to the DOD:S bot |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 15th July 2025 - 02:57 PM |