Control method, device, apparatus, storage medium, and program product of virtual object
Patent Information
- Application Number
- CN202210365169.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-04-07
AI Technical Summary
[0003]以射击游戏场景为例,玩家大都以使用武器击杀敌人为目的,玩家的行为模式和战斗策略比较单一,如玩家利用主对象关联的从对象(又称召唤对象或虚拟宠物)侦察敌方,但此种方式中的从对象极易被敌方发现,相关技术中为了不被敌方发现,往往需要从对象躲藏在隐蔽的地方进行侦察,这降低了从对象的侦察能力,很难获得敌方的有效信息,影响了玩家交互能力的提升,使得为达到某一交互目的(如获取有效信息)不得不执行多次交互操作,人机交互效率较低,且浪费了硬件处理资源
[0037]应用本申请实施例,通过对第一主对象从属的第一从对象进行变形转换,将第一从对象由第一形态转换成与第一主对象存在敌对关系的第二虚拟对象(即敌方)的形象相一致的第二形态,并控制第二形态的第一从对象在虚拟场景中进行对象侦察,由于在对象侦察的过程中,第一从对象的形态与第二虚拟对象的形象相一致,故第一从对象不易被敌方发现,甚至可触达敌方附近进行侦察,能够轻易获取到敌方的有效信息,这使得第一从对象的侦察能力得到大大提升,第一从对象侦察能力的提升能够提高第一主对象的交互能力。
Smart Images

