Method for controlling companion objects, control device for companion objects, computer equipment, and computer program
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2023-01-10
- Publication Date
- 2026-06-23
Smart Images

Figure 0007878627000002 
Figure 0007878627000003 
Figure 0007878627000004
Abstract
Claims
1. A method for controlling companion objects, which is performed by a computer device. A step of displaying a virtual scene, wherein the virtual scene includes a first virtual object and companion objects, and the companion objects are dependent objects of the first virtual object. The steps include controlling the companion object to convert between a first state and a second state, The first state is a state in which the companion object is attached to the first virtual object in a first form and becomes part of the first virtual object, and the second state is a state in which the companion object acts independently from the first virtual object in a second form. The step of controlling the companion object to convert between the first state and the second state is: A step of determining the distance between the lock position and the position where the first virtual object is located in response to a first lock operation on the lock object at the lock position, If the distance is less than or equal to a first distance threshold, the steps include: moving the companion object in the first form to the lock position and controlling it to convert from the first form to the second form at the lock position; The steps include: if the distance is greater than the first distance threshold, moving the companion object in the first form to a first position, controlling the companion object to be converted from the first form to the second form at the first position, and then controlling the companion object in the second form to be moved from the first position to the locked position; The first position is a position in a first connection line connecting the lock position and the position where the first virtual object is located, where the distance from the position where the first virtual object is located is the first distance threshold. A method characterized by the following:
2. The steps include displaying the second virtual object, The further step includes controlling the first virtual object to convert the second virtual object into the companion object, The method according to feature 1.
3. The step of controlling the first virtual object to convert the second virtual object into the companion object is: If the attribute value of the first virtual object is greater than the attribute threshold, the first virtual object is controlled to interact with the second virtual object in a weakened state within the virtual scene, and when the set interaction result is reached, The process involves converting the second virtual object from its third form to its fourth form using a virtual item, playing a special effect animation in which the second virtual object in its fourth form moves to the position where the first virtual object is located, and converting the second virtual object in its fourth form back into the companion object in its first state. The process includes one of the following steps: converting the second virtual object into the companion object in the second state using the virtual item; The method according to feature 2.
4. The steps include controlling the first virtual object to move to the location where the supply box is located, The further step includes controlling the first virtual object to perform a pickup operation to acquire the virtual item, The method according to feature 3.
5. There are at least two types of virtual items whose corresponding companion objects are different. The method according to feature 3.
6. There are at least two types of the aforementioned companion objects that have different attachment locations on the first virtual object. The method according to feature 1.
7. There are at least two types of companion objects that provide different attribute increases and / or skill assistance to the first virtual object. The method according to feature 1.
8. The first embodiment is a configuration in which the companion object is attached to a body part of the first virtual object, There are at least two types of the corresponding first form of the aforementioned companion object. The method according to feature 1.
9. The type of the aforementioned allied object includes at least one of the following: shield object, reconnaissance object, and attack object. If the companion object is the shield object, the shield object is used to resist attacks on the first virtual object by other virtual objects in the virtual scene. If the aforementioned companion object is the reconnaissance object, the reconnaissance object is used to detect virtual objects present in the second region by emitting a reconnaissance signal into the second region. If the allied object is the attacking object, the attacking object is used to assist the first virtual object in attacking virtual objects within the enemy faction. The method according to feature 1.
10. The step of controlling the companion object to convert between a first state and a second state is: A step of controlling the companion object to switch from the first state to the second state in response to a first switching operation on the companion object, The process includes: controlling the companion object to switch from the second state to the first state in response to a second switching operation on the companion object; The method according to feature 1.
11. If the lock position is a position in the virtual scene that the companion object cannot reach, the further step includes controlling the companion object to move to a second position and transform from the first form to the second form at the second position. The second position is the position on the first connection line that the companion object can reach and is closest to the lock position. The method according to feature 1.
12. If the lock position is in the air of the virtual scene, the steps include determining the ground projection position in the virtual scene that corresponds to the lock position, The process further includes controlling the second form of the companion object to move from the locked position to the ground projection position under the influence of virtual gravity, and attenuating the state parameters of the virtual object located within a first region centered on the ground projection position. The method according to feature 1.
13. The step of controlling the companion object to switch from the first state to the second state in response to a first switching operation on the companion object is: A step of controlling the companion object in response to a second lock operation in which the object to be locked is a third virtual object, such that it moves to a third position and is converted from the first form to the second form at the third position, The steps include controlling the companion object to move from the third position to the position where the third virtual object is located, The distance between the third position on the second connection line and the position where the third virtual object is located is the second distance threshold, and the second connection line is for connecting the position where the first virtual object is located and the position where the third virtual object is located. The method according to feature 1.
14. The step of controlling the companion object to convert between a first state and a second state is: If the first virtual object and / or the companion object satisfies the first switching condition, the steps include controlling the companion object to switch from the first state to the second state, The process includes the step of controlling the companion object so that it switches from the second state to the first state if the first virtual object and / or the companion object satisfies the second switching condition, The method according to feature 1.
15. The first switching condition is, The number of second virtual objects within the attack range of the first virtual object is less than or equal to the first quantity threshold. The first virtual object, or any other object within the first faction to which the first virtual object belongs, requires assistance. The timing of the attack against the second faction, which is the enemy faction of the first faction to which the first virtual object belongs, The time during which the companion object is in the first form is equal to or greater than the first time threshold. The first virtual object enters a specified action state, and includes at least one of the following: The second switching condition is, The number of second virtual objects within the attack range of the first virtual object is equal to or greater than the second quantity threshold. The distance between the first virtual object and the companion object is greater than or equal to the third distance threshold. The time during which the aforementioned companion object is in the second form reaches the second time threshold, The aforementioned partner object has completed its task, and no new task trigger operation has been received during the waiting period after the completion of the task. The first virtual object deviates from the specified behavioral state, The attribute value of the aforementioned companion object is lower than a predetermined threshold. The above-mentioned companion object is attacked by a third virtual object, and includes at least one of the following: The method according to feature 14.
16. If the first virtual object and / or the companion object satisfies the second switching condition, the step of controlling the companion object to switch from the second state to the first state is: The process includes the steps of controlling the companion object to move to a fourth position in a second manner if the first virtual object and / or the companion object satisfy a second switching condition, and controlling the companion object to move from the fourth position to the position where the first virtual object is located in a first manner to convert from the second form to the first form, wherein the distance between the fourth position on the third connection line and the position where the first virtual object is located is a third distance threshold, and the third connection line connects the position where the first virtual object is located and the position where the companion object is located. If the first virtual object and / or the companion object satisfies the second switching condition, the step of controlling the companion object to switch from the second state to the first state is: If the first virtual object and / or the companion object satisfies the second switching condition, the method includes controlling the companion object to move to the position where the first virtual object is located in the first method and convert from the second form to the first form, The first method is a method in which the companion object moves by gradually changing its position, and the second method is a method in which the companion object moves by instantaneously changing its position. The method according to feature 14.
17. A control device for companion objects, A display module that displays a virtual scene, wherein the virtual scene includes a first virtual object and companion objects, and the companion objects are dependent objects of the first virtual object, Includes a control module that controls the companion object to convert between a first state and a second state, The first state is a state in which the companion object is attached to the first virtual object in a first form and becomes part of the first virtual object, and the second state is a state in which the companion object acts independently from the first virtual object in a second form. Controlling the companion object to convert between the first state and the second state is, In response to a first lock operation on a locked object at a locked position, the distance between the locked position and the position where the first virtual object is located is determined. When the distance is less than or equal to the first distance threshold, the companion object in the first form is moved to the lock position and controlled to be converted from the first form to the second form at the lock position. The control includes, when the distance is greater than the first distance threshold, moving the companion object in the first form to a first position, controlling the companion object to be converted from the first form to the second form at the first position, and then controlling the companion object in the second form to be moved from the first position to the locked position, The first position is a position in a first connection line connecting the lock position and the position where the first virtual object is located, where the distance from the position where the first virtual object is located is the first distance threshold. Device.
18. A computer device comprising a processor and memory, wherein a computer program is stored in the memory, and the processor executes the method for controlling a companion object according to any one of claims 1 to 16 by calling the computer program stored in the memory.
19. A computer program that causes a computer to execute the method for controlling companion objects described in any one of claims 1 to 16.