©
Hi all! When the ten thousand lines of Grand Theft Auto 6 code leaked, I started looking at the lines and saw lines like #if ENABLE_HORSE. It shows that at least there will be horses and it will be possible to ride them, which confirms the lines at least this:
- CommandTaskMountAnimal: This function is called to assign a task to a character to mount an animal. It accepts parameters like character id, animal id, time, place, motion blend factor and flags
- CommandTaskDismountAnimal: This function is called to assign a task to a character to dismount from an animal. It accepts parameters such as character id and script flags.
- CommandTaskVehicleDriveWander: This function is called to assign a task to a character to randomly drive a vehicle. It accepts parameters such as character id, vehicle id, speed, and control flags. (As I understand it, here the horse is used as a “wheelbarrow”)
- CommandTaskGoStraightToCoord: This function is called to assign a task to a character to move straight to a specific coordinate. It takes parameters like character id, target coordinates, motion blending factor, time, target direction and target radius.
- CommandTaskGoStraightToCoordRelativeToEntity: This function is called to assign a task to a character to move straight to a specific coordinate relative to the entity. It accepts parameters such as character id, object id, target coordinates, motion blending factor, and time.
- CommandTaskAchieveHeading: This function is called to assign a task to a character to reach a specific direction. It accepts parameters such as character id, direction in degrees, and time.
- CommandFlushRoute: This function is called to flush the route used to follow waypoints.
- CommandExtendRoute: This function is called to add a new waypoint to the route used to follow waypoints. It takes parameters such as target coordinates.
- The CommandTaskFollowToOffsetOfEntity function makes the horse (but written as a pedestrian) follow the object (probably the main character) to a specific offset position. The position can be specified both in global space and as a relative offset from the object’s position.
- The CommandTaskFollowToOffsetOfPickup function is similar to the previous one, but causes the pedestrian (horse) to follow the specified object, which can be a pickup object.
- The CommandTaskFollowPointRoute function makes a pedestrian (horse and not only) follow a predefined route from points.
- The CommandTaskGoToEntity function causes the pedestrian to move to the specified entity. An object can be specified either by its ID, or you can get it from the game world. Additional options are also available, such as setting the search radius, blending factor, and slowdown distance.
In conclusion, I want to say that while I was actually writing this post, I thought that this was the code from Red Dead Redemption 2, maybe so, but if it does something in the Grand Theft Auto 6 code, then it is most likely there there will be horses. (And yes, Grand Theft Auto 6 will have a jetpack)
ps If you can publish leaked games on this site, then I will publish all these lines with evidence that there will be horses and not only 🙂