Virtual object control method and apparatus, and storage medium, program product and electronic device
By introducing auxiliary virtual objects into the game to generate protection areas for target virtual objects, the problem of protecting virtual objects when attacked is solved and the game experience and survival time are improved.
Patent Information
- Application Number
- PCT/CN2024/071487
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-01-10
- Publication Date
- 2024-10-03
AI Technical Summary
Existing game control methods lack effective protection measures when the virtual objects controlled by the player are attacked, resulting in teammate players being easily attacked and failing during the rescue process, and even causing both parties to exit the game.
By introducing auxiliary virtual objects into the virtual scene, the activity state parameters of the target virtual object are reduced, and an auxiliary area is generated for it when its activity state is lower than the threshold, the target virtual object is set to a protected state, and enemy virtual objects are reduced attack hit rate.
Effectively protect the target virtual object, improve its survival time in the game, avoid or resist enemy attacks, and enhance the game experience.
Smart Images

Figure CN2024071487_03102024_PF_FP_ABST
Abstract
Description
Virtual object control method, device, storage medium, program product and electronic device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 31, 2023, with application number 202310379656.8 and application name “Virtual Object Control Method and Device, Storage Medium and Electronic Device”. Technical Field
[0002] The present application relates to the field of computers, and in particular to a method, device, storage medium, program product, and electronic device for controlling a virtual object.
[0003] Background of the Invention
[0004] In current game applications, when a virtual object controlled by the current player is injured and falls to the ground, rescue can usually be provided by virtual objects controlled by teammate players. For example, the virtual health value of the virtual object controlled by the current player can be restored through a rescue operation, so that the game can continue.
[0005] However, when a teammate is rescuing the current player, they can easily be attacked by an enemy player, resulting in a failed rescue. This can even cause both the teammate and the current player to be attacked simultaneously, forcing them to exit the game. Therefore, existing game control methods lack the ability to effectively protect the player-controlled virtual object when it is attacked.
[0006] To address the above-mentioned problems, no effective solutions have been proposed so far.
[0007] Summary of the Invention
[0008] The embodiments of the present application provide a method, device, storage medium, program product, and electronic device for controlling a virtual object, so as to at least solve the technical problem that existing game processes provide few protection methods for virtual objects.
[0009] According to one aspect of an embodiment of the present application, a method for controlling a virtual object is provided, which is executed by an electronic device and includes:
[0010] Displaying a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps;
[0011] In response to the attack operation of the second virtual object on the target virtual object, reducing the activity state parameter of the target virtual object;
[0012] In response to an activity state parameter of the target virtual object being lower than a target threshold, controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object; and
[0013] The target virtual object located in the target auxiliary area is set to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object on the target virtual object in the protected state will be lower than a second hit rate of an attack operation initiated by the second virtual object on the target virtual object that is not in the protected state.
[0014] According to another aspect of an embodiment of the present application, a device for controlling a virtual object is provided, including:
[0015] a display unit, configured to display a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps;
[0016] a first control unit, configured to reduce an activity state parameter of the target virtual object in response to an attack operation of the second virtual object on the target virtual object;
[0017] a second control unit, configured to control the first auxiliary virtual object to generate a target auxiliary area for the target virtual object in response to an activity state parameter of the target virtual object being lower than a target threshold; and
[0018] an adjusting unit, configured to set the target virtual object located in the target auxiliary area to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object against the target virtual object in the protected state is lower than a second hit rate of an attack operation initiated by the second virtual object against the target virtual object that is not in the protected state.
[0019] According to another aspect of an embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned method for controlling a virtual object when running.
[0020] According to another aspect of an embodiment of the present application, a computer program product is provided, the computer program product including a computer program / instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program / instructions from the computer-readable storage medium and executes the computer program / instructions, causing the computer device to perform the above-described method for controlling a virtual object.
[0021] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the virtual object control method through the computer program.
[0022] BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0024] FIG1 is a schematic diagram of a hardware environment of an optional virtual object control method according to an embodiment of the present application;
[0025] FIG2 is a flowchart of an optional method for controlling a virtual object according to an embodiment of the present application;
[0026] FIG3 is a schematic diagram of an optional method for controlling a virtual object according to an embodiment of the present application;
[0027] FIG4 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0028] FIG5 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0029] FIG6 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0030] FIG7 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0031] FIG8 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0032] FIG9 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0033] FIG10 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0034] FIG11 is a flowchart of another optional method for controlling a virtual object according to an embodiment of the present application;
[0035] FIG12 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0036] FIG13 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0037] FIG14 is a schematic diagram of another optional method for controlling a virtual object according to an embodiment of the present application;
[0038] FIG15 is a flow chart of another optional method for controlling a virtual object according to an embodiment of the present application;
[0039] FIG16 is a schematic structural diagram of an optional virtual object control device according to an embodiment of the present application;
[0040] FIG17 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application.
[0041] Implementation Method
[0042] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] According to one aspect of an embodiment of the present application, a method for controlling a virtual object is provided. As an optional implementation method, the above-mentioned method for controlling a virtual object can be, but is not limited to, applied to a control system of a virtual object in a hardware environment as shown in FIG1 , wherein the control system of the virtual object can include, but is not limited to, a terminal device 102, a network 104, a server 106, a database 108, and a terminal device 110. A target client (as shown in FIG1 , taking the target client as a game application client as an example) is respectively running in the terminal device 102 and the terminal device 110. The above-mentioned terminal device 102 and the terminal device 110 respectively include a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen is used to display a virtual game scene (as shown in FIG1 ), and is also used to provide a human-computer interaction interface to receive human-computer interaction operations for controlling a controlled virtual object in the virtual scene, and the virtual object will complete the game task set in the virtual scene. The processor is used to generate interaction instructions in response to the above-mentioned human-computer interaction operations and send the interaction instructions to the server. The memory is used to store relevant attribute data, such as object attribute information of the controlled virtual object and attribute information of the held virtual props, etc. The attribute information here may include but is not limited to information used to identify its identity and current location.
[0045] The terminal device 102 runs a client for controlling the target virtual object; optionally, if the enemy virtual object is a virtual object controlled by the terminal device, the terminal device 110 runs a client for controlling the enemy virtual object. The target virtual object and the enemy virtual object can be controlled in the game to perform certain interactive events, such as attack events, defense events, skill casting events, etc.
[0046] In addition, the server 106 includes a processing engine that is used to perform storage or reading operations on the database 108. Specifically, the processing engine reads virtual scene information of each virtual object and information about the operations performed by each virtual object from the database 108. Assuming that the terminal device 102 in Figure 1 is used to control the target virtual object and the reference virtual objects (including friendly virtual objects and enemy virtual objects) in the same game task, the specific process of this embodiment includes the following steps:
[0047] Step S102: displaying a target virtual object, an enemy virtual object, and auxiliary virtual objects associated with the target virtual object in the current virtual scene, wherein the enemy virtual object and the target virtual object are in different camps;
[0048] Step S104, in response to the enemy virtual object's attack operation on the target virtual object, reducing the activity state parameter of the target virtual object; in response to the activity state parameter of the target virtual object being lower than the target threshold, controlling the auxiliary virtual object to generate a target auxiliary area for the target virtual object;
[0049] Step S106, setting the target virtual object in the target auxiliary area to a protected state, wherein a first hit rate of an attack operation initiated by an enemy virtual object against the target virtual object in the protected state is lower than a second hit rate of an attack operation initiated by the enemy virtual object against the target virtual object not in the protected state;
[0050] Next, in step S108 , the terminal device 102 sends the area information of the target auxiliary area to the server 106 via the network 104 ;
[0051] Then the server 106 executes step S110 to adjust the display mode of the virtual object in the target auxiliary area;
[0052] Then, in step S112 , the server 106 sends the target display mode to the terminal device 110 via the network 104 ;
[0053] Finally, the target virtual object is displayed in the terminal device 110 according to the target display method.
[0054] Optionally, when the game client running in the terminal device 110 is used to control a friendly virtual object that is in the same camp as the target virtual object, the above-mentioned target display method is the same as the display method for displaying the target virtual object in the terminal device 102; when the game client running in the terminal device 110 is used to control an enemy virtual object that is in the enemy camp as the target virtual object, the above-mentioned target display method is different from the display method for displaying the target virtual object in the terminal device 102, for example, an invisible display method can be used for the enemy virtual object.
[0055] As another optional implementation, when the terminal device 102 or the terminal device 110 has relatively strong computing and processing capabilities, the above step S110 may also be completed by the terminal device 102 or the terminal device 110. This is an example and is not limited in this embodiment.
[0056] Optionally, in this embodiment, the above-mentioned terminal device can be a terminal device configured with a target client, which can include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop computer, a tablet computer, a PDA, an MID (Mobile Internet Devices), a PAD, a desktop computer, a smart TV, etc. The target client can be a video client, an instant messaging client, a browser client, an educational client, and other clients that support providing shooting game tasks. The above-mentioned network can include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network, and a wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that realize wireless communication. The above-mentioned server can be a single server, or a server cluster composed of multiple servers, or a cloud server. The above is only an example, and this embodiment does not impose any limitation on this.
[0057] Optionally, in this embodiment, the above-mentioned virtual object control method can be applied to, but is not limited to, a game terminal application (Application, APP for short) that completes a predetermined competitive game task in a virtual scene, such as a virtual competitive game application in a Multiplayer Online Battle Arena (MOBA) game application; the above-mentioned competitive game task can be, but is not limited to, a game task completed by the current player through competitive interaction with the virtual objects in the virtual scene controlled by the human-computer interaction virtual object and the virtual objects controlled by other players.
[0058] The above-mentioned virtual object control method can also be applied to terminal applications such as massively multiplayer online role-playing games (MMORPGs). In such games, the current player can complete social game tasks in the game through role-playing, using the first-person perspective of a virtual object, for example, by working together with other virtual objects to complete game tasks. The social game tasks herein can be, but are not limited to, running in an application (such as a non-standalone game app) in the form of a plug-in or mini-program, or running in an application (such as a standalone game app) within a game engine. The types of the above-mentioned game applications can include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual reality (VR) game applications, augmented reality (AR) game applications, and mixed reality (MR) game applications. The above is merely an example and is not limited to this embodiment.
[0059] The above-described embodiments of the present application may also be applied, but are not limited to, to open-world games. Open-world refers to a game where the combat scenes are completely free and open, allowing players to freely explore in any direction. The boundaries between different directions are very large, and the scenes contain simulated objects of various shapes and sizes that can physically collide or interact with players, AI, and other entities. In open-world games, players can control virtual objects to complete game tasks through interactive confrontations.
[0060] In an embodiment of the present application, a target virtual object, an enemy virtual object and an auxiliary virtual object managed with the target virtual object are displayed in a current virtual scene, wherein the enemy virtual object and the target virtual object are in different camps respectively; in response to the attack operation of the enemy virtual object on the target virtual object, the activity state parameter of the target virtual object is reduced; in response to the activity state parameter of the target virtual object being lower than the target threshold, the first auxiliary virtual object is controlled to generate a target auxiliary area for the target virtual object; the target virtual object located in the target auxiliary area is set to a protected state, wherein a first hit rate of the attack operation initiated by the enemy virtual object on the target virtual object in the protected state will be lower than a second hit rate of the attack operation initiated by the enemy virtual object on the target virtual object that is not in the protected state, thereby providing an effective protection method for the player's virtual object.
[0061] In the above embodiment, an auxiliary virtual object is configured for the target virtual object, and when the activity state parameter of the target virtual object is lower than the target threshold, an auxiliary area for providing protection is automatically generated for the above target virtual object through the auxiliary virtual object. When a similar target virtual object is located in the above auxiliary area, the auxiliary area provides protection for the target virtual object, thereby avoiding or resisting the attack of the enemy virtual object when the target virtual object is weak or difficult to operate, thereby increasing the survival time of the target virtual object in the game, and solving the technical problem that there are few protection methods for virtual objects in the existing game process.
[0062] As an optional implementation, FIG2 is a flowchart of an optional virtual object control method according to an embodiment of the present application. The above virtual object control method is executed by an electronic device, for example, jointly executed by the server 106 and the terminal device 110 in FIG1 , or executed by the terminal device 110. As shown in FIG2 , the method includes the following steps:
[0063] S202: Displaying a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps.
[0064] In the embodiment of the present application, the second virtual object is also referred to as an enemy virtual object. The auxiliary virtual object associated with the target virtual object is recorded as the first auxiliary virtual object, and the auxiliary virtual object associated with the enemy virtual object is recorded as the second auxiliary virtual object.
[0065] S204 : In response to the attack operation of the second virtual object on the target virtual object, reduce the activity state parameter of the target virtual object.
[0066] S206 : In response to the activity state parameter of the target virtual object being lower than the target threshold, controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object.
[0067] S208, setting the target virtual object located in the target auxiliary area to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object on the target virtual object in the protected state will be lower than a second hit rate of an attack operation initiated by the second virtual object on the target virtual object that is not in the protected state.
[0068] It should be noted that in this embodiment, the first auxiliary virtual object configured for the target virtual object can be a virtual object that provides auxiliary protection skills for the target virtual object. In an optional embodiment, during a game, the first auxiliary virtual object configured for the target virtual object can provide multiple types of auxiliary skills, including but not limited to auxiliary protection skills, auxiliary attack skills, auxiliary monitoring skills, and auxiliary resource collection skills.
[0069] In this embodiment, the above-mentioned first auxiliary virtual object can be configured with an auxiliary protection skill so that when the activity state parameter of the target virtual object is lower than the target threshold, the first auxiliary virtual object can be used to generate a target auxiliary area for the target virtual object, thereby achieving protection of the target virtual object.
[0070] Optionally, when the first auxiliary virtual object is further configured with an auxiliary attack skill, the first auxiliary virtual object can be set to automatically attack virtual objects in the opposing camp; when the first auxiliary virtual object is further configured with an auxiliary monitoring skill, the first auxiliary virtual object can be set to automatically monitor the nearby virtual environment for the target virtual object, for example, automatically monitoring and discovering enemy virtual objects in the opposing camp hidden in the nearby environment; when the first auxiliary virtual object is further configured with an auxiliary resource collection skill, the first auxiliary virtual object can be set to automatically collect virtual resources in the game scene for the target virtual object, including but not limited to virtual supplies, virtual gold coins, virtual props and other resources.
[0071] It can be understood that the above-mentioned auxiliary protection skill can be further reflected in that the above-mentioned first auxiliary virtual object is set to: bear the attack damage caused by the enemy virtual object for the target virtual object. For example, when the target virtual object is attacked by the enemy virtual object, the above-mentioned first auxiliary virtual object can automatically move in front of the target virtual object to withstand the attack damage; the above-mentioned virtual protection skill can also be reflected in the gain effects such as restoring the virtual health value for the target virtual object and increasing the virtual armor value for the target virtual object.
[0072] In this embodiment, there is no limitation on the specific auxiliary skills that the first auxiliary virtual object can provide.
[0073] It is understandable that before the above step S202, a first auxiliary virtual object may be configured for the target virtual object, or an auxiliary skill may be configured for the first auxiliary virtual object through a pre-configuration operation.
[0074] For example, the above-mentioned configuration operation may be that before the start of the game, the player obtains the above-mentioned first auxiliary virtual object with auxiliary skills through a virtual resource exchange operation, or the player can determine the first auxiliary virtual object configured in the current game from multiple candidate auxiliary virtual objects through a selection operation; for example, the above-mentioned configuration operation can also be that when it is determined that the player is configured with the first auxiliary virtual object, through a resource exchange operation, the specific auxiliary skills of the above-mentioned first auxiliary virtual object are determined, such as the above-mentioned skill of generating a target auxiliary area for the target virtual object, or it can also be one or more of the above-mentioned auxiliary protection skills, auxiliary attack skills, auxiliary monitoring skills, auxiliary resource collection skills, etc.
[0075] The above configuration operation can also be completed during the game. For example, when a specific level is passed in the game, configuration options are provided for the target virtual object to determine the first auxiliary virtual object that can provide auxiliary skills for the target virtual object. In this embodiment, the above configuration method is not limited.
[0076] In a specific embodiment, the game process can be configured as follows:
[0077] First, before the game starts, players obtain virtual nanochips through the exchange of virtual resources.
[0078] During the game, you can attack computer-controlled virtual objects (NPC objects) in the virtual scene by controlling the target virtual object.
[0079] When an NPC object is defeated, the defeated NPC object can be “tamed” into a first auxiliary virtual object subordinate to the target virtual object, and the first auxiliary virtual object can be configured with auxiliary skills corresponding to the above-mentioned virtual nanochip.
[0080] For example, when the skill corresponding to the virtual nanochip obtained by the player is "Creating a Protected Area", and when the player controls the target virtual object to defeat the NPC virtual object, the defeated NPC virtual object can be converted into a first auxiliary virtual object subordinate to the target virtual object, and the first auxiliary virtual object is configured with the auxiliary skill "Creating a Protected Area" corresponding to the above-mentioned virtual nanochip. Then, when the skill casting conditions are met, the above-mentioned first auxiliary virtual object can automatically cast the above-mentioned "Creating a Protected Area" skill for the target virtual object.
[0081] Furthermore, the form of the first auxiliary virtual object can be a virtual pet, a virtual character, or a virtual mecha warrior. In this embodiment, the specific form type of the first auxiliary virtual object is not limited.
[0082] In steps S204 and S206, the activity state parameters of the target virtual object may include, but are not limited to, parameters indicating the target virtual object's operational state in the game. For example, the activity state parameters may include, but are not limited to, survival state parameters indicating the target virtual object's active state in the game, such as virtual health points. The activity state parameters may also include attack state parameters indicating the amount of virtual damage the target virtual object is allowed to inflict on enemy virtual objects, such as virtual attack power. The activity state parameters may also include state parameters indicating the target virtual object's movement speed in the virtual scene, such as virtual movement speed. The activity state parameters may also include armor state parameters indicating the amount of defense allowed for the target virtual object to defend against virtual damage inflicted by enemy virtual objects, such as virtual armor. In this implementation, the specific types of the activity state parameters are not limited.
[0083] It is understood that, corresponding to different types of activity state parameters, when the activity state parameter of the target virtual object is lower than the target threshold, the virtual activity state of the target virtual object is different. For example, when the activity state parameter is specifically virtual health, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is in a state with low virtual health and is about to be eliminated from the game; for example, when the activity state parameter is specifically virtual attack power, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is under the influence of a negative effect (debuff) that reduces virtual attack power; for example, when the activity state parameter is specifically virtual movement speed, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is under the influence of a negative effect (debuff) that reduces movement speed; for example, when the activity state parameter is specifically virtual armor, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is under the influence of a negative effect (debuff) that reduces virtual armor. In this embodiment, the specific meaning of the state corresponding to the activity state parameter of the target virtual object being lower than the target threshold is not limited.
[0084] In the above step S204, the attack operation of the above enemy virtual object on the target virtual object may include but is not limited to a common attack operation and a skill attack operation.
[0085] When the attack operation is a normal attack operation, the above-mentioned activity state parameter may correspond to the above-mentioned virtual health value; when the above-mentioned attack operation is the above-mentioned skill attack operation, the above-mentioned activity state parameter may also be the movement speed parameter, armor parameter, attack power parameter, etc. of the above-mentioned virtual object.
[0086] For example, if the skill attack operation is specifically a skill that can reduce movement speed, the movement speed of the target virtual object will be reduced due to the influence of the skill that reduces movement speed; if the skill attack operation is specifically an attack operation that can cause a virtual object to stun, the movement speed of the target virtual object will be reduced to 0 (i.e., it cannot move) due to the influence of the stun skill. The above attack operations and corresponding negative effects are merely illustrative and do not limit the specific operation types in this embodiment.
[0087] Furthermore, when the activity state parameter of the target virtual object is lower than the target threshold, it can be determined that the current target virtual object is in a state where the virtual health value is lower than the target threshold or is under the influence of a negative effect (debuff) caused by an enemy virtual object, and then it can be determined that the current target virtual object is in a state where an auxiliary virtual object is required to provide protection skills or a state where teammates are required to rescue it.
[0088] In step S204, the auxiliary virtual object that is subordinate to the target virtual object can be pre-configured to move freely within the virtual game scene. In one embodiment, the first auxiliary virtual object can be configured to move freely within a certain distance from the target virtual object; in another embodiment, the auxiliary virtual object can be configured to move freely at any position within the target virtual game scene.
[0089] For the first method mentioned above, when it is determined that the target virtual object is in a state that requires the auxiliary virtual object to provide protection skills, the auxiliary virtual object can be controlled to generate the above-mentioned target auxiliary area for the target virtual object; in the second method mentioned above, the current distance between the auxiliary virtual object and the target virtual object can be determined first, and when the distance condition is met, the auxiliary virtual object can be controlled to generate the above-mentioned target auxiliary area for the target virtual object.
[0090] In an optional embodiment, the target virtual object may be configured with multiple candidate auxiliary virtual objects. In step S204, upon determining that the target virtual object is in a state requiring protection from an auxiliary virtual object, the first auxiliary virtual object closest to the target virtual object may be determined, and a target auxiliary area may be generated for the target virtual object. In this embodiment, there are no restrictions on the number of first auxiliary virtual objects or the distance between them and the target virtual object.
[0091] It can be understood that, in step S204 of this embodiment, the first auxiliary virtual object can provide protection for the target virtual object by generating a target auxiliary area for the target virtual object.
[0092] The target auxiliary area of step S204 is further explained below. In this embodiment, the above-mentioned target auxiliary area can provide a protected state for the above-mentioned target virtual object, so that the target virtual object in the target auxiliary area can be protected from damage by the enemy virtual object or reduce the damage suffered by the target virtual object.
[0093] It should be noted that, in this embodiment, the second virtual object or enemy virtual object may belong to a different game camp than the current target virtual object. For example, it may be a hostile camp composed of virtual objects controlled by enemy players, or a neutral camp composed of virtual objects controlled by computers.
[0094] Furthermore, the above-mentioned enemy virtual objects may include, but are not limited to, player-controlled virtual objects and computer-controlled virtual objects. In the case where the above-mentioned opposing camp is specifically an enemy camp composed of virtual objects controlled by enemy players, the above-mentioned enemy virtual objects may include player-controlled virtual objects and computer-controlled virtual objects. For example, in the case where the enemy player-controlled virtual object is configured with a corresponding enemy auxiliary virtual object, the above-mentioned virtual object may further include the above-mentioned second auxiliary virtual object, that is, the enemy auxiliary virtual object. Correspondingly, the above-mentioned target auxiliary area can be used to resist virtual attacks or virtual damage from the enemy auxiliary virtual object.
[0095] The following describes how the target auxiliary area protects the target virtual object in the above step S208.
[0096] In an optional manner, the above-mentioned target auxiliary area can be set to increase the dodge probability of virtual objects in the area, that is, when the target virtual object is set to a protected state, the dodge parameter of the virtual object in the area is increased, so that the virtual attack from the outside will fail (that is, it cannot hit the target virtual object), thereby protecting the virtual object in the target auxiliary area.
[0097] In another optional embodiment, the target auxiliary area can be configured to adjust the display mode of virtual objects in the area, thereby preventing external virtual objects from detecting the target virtual object in the area, thereby preventing external virtual objects from attacking the target virtual object and protecting the virtual object in the target auxiliary area. The above function of the target auxiliary area is merely an example and is not limited in this embodiment.
[0098] As an optional method, when the target virtual object is set to a protected state, a protection prompt message can be displayed, indicating that the target virtual object is in a protected state relative to the enemy virtual object. Specifically, the protection prompt message can be displayed as text in the current interface, by adjusting the display mode of the current interface, or by adjusting the display mode of the target virtual object.
[0099] For example, when the prompt is displayed in text form, the protection prompt information may be specifically "You have entered the protected state" and displayed in the center of the current interface, thereby prompting that the target virtual object is in the protected state;
[0100] For another example, when a prompt is displayed by adjusting the display mode of the current interface, the prompt mode may be to adjust the scene color of the current virtual scene. For example, before the target virtual object enters the target auxiliary area, the virtual scene is displayed according to a first color saturation, and after the target virtual object enters the target auxiliary area, the virtual scene is displayed according to a second color saturation, thereby prompting that the target virtual object has entered the target auxiliary area and is in a protected state.
[0101] In another example, when providing a prompt by adjusting the display mode of the target virtual object, the prompt mode may be to adjust the display mode of the target virtual object before and after entering the target auxiliary scene. For example, before the target virtual object enters the target auxiliary area, the target virtual object is displayed in a first color, and after the target virtual object enters the target auxiliary area, the target virtual object is displayed in a second color, thereby indicating that the target virtual object has entered the target auxiliary area and is in a protected state.
[0102] A specific implementation of the above embodiment will be described below with reference to FIG3 .
[0103] As shown in Figure 3 (a), the current virtual scene corresponding to the target virtual object 301 is shown in the current game interface 310. The current virtual scene also includes a reference virtual object (i.e., an enemy virtual object) 302 of the enemy camp. The current game interface 310 further includes a movement control 303 for controlling the movement of the target virtual object 301, a switching control 304 for controlling the target virtual object 301 to switch virtual props, a bullet switching control 305 for controlling the target virtual object 301 to switch bullets, and an attack control 306 for controlling the target virtual object 301 to attack other virtual objects. In addition, the current game interface 310 also includes a minimap 307 for displaying thumbnails of scene objects and virtual objects in the game scene.
[0104] In FIG. 3 (a) above, the enemy virtual object 302 can attack the target virtual object 301 controlled by the player, and when the target virtual object 301 is damaged by the attack, the virtual health value of the target virtual object 301 is reduced.
[0105] Furthermore, as shown in Figure 3 (b), in the game interface 311, when the activity state parameter of the target virtual object is lower than the target threshold, for example, when the virtual health value of the target virtual object is lower than 10% of the total virtual health value, a first auxiliary virtual object 308 that has moved to the side of the target virtual object is displayed in the current virtual scene, and the first auxiliary virtual object is used to provide protection skills for the target virtual object.
[0106] When the first auxiliary virtual object 308 releases the protection skill, a target auxiliary area 309 is generated in the game interface 312, as shown in Figure 3(c). This target auxiliary area 309 can provide protection for the target virtual object 301 and the first auxiliary virtual object 308 located therein. At the same time, a protection prompt message "You have entered the protection zone" is displayed in the center of the current game interface 312. At the same time, the target auxiliary area 309 where the target virtual object 301 and the first auxiliary virtual object 308 are located is grayed out to indicate that the target virtual object 301 is in a protected state.
[0107] It is understood that the protected state corresponding to the current target auxiliary area can be to adjust the target virtual object to a stealth state, thereby preventing it from being discovered and attacked by the enemy virtual object. In this embodiment, even if the enemy virtual object attacks the location of the target auxiliary area 309, it cannot accurately hit the target virtual object because the target virtual object is in a stealth state, thereby achieving protection of the target virtual object.
[0108] In an embodiment of the present application, a target virtual object, an enemy virtual object and a first auxiliary virtual object of the target virtual object are displayed in a current virtual scene, wherein the enemy virtual object and the target virtual object are respectively in different camps; in response to the attack operation of the enemy virtual object on the target virtual object, the activity state parameter of the target virtual object is controlled to decrease; in response to the activity state parameter of the target virtual object being lower than the target threshold, the first auxiliary virtual object is controlled to generate a target auxiliary area for the target virtual object; the target virtual object located in the target auxiliary area is set to a protected state, wherein a first hit rate of the attack operation initiated by the enemy virtual object on the target virtual object in the protected state will be lower than a second hit rate of the attack operation initiated by the enemy virtual object on the target virtual object that is not in the protected state, thereby providing an effective protection method for the player's virtual object.
[0109] In the above embodiment, by configuring a first auxiliary virtual object for the target virtual object, and then when the activity state parameter of the target virtual object is lower than the target threshold, the first auxiliary virtual object automatically generates an auxiliary area for providing protection for the above target virtual object, and then when the target virtual object is located in the above auxiliary area, the auxiliary area provides protection for the target virtual object, and then when the target virtual object is weak or difficult to operate, it avoids or resists the attack of the enemy virtual object in the opposing camp, thereby increasing the survival time of the target virtual object in the game, and solving the technical problem that there are few protection methods for virtual objects in the existing game process.
[0110] As an optional implementation manner, the above-mentioned setting of the target virtual object located in the target auxiliary area to a protected state includes:
[0111] In the target auxiliary area, the target virtual object in the protected state is displayed according to the target display mode;
[0112] Among them, the target display mode indicates that in the object field of view of the first virtual object (i.e., the friendly virtual object), the target virtual object is displayed according to the first display mode, and in the object field of the second virtual object (i.e., the enemy virtual object), the target virtual object is displayed according to the second display mode, and the friendly virtual object and the target virtual object are in the same camp.
[0113] It is understandable that, in this embodiment, protection can be provided to the target virtual object in the target auxiliary area by adjusting the display manner of the target virtual object in the object field of view of the enemy virtual object.
[0114] In an optional embodiment, the above method further includes:
[0115] S1, displaying a target virtual object in a target auxiliary area according to a first display mode;
[0116] S2, displaying target protection prompt information for indicating a display mode of the target virtual object, wherein the target protection prompt information is used to prompt that the target virtual object is displayed in the object field of view of the enemy virtual object according to the second display mode.
[0117] It is understandable that in this embodiment, the target protection prompt information may be displayed after adjusting the display mode of the target virtual object, thereby indicating the second display mode of displaying the target virtual object in the object field of view of the enemy virtual object.
[0118] For example, as shown in Figure 4, after the target virtual object enters the above-mentioned target auxiliary area, the target virtual object is displayed in a semi-transparent manner (displayed in grayscale in the figure), and the target protection prompt information "You have entered the invisible state" is displayed in the current game interface 410 to indicate that it is displayed in an invisible display manner in the object field of view of the enemy virtual object, thereby indicating that the target virtual object is provided with a protected state by adjusting the display mode of the target virtual object.
[0119] It should be noted that the target protection prompt information shown in FIG4 is merely an example, and other optional display methods may be used. For example, the current game interface may be displayed with a certain degree of transparency to prompt the current target virtual object to enter a stealth state; or the target virtual object in the current game interface may be displayed in a target style to prompt the current target virtual object to enter a stealth state.
[0120] Through the above-mentioned implementation of the present application, the target virtual object is displayed in the target auxiliary area according to the first display mode; the target protection prompt information for indicating the display mode of the target virtual object is displayed, wherein the target protection prompt information is used to prompt the target virtual object to be displayed in the object field of the enemy virtual object according to the second display mode, thereby prompting that the target virtual object can be protected in the target auxiliary area by adjusting the display mode of the target virtual object.
[0121] As an optional manner, when displaying the target virtual object in a protected state in the target auxiliary area according to the target display mode, the method further includes performing at least one of the following:
[0122] 1) Adjusting the parameter recovery speed of the survival state parameter of the target virtual object from a first recovery speed to a second recovery speed, wherein the survival state parameter is used to indicate the confrontation activity state of the target virtual object. When the target virtual object is outside the target auxiliary area, the parameter recovery speed is the first recovery speed, and the second recovery speed is greater than the first recovery speed;
[0123] 2) increasing the survival state parameter of the target virtual object by a first target value;
[0124] 3) increasing the attack state parameter of the target virtual object by a second target value, wherein the attack state parameter is used to indicate the damage value of virtual damage that the target virtual object is allowed to cause to the enemy virtual object;
[0125] 4) Increasing the armor state parameter of the target virtual object by a third target value, wherein the armor state parameter is used to indicate a defense value that allows the target virtual object to defend against virtual damage caused by the enemy virtual object.
[0126] It is understood that in this embodiment, the target auxiliary area can further provide the target virtual object with multiple buff effects to enhance the protection of the target virtual object. For example, the first buff effect can increase the recovery speed of the target virtual object's virtual health; the second buff effect can directly increase the target virtual object's virtual health; the third buff effect can increase the target virtual object's virtual attack power; and the fourth buff effect can increase the target virtual object's virtual armor.
[0127] Furthermore, the aforementioned target auxiliary area can also provide a virtual evasion effect for the target virtual object, for example, providing a certain probability that an enemy virtual object's attack on the target virtual object will miss. The aforementioned target auxiliary area's gain effect is merely an example, and this embodiment does not limit the specific types and combinations of the aforementioned target auxiliary area's gain effects.
[0128] Through the above-mentioned implementation manner of the present application, a plurality of optional gain effects are matched to the target auxiliary area, thereby improving the protection effect of the target auxiliary area generated by the auxiliary virtual object for the target virtual object.
[0129] As an optional implementation manner, the above-mentioned displaying of the target virtual object in a protected state in the target auxiliary area according to the target display mode includes one of the following:
[0130] 1) In the field of view of the enemy virtual object, the target virtual object is hidden;
[0131] 2) blurring the target virtual object in the enemy virtual object's field of view;
[0132] 3) Displaying a target virtual object in camouflage in the field of view of the enemy virtual object, including: determining a camouflage image based on scene objects in the virtual scene where the target virtual object is located; and displaying the target virtual object based on the camouflage image.
[0133] It is understood that in this embodiment, three optional display adjustment methods are provided. In the first method, the display adjustment method of the target virtual object can be to hide the target virtual object, thereby preventing the enemy virtual object from discovering the location of the target virtual object and thus being unable to attack the target virtual object, thereby protecting the target virtual object;
[0134] In the second method mentioned above, as shown in FIG5 , the display adjustment method of the target virtual object can be to display the target virtual object in a blurred manner, thereby making it impossible for the enemy virtual object to discover the exact position of the target virtual object, making it impossible to accurately aim at the target virtual object, thereby achieving protection of the target virtual object.
[0135] In the third method mentioned above, the display adjustment method of the target virtual object can be to camouflage the target virtual object, that is, by obtaining an image of the environment near the target virtual object, the target virtual object is displayed, and then the camouflage display of the target virtual object is achieved, so that the enemy virtual object cannot find the exact position of the target virtual object, resulting in the inability to accurately aim at the target virtual object, thereby achieving protection of the target virtual object.
[0136] As an optional implementation manner, after setting the target virtual object located in the target auxiliary area to a protected state, the method further includes:
[0137] S1, in response to an attack operation initiated on an enemy virtual object, displaying an enemy virtual object whose activity state parameter is lower than a target threshold in a current virtual scene;
[0138] S2, displaying a second auxiliary virtual object (or enemy auxiliary virtual object) associated with the enemy virtual object moving to the location of the enemy virtual object;
[0139] S3 , in response to the target assist operation performed by the enemy assist virtual object, display the enemy virtual object in the current virtual scene according to the second display mode.
[0140] It can be understood that, in this embodiment, the auxiliary area and the corresponding second display mode are described through the object perspective of the target virtual object.
[0141] In this embodiment, the enemy virtual object is first displayed in the target virtual object's field of view in a first display mode. Specifically, in this embodiment, the first display mode may be the original display mode of the enemy virtual object. Then, in response to the target virtual object's attack operation on the enemy virtual object, when the enemy virtual object is in a state where the activity state parameter is below the target threshold, an auxiliary enemy virtual object corresponding to the enemy virtual object may be displayed in the target virtual object's field of view, moved to the vicinity of the enemy virtual object, and the target-assisting operation performed by the auxiliary enemy virtual object causes the enemy virtual object to be displayed in a second display mode.
[0142] It is understood that the target assist operation performed by the auxiliary enemy virtual object is an assist operation for generating an auxiliary area for the auxiliary enemy virtual object. In one optional embodiment, the auxiliary area generated for the auxiliary enemy virtual object is visible to the target virtual object; in another embodiment, the auxiliary area generated for the auxiliary enemy virtual object is invisible to the target virtual object.
[0143] Furthermore, after the auxiliary area is generated for the enemy virtual object through the target auxiliary operation, the display mode of the enemy virtual object can be adjusted to protect the enemy virtual object.
[0144] Through the above-mentioned implementation mode of the present application, the enemy virtual object is displayed in the current virtual scene according to the first display mode; when the activity state parameter of the enemy virtual object is lower than the target threshold, the enemy auxiliary virtual object associated with the enemy virtual object is displayed and moved to the position where the enemy virtual object is located; in response to the target auxiliary operation performed by the enemy auxiliary virtual object, the enemy virtual object is displayed in the current virtual scene according to the second display mode, so that the virtual object can adjust the display mode through the auxiliary skills of the auxiliary virtual object, thereby providing protection for the virtual object in the auxiliary area.
[0145] As an optional implementation manner, displaying the enemy virtual object in the current virtual scene according to the second display mode includes one of the following:
[0146] 1) In the current virtual scene, hide and display the enemy virtual objects;
[0147] 2) In the current virtual scene, the enemy virtual object is displayed in a blurred manner;
[0148] 3) In the current virtual scene, the enemy virtual object is camouflaged and displayed, including: determining a camouflage image according to the scene object in the virtual scene where the enemy virtual object is located; and displaying the target virtual object according to the camouflage image.
[0149] A specific implementation of the protection method of the first auxiliary virtual object will be described below with reference to FIG. 6 .
[0150] As shown in FIG6(a), a reference virtual object in the enemy camp, namely, an enemy virtual object 601, and a target virtual object 602 are displayed in the current virtual scene of the target virtual object. It can be understood that in the current scene, the target virtual object 602 can attack the enemy virtual object 601, thereby reducing the virtual health value of the enemy virtual object 601 below the target threshold;
[0151] Then, as shown in Figure 6 (b), in response to the virtual health value of the enemy virtual object 601 decreasing below the target threshold, a second auxiliary virtual object (or reference auxiliary virtual object) 603 moving to the side of the enemy virtual object 601 is displayed in the current scene, and the auxiliary operation performed by the second auxiliary virtual object 603 is displayed.
[0152] As shown in Figure 6 (c) of the display interface, when the second auxiliary area (or reference auxiliary area) 604 generated by the second auxiliary virtual object 603 for the enemy virtual object 601 is visible to the target virtual object 602, the second auxiliary virtual object 603 and the enemy virtual object 601 are displayed in the translucent second auxiliary area 604, and finally, as shown in Figure 6 (d), the second auxiliary virtual object 603 and the enemy virtual object 601 in the second auxiliary area 604 are hidden and displayed.
[0153] Another specific implementation of the above embodiment will be described below with reference to FIG7 .
[0154] As shown in Figure 7 (a), when the target virtual object 702 attacks the enemy virtual object 701 in the enemy camp, thereby reducing the virtual health value of the enemy virtual object 701 to below the target threshold, a second auxiliary virtual object 703 moving to the side of the enemy virtual object 701 is displayed in the current scene, and the auxiliary operation performed by the second auxiliary virtual object 703 is displayed.
[0155] When the second auxiliary area generated by the second auxiliary virtual object 703 for the enemy virtual object 701 is invisible to the target virtual object 702, the second auxiliary virtual object, the enemy virtual object and the generated second auxiliary area can be hidden and displayed as shown in Figure 7 (b).
[0156] It can be understood that in the two implementations shown in Figures 6 and 7 above, the virtual objects in the auxiliary area can be displayed invisible, so as to avoid the virtual objects of the opposing camp or the auxiliary virtual objects from discovering the virtual objects with low virtual health values, and thus being unable to attack the virtual objects, or even if they attack, they cannot hit them, thereby achieving protection of the virtual objects.
[0157] Another specific implementation of the above embodiment will be described below with reference to FIG8 .
[0158] As shown in FIG8( a ), when the target virtual object 802 attacks the enemy virtual object 801, thereby reducing the virtual health value of the enemy virtual object 801 below the target threshold, a second auxiliary virtual object 803 is displayed in the current scene, moving to the side of the enemy virtual object 801, and the auxiliary operation performed by the second auxiliary virtual object 803 is displayed;
[0159] As shown in Figure 8(b), when the second auxiliary area 804 generated by the second auxiliary virtual object 803 for the enemy virtual object 801 is visible to the target virtual object 802, the second auxiliary virtual object 803 and the enemy virtual object 801 located in the second auxiliary area 804 are displayed blurred.
[0160] The above implementation is merely an example and does not limit the specific display method of the virtual objects in the auxiliary area.
[0161] Through the above-mentioned implementation of the present application, by displaying the virtual objects located in the auxiliary area in a special manner, the virtual objects located in the auxiliary area are prevented from being discovered or attacked by enemy virtual objects or auxiliary virtual objects of enemy virtual objects, thereby achieving a protection effect for the virtual objects located in the auxiliary area.
[0162] As an optional embodiment, the above-mentioned target auxiliary operation performed in response to the enemy auxiliary virtual object displays the enemy virtual object in the current virtual scene according to the second display mode, and also includes: in the virtual thumbnail map corresponding to the current virtual scene, canceling the display of the reference object identifier corresponding to the enemy virtual object, wherein the virtual thumbnail map is used to display the virtual game scene in thumbnail form.
[0163] It can be understood that in this embodiment, while the enemy virtual object is displayed in the second display mode, the object identifier corresponding to the enemy virtual object can be hidden and displayed in the virtual thumbnail map, thereby preventing the target virtual object from discovering the enemy virtual object located in the auxiliary area.
[0164] The above-mentioned embodiment will be described below with reference to FIG. 7 and FIG. 9 .
[0165] As shown in FIG7 (a) and FIG9 (a), multiple object identifiers are displayed in the thumbnail corresponding to the current game match to indicate multiple virtual objects in the virtual scene. Assuming that identifier "3" corresponds to target virtual object 702 and identifier "2" corresponds to enemy virtual object 701, identifier "2" is normally displayed in FIG9 (a) before enemy virtual object 701 is displayed in the second display mode; then, as shown in FIG7 (b) and FIG9 (b), when enemy virtual object 701 is hidden in FIG7 (b), identifier "2" in FIG9 (b) is synchronously hidden.
[0166] Through the above-mentioned implementation of the present application, the enemy object identification corresponding to the enemy virtual object is cancelled in the virtual thumbnail map corresponding to the current virtual scene, wherein the virtual thumbnail map is used to display the virtual game scene in thumbnail form, thereby preventing the target virtual object from discovering the enemy virtual object located in the auxiliary area through the synchronous hiding display of the mini-map, thereby achieving the protection effect of the virtual object located in the auxiliary area.
[0167] As an optional embodiment, the above-mentioned target auxiliary operation performed in response to the enemy auxiliary virtual object, after displaying the enemy virtual object in the current virtual scene according to the second display mode, also includes: when the target virtual object moves into the second auxiliary area corresponding to the second virtual object, in the second auxiliary area, displaying the second virtual object according to the first display mode.
[0168] It can be understood that in this embodiment, when the target virtual object is controlled to move and moves into the second auxiliary area corresponding to the enemy virtual object, the display of the enemy virtual object can be restored in the object field of view of the target virtual object.
[0169] As shown in FIG10(a), it is assumed that in the current virtual scene, there is only the target virtual object 1002 controlled by the current player (in fact, the enemy virtual object has been hidden in its corresponding auxiliary area). Then, for example, as shown in FIG10(b), when the target virtual object 1002 is controlled to move forward, it is assumed that the current target virtual object 1002 enters the auxiliary area corresponding to the enemy virtual object 1001, and then the enemy virtual object 1001 and the second auxiliary virtual object 1003 can be restored to display in the current virtual scene.
[0170] Through the above-mentioned implementation mode of the present application, when the target virtual object moves into the second auxiliary area corresponding to the enemy virtual object, the enemy virtual object is displayed in the second auxiliary area according to the first display mode. When the enemy virtual object is hidden in the auxiliary area, the current virtual object can be controlled to enter the auxiliary area, and then the hidden enemy virtual object can be rediscovered and the battle can be restarted, thereby avoiding the enemy virtual object of the opposing camp from hiding and adopting an avoidance strategy, slowing down the game process.
[0171] As an optional implementation manner, in response to the activity state parameter of the target virtual object being lower than a target threshold, controlling the auxiliary virtual object to generate a target auxiliary area for the target virtual object includes:
[0172] S1, when the first auxiliary virtual object moves into the current virtual scene, displaying the first auxiliary virtual object performing a target auxiliary action in the current virtual scene, wherein the target auxiliary action is used to indicate a display range of a target auxiliary area;
[0173] S2, displaying the target auxiliary area within the display range according to a preset display mode.
[0174] It is understandable that, in this embodiment, the auxiliary virtual object needs to perform a certain auxiliary action, and then the target auxiliary area is determined in the current virtual scene according to the auxiliary action of the auxiliary virtual object.
[0175] In this embodiment, the target auxiliary area generated for the target virtual object may also be configured with a certain display mode, which may include but is not limited to the area shape, area display image, and other display modes of the target auxiliary area.
[0176] In an optional embodiment, a semi-transparent shadow may be displayed in the virtual space to indicate the generated auxiliary target area, or a semi-transparent virtual halo may be displayed in the virtual space to indicate the auxiliary target area. In this embodiment, the display method of the auxiliary target area is not limited.
[0177] Through the above-mentioned implementation of the present application, when the auxiliary virtual object moves into the current virtual scene, the auxiliary virtual object is displayed to perform the target auxiliary action in the current virtual scene; the target auxiliary area is displayed within the display range according to the target display method, so that the target auxiliary area is determined through special auxiliary actions and special display methods, and the target virtual object is prompted to enter the auxiliary area and thus enter a protected state.
[0178] As an optional embodiment, in response to the activity state parameter of the target virtual object being lower than a target threshold, controlling the auxiliary virtual object to generate a target auxiliary area for the target virtual object further includes performing at least one of the following:
[0179] 1) when a survival state parameter of the target virtual object is lower than a survival parameter threshold, determining a first auxiliary virtual object located within a target range associated with the target virtual object, wherein the activity state parameter includes the survival state parameter;
[0180] 2) when a movement state parameter of the target virtual object is lower than a movement parameter threshold, determining a first auxiliary virtual object located within a target range associated with the target virtual object, wherein the movement state parameter is used to indicate a virtual movement speed of the target virtual object, and the activity state parameter includes the movement state parameter;
[0181] 3) when the attack state parameter of the target virtual object is lower than the attack parameter threshold, determining a first auxiliary virtual object located within a target range associated with the target virtual object, wherein the activity state parameter includes the attack state parameter;
[0182] 4) When an armor state parameter of the target virtual object is lower than an armor parameter threshold, determining a first auxiliary virtual object located within a target range associated with the target virtual object, wherein the activity state parameter includes the armor state parameter.
[0183] It is understood that in this embodiment, corresponding to different types of activity state parameters, when the activity state parameter of the target virtual object is lower than the target threshold, the virtual activity state of the target virtual object is different. For example, when the activity state parameter is specifically virtual health, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is in a state with low virtual health and is about to be eliminated from the game; for example, when the activity state parameter is specifically virtual attack power, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is under the influence of a negative effect (debuff) that reduces virtual attack power; for example, when the activity state parameter is specifically virtual movement speed, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is under the influence of a negative effect (debuff) that reduces movement speed; for example, when the activity state parameter is specifically virtual armor, the activity state parameter of the target virtual object is lower than the target threshold, which can be used to indicate that the target virtual object is under the influence of a negative effect (debuff) that reduces virtual armor. In this embodiment, the specific meaning of the state corresponding to the activity state parameter of the target virtual object being lower than the target threshold is not limited.
[0184] Furthermore, when the activity state parameter of the target virtual object is lower than the target threshold, it can be determined that the current target virtual object is in a state where the virtual health value is lower than the target threshold or is under the influence of a negative effect (debuff) caused by a virtual object in an opposing camp, and then it can be determined that the current target virtual object is in a state where an auxiliary virtual object needs to provide protection skills.
[0185] As an optional implementation manner, the display auxiliary virtual object performs a target auxiliary action in the current virtual scene including one of the following:
[0186] 1) When the first auxiliary virtual object moves to the target position where the target virtual object is located, determining a display range of the target auxiliary area according to the target position, wherein the display range includes the target position, and the target auxiliary action includes a movement action performed by the first auxiliary virtual object according to the target position;
[0187] 2) In the current virtual scene, display the first auxiliary virtual object moving along the target trajectory; determine the display range of the target auxiliary area based on the target trajectory, wherein the display range of the target auxiliary area is the area range corresponding to the target trajectory, and the target auxiliary action includes the movement action performed by the first auxiliary virtual object along the target trajectory.
[0188] It should be noted that two optional target-assisted actions are provided in this embodiment. In the first method mentioned above, the target-assisted action may be that the first auxiliary virtual object moves directly to the location of the target virtual object, and then the target auxiliary area is determined according to the location of the target virtual object. It can be understood that in this embodiment, the target auxiliary area can be determined according to the location of the target virtual object, and the area shape, size and display mode of the target auxiliary area can be pre-configured. For example, the target auxiliary area can be a hemispherical space area (as shown in Figure (b) in Figure 8); for another example, the target auxiliary area can also be a cylindrical space area. In this embodiment, the specific form of the target auxiliary area is not limited.
[0189] In the second embodiment, the target auxiliary action may be a movement operation in which the first auxiliary virtual object moves along a target trajectory. The target trajectory may be a pre-set circular trajectory, elliptical trajectory, square trajectory, etc., or may be a temporary trajectory determined in response to a sliding operation triggered by the current player on the current interface when the auxiliary action of the first auxiliary virtual object is triggered. In this embodiment, the specific form and determination method of the target trajectory are not limited.
[0190] It can be understood that the target trajectory can determine the regional display range of the target auxiliary area. For example, when the target trajectory is determined to be a circular trajectory, the target auxiliary area can be a cylindrical space with the circular trajectory as the base.
[0191] The above embodiment is described below with reference to FIG11 . As shown in FIG11 , an enemy virtual object 1101 and a corresponding second auxiliary virtual object 1103 are displayed in the third-person perspective of a target virtual object 1102. Second auxiliary virtual object 1103 is currently moving along a circular trajectory on the ground to generate an auxiliary area for enemy virtual object 1101.
[0192] It should be noted that, in the above embodiment, the second auxiliary virtual object needs to complete the virtual skill casting through movement operations. In order to prevent the enemy virtual object from disappearing from the field of vision, the current player can control the target virtual object to attack the second auxiliary virtual object, thereby interrupting the continuous skill casting of the second auxiliary virtual object and preventing the enemy virtual object from entering the auxiliary area and hiding.
[0193] It is understandable that, in the case where the above-mentioned target trajectory is a temporary trajectory determined by the sliding operation triggered by the player in the current interface, the player can determine an auxiliary area of appropriate size to protect the virtual objects controlled by friendly players through drawing operations in the current virtual scene. In the case of a larger range of the drawn trajectory, the larger the auxiliary area generated by the auxiliary virtual object, the more virtual objects controlled by friendly players can be protected. However, since the longer the trajectory, the longer the skill casting time of the auxiliary virtual object, the easier it is to be attacked by the virtual object controlled by the enemy player and forced to interrupt the skill casting; in the case of a smaller range of the drawn trajectory, the smaller the auxiliary area generated by the auxiliary virtual object, although fewer virtual objects controlled by friendly players can be protected, but since the trajectory is shorter, the auxiliary virtual object can quickly complete the skill casting, and is less likely to be attacked by the virtual object controlled by the enemy player, and thus successfully hide in the generated auxiliary area.
[0194] Through the above-mentioned embodiments of the present application, two optional embodiments are provided to provide two methods for determining auxiliary areas, and by setting the auxiliary virtual objects to continuously cast skills, the richness of the game is improved and the strategy of the game is enhanced.
[0195] As an optional embodiment, after controlling the auxiliary virtual object to generate a target auxiliary area for the target virtual object in response to the activity state parameter of the target virtual object being lower than the target threshold, the method further includes:
[0196] S1, determining that the target virtual object enters a rescue requirement state according to the parameter type of the activity state parameter;
[0197] S2, sending a rescue prompt message to the first virtual object (i.e., the friendly virtual object), wherein the rescue prompt message is used to indicate the current rescue need status of the target virtual object, and the first virtual object and the target virtual object are in the same camp;
[0198] S3 , in response to a rescue operation of a friendly virtual object located in the target auxiliary area, releasing the rescue requirement state of the target virtual object.
[0199] It can be understood that in this embodiment, when the activity state parameter of the target virtual object is lower than the target threshold, a rescue prompt message can be sent to the friendly virtual object, so that the target virtual object can be restored to a normal state through the rescue operation of the friendly virtual object.
[0200] As an optional implementation, the sending of rescue prompt information to the friendly virtual object includes:
[0201] S1, generating rescue prompt information according to the position information of the target auxiliary area, wherein the rescue prompt information includes the position of the target auxiliary area in the virtual scene;
[0202] S2, sending a rescue prompt message to the friendly virtual object.
[0203] It can be understood that in this embodiment, after a target auxiliary area is generated for a target virtual object by an auxiliary virtual object, a prompt message can be sent to virtual objects in the same camp to instruct virtual objects in the same camp to go to the current auxiliary area for protection, or to prompt virtual objects in the same camp to go to the auxiliary area to provide virtual health value recovery for the target virtual object.
[0204] The above-mentioned embodiment is described below in conjunction with FIG12. As shown in FIG12, a target virtual object 1201 in the current virtual scene and a small map 1202 in the upper right corner are shown. When the virtual health value of a friendly virtual object in the same game camp as the target virtual object is lower than the target threshold and an auxiliary area has been generated by the corresponding auxiliary virtual object, when the auxiliary area prompt information sent by the friendly virtual object is received, a prompt message "Your teammate has entered the invisible state and the location is: ..." is displayed on the current interface, and a location mark is displayed on the small map 1202 to guide the target virtual object to the auxiliary area where the friendly virtual object is located.
[0205] Through the above-mentioned implementation of the present application, auxiliary area prompt information is generated according to the position information of the target auxiliary area, wherein the auxiliary area prompt information is used to indicate the position of the target auxiliary area in the virtual scene; the auxiliary area prompt information is sent to the virtual objects in the teammate camp, thereby achieving the technical effect of prompting the virtual objects in the same camp to go to the current position to jointly seek the protection of the auxiliary area.
[0206] As an optional implementation, after sending the auxiliary area prompt information to the virtual object of the teammate camp, the method further includes:
[0207] S1, in response to a friendly virtual object entering a target auxiliary area, displaying reference protection prompt information, wherein the reference protection prompt information is used to prompt that the friendly virtual object is in a protected state relative to the enemy virtual object;
[0208] S2, when the friendly virtual object performs a virtual treatment operation on the target virtual object, increasing the value of the survival state parameter of the target virtual object according to the virtual treatment operation, wherein the virtual treatment operation is used to increase the survival state parameter, and the survival state parameter is used to indicate the confrontation activity state of the target virtual object.
[0209] It will be appreciated that in this embodiment, when a virtual object in a teammate's camp enters a target auxiliary area, the target auxiliary area can provide the same protection effect to the friendly virtual object. For example, if the protected state indicates a stealth state, the same stealth effect is provided to the virtual object in the teammate's camp. In this embodiment, the virtual object in the teammate's camp can also provide a virtual healing operation to restore the target virtual object's survival status parameters, thereby enabling the virtual object in the teammate's camp to restore its own virtual health value without being discovered by the virtual object in the opposing camp.
[0210] The above embodiment is described below with reference to Figure 13. As shown in Figure 13, when a friendly virtual object 1302 enters a target auxiliary area 1304 generated by a first auxiliary virtual object 1303 for a target virtual object 1301, the target virtual object 1301, the friendly virtual object 1302, and the first auxiliary virtual object 1303 in the target auxiliary area 1304 are displayed according to a first display mode, indicating that the target virtual object 1301, the friendly virtual object 1302, and the first auxiliary virtual object 1303 are hidden from the field of view of the enemy virtual object 1305 and cannot be discovered by the enemy virtual object 1305.
[0211] Through the above-mentioned implementation of the present application, in response to the first virtual object in the teammate camp entering the target auxiliary area, reference protection prompt information is displayed; when the first virtual object performs a virtual treatment operation on the target virtual object, the value of the survival status parameter of the target virtual object is increased according to the virtual treatment operation, thereby realizing synchronous protection of the friendly virtual object, and at the same time, the treatment and rescue operations of the target virtual object are also realized through the friendly virtual object.
[0212] As an optional implementation manner, after controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object, the method further includes one of the following:
[0213] 1) In response to a move operation of a target virtual object, when the current position of the target virtual object is not within the target auxiliary area, prompting the target virtual object to release the protected state;
[0214] 2) In response to the movement operation of the target virtual object, the current position of the target virtual object is obtained; and the area position corresponding to the target auxiliary area is updated in real time according to the current position.
[0215] It is understood that in this embodiment, two optional interaction modes are provided based on the movement operation of the target virtual object. In the first interaction mode, when the target virtual object moves and leaves the above-mentioned target auxiliary area, the target virtual object is controlled to release the protected state. For example, when the protected state is specifically a stealth state, the target virtual object can exit the stealth state when leaving the above-mentioned target auxiliary area;
[0216] In another optional embodiment, the target auxiliary area generated by the first auxiliary virtual object for the target virtual object can be specifically a virtual area bound to the position of the target virtual object, that is, when the target virtual object moves, the target auxiliary area is controlled to move with the target virtual object, so that the target virtual object in the auxiliary area can move while maintaining stealth or a special display mode when attacked by an enemy virtual object, thereby achieving a higher intensity protection effect.
[0217] Through the above-mentioned implementation of the present application, two different protection methods are provided by using two optional methods for determining the target auxiliary areas, thereby increasing the richness of the confrontation strategies during the game process.
[0218] As an optional implementation manner, after the auxiliary virtual object is controlled to generate a target auxiliary area for the target virtual object, the method further includes:
[0219] S1, obtain the area validity period configured for the target auxiliary area;
[0220] S2-1, when the display duration of the target auxiliary area is greater than or equal to the area effective duration, cancel the display of the target auxiliary area;
[0221] S2-2: When the display duration of the target auxiliary area is less than the area effective duration, the target auxiliary area is kept displayed.
[0222] It is understood that in this embodiment, the target auxiliary area can be configured with a certain duration. When the duration expires, the target auxiliary area is removed from the virtual scene; if the duration has not expired, the target auxiliary area is maintained in the virtual scene. It is understood that when the target auxiliary area is removed from the virtual scene, the target virtual object that was originally in a hidden state in the target auxiliary area will return to a normal display state.
[0223] Through the above-mentioned embodiments of the present application, the target auxiliary area can be configured with a certain duration, thereby controlling the protection of the target virtual object within a certain period of time, and preventing the target virtual object from continuously hiding and not participating in the game, which would affect the game player experience. By setting the duration, the virtual object can actively participate in the game, enhancing the game's confrontation and interactivity.
[0224] The following describes a specific implementation method. In one specific game mode, a 3+1 PvE (Player vs. Environment) level process is employed. Specifically, this game mode includes three normal levels and one final level. Players form teams of three to complete the three normal levels. The first three levels have a fixed duration, and the game ends when all players are eliminated. Players advance to the final level after completing the first three levels.
[0225] In the first three levels, players control virtual objects to acquire virtual resources in a virtual environment. At a certain time, players randomly acquire auxiliary skills that match their companion nanohumans. They also construct fortifications based on the virtual resources they acquire. These auxiliary skills may include, but are not limited to, increasing the movement speed of their companion nanohumans and increasing their attack power.
[0226] In this embodiment, each player can purchase auxiliary skills (virtual nanochips) through the virtual store in the game in each round of the level. There is a certain probability of encountering counting type skills (i.e. auxiliary skills with a limited number of uses) in the store.
[0227] During the game, the player can attack the computer-controlled virtual object (NPC object) in the virtual scene through the target virtual object under control. In the case of defeating the NPC object, the defeated NPC object can be "tamed" into a first auxiliary virtual object subordinate to the target virtual object, and the first auxiliary virtual object can be configured with an auxiliary skill corresponding to the above-mentioned virtual nano chip. For example, when the skill corresponding to the virtual nano chip obtained by the player is "creating a protection zone", and when the player controls the target virtual object to defeat the NPC virtual object, the defeated NPC virtual object can be converted into a first auxiliary virtual object subordinate to the target virtual object, and the first auxiliary virtual object is configured with the auxiliary skill "creating a protection zone" corresponding to the above-mentioned virtual nano chip, and then when the skill casting conditions are met, the above-mentioned first auxiliary virtual object can automatically cast the above-mentioned "creating a protection zone" skill for the target virtual object.
[0228] As shown in FIG14 , the partner nanoman 1401, as the first auxiliary virtual object, will obtain a special ability. An icon of the corresponding ability will appear in the area corresponding to the object identifier of the player's partner nanoman 1401, such as the hidden skill identifier 1402, indicating that the partner nanoman can provide a hidden protection effect for the virtual object controlled by the player.
[0229] When a player equipped with Companion Nanoman 1401 receives fatal damage and enters the Downed state, Companion Nanoman 1401 will automatically release a Cloaking Field (i.e., the aforementioned Target Assisted Area) at their location, granting invisibility to all friendly objects that enter the Cloaking Field. At this point, all friendly objects that enter the Cloaking Field will enter the Invisible State. In the Invisible State, players within the Cloaking Field will not be sensed by enemy players or enemy Nanoman, and enemy Nanoman will not actively attack players within the Cloaking Field. Even if the fallen player is helped up, they will not leave the Invisible State until the Cloaking Field's duration expires or they actively leave the field.
[0230] It should be noted that in this embodiment, the first auxiliary virtual object is configured with two different virtual forms, including an arm form and an independent form. The player can actively switch the virtual form of the first auxiliary virtual object. When the first auxiliary virtual object is configured in arm form, it can provide a buff effect or skill (such as the aforementioned skill of casting a cloaking force field) to the target virtual object; when the first auxiliary virtual object is configured in independent form, the first auxiliary virtual object can automatically attack other enemy virtual objects according to its configured skills and certain attack logic, or the player can specify a target to control the first auxiliary virtual object to attack the specified target.
[0231] In this embodiment, the aforementioned cloaking force field is also a skill of the first auxiliary virtual object. When the first auxiliary virtual object is in arm form, it can cast a cloaking force field on a target virtual object to protect it. During this process, if the player actively switches the virtual state of the first auxiliary virtual object from arm form to independent form, the cloaking force field will disappear.
[0232] The following describes a complete process of the above embodiment in conjunction with FIG15. As shown in FIG15,
[0233] In step S1502, a target auxiliary area, namely a hidden force field skill, is equipped. In response to the player entering a target level, a candidate skill selection list is displayed. In response to the player's selection instruction, the target skill selected from the list is equipped to the player's controlled virtual character, enabling the virtual character to use the target skill. The game scene corresponding to the target level is displayed, the game scene including the player and an enemy NPC object, and the player and the enemy NPC object are in a hostile relationship.
[0234] S1504: The player is knocked down and enters the downed state. When the player's health drops to 0, the player enters the downed state.
[0235] S1506, the partner NPC object actively releases a concealment force field to the player.
[0236] S1508, friendly objects in the force field are given a cloaking effect; when the player falls to the ground, the partner NPC object breaks away from the current command, automatically moves to the player's side, and expands an area within the cloaking force field around it.
[0237] S1510, friendly objects in the cloaking force field will not be perceived by enemy monsters; the cloaking force field will apply a stealth effect to friendly objects that enter the range, and isolate enemy NPC objects from the perception of friendly players and friendly NPC objects in the force field.
[0238] S1512: The duration of the cloaking force field ends, and friendly objects within the force field leave the cloaking state and become visible to the enemy again. If the player or friendly objects voluntarily leave the force field during the duration, they will also leave the cloaking state; if they re-enter the force field, they will still be in the cloaking state.
[0239] Finally, when the cloaking field's duration expires, the area is destroyed, and friendly objects within range are no longer cloaked.
[0240] Through the above method, when the player is down, he can use the partner NPC object to deploy a hidden force field to protect himself. At the same time, if a friendly object comes to rescue the player in the downed state, he will also be protected and will not be disturbed by hostile monsters, thereby increasing the success rate of the rescue.
[0241] In the above embodiment, an auxiliary virtual object is configured for the target virtual object, and when the activity state parameter of the target virtual object is lower than the target threshold, an auxiliary area for providing protection is automatically generated for the above target virtual object through the auxiliary virtual object. When a similar target virtual object is located in the above auxiliary area, the auxiliary area provides protection for the target virtual object, and when the target virtual object is weak or difficult to operate, it avoids or resists the attack of the virtual object of the opposing camp, thereby increasing the survival time of the target virtual object in the game, and solving the technical problem that there are few protection methods for virtual objects in the existing game process.
[0242] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0243] According to another aspect of the embodiments of the present application, a virtual object control device for implementing the above-mentioned virtual object control method is also provided. As shown in FIG16 , the device includes:
[0244] A display unit 1602 is configured to display a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps;
[0245] A first control unit 1604 is configured to reduce an activity state parameter of the target virtual object in response to the attack operation of the second virtual object on the target virtual object;
[0246] A second control unit 1606 is configured to control the first auxiliary virtual object to generate a target auxiliary area for the target virtual object in response to the activity state parameter of the target virtual object being lower than a target threshold;
[0247] Adjustment unit 1608 is used to set the target virtual object located in the target auxiliary area to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object on the target virtual object in the protected state will be lower than a second hit rate of an attack operation initiated by the second virtual object on the target virtual object that is not in the protected state.
[0248] Optionally, in this embodiment, the embodiments to be implemented by the above-mentioned various unit modules can refer to the above-mentioned various method embodiments, which will not be repeated here.
[0249] According to another aspect of the embodiments of the present application, an electronic device for implementing the above-mentioned virtual object control method is also provided. The electronic device may be a terminal device or a server as shown in Figure 17. This embodiment is described using the electronic device as an example of a terminal device. As shown in Figure 17, the electronic device includes a memory 1702 and a processor 1704. The memory 1702 stores a computer program, and the processor 1704 is configured to execute the steps of any of the above-mentioned method embodiments through the computer program.
[0250] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0251] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:
[0252] S1, displaying a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps;
[0253] S2, in response to the attack operation of the second virtual object on the target virtual object, reducing the activity state parameter of the target virtual object;
[0254] S3, in response to the activity state parameter of the target virtual object being lower than a target threshold, controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object; and
[0255] S4, setting the target virtual object located in the target auxiliary area to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object on the target virtual object in the protected state will be lower than a second hit rate of an attack operation initiated by the second virtual object on the target virtual object that is not in the protected state.
[0256] Alternatively, those skilled in the art will appreciate that the structure shown in FIG17 is for illustration only, and the electronic device may also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile internet device (MID), a PAD, and other terminal devices. FIG17 does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components (such as a network interface, etc.) than those shown in FIG17 , or may have a configuration different from that shown in FIG17 .
[0257] Memory 1702 can be used to store software programs and modules, such as program instructions / modules corresponding to the virtual object control method and device in the embodiments of the present application. Processor 1704 executes the software programs and modules stored in memory 1702 to perform various functional applications and data processing, thereby implementing the aforementioned virtual object control method. Memory 1702 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, memory 1702 may further include memory remotely located from processor 1704, which can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Memory 1702 can specifically, but is not limited to, be used to store information such as various elements in a scene image and control information for virtual objects. As an example, as shown in FIG17 , memory 1702 may, but is not limited to, include the display unit 1602, first control unit 1604, second control unit 1606, and adjustment unit 1608 of the aforementioned virtual object control device. In addition, it may also include but is not limited to other module units in the control device of the above-mentioned virtual object, which will not be repeated in this example.
[0258] Optionally, the transmission device 1706 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1706 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1706 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0259] In addition, the electronic device further includes: a display 1708 for displaying a virtual scene in an interface; and a connection bus 1710 for connecting various module components in the electronic device.
[0260] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes through network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0261] According to one aspect of the present application, a computer program product is provided, comprising a computer program / instructions containing program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication component and / or installed from a removable medium. When the computer program is executed by a central processing unit, the various functions provided in the embodiments of the present application are performed.
[0262] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0263] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned virtual object control method.
[0264] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0265] S1, displaying a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps;
[0266] S2, in response to the attack operation of the second virtual object on the target virtual object, reducing the activity state parameter of the target virtual object;
[0267] S3, in response to the activity state parameter of the target virtual object being lower than a target threshold, controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object; and
[0268] S4, setting the target virtual object located in the target auxiliary area to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object on the target virtual object in the protected state will be lower than a second hit rate of an attack operation initiated by the second virtual object on the target virtual object that is not in the protected state.
[0269] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0270] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the above-mentioned methods in each embodiment of the present application.
[0271] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0272] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0273] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0274] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0275] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for controlling a virtual object, executed by an electronic device, include: Displaying a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps respectively; In response to the attack operation of the second virtual object on the target virtual object, reducing the activity state parameter of the target virtual object; In response to the activity state parameter of the target virtual object being lower than a target threshold, controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object; and, The target virtual object located in the target auxiliary area is set to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object on the target virtual object in the protected state will be lower than a second hit rate of an attack operation initiated by the second virtual object on the target virtual object that is not in the protected state.
2. The method according to claim 1, in, The step of setting the target virtual object located in the target auxiliary area to a protected state includes: In the target auxiliary area, displaying the target virtual object in the protected state according to the target display mode; Among them, the target display mode indicates that the target virtual object is displayed in the object field of view of the first virtual object according to the first display mode; and the target virtual object is displayed in the object field of view of the second virtual object according to the second display mode, and the first virtual object and the target virtual object are in the same camp.
3. The method according to claim 1, in, When the target virtual object located in the target auxiliary area is set to a protected state, the method further includes performing at least one of the following: adjusting a parameter recovery speed of a survival state parameter of the target virtual object from a first recovery speed to a second recovery speed, wherein the survival state parameter is used to indicate a confrontation activity state of the target virtual object, and when the target virtual object is outside the target auxiliary area, the parameter recovery speed is the first recovery speed, and the second recovery speed is greater than the first recovery speed; Increasing the survival state parameter of the target virtual object by a first target value; increasing the attack state parameter of the target virtual object by a second target value, wherein the attack state parameter is used to indicate the damage value of virtual damage that the target virtual object is allowed to cause to the second virtual object; An armor state parameter of the target virtual object is increased by a third target value, wherein the armor state parameter is used to indicate a resistance value that allows the target virtual object to resist virtual damage caused by the second virtual object.
4. The method according to claim 1, in, The step of setting the target virtual object located in the target auxiliary area to a protected state includes: In the object field of view of the second virtual object, hiding and displaying the target virtual object; In the object field of view of the second virtual object, blurring and displaying the target virtual object; In the object field of view of the second virtual object, the target virtual object is displayed in disguise, including: determining a disguise image according to a scene object in a virtual scene where the target virtual object is located; and displaying the target virtual object according to the disguise image.
5. The method according to claim 2, in, After setting the target virtual object located in the target auxiliary area to a protected state, the method further includes: In response to the attack operation initiated on the second virtual object, displaying the second virtual object whose activity state parameter is lower than the target threshold in the current virtual scene; Displaying a second auxiliary virtual object associated with the second virtual object moves to a position where the second virtual object is located; In response to the target auxiliary operation performed by the second auxiliary virtual object, the second virtual object is displayed in the current virtual scene according to the second display mode.
6. The method according to claim 5, further comprising: include: In the virtual thumbnail map corresponding to the current virtual scene, the reference object identifier corresponding to the second virtual object is canceled from being displayed, wherein the virtual thumbnail map is used to display the virtual game scene in thumbnail.
7. The method according to claim 5, further comprising: include: When the target virtual object moves into the second auxiliary area corresponding to the second virtual object, In the embodiment of the present invention, the second virtual object is displayed according to the first display mode.
8. The method according to claim 1, in, In response to the activity state parameter of the target virtual object being lower than a target threshold, controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object comprises: When the first auxiliary virtual object moves into the current virtual scene, displaying that the first auxiliary virtual object performs a target auxiliary action in the current virtual scene, wherein the target auxiliary action is used to indicate a display range of the target auxiliary area; The target auxiliary area is displayed within the display range according to a preset display mode.
9. The method according to claim 8, further comprising performing at least one of the following: When the survival state parameter of the target virtual object is lower than a survival parameter threshold, determining the first auxiliary virtual object located within a target range associated with the target virtual object, in, The activity state parameters include the survival state parameters; When a movement state parameter of the target virtual object is lower than a movement parameter threshold, determining the first auxiliary virtual object located within a target range associated with the target virtual object, wherein the movement state parameter is used to indicate a virtual movement speed of the target virtual object, and the activity state parameter includes the movement state parameter; When the attack state parameter of the target virtual object is lower than an attack parameter threshold, determining the first auxiliary virtual object located within a target range associated with the target virtual object, wherein the activity state parameter includes the attack state parameter; When the armor state parameter of the target virtual object is lower than an armor parameter threshold, determining the first auxiliary virtual object located within a target range associated with the target virtual object, wherein the active state parameter includes the armor state parameter.
10. The method according to claim 8, in, When the first auxiliary virtual object moves into the current virtual scene, displaying the first auxiliary virtual object performing a target auxiliary action in the current virtual scene includes: When the first auxiliary virtual object moves to the target position where the target virtual object is located, the display range of the target auxiliary area is determined according to the target position, wherein the display range includes the target position, and the target auxiliary action includes a movement action performed by the first auxiliary virtual object according to the target position.
11. The method according to claim 8, in, When the first auxiliary virtual object moves into the current virtual scene, displaying the first auxiliary virtual object performing a target auxiliary action in the current virtual scene includes: In the current virtual scene, displaying the first auxiliary virtual object moving along a target trajectory; The display range of the target auxiliary area is determined according to the target trajectory, wherein the display range is the area range corresponding to the target trajectory, and the target auxiliary action includes a movement action performed by the first auxiliary virtual object according to the target trajectory.
12. The method according to claim 1, in, After controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object in response to the activity state parameter of the target virtual object being lower than a target threshold, the method further includes: Determining, according to a parameter type of the activity state parameter, that the target virtual object enters a rescue requirement state; Sending rescue prompt information to the first virtual object, wherein the rescue prompt information is used to indicate the current rescue requirement state of the target virtual object, and the first virtual object and the target virtual object are in the same camp; In response to a rescue operation of the first virtual object located in the target auxiliary area, the rescue requirement state of the target virtual object is released.
13. The method according to claim 12, in, The sending of rescue prompt information to the first virtual object comprises: generating the rescue prompt information according to the position information of the target auxiliary area, wherein the rescue prompt information includes the position of the target auxiliary area in the virtual scene; The rescue prompt information is sent to the first virtual object.
14. The method according to claim 12, in, After sending the rescue prompt information to the first virtual object, the method further includes: In response to the first virtual object entering the target auxiliary area, displaying reference protection prompt information, wherein the reference protection prompt information is used to prompt that the first virtual object is in a protected state; When the first virtual object performs a virtual treatment operation on the target virtual object, the value of the survival state parameter of the target virtual object is increased according to the virtual treatment operation, wherein the virtual treatment operation is used to increase the survival state parameter, and the survival state parameter is used to indicate the confrontation activity state of the target virtual object.
15. The method according to claim 1, in, After controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object, the method further includes one of the following: In response to a moving operation of the target virtual object, when the current position of the target virtual object is not in the target auxiliary area, prompting the target virtual object to release the protected state; In response to the moving operation of the target virtual object, the current position of the target virtual object is acquired; and according to the current position, the area position corresponding to the target auxiliary area is updated in real time.
16. The method according to claim 1, in, After controlling the first auxiliary virtual object to generate a target auxiliary area for the target virtual object, the method further includes: Obtaining the area validity duration configured for the target auxiliary area; When the display duration of the target auxiliary area is greater than or equal to the effective duration of the area, canceling the display of the target auxiliary area; When the display time length of the target auxiliary area is less than the area effective time length, the target auxiliary area is kept displayed.
17. A control device for a virtual object, include: A display unit, configured to display a target virtual object, a second virtual object, and a first auxiliary virtual object associated with the target virtual object in a current virtual scene, wherein the second virtual object and the target virtual object are in different camps respectively; A first control unit, configured to reduce an activity state parameter of the target virtual object in response to an attack operation of the second virtual object on the target virtual object; a second control unit, configured to control the first auxiliary virtual object to generate a target auxiliary area for the target virtual object in response to the activity state parameter of the target virtual object being lower than a target threshold; and An adjustment unit is used to set the target virtual object located in the target auxiliary area to a protected state, wherein a first hit rate of an attack operation initiated by the second virtual object on the target virtual object in the protected state will be lower than a second hit rate of an attack operation initiated by the second virtual object on the target virtual object not in the protected state.
18. A computer-readable storage medium, the computer-readable storage medium comprising a stored program, in, When the program is executed, the method described in any one of claims 1 to 16 is executed.
19. A computer program product, comprising a computer program / instructions, which when executed by a processor implements the steps of the method according to any one of claims 1 to 16.
20. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the method according to any one of claims 1 to 16 through the computer program.
Citation Information
Patent Citations
Virtual object control method and device, storage medium and electronic equipment
CN112691376A
Virtual object control method and device, equipment and storage medium
CN112717402A
Gunplay game system
CN113750541A