Figure CN116920403B_ABST
Abstract
Description
Technical Field
[0001] This application relates to human-computer interaction technology, and more particularly to a method, apparatus, device, computer-readable storage medium, and computer program product for controlling virtual objects. Background Technology
[0002] Display technologies based on graphics processing hardware have expanded the channels for perceiving the environment and acquiring information. In particular, virtual scene display technologies can realize diverse interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and have various typical application scenarios. For example, in the virtual scene of games, it can simulate the real battle process between virtual objects.
[0003] Taking shooting games as an example, players mostly aim to kill enemies with weapons. Players' behavior patterns and combat strategies are relatively simple. For example, players may use secondary objects (also known as summoned objects or virtual pets) associated with the main object to scout the enemy. However, secondary objects in this way are very easy for the enemy to discover. In related technologies, in order to avoid being discovered by the enemy, secondary objects often need to hide in concealed places to scout. This reduces the scout ability of secondary objects and makes it difficult to obtain effective information about the enemy. This affects the improvement of players' interactive capabilities and makes it necessary to perform multiple interactive operations to achieve a certain interactive purpose (such as obtaining effective information). This results in low human-computer interaction efficiency and wastes hardware processing resources. Summary of the Invention
[0004] This application provides a method, apparatus, device, computer-readable storage medium, and computer program product for controlling virtual objects, which can improve human-computer interaction efficiency while reducing the consumption of hardware processing resources.
[0005] The technical solution of this application embodiment is implemented as follows:
[0006] This application provides a method for controlling virtual objects, including:
[0007] The game screen is displayed, which includes at least a portion of the virtual scene. The virtual scene includes a first main object and a first subordinate object of a first form. The first subordinate object and the first main object have a subordinate relationship.
[0008] In response to a first instruction for the first slave object, the first slave object is controlled to transform from the first form to a second form; wherein the second form corresponds to the image of the second virtual object in the virtual scene;
[0009] Control the first object of the second form to move within the virtual scene in order to perform object reconnaissance of the virtual scene;
[0010] In response to the first slave object detecting a third virtual object in the virtual scene, the location information of the third virtual object is displayed on the map corresponding to the virtual scene; wherein the second virtual object and the third virtual object are hostile to the first master object.
[0011] This application provides a control device for a virtual object, including:
[0012] A first display module is used to display a game screen, the game screen includes at least a portion of a virtual scene, the virtual scene includes a first main object and a first subordinate object of a first form, the first subordinate object and the first main object have a subordinate relationship;
[0013] A first control module is configured to respond to a first instruction for the first slave object and control the first slave object to transform from the first form to a second form; wherein the second form corresponds to the image of a second virtual object in the virtual scene;
[0014] The second control module is used to control the first slave object of the second form to move in the virtual scene in order to perform object reconnaissance in the virtual scene;
[0015] The second display module is configured to, in response to the first slave object detecting a third virtual object in the virtual scene, display the location information of the third virtual object in a map corresponding to the virtual scene; wherein the second virtual object and the third virtual object are in an adversarial relationship with the first master object.
[0016] In the above scheme, the first display module is further configured to receive a second instruction for the first slave object; in response to the second instruction, summon the first slave object in its initial form, and display a game screen showing the first slave object transforming from the initial form into a first form, and the first slave object in the first form attaching to the first main object to become part of the model of the first main object; the first control module is further configured to demonstrate the process of the first slave object in the first form detaching from the first main object to move to a target position, and transforming into the first slave object in the second form at the target position.
[0017] In the above scheme, the device further includes: a third control module, used to control the first slave object of the first form to perform object reconnaissance on the virtual scene in response to the first slave object of the first form being attached to the first master object; when a fourth virtual object is detected in a first area centered on the first master object, the location information of the fourth virtual object is displayed on the map corresponding to the virtual scene.
[0018] In the above scheme, when the number of the second virtual objects is at least two, the device further includes: a deformation determination module, used to display a form selection interface, and display the forms corresponding to at least two selectable second virtual objects in the form selection interface; in response to the selection operation of the form of the target virtual object among the at least two second virtual objects, the form of the selected target virtual object is taken as the second form.
[0019] In the above scheme, before controlling the first follower object to transform from the first form to the second form, the device further includes: a form prediction module, used to acquire scene data of a first region centered on the first follower object in the virtual scene; wherein, the scene data includes virtual objects located in the first region; and a machine learning model is invoked based on the scene data to perform prediction processing to obtain the second form; wherein, the machine learning model is trained based on scene data in the sample region and labeled deformations.
[0020] In the above scheme, the second control module is further used to control the first follower object in the second form to move in the virtual scene; during the movement of the first follower object in the second form in the virtual scene, in response to the first follower object in the second form being attacked by the fifth virtual object, the first follower object is controlled to transform from the second form to the initial form; and the first follower object in the initial form is controlled to perform object reconnaissance in the virtual scene.
[0021] In the above scheme, the second control module is further configured to control the first slave object of the second form to move in the virtual scene; during the movement of the first slave object of the second form in the virtual scene, control the first slave object of the second form to release marker waves in all directions and display the second area affected by the marker waves; control the first slave object of the second form to perform object reconnaissance in the second area; the second display module is further configured to respond to the first slave object detecting a third virtual object in the second area, highlight the third virtual object, and display the location information of the third virtual object in the map corresponding to the virtual scene, so that virtual objects in the group to which the first master object belongs can view it.
[0022] In the above scheme, the device further includes: a fourth control module, used to control the first slave object in the second form to lock the third virtual object in response to the first slave object detecting the third virtual object in the second area; and to see through the third virtual object in the virtual scene when the third virtual object moves to a target position that is obscured by an obstacle.
[0023] In the above scheme, the second display module is further configured to, in response to the first slave object detecting a third virtual object in the virtual scene and the first slave object being attacked by the third virtual object, display the location information of the third virtual object in the map corresponding to the virtual scene.
[0024] In the above scheme, the second display module is further configured to obtain the interaction parameters of each of the third virtual objects when the number of the third virtual objects is at least two; wherein the interaction parameters include at least one of the following: interaction role, interaction preference, interaction ability, and distance from the first main object; and display the location information of each of the third virtual objects in the map corresponding to the virtual scene using a display style corresponding to the interaction parameters.
[0025] In the above scheme, the device further includes: a fifth control module, configured to receive a tracking instruction from the first slave object of the second form for the third virtual object when the third virtual object moves in the virtual scene; in response to the tracking instruction, control the first slave object of the second form to track the third virtual object along the tracking direction indicated by the tracking instruction, and update and display the position information of the third virtual object in the map corresponding to the virtual scene.
[0026] In the above scheme, the device further includes: a sixth control module, used to control the first slave object in the second form to release a pulse wave to the obstacle for penetrating the obstacle when an obstacle is detected in the virtual scene during the process of the first slave object in the second form performing object reconnaissance in the virtual scene; when a third virtual object is detected based on the pulse wave, the third virtual object is determined to be detected in the virtual scene; and the first slave object in the second form is controlled to reconnoiter and mark the third virtual object, and to see through the third virtual object.
[0027] In the above scheme, the device further includes: a material detection module, used to control the first slave object in the second form to perform material detection on the virtual scene in response to the first master object having material detection skills; when virtual materials are detected in the virtual scene, displaying indication information corresponding to the virtual materials; wherein, the virtual materials are used for the first master object to pick up, and the picked-up virtual materials are used to improve the first master object's interaction capabilities in the virtual scene.
[0028] In the above scheme, the material detection module is further configured to, when a virtual material is detected in a second area centered on the first object in the virtual scene, display the type indication information of the virtual material at the location of the virtual material in the second area, and display the location indication information of the virtual material on the map corresponding to the virtual scene; and use at least one of the type indication information and the location indication information as the indication information corresponding to the virtual material.
[0029] In the above scheme, the material detection module is further configured to, when the number of virtual materials is at least two, display indication information of a first number of virtual materials in a first display style, and display indication information of a second number of virtual materials in a second display style; wherein, the first display style is different from the second display style, the first display style indicates that the first number of virtual materials is within the field of view of the first main object, and the second display style indicates that the second number of virtual materials is outside the field of view of the first main object.
[0030] In the above scheme, the material detection module is further configured to, when there are at least two types of virtual materials, display indication information of the target type of virtual materials in a third display style, and display indication information of other types of virtual materials besides the target type in a fourth display style; wherein, the third display style is different from the fourth display style, and the third display style represents the picking priority of the target type of virtual materials, which is higher than the picking priority of the other types of virtual materials.
[0031] This application provides an electronic device, including:
[0032] Memory, used to store executable instructions;
[0033] The processor, when executing executable instructions stored in the memory, implements the control method for the virtual object provided in the embodiments of this application.
[0034] This application provides a computer-readable storage medium storing executable instructions for inducing a processor to execute and implement the virtual object control method provided in this application.
[0035] This application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, they implement the control method for a first slave object in a virtual scene provided in this application.
[0036] The embodiments of this application have the following beneficial effects:
[0037] By applying the embodiments of this application, by transforming and converting the first subordinate object to which the first main object belongs, the first subordinate object is transformed from a first form into a second form that is consistent with the image of a second virtual object (i.e., the enemy) that has an adversarial relationship with the first main object. The first subordinate object in the second form is then controlled to conduct object reconnaissance in the virtual scene. Since the form of the first subordinate object is consistent with the image of the second virtual object during the object reconnaissance process, the first subordinate object is not easily discovered by the enemy and can even reach the vicinity of the enemy for reconnaissance, and can easily obtain effective information about the enemy. This greatly enhances the reconnaissance capability of the first subordinate object, and the enhancement of the reconnaissance capability of the first subordinate object can improve the interaction capability of the first main object.
[0038] Furthermore, when enemy information, such as a third virtual object (which may include a second virtual object), is detected, the location information of the third virtual scene is also displayed on the map. This helps the first main object to formulate an interaction strategy that can cause the greatest damage to the enemy based on the enemy's location, and to execute the corresponding interaction operation according to the interaction strategy, thereby improving the interaction capability of the first main object (such as attack capability or defense capability). With the interaction capability of the first main object improved, the terminal device can reduce the number of interactions required to achieve a certain interaction goal (such as obtaining effective enemy information or defeating the enemy), thereby improving the efficiency of human-computer interaction and reducing the occupation of hardware processing resources. Attached Figure Description
[0039] Figure 1A This is a schematic diagram illustrating the application mode of the virtual object control method provided in the embodiments of this application;
[0040] Figure 1B This is a schematic diagram illustrating the application mode of the virtual object control method provided in the embodiments of this application;
[0041] Figure 2 This is a schematic diagram of the structure of the terminal device 400 provided in the embodiments of this application;
[0042] Figure 3 A flowchart illustrating the control method for virtual objects provided in this application embodiment;
[0043] Figure 4 This is a schematic diagram illustrating the morphological changes of an object provided in an embodiment of this application;
[0044] Figure 5 A reconnaissance diagram provided for an embodiment of this application;
[0045] Figure 6 This is a schematic diagram illustrating the morphological changes of an object provided in an embodiment of this application;
[0046] Figure 7 A reconnaissance diagram provided for an embodiment of this application;
[0047] Figure 8 A reconnaissance diagram provided for an embodiment of this application;
[0048] Figure 9 This is a schematic diagram of the detection provided in an embodiment of this application;
[0049] Figure 10 This is a schematic diagram of the detection provided in an embodiment of this application;
[0050] Figure 11 This is a flowchart illustrating the control method for virtual objects provided in an embodiment of this application. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0052] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0053] In the following description, the terms “first, second…” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first, second…” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0055] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0056] 1) Client: An application that runs on a terminal and provides various services, such as a video playback client or a game client.
[0057] 2) In response, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed can be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0058] 3) A virtual scene is a virtual scene displayed (or provided) by an application when it runs on a terminal. This virtual scene can be a simulation of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. A virtual scene can be any of a two-dimensional, 2.5-dimensional, or three-dimensional virtual scene; this application does not limit the dimension of the virtual scene. For example, the virtual scene may include sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. Users can control virtual objects to move within the virtual scene.
[0059] 4) Virtual objects: These are interactive representations of people and objects within a virtual scene, or movable objects within the virtual scene. These movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as people, animals, plants, oil drums, walls, stones, etc., displayed in the virtual scene. A virtual object can be a virtual avatar representing the user within the virtual scene. A virtual scene can include multiple virtual objects, each with its own shape and volume, occupying a portion of the space within the virtual scene.
[0060] 5) Subordinate objects, also known as summoned objects or virtual pets, belong to the corresponding main object. They are additional individual units that are not the user character body and are controlled by the player (main object). They can execute some commands under the player's control. In other words, subordinate objects are the images of various people and things in the virtual scene that can assist virtual objects in interacting with other virtual objects. These images can be virtual characters, virtual animals, anime characters, virtual props, virtual vehicles, etc.
[0061] In this embodiment, the first primary object is the virtual object in the virtual scene corresponding to the current user account, also known as the first virtual object. The first secondary object is a summoned object belonging to the first virtual object (i.e., the first primary object). The second, third, fourth, or fifth virtual objects are collective terms for virtual objects (primary objects) or their associated secondary objects that are different from those in the virtual scene corresponding to the current user account. For example, a second virtual object may include a second primary object and a second secondary object, and a third virtual object may include a third primary object and a third secondary object, rather than referring to a specific virtual object in the virtual scene. For instance, if virtual objects A, B, and C in the virtual scene all correspond to accounts (enemies) belonging to different groups as the first primary object, then virtual objects A, B, and C are all referred to as second virtual objects (or third, fourth, and fifth virtual objects).
[0062] 6) Scene data represents various characteristic data of objects in the virtual scene during interaction. For example, it can include the position and environment of the virtual object in the virtual scene, the waiting time required for various functions configured in the virtual scene (depending on the number of times the same function can be used within a specific time), and the attribute values of various states of the game virtual object, such as health points and mana points.
[0063] This application provides a method, apparatus, terminal device, computer-readable storage medium, and computer program product for controlling virtual objects, which can improve the efficiency of human-computer interaction while reducing the consumption of hardware processing resources. To facilitate a clearer understanding of the virtual object control method provided in this application, exemplary implementation scenarios are first described. The virtual scene in the virtual object control method provided in this application can be entirely output based on the terminal device, or based on a collaborative output between the terminal device and a server. In some embodiments, the virtual scene can be an environment for game characters to interact, such as a virtual scene for game characters to engage in combat. By controlling the actions of the game characters, interaction between the two parties can occur in the virtual scene, allowing users to relieve life stress during gameplay.
[0064] In one implementation scenario, see Figure 1A , Figure 1AThis diagram illustrates the application mode of the virtual object control method provided in this application embodiment. It is applicable to application modes where the computational power of the graphics processing hardware of the terminal device 400 is sufficient to complete the relevant data calculations for the virtual scene 100. Examples include standalone / offline games, where the output of the virtual scene is completed through various types of terminal devices 400 such as smartphones, tablets, and virtual reality / augmented reality devices. As an example, the types of graphics processing hardware include central processing units (CPUs) and graphics processing units (GPUs).
[0065] When visual perception of virtual scene 100 is formed, terminal device 400 calculates the data required for display through graphics computing hardware, and completes the loading, parsing and rendering of display data. The graphics output hardware outputs video frames that can form visual perception of virtual scene. For example, two-dimensional video frames are presented on the display screen of a smartphone, or video frames that achieve three-dimensional display effect are projected on the lenses of augmented reality / virtual reality glasses. In addition, in order to enrich the perception effect, terminal device 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.
[0066] As an example, a client 410 (e.g., a standalone game application) runs on the terminal device 400. During the operation of the client 410, a game screen is output. The game screen includes at least a part of a virtual scene 100 for role-playing. The virtual scene 100 can be an environment for game characters to interact with, such as a plain, street, valley, etc., for game characters to fight. The virtual scene 100 includes a first main object 110 and a first subordinate object 120 of a first form that has a subordinate relationship with the first main object.
[0067] As an example, in response to a first instruction for a first slave object, the terminal device controls the first slave object to transform from a first form to a second form; wherein the second form corresponds to the image of a second virtual object in a virtual scene; the first slave object in the second form is controlled to move in the virtual scene to perform object reconnaissance; in response to the first slave object detecting a third virtual object in the virtual scene, the location information of the third virtual object is displayed on the map of the corresponding virtual scene; wherein the second and third virtual objects are in an adversarial relationship with the first master object. Thus, because the form of the first slave object is consistent with the image of the second virtual object during object reconnaissance, the first slave object is not easily detected by the enemy, and can even reach the vicinity of the enemy to conduct reconnaissance, easily obtaining effective information about the enemy. This greatly enhances the reconnaissance capability of the first slave object, and the enhanced reconnaissance capability of the first slave object can improve the interaction capability of the first master object. Furthermore, the location information of the detected third virtual scene is displayed on the map. This helps the first main object to formulate an interaction strategy that can cause the greatest damage to the enemy based on the enemy's location, and to execute the corresponding interaction operation according to the interaction strategy. This improves the interaction capability of the first main object (such as attack capability or defense capability). With the interaction capability of the first main object improved, the terminal device can reduce the number of interaction operations performed to achieve a certain interaction goal (such as obtaining effective information about the enemy or defeating the enemy), thereby improving the efficiency of human-computer interaction and reducing the occupation of hardware processing resources.
[0068] In another implementation scenario, see Figure 1B , Figure 1B This is a schematic diagram illustrating the application mode of the virtual object control method provided in this application embodiment. It is applied to a terminal device 400 and a server 200, and is suitable for application modes that rely on the computing power of the server 200 to complete virtual scene calculations and output the virtual scene to the terminal device 400. Taking the visual perception of forming a virtual scene 100 as an example, the server 200 calculates relevant display data (e.g., scene data) for the virtual scene and sends it to the terminal device 400 via the network 300. The terminal device 400 relies on graphics computing hardware to load, parse, and render the calculated display data, and relies on graphics output hardware to output the virtual scene to form visual perception. For example, it can present two-dimensional video frames on the display screen of a smartphone, or project video frames to achieve a three-dimensional display effect onto the lenses of augmented reality / virtual reality glasses. Regarding the perception of the form of the virtual scene, it can be understood that it can be achieved through the corresponding hardware output of the terminal device 400, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, etc.
[0069] As an example, a client 410 (e.g., a standalone game application) runs on the terminal device 400. During the operation of the client 410, a game screen is output. The game screen includes at least part of a virtual scene 100 with role-playing. The virtual scene 100 can be an environment for game characters to interact with, such as a plain, street, valley, etc., for game characters to fight. The virtual scene 100 includes a first main object 110 and a first subordinate object 120 of a first form that has a subordinate relationship with the first main object.
[0070] As an example, in response to a first instruction for a first slave object, the terminal device controls the first slave object to transform from a first form to a second form; wherein the second form corresponds to the image of a second virtual object in a virtual scene; the first slave object in the second form is controlled to move in the virtual scene to perform object reconnaissance; in response to the first slave object detecting a third virtual object in the virtual scene, the location information of the third virtual object is displayed on the map of the corresponding virtual scene; wherein the second and third virtual objects are in an adversarial relationship with the first master object. Thus, because the form of the first slave object is consistent with the image of the second virtual object during object reconnaissance, the first slave object is not easily detected by the enemy, and can even reach the vicinity of the enemy to conduct reconnaissance, easily obtaining effective information about the enemy. This greatly enhances the reconnaissance capability of the first slave object, and the enhanced reconnaissance capability of the first slave object can improve the interaction capability of the first master object. Furthermore, the location information of the detected third virtual scene is displayed on the map. This helps the first main object to formulate an interaction strategy that can cause the greatest damage to the enemy based on the enemy's location, and to execute the corresponding interaction operation according to the interaction strategy. This improves the interaction capability of the first main object (such as attack capability or defense capability). With the interaction capability of the first main object improved, the terminal device can reduce the number of interaction operations performed to achieve a certain interaction goal (such as obtaining effective information about the enemy or defeating the enemy), thereby improving the efficiency of human-computer interaction and reducing the occupation of hardware processing resources.
[0071] In some embodiments, the terminal device 400 can implement the virtual object control method provided in this application embodiment by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run, such as a shooting game APP (i.e., the client 410 mentioned above); it can also be a mini-program, that is, a program that only needs to be downloaded into the browser environment to run; or it can be a game mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plugin.
[0072] Taking a computer program as an example, in actual implementation, the terminal device 400 has an application that supports virtual scenes installed and running. This application can be any of the following: a first-person shooter (FPS) game, a third-person shooter game, a virtual reality application, a 3D map program, a simulation program, or a multiplayer shooting survival game. Users use the terminal device 400 to manipulate virtual objects located in the virtual scene, and these activities include, but are not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up items, shooting, attacking, throwing, and constructing virtual buildings—at least one of these. Illustratively, the virtual object can be a virtual character, such as a realistic or anime character.
[0073] In other embodiments, the embodiments of this application can also be implemented with the aid of cloud technology, which refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize the computation, storage, processing, and sharing of data.
[0074] Cloud technology is a general term encompassing network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form resource pools, allowing for on-demand use with flexibility and convenience. Cloud computing technology will become a crucial support. The backend services of cloud computing systems require substantial computing and storage resources.
[0075] Example, Figure 1B The server 200 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device 400 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal device 400 and the server 200 can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.
[0076] See Figure 2 , Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. In practical applications, the electronic device can be... Figure 1A The terminal device 400 in the middle can also be used for Figure 1B The terminal device 400 or server 200 in the middle, with electronic devices as Figure 1A Taking the terminal device 400 shown as an example, the electronic device provided in the embodiments of this application will be described. Figure 2 The terminal device 400 shown includes at least one processor 420, a memory 460, at least one network interface 430, and a user interface 440. The various components in the terminal device 400 are coupled together via a bus system 450. It is understood that the bus system 450 is used to implement communication between these components. In addition to a data bus, the bus system 450 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 450.
[0077] Processor 420 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0078] User interface 440 includes one or more output devices 441 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 440 also includes one or more input devices 442, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0079] The memory 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 460 may optionally include one or more storage devices physically located away from the processor 420.
[0080] The memory 460 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 460 described in this application embodiment is intended to include any suitable type of memory.
[0081] In some embodiments, memory 460 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0082] Operating system 461 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;
[0083] The network communication module 462 is used to reach other computing devices via one or more (wired or wireless) network interfaces 430, exemplary network interfaces 430 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0084] Presentation module 463 is configured to enable the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 441 (e.g., a display screen, a speaker, etc.) associated with user interface 440;
[0085] The input processing module 464 is used to detect and translate one or more user inputs or interactions from one or more input devices 442.
[0086] In some embodiments, the control device for the virtual object provided in this application can be implemented in software. Figure 2 A control device 465 for a virtual object stored in memory 460 is shown. It may be software in the form of programs and plug-ins, and includes the following software modules: a first display module 4651, a first control module 4652, a second control module 4653, and a second display module 4654. These modules are logically related and can therefore be arbitrarily combined or further divided according to the functions they implement. The functions of each module will be described below.
[0087] In other embodiments, the control device for the virtual object provided in this application can be implemented in hardware. As an example, the control device for the virtual object provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the control method for the virtual object provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0088] The control method for virtual objects provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings. Figure 1A The terminal device 400 can be executed independently, or it can be... Figure 1B The terminal device 400 and server 200 work together to execute the command. Next, the command will be executed by… Figure 1A The following description uses the terminal device 400 in the application executing the virtual object control method provided in this embodiment as an example. See also Figure 3 , Figure 3 This is a flowchart illustrating the control method for virtual objects provided in the embodiments of this application, which will be combined with... Figure 3 The steps shown are explained.
[0089] It should be noted that, Figure 3 The method shown can be executed by various forms of computer programs running on the terminal device 400, and is not limited to the client 410 described above. It can also be the operating system 461, software modules and scripts described above. Therefore, the client should not be regarded as a limitation on the embodiments of this application.
[0090] Step 101: The terminal device displays the game screen, wherein the game screen includes at least a part of the virtual scene, the virtual scene includes a first main object and a first subordinate object of a first form, and the first subordinate object and the first main object have a subordinate relationship.
[0091] Here, a client supporting virtual scenes (such as games) is installed on the terminal device. When the user opens the client on the terminal and the terminal device runs the client, the terminal device displays the game screen. The game screen can be viewed from a first-person perspective or a third-person perspective. The game screen includes at least a portion of the virtual scene. The virtual scene includes a primary object and a primary subordinate object of a primary form. The primary subordinate object and the primary object have a subordinate relationship. The primary object is a virtual object in the virtual scene corresponding to the current user account. In this virtual scene, the user can control the primary object to interact with other virtual objects (such as a second virtual object in a different group or an adversary relationship) based on the virtual scene interface. The primary subordinate object is a summoned object associated with the primary object, used to assist the primary object in interacting with other virtual objects in the virtual scene. This image can be a virtual character, virtual animal, anime character, virtual prop, virtual vehicle, etc.
[0092] In some embodiments, the terminal device may display the game screen as follows: receiving a second instruction for a first slave object; in response to the second instruction, summoning the first slave object in its initial form, and displaying the game screen showing the first slave object transforming from its initial form into a first form, and the first slave object in the first form attaching to the first main object to become part of the model of the first main object.
[0093] In practical applications, the terminal device can display a summoning control in the virtual scene interface to summon the first follower object. In response to the triggering operation of the summoning control, it receives a second instruction (i.e., a summoning instruction). In response to the summoning instruction, it generates and sends a summoning request for the first follower object to the server. The summoning request carries the object identifier of the first follower object to be summoned. Based on the summoning request, the server determines the relevant parameters of the first follower object requested by the summoning request and pushes the determined relevant parameters of the first follower object to the terminal device so that the terminal device can render the screen based on the relevant parameters and display the rendered summoning screen (i.e., the game screen mentioned above).
[0094] See Figure 4 , Figure 4 This is a schematic diagram of the form change of a slave object provided in an embodiment of this application. The terminal device responds to a summoning command, displays the first slave object in its initial form, and shows the process of the first slave object in its initial form transforming into a first slave object in its first form and the first slave object in its first form attaching to a first main object to become part of the model of the first main object. For example, the animation of the summoned anime monster being displayed first, and then the animation of the anime monster turning into fragments and the fragments attaching to the arm of the first main object is shown.
[0095] Typically, the auxiliary role provided by the first secondary object to the first primary object varies depending on its form. For example, the initial form of the first secondary object can be an independent virtual image located at a certain distance from the first primary object. When the first primary object moves in the virtual scene, the initial form of the first secondary object moves along with it. After summoning the initial form of the first secondary object, and before changing it from its initial form to its first form, the terminal device can also control the initial form to scout the target area centered on the first secondary object in the virtual scene. When a target object (such as a second virtual object or virtual resources) is detected, it displays an indication of the detected target object. The first form of the first secondary object is attached to the arm of the first primary object. The first form of the first secondary object is less likely to be detected by the second virtual object compared to the initial form of the first secondary object. Therefore, when controlling the first form of the first secondary object to scout or explore resources in the virtual scene, it is more conducive to scouting or exploring valuable information, such as the location of the second virtual object and the distribution of resources in the vicinity, thereby improving the interaction capabilities of the first primary object.
[0096] In some embodiments, in response to the first slave object of the first form being attached to the first master object, the terminal device can control the first slave object of the first form to perform object reconnaissance on the virtual scene; when a fourth virtual object is detected in the first area centered on the first master object, the location information of the fourth virtual object is displayed on the map of the corresponding virtual scene.
[0097] In practical applications, the terminal device can control the first slave object in the first form to assist the first master object in the virtual scene and interact with other virtual objects in different virtual object groups. Therefore, in order to obtain the location information of other virtual objects, the first slave object in the first form can be controlled to perform object reconnaissance in the virtual scene. In actual implementation, other virtual objects in the virtual scene (such as virtual objects in different groups from the first master object or non-user roles, collectively referred to as fourth virtual objects) are bound to collider components (such as collision boxes, collision balls, etc.). During the process of controlling the first slave object in the first form to perform object reconnaissance in the virtual scene... In the process, a detection ray is emitted from the first slave object along the direction of the first master object or the first slave object via a camera component on the first slave object. When the detection ray intersects with a collider component bound to the fourth virtual object, it is determined that the first slave object has detected the fourth virtual object. When the detection ray does not intersect with the collider component bound to the fourth virtual object, it is determined that the first slave object has not detected the fourth virtual object. When the fourth virtual object is detected, an early warning is issued for the fourth virtual object, and the location information of the fourth virtual object, such as the distance and direction of the fourth virtual object relative to the first master object, is displayed on the map of the virtual scene.
[0098] See Figure 5 , Figure 5 This is a reconnaissance diagram provided in an embodiment of the present application. The first slave object in the first form is controlled to perform object reconnaissance in a virtual scene. When a fourth virtual object is detected in the first area centered on the first master object or the first slave object, the location information of the fourth virtual object is displayed on the map of the virtual scene. This is to give a warning to the first master object or all virtual objects (friend relationships) in the group to which the first master object belongs, and to view the location information of the fourth virtual object. After knowing the location information of the fourth virtual object, the terminal device can control the corresponding virtual object to adopt the most suitable interaction strategy for the current situation to interact with the fourth virtual object, which is beneficial to improving the interaction capability of the first master object or the group to which the first master object belongs.
[0099] Step 102: In response to the first instruction for the first slave object, control the first slave object to transform from the first form to the second form.
[0100] Here, the first instruction, also known as the transformation instruction, can be triggered by a transformation control. For example, the terminal device can display a transformation control for the first subordinate object in the virtual scene interface. In response to the triggering operation of the transformation control, the server receives the transformation instruction, generates and sends a transformation request for the first subordinate object to the server. The transformation request carries the object identifier of the first subordinate object. Based on the transformation request, the server determines the relevant parameters of the first subordinate object to be transformed (such as non-user roles located in different groups from the first master object or other virtual objects, collectively referred to as the second virtual object), and pushes the determined relevant parameters of the first subordinate object to the terminal device so that the terminal device can render the screen based on the relevant parameters and display the rendered summoning screen, that is, display the transformation of the first subordinate object from the first form to the second form. In the process, the second form corresponds to the image of the second virtual object in the virtual scene (e.g., they are consistent). The second virtual object can be a virtual object existing in the first area centered on the first main object in the virtual scene. The second virtual object and the first main object have an adversarial relationship. From the perspective of the two adversaries, the display style of the second virtual object can be the same or different. For example, from the perspective of the enemy (e.g., the second virtual object or other virtual objects that have a friendly relationship with the second virtual object), the second virtual object is displayed in a style consistent with its own image (e.g., enemy hero or enemy monster). From the perspective of the first main object, the second virtual object is displayed in a highlighted manner to give the user a prominent prompt. The highlighted manner includes at least one of the following display methods: display with target color, display with overlay mask, highlight display, outline display, and transparent display.
[0101] See Figure 6 , Figure 6 This is a schematic diagram of the morphological changes of a subordinate object provided in an embodiment of this application. When the first subordinate object in the first form is a fragment (obtained from the disintegration of a monster from an anime) attached to the arm of the first main object, the terminal device responds to the transformation command and displays the fragment attached to the arm of the first main object detaching from the arm to move to the target position, and displays an animation of the fragment after detachment transforming into a first subordinate object (i.e., the first subordinate object in the second form) that is consistent with the image of the second virtual object at the target position.
[0102] In some embodiments, when the number of the second virtual objects is at least two, the terminal device can determine the second form to be transformed by: displaying a form selection interface and showing the forms corresponding to at least two selectable second virtual objects in the form selection interface; in response to a selection operation of the form of a target virtual object among the at least two second virtual objects, the form of the selected target virtual object is taken as the second form. In this way, the user can manually select the desired transformation form of the first virtual object, further improving the user's operating experience.
[0103] For example, in response to a trigger operation on a deformation control, the terminal device receives a deformation command, generates and sends a deformation request for a first slave object to the server. The deformation request carries the object identifier of the first slave object. Based on the deformation request, the server detects a second virtual object in a third region centered on the first slave object in the virtual scene and returns the detection result to the terminal device. When the detection result indicates that there are multiple second virtual objects detected, a form selection interface is displayed in the virtual scene interface. The form selection interface displays at least two forms corresponding to the second virtual objects that can be selected, such as the form of second virtual object 1, the form of second virtual object 2, and the form of second virtual object 3. The user can select from the forms of the multiple second virtual objects displayed in the form selection interface. Assuming that the user selects the form of second virtual object 2 in the form selection interface, the terminal device determines the form of the second virtual object 2 selected by the user as the second form to be deformed of the first slave object.
[0104] In some embodiments, before controlling the first subordinate object to transform from a first form to a second form, the terminal device can predict the second form by: acquiring scene data of a first region centered on the first subordinate object in a virtual scene; wherein the scene data includes other virtual objects located in the first region (such as other virtual objects or non-user roles located in different groups from the first main object); and calling a machine learning model based on the scene data to perform prediction processing to obtain the second form; wherein the machine learning model is trained based on the scene data in the sample region and the labeled form (the form of the first subordinate object). Thus, by calling a machine learning model to predict the form of the first subordinate object that maximizes the interaction capabilities of the first main object or its group, the prediction accuracy is improved, thereby causing maximum interference to the enemy and further enhancing the interaction capabilities of the first main object or its group.
[0105] It should be noted that, in practical applications, the aforementioned machine learning models can be neural network models (such as convolutional neural networks, deep convolutional neural networks, or fully connected neural networks), decision tree models, gradient boosting trees, multilayer perceptrons, and support vector machines, etc. This application does not specifically limit the type of machine learning model.
[0106] Step 103: Control the first slave object of the second form to move in the virtual scene to perform object reconnaissance of the virtual scene.
[0107] Here, when the first subordinate object is transformed into an image corresponding to the second virtual object, the user can control the first subordinate object to move in the virtual scene to perform object reconnaissance. For example, a movement control for the first subordinate object in the second form is displayed in the interface of the virtual scene. When the user triggers the movement control, the terminal device responds to the movement command triggered by the trigger operation, controls the first subordinate object in the second form to move in the virtual scene, and performs object reconnaissance in the virtual scene during the movement. In practical applications, the virtual objects in the virtual scene are bound to collider components (such as collision boxes, collision balls, etc.). During the process of controlling the first subordinate object in the second form to perform object reconnaissance in the virtual scene, a detection ray is emitted from the first subordinate object along the orientation of the first subordinate object through the camera component on the first subordinate object. When the detection ray intersects with the collider component bound to the virtual object, it is determined that the first subordinate object has detected the virtual object; when the detection ray does not intersect with the collider component bound to the virtual object, it is determined that the first subordinate object has not detected the virtual object. Furthermore, after the first subordinate object is transformed to correspond to the image of the second virtual object, the first subordinate object can also move automatically in the virtual scene without user control to conduct object reconnaissance of the virtual scene. This simplifies the operation process and improves reconnaissance efficiency.
[0108] Step 104: In response to the first virtual object detecting the third virtual object in the virtual scene, display the location information of the third virtual object in the map of the corresponding virtual scene.
[0109] The third virtual object can be a collective term for virtual objects or non-user roles (i.e., other objects with hostile relationships) that belong to a different group than the first main object or are associated with a virtual object, detected in the target area centered on the first secondary object. It may include the aforementioned second virtual object. When a third virtual object is detected, its location information is displayed on the map of the virtual scene for the first main object or all virtual objects in its group to view. Knowing the location information of the third virtual object facilitates the terminal device's control of the corresponding virtual objects to use the most suitable interaction strategy to interact with it, thereby improving the interaction capabilities of the first main object or its group.
[0110] In some embodiments, the terminal device can control the first slave object of the second form to move in the virtual scene to perform object reconnaissance in the virtual scene by: controlling the first slave object of the second form to move in the virtual scene; during the movement of the first slave object of the second form in the virtual scene, controlling the first slave object of the second form to release marker waves in all directions and displaying the second area affected by the marker waves; controlling the first slave object of the second form to perform object reconnaissance in the second area; correspondingly, the terminal device can implement the following in response to the first slave object detecting a third virtual object in the virtual scene: when the third virtual object is detected in the second area, highlighting the third virtual object and displaying the location information of the third virtual object in the map of the corresponding virtual scene for viewing by the first master object or other virtual objects in the group to which the first master object belongs.
[0111] See Figure 7 , Figure 7 The schematic diagram provided in this application embodiment illustrates that, during the movement of the first follower object in the second form, the first follower object in the second form releases marker waves in all directions, and displays the second area affected by the marker waves (the second area can be a circular area centered on the first follower object with a radius equal to the target distance, or it can be an area of other shapes; this application embodiment does not limit the shape of the second area). The first follower object can be controlled to perform object reconnaissance in the second area, such as emitting detection rays in all directions from the first follower object using a camera component on the first follower object. When the detection ray intersects with a collider component bound to a third virtual object, it is determined that a third virtual object has been detected in the second area; when the detection ray does not intersect with the collider component bound to the third virtual object, it is determined that no third virtual object has been detected in the second area. When a third virtual object is detected, special effects elements can be displayed in the associated area of the third virtual object. For example, added special effects elements can be displayed around the perimeter of the third virtual object. These special effects elements can change the skin material, color, etc. of the third virtual object to highlight it. The location information of the third virtual object can also be displayed on the map of the virtual scene, allowing all virtual objects in the first main object or its group to view the location information of the third virtual object. In this way, with the location information of the third virtual object obtained, it is beneficial for the first main object or all virtual objects in its group to formulate an interaction strategy that can cause the greatest damage to the third virtual object, and to execute the corresponding interaction operation according to the interaction strategy, thereby improving the interaction capabilities of the first main object or other virtual objects in its group.
[0112] In some embodiments, when a third virtual object is detected in the second area, the terminal device may also control the first slave object of the second form to lock the third virtual object; when the third virtual object moves in the virtual scene and moves to the target position that is occluded by an obstacle, the third virtual object at the target position is viewed through.
[0113] See Figure 8 , Figure 8 The diagram provided in this application illustrates the reconnaissance process. After the first slave object detects and highlights the third virtual object, if the third virtual object moves in the virtual scene, the first slave object is controlled to lock the third virtual object and continuously release marker waves to the third virtual object, always highlighting it. If the third virtual object moves to a place obscured by an obstacle (such as a wall) in the virtual scene, the third virtual object obscured by the obstacle is viewed through. That is, even if the third virtual object is obscured by an obstacle, it is still highlighted, making the obscured third virtual object visible relative to the first master object or all virtual objects in the group to which the first master object belongs. The location information of the third virtual object can be displayed on the map of the virtual scene, so that the third virtual object is always exposed within the field of vision of the first master object or all virtual objects in the group to which the first master object belongs. This is beneficial for the first master object or all virtual objects in the group to which the first master object belongs to formulate an interaction strategy that can cause the greatest damage to the third virtual object and perform corresponding interaction operations according to the interaction strategy, thereby improving the interaction capability of the first master object or the group to which the first master object belongs.
[0114] In some embodiments, in response to a first slave object detecting a third virtual object in a virtual scene and the first slave object being attacked by the third virtual object, the terminal device displays the location information of the third virtual object on the map of the corresponding virtual scene. Here, when the first slave object detects the third virtual object and the first slave object is attacked by the third virtual object, the location information of the third virtual object can be displayed on the map of the virtual scene immediately so that the first master object or other virtual objects in the group to which the first master object belongs can view the location information of the third virtual object.
[0115] In some embodiments, the terminal device may display the location information of a third virtual object in the map of the corresponding virtual scene in the following manner: when there are at least two third virtual objects, the interaction parameters of each third virtual object are obtained; wherein, the interaction parameters include at least one of the following: interaction role, interaction preference, interaction ability, and distance from the first main object; and the location information of each third virtual object is displayed in the map of the corresponding virtual scene using a display style corresponding to the interaction parameters.
[0116] Here, when multiple third virtual objects are detected, the threat level of each third virtual object to the first main object can be determined based on its interaction parameters. The display priority of each third virtual object is then determined based on its threat level, and the third virtual objects are displayed differently according to their display priority. For example, the more hostile the interaction role of a third virtual object is to the interaction role of the first main object, or the stronger its interaction ability, or the more its interaction preferences are that the first main object is not good at and cannot handle, or the closer it is to the first main object, the greater its threat level to the first main object, and the higher its display priority. From this, the location information of the number of third virtual objects with a higher display priority than the target priority can be selected for display, or the location information of each third virtual object can be displayed in a more prominent form depending on its display priority. This makes it easier for the first main object or virtual objects in the group to which the first main object belongs to select suitable third virtual objects for attack, thereby improving interaction capabilities.
[0117] In some embodiments, the terminal device can control the first slave object in the second form to move in the virtual scene to perform object reconnaissance in the virtual scene by: controlling the first slave object in the second form to move in the virtual scene; during the movement of the first slave object in the second form in the virtual scene, in response to the first slave object in the second form being attacked by a fifth virtual object, controlling the first slave object to transform from the second form to the initial form; controlling the first slave object in the initial form to perform object reconnaissance in the virtual scene, for example, controlling the first slave object in the initial form to release marker waves in all directions to perform object reconnaissance in the virtual scene through the marker waves; correspondingly, the terminal device can implement the following method to display the location information of the third virtual object on the map of the corresponding virtual scene when a third virtual object is detected in the virtual scene: when a third virtual object is detected in the virtual scene, highlighting the third virtual object and displaying the location information of the third virtual object on the map of the corresponding virtual scene.
[0118] In some embodiments, when the terminal device detects the third virtual object from the first slave object in the second form, it can also receive a tracking instruction from the first slave object in the second form for the third virtual object when the third virtual object moves in the virtual scene; in response to the tracking instruction, it controls the first slave object in the second form to track the third virtual object along the tracking direction indicated by the tracking instruction, and updates and displays the location information of the third virtual object in the map of the corresponding virtual scene.
[0119] Here, after the first slave object detects and displays the location information of the third virtual object, if the third virtual object moves in the virtual scene, the terminal device can control the first slave object to track the third virtual object, that is, the first slave object moves with the movement of the third virtual object, and updates and displays the location information of the third virtual object on the map, so that the third virtual object is always exposed within the field of vision of the first master object or the virtual objects in the group to which the first master object belongs. This is beneficial for the first master object or the virtual objects in the group to which the first master object belongs to to formulate an interaction strategy that can cause the greatest damage to the third virtual object, and to execute the corresponding interaction operation according to the interaction strategy, thereby improving the interaction capability of the first master object or the group to which the first master object belongs.
[0120] In some embodiments, the terminal device may determine that a third virtual object has been detected in the following manner: during the process of the first slave object in the second form performing object reconnaissance on the virtual scene, when an obstacle is detected in the virtual scene, the first slave object in the second form is controlled to release a pulse wave for penetrating the obstacle; when a third virtual object is detected based on the pulse wave and the obstacle is obscured, it is determined that a third virtual object has been detected in the virtual scene, and the first slave object in the second form is controlled to perform reconnaissance marking on the third virtual object in order to see through the third virtual object.
[0121] In practical applications, obstacles are equipped with collider components (such as collision boxes or collision balls). During object reconnaissance of the first slave object in the virtual scene, the presence of obstacles can be detected first. For example, a detection ray can be emitted from the first slave object along its orientation using a camera component on the first slave object. When the detection ray intersects with the collider component attached to the obstacle, it is determined that the first slave object has detected the obstacle. Then, it is further determined whether a third virtual object is hidden behind the obstacle. If a third virtual object is found, the first slave object is controlled to mark the third virtual object and view the second virtual object to highlight it. Thus, even if the third virtual object is hidden behind the obstacle, the first slave object can still detect the obstacle. Even when three virtual objects are obscured by obstacles, the third virtual object remains highlighted and visible in perspective. This ensures that the obscured third virtual object is visible relative to the first main object or all virtual objects in its group. Furthermore, the location information of the second virtual object can be displayed on the virtual scene map, keeping the third virtual object always exposed within the field of view of the first main object or all virtual objects in its group. This allows the first main object or all virtual objects in its group to formulate interaction strategies that cause maximum damage to the second virtual object and execute corresponding interaction operations according to these strategies. This, in turn, enhances the interaction capabilities of the first main object or its group, thereby improving interaction efficiency.
[0122] In some embodiments, the terminal device may also control the first slave object in the second form to perform material detection in the virtual scene in response to the first master object having material detection skills; when virtual materials are detected in the virtual scene, the corresponding virtual material indication information is displayed; wherein, the virtual materials are used for the first master object to pick up, and the picked-up virtual materials are used to improve the first master object's interaction capabilities in the virtual scene.
[0123] Among them, the material detection skill is a skill used for material detection. When the first primary object is equipped with the material detection skill or the first secondary object has the material detection skill, the terminal device can control the second-form first secondary object to detect materials in the virtual scene through the material detection skill. In practical applications, virtual materials are bound to collider components (such as collision boxes, collision balls, etc.). During the process of controlling the first secondary object to detect materials in the virtual scene, a detection ray is emitted from the first secondary object along the direction of the first secondary object through the camera component on the first secondary object. When the detection ray intersects with the collider component bound to the virtual material, it is determined that the first secondary object has detected the virtual material; when the detection ray does not intersect with the collider component bound to the virtual material, it is determined that the first secondary object has not detected the virtual material.
[0124] The virtual resources that can be detected by the resource detection skill include, but are not limited to: gold coins, building materials (such as ore), food, weapons and equipment, and equipment or character upgrade materials. When the first secondary object detects virtual resources in the virtual scene, the corresponding virtual resource indication information is displayed. Based on the virtual resource indication information, the terminal device can control the first primary object or other virtual objects in the group to which the first primary object belongs to pick up or mine the detected virtual resources. It can also control the first primary object or other virtual objects in the group to which the first primary object belongs to to upgrade their own equipment or build virtual structures based on the picked-up or mined virtual resources, thereby improving the interactive capabilities of the first primary object or other virtual objects in the group to which the first primary object belongs in the virtual scene, such as attack capabilities or defensive capabilities.
[0125] In some embodiments, the terminal device may display indication information of the corresponding virtual material when a virtual material is detected in a virtual scene in the following manner: when a virtual material is detected in a second area centered on the first object in the virtual scene, the type indication information of the virtual material is displayed at the location of the virtual material in the second area, and the location indication information of the virtual material is displayed on the map of the corresponding virtual scene; at least one of the type indication information and the location indication information is used as the indication information of the corresponding virtual material.
[0126] See Figure 9 , Figure 9The schematic diagram provided in this application embodiment shows that when the first slave object in the second form detects virtual materials in the second area centered on the first slave object in the virtual scene, the type of virtual materials is displayed at the location of the virtual materials, such as equipment, construction, defense, etc., and the location information of the virtual materials is displayed on the map of the virtual scene, such as the distance and direction of the virtual materials relative to the first master object or other virtual objects in the group to which the first master object belongs. The terminal device can control the first master object or other virtual objects in the group to which the first master object belongs to pick up the virtual materials based on the indication information of the virtual materials, so as to improve its own interaction capabilities.
[0127] In some embodiments, the terminal device may display the indication information of the corresponding virtual material in the following manner: when the number of virtual materials is at least two, the indication information of the first number of virtual materials among the at least two virtual materials is displayed using a first display style, and the indication information of the second number of virtual materials among the at least two virtual materials is displayed using a second display style; wherein, the first display style and the second display style are different, the first display style indicates that the first number of virtual materials are within the field of view of the first main object, and the second display style indicates that the second number of virtual materials are outside the field of view of the first main object.
[0128] See Figure 10 , Figure 10 This is a schematic diagram of the detection provided in an embodiment of this application. When the first slave object in the first form detects multiple virtual resources in the virtual scene, different display styles (such as different colors, different brightness, etc.) can be used to display the indication information of virtual resources within and outside the field of view of the first master object, depending on whether the virtual resources are within the field of view of the first master object. It can be understood that as the field of view of the first master object changes, the display style of each virtual resource can change accordingly. In this way, using different display styles to display the indication information of virtual resources within and outside the field of view of the first master object can provide players with significant prompts, which is beneficial for controlling the first master object to select and pick up suitable virtual resources, thereby improving its own interactive capabilities.
[0129] In some embodiments, the terminal device may display the indication information of the corresponding virtual material in the following manner: when there are at least two types of virtual material, the indication information of the target type of virtual material is displayed in a third display style, and the indication information of other types of virtual material besides the target type is displayed in a fourth display style; wherein, the third display style is different from the fourth display style, and the third display style represents the picking priority of the target type of virtual material, which is higher than the picking priority of other types of virtual material.
[0130] Here, when multiple types of virtual items are detected, different display styles are used to display the corresponding types of virtual material indication information according to different pickup priorities. In particular, the indication information of the type of virtual material with the highest pickup priority is highlighted. This allows the virtual object to be controlled to pick up the highlighted target type of virtual item. In this way, selecting the target type of virtual material most needed by the first main object from multiple detected virtual materials is beneficial to improving the interaction capability of the first main object.
[0131] In practical implementation, the terminal device can determine the target type of virtual resources in the following way: Based on the user's usage preferences, the matching degree between each type of virtual resource and the user preferences is obtained, and the virtual resource corresponding to the highest matching degree is selected as the indication information of the target type of virtual resource for highlighting. For example, the types of virtual resources detected include: equipment, construction, and defense. Through a neural network model, based on the user's role in the virtual scene or the user's historical use of virtual resources, the user's usage preferences are predicted, i.e., the user's liking and proficiency with various types of virtual resources. Based on the user's usage preferences, the matching degree between equipment, construction, and defense virtual resources is determined, and the matching degree between defense virtual resources and usage preferences is selected. The indication information of the selected defense virtual resources is then highlighted. In addition, based on at least one of the parameters such as the consumption rate of various virtual resources, the difficulty of picking them up, and the distance between them and the first main object, the target type of virtual resources that is most suitable for the first main object can be selected from a variety of virtual resources and the indication information of the virtual resources can be highlighted. In this way, the target type of virtual resources that the first main object likes, needs, and is most suitable for can be selected from a variety of detected virtual resources, which is conducive to improving the interaction capability of the first main object.
[0132] It is understood that the login account, scene data and other related data involved in the embodiments of this application are essentially user-related data. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0133] The following describes an exemplary application of the embodiments of this application in a real-world application scenario. Taking a shooting game as an example, the first secondary object is a virtual avatar controlled by the player (i.e., the first primary object) in the game to assist player interaction. The same first secondary object can have different forms. The terminal device can control the first secondary object to transform between different forms. The first secondary object in different forms corresponds to different instructions. Different instructions are used to control the first secondary object in the corresponding form to perform corresponding operations, thereby providing corresponding assistance to the player.
[0134] See Figure 11 , Figure 11 This is a flowchart illustrating a control method for a first slave object in a virtual scene provided in an embodiment of this application. The method includes:
[0135] Step 201: The first terminal device responds to the first instruction by generating and sending a summoning request for the first slave object to the server.
[0136] Here, the first instruction is the summoning instruction. In the game interface, a summoning control for summoning the first slave object can be displayed. When the user triggers the summoning control, the first terminal device responds to the triggering operation of the summoning control, receives the summoning instruction, and generates a summoning request carrying the object identifier of the first slave object to be summoned.
[0137] Step 202: Based on the call request, the server determines and returns the relevant parameters of the first slave object requested in the call request to the first terminal device.
[0138] Step 203: The first terminal device renders the screen based on relevant parameters, displays the first secondary object in its initial form, and shows the process of the first secondary object in its initial form transforming into the first secondary object in its first form and the first secondary object in its first form attaching to the first main object.
[0139] Here, the first terminal device renders the screen based on relevant parameters and displays the rendered summoning screen. For example, it first displays the summoned anime-style monster, and then shows the animation of the anime-style monster turning into fragments and the fragments adhering to the arm of the first main object (the player) (i.e., the fragments become part of the player model).
[0140] It should be noted that after the first follower object in its initial form is summoned, before the first follower object is transformed from its initial form to its first form, the terminal device can also control the initial form to scout the virtual scene (such as the target area centered on the first follower object). When a target object (such as a virtual object or virtual material) is detected, the indicator information of the detected target object can be displayed.
[0141] Step 204: The first terminal device controls the first slave object in the first form to reconnoiter the virtual scene. When the target object is detected, the corresponding indication information of the target object is displayed.
[0142] The target object includes at least one of a second virtual object and virtual resources. When the second virtual object (enemy) is detected, its location information, such as its distance and direction relative to the first main object, is displayed on the game map. When the first main object is equipped with a resource detection skill, the terminal device can control the first secondary object in its first form to detect resources in the virtual scene using the resource detection skill. When virtual resources (such as gold coins, building materials (such as ore), food, weapons and equipment, equipment or character upgrade materials, etc.) are detected, the device displays the virtual resource's indication information (such as the type of virtual resource, the location of the virtual resource, etc.).
[0143] In practical applications, when the number of detected target objects is greater than or equal to two, different display styles (such as different colors, different brightness, etc.) can be used to display each target object according to its characteristics. For example, when the target object is a second virtual object, different display styles are used to display each second virtual object according to the different distances between each second virtual object and the first main object; when the target object is virtual material, different display styles (such as different colors, different brightness, etc.) are used to display the indication information of virtual material within and outside the field of view of the first main object.
[0144] Step 205: The first terminal device responds to the second instruction by generating and sending a transformation request for the first slave object to the server.
[0145] The second instruction is a mimicry instruction or a transformation instruction, which can be triggered by triggering a transformation control. For example, the terminal device can display a transformation control for the first slave object in the interface of the virtual scene. In response to the triggering operation of the transformation control, the device receives the transformation instruction, generates and sends a transformation request for the first slave object to the server. The transformation request carries information such as the object identifier of the first slave object and the current form of the first slave object.
[0146] Step 206: Based on the deformation request, the server determines and returns the deformation information of the first slave object to be deformed to the first terminal device.
[0147] The deformation information can be related information about a second virtual object (including non-user roles or other virtual objects located in different groups from the first master object) in the area centered on the first slave object.
[0148] Step 207: The first terminal device renders the image based on the deformation information and displays the animation of the first subordinate object transforming from the first form to the second form.
[0149] For example, first show the animation of the fragment attached to the arm of the first main object transforming into a monster in the shape of an anime (the monster detaches from the arm of the first main object and moves to another location), and then show the animation of the monster in the shape of an anime transforming into a first secondary object that matches the shape of the second virtual object.
[0150] Step 208: The first terminal device responds to the reconnaissance command and controls the first slave object in the second form to perform object reconnaissance on the virtual scene. When a third virtual object is detected in the virtual scene, the third virtual object is highlighted and the location information of the third virtual object is displayed on the map of the corresponding virtual scene.
[0151] For example, after transforming the first subordinate object from its first form to its second form, the terminal device can control the second-form first subordinate object to move in the virtual scene and perform object reconnaissance during the movement. For instance, it can control the second-form first subordinate object to release marker waves in all directions to reconnoiter the virtual scene through the marker waves. When a third virtual object is detected, special effects elements can be displayed in the associated area of the third virtual object. For instance, added special effects elements can be displayed around the third virtual object. These special effects elements can change the skin material, color, etc., of the third virtual object to highlight it. The location information of the third virtual object can also be displayed on the map of the virtual scene for all virtual objects in the first main object or the group to which the first main object belongs to to view. After knowing the location information of the third virtual object, the terminal device can control the corresponding virtual object to use the most suitable interaction strategy to interact with the third virtual object, which is beneficial to improving the interaction capability of the first main object or the group to which the first main object belongs. Here, the third virtual object is a collective term for virtual objects or non-user roles that belong to different groups or are associated with virtual objects and are detected in the target area centered on the first subordinate object. It may include the aforementioned second virtual object.
[0152] With the location information of the third virtual object obtained, it is beneficial for the first main object or other virtual objects in the group to which the first main object belongs to formulate an interaction strategy that can cause the greatest damage to the second virtual object, and to perform corresponding interaction operations according to the interaction strategy, thereby improving the interaction capabilities of the first main object or other virtual objects in the group to which the first main object belongs.
[0153] Step 209: In response to the attack command against the first slave object of the second form, the second terminal device controls the third virtual object to attack the first slave object of the second form.
[0154] Step 210: In response to the first slave object in the second form being hit by the second virtual object, the first terminal device controls the first slave object to transform from the second form back to the initial form.
[0155] Here, after the first object transforms back to its initial form, it can still scout or explore the virtual scene. When other virtual objects or virtual resources are detected in the virtual scene, the location information of the detected virtual objects or virtual resources is displayed on the map of the corresponding virtual scene for the player to view.
[0156] By transforming the first subordinate object associated with the first main object, the first subordinate object is transformed from its first form into a second form that matches the image of the second virtual object, which is in an adversarial relationship with the first main object. The first subordinate object in the second form is then controlled to conduct object reconnaissance in the virtual scene. Since the form of the first subordinate object matches the image of the second virtual object during object reconnaissance, the first subordinate object is not easily detected by the enemy and can even reach the vicinity of the enemy for reconnaissance, easily obtaining effective information about the enemy. This greatly enhances the reconnaissance capability of the first subordinate object, and the enhanced reconnaissance capability of the first subordinate object can improve the interaction capability of the first main object.
[0157] Furthermore, by controlling the first slave object associated with the first master object to perform resource detection or object reconnaissance in the virtual scene, when virtual resources are detected, the corresponding indicator information for the virtual resources is displayed. Based on the indicator information, the first master object can easily view and pick up the detected virtual resources, thereby improving the first master object's interactive capabilities in the virtual scene. For example, it can use the picked-up virtual resources to upgrade its own equipment or build defensive structures to enhance its attack or defense capabilities. When enemy information such as a third virtual object (which may include a second virtual object) is detected, the location information of the third virtual scene is also displayed on the map for the first master object or other virtual objects in the group to which the first master object belongs to to view. With the location information of the third virtual object, it is beneficial for the first main object or other virtual objects in the group to which the first main object belongs to formulate an interaction strategy that can cause the greatest damage to the enemy based on the enemy's location, and execute the corresponding interaction operation according to the interaction strategy. This improves the interaction capabilities (such as attack capabilities or defense capabilities) of the first main object or other virtual objects in the group to which the first main object belongs. With the interaction capabilities of the first main object or other virtual objects in the group to which the first main object belongs to improved, the terminal device can reduce the number of interactions required to achieve a certain interaction goal (such as obtaining effective information about the enemy or defeating the enemy), thereby improving the efficiency of human-computer interaction and reducing the occupation of hardware processing resources.
[0158] The following description continues to illustrate the exemplary structure of the virtual object control device 465 provided in the embodiments of this application as a software module. In some embodiments, it is stored in... Figure 2 The software modules in the control device 465 for virtual objects in the memory 460 may include: a first display module 4651 for displaying a game screen, the game screen including at least a portion of a virtual scene, the virtual scene including a first master object and a first slave object in a first form, the first slave object and the first master object having a subordinate relationship; a first control module 4652 for controlling the first slave object to transform from the first form to a second form in response to the first instruction; wherein the second form corresponds to the image of a second virtual object in the virtual scene; a second control module 4653 for controlling the first slave object in the second form to move in the virtual scene to perform object reconnaissance in the virtual scene; and a second display module 4654 for displaying the location information of the third virtual object on a map corresponding to the virtual scene when the first slave object detects a third virtual object in the virtual scene.
[0159] In some embodiments, the first display module is further configured to receive a summoning command for the first slave object; in response to the summoning command, summon the first slave object in its initial form, and display a game screen showing the first slave object transforming from the initial form into a first form, and the first slave object in the first form attaching to the first master object to become part of the model of the first master object; the first control module is further configured to demonstrate the process of the first slave object in the first form detaching from the first master object to move to a target location, and transforming into a first slave object in a second form at the target location.
[0160] In some embodiments, the apparatus further includes: a third control module, configured to control the first slave object of the first form to perform object reconnaissance on the virtual scene in response to the first slave object of the first form being attached to the first master object; and to display the location information of the fourth virtual object on a map corresponding to the virtual scene when a fourth virtual object is detected in a first region centered on the first master object.
[0161] In some embodiments, when the number of the second virtual objects is at least two, the device further includes: a form determination module, configured to display a form selection interface and display forms corresponding to at least two selectable second virtual objects in the form selection interface; in response to a selection operation of the form of a target virtual object among the at least two second virtual objects, the form of the selected target virtual object is used as the second form.
[0162] In some embodiments, before controlling the first subordinate object to transform from the first form to the second form, the apparatus further includes: a form prediction module, configured to acquire scene data of a first region centered on the first subordinate object in the virtual scene; wherein the scene data includes virtual objects located in the first region; and to call a machine learning model based on the scene data to perform prediction processing to obtain the second form; wherein the machine learning model is trained based on scene data in the sample region and labeled deformations.
[0163] In some embodiments, the second control module is further configured to control the first slave object of the second form to move in the virtual scene; during the movement of the first slave object of the second form in the virtual scene, in response to the first slave object of the second form being attacked by a fifth virtual object, control the first slave object to transform from the second form to the initial form; and control the first slave object of the initial form to perform object reconnaissance in the virtual scene.
[0164] In some embodiments, the second control module is further configured to control the first slave object of the second form to move in the virtual scene; during the movement of the first slave object of the second form in the virtual scene, control the first slave object of the second form to release marker waves in all directions and display the second area affected by the marker waves; control the first slave object of the second form to perform object reconnaissance in the second area; the second display module is further configured to, in response to the first slave object detecting a third virtual object in the second area, highlight the third virtual object and display the location information of the third virtual object in the map corresponding to the virtual scene, so that virtual objects in the group to which the first master object belongs can view it.
[0165] In some embodiments, the apparatus further includes: a fourth control module, configured to control the first slave object of the second form to lock the third virtual object when the first slave object detects the third virtual object in the second region; and to view the third virtual object at the target position when the third virtual object moves in the virtual scene and moves to a target position occluded by an obstacle.
[0166] In some embodiments, the second display module is further configured to display the location information of the third virtual object in a map corresponding to the virtual scene in response to the first slave object detecting the third virtual object in the virtual scene and the first slave object being attacked by the third virtual object.
[0167] In some embodiments, the information display module is further configured to acquire interaction parameters of each of the third virtual objects when the number of the third virtual objects is at least two; wherein the interaction parameters include at least one of the following: interaction role, interaction preference, interaction ability, and distance from the first main object; and display the location information of each of the third virtual objects in a map corresponding to the virtual scene using a display style corresponding to the interaction parameters.
[0168] In some embodiments, the apparatus further includes: a fifth control module, configured to receive a tracking instruction from a first slave object of the second form for the third virtual object when the third virtual object moves in a virtual scene; in response to the tracking instruction, control the first slave object of the second form to track the third virtual object along the tracking direction indicated by the tracking instruction, and update and display the position information of the third virtual object in a map corresponding to the virtual scene.
[0169] In some embodiments, the apparatus further includes: a sixth control module, configured to, during the process of controlling the first slave object of the second form to perform object reconnaissance of the virtual scene, when an obstacle is detected in the virtual scene, control the first slave object of the second form to release a pulse wave for penetrating the obstacle; when a third virtual object is detected based on the pulse wave, determine that the third virtual object has been detected in the virtual scene; control the first slave object of the second form to reconnoiter and mark the third virtual object, and see through the third virtual object.
[0170] In some embodiments, the device further includes: a resource detection module, configured to control the first slave object in the second form to perform resource detection on the virtual scene in response to the first slave object having resource detection skills; when virtual resources are detected in the virtual scene, displaying indication information corresponding to the virtual resources; wherein the virtual resources are for the first master object to pick up, and the picked-up virtual resources are used to improve the first master object's interaction capabilities in the virtual scene.
[0171] In some embodiments, the material detection module is further configured to, when a virtual material is detected in a second region centered on the first object in the virtual scene, display the type indication information of the virtual material at the location of the virtual material in the second region, and display the location indication information of the virtual material on a map corresponding to the virtual scene; and use at least one of the type indication information and the location indication information as the indication information corresponding to the virtual material.
[0172] In some embodiments, the material detection module is further configured to, when the number of virtual materials is at least two, display indication information of a first number of virtual materials in a first display style and display indication information of a second number of virtual materials in a second display style; wherein, the first display style is different from the second display style, the first display style indicates that the first number of virtual materials is within the field of view of the first main object, and the second display style indicates that the second number of virtual materials is outside the field of view of the first main object.
[0173] In some embodiments, the material detection module is further configured to, when there are at least two types of virtual materials, display indication information of the target type of virtual materials in a third display style, and display indication information of other types of virtual materials besides the target type in a fourth display style; wherein the third display style is different from the fourth display style, and the third display style represents the picking priority of the target type of virtual materials, which is higher than the picking priority of the other types of virtual materials.
[0174] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method described in this application.
[0175] This application provides a computer-readable storage medium storing executable instructions. When these executable instructions are executed by a processor, they cause the processor to perform the method provided in this application, for example... Figure 3 The method shown.
[0176] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0177] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0178] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., files that store one or more modules, subroutines, or code sections).
[0179] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0180] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A method for controlling a virtual object, characterized in that, The method includes: The game screen is displayed, which includes at least a portion of the virtual scene. The virtual scene includes a first main object and a first subordinate object in a first form attached to the first main object. The first subordinate object and the first main object have a subordinate relationship. In response to a first instruction for the first slave object, the first slave object is controlled to transform from the first form to a second form; wherein the second form corresponds to the image of the second virtual object in the virtual scene; Control the first object of the second form to move within the virtual scene in order to perform object reconnaissance of the virtual scene; During the movement of the first follower object in the second form in the virtual scene, in response to the attack of the first follower object in the second form by the fifth virtual object, the first follower object is controlled to transform from the second form to the initial form, and the first follower object in the initial form is controlled to release marker waves in all directions to perform object reconnaissance of the virtual scene through the marker waves. The first follower object in the initial form is an independent virtual image located at a preset distance around the first main object. In response to the first slave object detecting a third virtual object in the virtual scene, the location information of the third virtual object is displayed on the map corresponding to the virtual scene; wherein the second virtual object and the third virtual object are hostile to the first master object.
2. The method as described in claim 1, characterized in that, The display of the game screen includes: Received a second instruction for the first slave object; In response to the second instruction, the first follower object in its initial form is summoned, and a game screen is displayed showing the first follower object transforming from the initial form into a first form, and the first follower object in the first form attaching to the first master object to become part of the model of the first master object. The control of the first slave object to transform from the first form to the second form includes: The process of demonstrating the first slave object of the first form detaching from the first master object to move to a target position, and transforming into the first slave object of the second form at the target position.
3. The method as described in claim 2, characterized in that, The method further includes: In response to the first slave object of the first form being attached to the first master object, the first slave object of the first form is controlled to perform object reconnaissance on the virtual scene; When a fourth virtual object is detected in the first region centered on the first main object, the location information of the fourth virtual object is displayed on the map corresponding to the virtual scene.
4. The method as described in claim 1, characterized in that, When the number of the second virtual objects is at least two, the method further includes: Display a form selection interface, and display the forms corresponding to at least two selectable second virtual objects in the form selection interface; In response to a selection operation on the form of a target virtual object among the at least two second virtual objects, the form of the selected target virtual object is taken as the second form.
5. The method as described in claim 1, characterized in that, Before controlling the first slave object to transform from the first form to the second form, the method further includes: Obtain scene data of a first region centered on the first object in the virtual scene; wherein, the scene data includes virtual objects located in the first region; Based on the scene data, a machine learning model is invoked for prediction processing to obtain the second form; The machine learning model is trained based on scene data in the sample area and the shape of the annotations.
6. The method as described in claim 1, characterized in that, The control of the first slave object in the second form to move within the virtual scene for object reconnaissance of the virtual scene includes: Control the movement of the first slave object in the second form in the virtual scene; During the movement of the first follower object in the virtual scene in the second form, the first follower object in the second form is controlled to release marker waves in all directions, and the second area affected by the marker waves is displayed; Control the first slave object of the second form to perform object reconnaissance in the second region; The step of displaying the location information of the third virtual object in a map corresponding to the virtual scene in response to the first virtual object detecting the third virtual object in the virtual scene includes: In response to the first secondary object detecting a third virtual object in the second region, the third virtual object is highlighted, and its location information is displayed on a map corresponding to the virtual scene for viewing by virtual objects in the group to which the first primary object belongs.
7. The method as described in claim 6, characterized in that, The method further includes: In response to the first slave object detecting a third virtual object in the second region, the first slave object in the second form is controlled to lock the third virtual object; When the third virtual object moves in the virtual scene and moves to a target position that is obscured by an obstacle, the third virtual object at the target position is viewed from a perspective.
8. The method as described in claim 1, characterized in that, The step of displaying the location information of the third virtual object in a map corresponding to the virtual scene in response to the first virtual object detecting the third virtual object in the virtual scene includes: In response to the first slave object detecting a third virtual object in the virtual scene and the first slave object being attacked by the third virtual object, the location information of the third virtual object is displayed in the map corresponding to the virtual scene.
9. The method as described in claim 1, characterized in that, The step of displaying the location information of the third virtual object in the map corresponding to the virtual scene includes: When the number of the third virtual objects is at least two, obtain the interaction parameters of each of the third virtual objects; The interaction parameters include at least one of the following: interaction role, interaction preference, interaction ability, and distance to the first main object; In the map corresponding to the virtual scene, the location information of each of the third virtual objects is displayed using a display style corresponding to the interaction parameters.
10. The method as described in claim 1, characterized in that, The method further includes: When the third virtual object moves in the virtual scene, it receives a tracking instruction from the first slave object of the second form for the third virtual object; In response to the tracking command, the first slave object in the second form is controlled to track the third virtual object along the tracking direction indicated by the tracking command, and the position information of the third virtual object is updated and displayed in the map corresponding to the virtual scene.
11. The method as described in claim 1, characterized in that, Before displaying the location information of the third virtual object in the map corresponding to the virtual scene, the method further includes: During the process of the first slave object in the second form performing object reconnaissance on the virtual scene, when an obstacle is detected in the virtual scene, the first slave object in the second form is controlled to release a pulse wave towards the obstacle to penetrate the obstacle. When the obstacle is detected to be obstructing a third virtual object based on the pulse wave, it is determined that the third virtual object has been detected in the virtual scene. The first slave object in the second form controls the third virtual object to perform reconnaissance marking and see through the third virtual object.
12. The method as described in claim 1, characterized in that, The method further includes: In response to the first slave object having material detection skills, the second form of the first slave object is controlled to perform material detection on the virtual scene; When the first object detects virtual resources in the virtual scene, it displays indication information corresponding to the virtual resources; The virtual resources are used for the first main object to pick up, and the picked-up virtual resources are used to improve the first main object's interactive capabilities in the virtual scene.
13. The method as described in claim 12, characterized in that, When the first object detects virtual resources in the virtual scene, displaying indication information corresponding to the virtual resources includes: When the first slave object detects virtual materials in the second area centered on the first slave object in the virtual scene, the type indication information of the virtual materials is displayed at the location of the virtual materials in the second area, and the location indication information of the virtual materials is displayed on the map corresponding to the virtual scene; At least one of the type indication information and the location indication information shall be used as the indication information corresponding to the virtual material.
14. The method as described in claim 12, characterized in that, The display of the instruction information corresponding to the virtual material includes: When the number of virtual resources is at least two, the first display style is used to display the indication information of the first number of virtual resources among the at least two virtual resources, and the second display style is used to display the indication information of the second number of virtual resources among the at least two virtual resources. The first display style is different from the second display style. The first display style indicates that the first quantity of virtual materials is within the field of view of the first main object, while the second display style indicates that the second quantity of virtual materials is outside the field of view of the first main object.
15. The method as described in claim 12, characterized in that, The display of the instruction information corresponding to the virtual material includes: When there are at least two types of virtual resources, the indication information of the target type of virtual resources is displayed in a third display style, and the indication information of other types of virtual resources besides the target type is displayed in a fourth display style. The third display style is different from the fourth display style. The third display style represents the picking priority of the target type of virtual material, which is higher than the picking priority of other types of virtual materials.
16. A control device for a virtual object, characterized in that, The device includes: The first display module is used to display the game screen, which includes at least a part of the virtual scene. The virtual scene includes a first main object and a first subordinate object in a first form attached to the first main object. The first subordinate object and the first main object have a subordinate relationship. A first control module is configured to respond to a first instruction for the first slave object and control the first slave object to transform from the first form to a second form; wherein the second form corresponds to the image of a second virtual object in the virtual scene; The second control module is used to control the first follower object in the second form to move in the virtual scene in order to perform object reconnaissance in the virtual scene; during the movement of the first follower object in the second form in the virtual scene, in response to the first follower object in the second form being attacked by a fifth virtual object, the module controls the first follower object to transform from the second form to the initial form, and controls the first follower object in the initial form to release marker waves in all directions in order to perform object reconnaissance in the virtual scene through the marker waves, wherein the first follower object in the initial form is an independent virtual image located at a preset distance around the first main object; The second display module is configured to, in response to the first slave object detecting a third virtual object in the virtual scene, display the location information of the third virtual object in a map corresponding to the virtual scene; wherein the second virtual object and the third virtual object are in an adversarial relationship with the first master object.
17. The apparatus as claimed in claim 16, characterized in that, The first display module is further configured to receive a summoning command for the first secondary object; in response to the summoning command, summon the first secondary object in its initial form, and display a game screen showing the first secondary object transforming from the initial form into a first form, and the first secondary object in the first form attaching to the first main object to become part of the model of the first main object; The first control module is also used to demonstrate the process of the first slave object of the first form detaching from the first master object to move to the target position, and transforming into the first slave object of the second form at the target position.
18. An electronic device, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the control method for the virtual object according to any one of claims 1 to 15.
19. A computer-readable storage medium, characterized in that, It stores executable instructions for implementing the control method of the virtual object according to any one of claims 1 to 15 when executed by a processor.
20. A computer program product comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by the processor, they implement the control method for the virtual object as described in any one of claims 1 to 15.
Citation Information
Patent Citations
Virtual prop operation method and device, storage medium and electronic device
CN111359207A
Interaction method and device based on virtual object, equipment and medium
CN113181648A