Virtual skill control method, device, equipment, storage medium and program product
By presenting the chaotic sensing area of the target skill in the virtual scene and changing the interactive configuration of virtual objects, the problem of single interactive configuration in the virtual scene is solved, and gameplay diversity and efficient human-computer interaction are achieved.
Patent Information
- Application Number
- CN202111657056.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-24
- Filing Date
- 2021-12-30
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-12-30
AI Technical Summary
In virtual scenes, when players use the same virtual props or skills, the interaction configuration cannot be changed, resulting in a single gameplay and lack of diversity.
By presenting the chaos sensing area of the target skill in the virtual scene, changing the interactive configuration of the virtual objects in this area, controlling the interaction between the first virtual object and the transformed second virtual object, and using randomness and uncertainty to reduce the third 2. The interactive ability of virtual objects reduces the number of interactive operations.
It enriches the diversity of gameplay, improves the efficiency of human-computer interaction and user experience, and improves the interactive experience by reducing the number of interactive operations on virtual objects.
Smart Images

Figure CN114146414B_ABST
Abstract
Description
[0001] Priority statement
[0002] This application claims priority to application number 202111403280.7, filing date November 24, 2021, and title: Virtual Skill Control Method, Device, Equipment, Storage Medium and Program Product. Technical Field
[0003] The present application relates to computer human-computer interaction technology, and in particular to a control method, device, equipment, computer-readable storage medium and computer program product for virtual skills. Background Art
[0004] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has various typical application scenarios. For example, in the virtual scene of games, it can simulate the battle process between virtual objects.
[0005] Taking the game scene as an example, players can use a variety of virtual props or virtual skills to perform interactive operations in the game scene. Since different virtual props or virtual skills have different functions, in related technologies, players equip corresponding virtual props or virtual skills in a direction that is conducive to improving their interactive capabilities. If the player does not actively change the interactive configuration such as virtual props or virtual skills, the system cannot change the player's interactive configuration, resulting in a relatively simple gameplay. Summary of the invention
[0006] The embodiments of the present application provide a method, device, equipment, computer-readable storage medium, and computer program product for controlling a virtual skill, which can enrich the diversity of gameplay.
[0007] The technical solution of the embodiment of the present application is implemented as follows:
[0008] The present application provides a method for controlling a virtual skill, including:
[0009] In an interface of a virtual scene, presenting a first virtual object having a target skill;
[0010] In response to a release instruction for the target skill, presenting a chaos sensing area corresponding to the target skill;
[0011] Wherein, the chaos sensing area is used to change the interaction configuration of the virtual object in the chaos sensing area;
[0012] When there is at least one second virtual object in the chaos sensing area, the interaction configuration of the second virtual object is controlled to be transformed so as to control the first virtual object to interact with the second virtual object after the interaction configuration is transformed.
[0013] The present application embodiment provides a virtual skill control device, including:
[0014] A first presentation module, used to present a first virtual object having a target skill in an interface of a virtual scene;
[0015] A second presentation module, for presenting a chaos sensing area corresponding to the target skill in response to a release instruction for the target skill;
[0016] Wherein, the chaos sensing area is used to change the interaction configuration of the virtual object in the chaos sensing area;
[0017] The transformation control module is used for controlling the transformation of the interaction configuration of at least one second virtual object when there is at least one second virtual object in the chaos sensing area, so as to control the first virtual object to interact with the second virtual object after the transformation of the interaction configuration.
[0018] In the above scheme, before presenting the chaos sensing area corresponding to the target skill, the device also includes: an instruction receiving module, used to present the skill control corresponding to the target skill; when the skill control is in an activated state, in response to a trigger operation on the skill control, a release instruction for the target skill is received.
[0019] In the above scheme, the instruction receiving module is also used to present a prop icon corresponding to the target skill; in response to a trigger operation on the prop icon, control the first virtual object to equip the virtual prop corresponding to the target skill; when the first virtual object successfully equips the virtual prop, present a skill control corresponding to the target skill.
[0020] In the above scheme, the device also includes: a third presentation module, used to present status indication information indicating the activation progress of the skill control; the instruction receiving module is also used to present the skill control in a target display style when the status indication information indicates that the skill control is in an activated state.
[0021] In the above scheme, the second presentation module is also used to determine a target area centered on a target position as a chaos induction area corresponding to the target skill, and present the chaos induction area; wherein the target position is one of the following positions: the position of the first virtual object, the skill release position of the target skill.
[0022] In the above scheme, the second presentation module is also used to display an area bounding box in the interface of the virtual scene using a target display style when the target position is the position of the first virtual object, and the area in the area bounding box is the chaos sensing area corresponding to the target skill; the device also includes: a movement control module, which is used to respond to a movement instruction for the first virtual object, control the first virtual object to move in the virtual scene, and control the area bounding box to move synchronously with the movement of the first virtual object.
[0023] In the above scheme, before presenting the chaos sensing area corresponding to the target skill, the device also includes: a position determination module, which is used to present a position identifier for selecting the skill release position when the target position is the skill release position corresponding to the target skill; in response to a movement instruction for the position identifier, control the position identifier to move in the virtual scene; in response to a position determination instruction for the position identifier, determine the position of the position identifier in the virtual scene as the skill release position.
[0024] In the above scheme, the device also includes: a recovery control module, which is used to present a virtual support prop corresponding to the target skill in the chaos sensing area, and the virtual support prop is used to control the display duration of the chaos sensing area; when an area disappearance instruction triggered by the virtual support prop is received, the presentation of the chaos sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is restored.
[0025] In the above scheme, the recovery control module is also used to present the remaining effective time of the target skill; when the remaining effective time is lower than the time threshold or returns to zero, the presentation of the chaos sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is restored.
[0026] In the above scheme, the transformation control module is also used to determine the interaction relationship between the second virtual object and the first virtual object, and the interaction relationship is used to indicate whether the second virtual object and the first virtual object belong to the same camp; when the interaction relationship indicates that the second virtual object and the first virtual object belong to different camps, the interaction configuration of the second virtual object is controlled to be transformed.
[0027] In the above scheme, before presenting the chaos sensing area corresponding to the target skill, the device also includes: a fourth presentation module, used to present the second virtual object equipped with virtual props in the interface of the virtual scene, and the virtual props are the first prop configuration; the transformation control module is also used to control the virtual props of the second virtual object to change from the first prop configuration to the second prop configuration when the number of the second virtual objects is one, so as to transform the interaction configuration of the second virtual object.
[0028] In the above scheme, the transformation control module is also used to control the random exchange of the main props or the prop accessories between any two second virtual objects among the at least two second virtual objects when the number of the second virtual objects is at least two and the virtual props equipped by the second virtual objects include main props and prop accessories.
[0029] In the above scheme, the device also includes: an accessory screening module, which is used to perform the following processing for each of the second virtual objects: when the virtual prop includes multiple prop accessories and the prop accessories are randomly exchanged, the interaction data of each of the prop accessories is obtained; wherein the interaction data includes at least one of the following: usage frequency, interaction score, interaction level; based on the interaction data, a target prop accessory is selected from the multiple prop accessories as the prop accessory to be transformed for the second virtual object.
[0030] In the above scheme, the transformation control module is also used to control the at least two second virtual objects to exchange the equipped virtual props or virtual skills according to the usage preference of each second virtual object when the number of the second virtual objects is at least two and the second virtual objects are equipped with virtual props or virtual skills, so that the compatibility between the usage preference of each second virtual object and the exchanged virtual props or virtual skills is lower than the compatibility threshold.
[0031] In the above scheme, the device also includes: a module setting module, used to present an interaction configuration mode setting icon of the virtual scene; in response to an on operation of the interaction configuration mode setting icon, the interaction configuration mode of the virtual scene is set to an anti-interference interaction configuration mode; when the first virtual object is in a chaotic induction area corresponding to the target skill of the second virtual object, the interaction configuration of the first virtual object is controlled to remain unchanged.
[0032] In the above solution, the recovery control module is further used to perform virtual object detection on the chaos sensing area; when it is detected that the second virtual object leaves the chaos sensing area, control to restore the interaction configuration of the second virtual object.
[0033] An embodiment of the present application provides an electronic device, including:
[0034] A memory for storing executable instructions;
[0035] The processor is used to implement the control method of the virtual skill provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0036] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement a method for controlling a virtual skill provided in an embodiment of the present application.
[0037] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the control method of the virtual skill provided in the embodiment of the present application is implemented.
[0038] The embodiments of the present application have the following beneficial effects:
[0039] By applying the embodiments of the present application, the interaction configuration of the second virtual object in the chaos sensing area is controlled to be transformed by using the chaos sensing area released by the target skill, thereby enriching the diversity of gameplay; and because the transformation of the interaction configuration of the second virtual object has characteristics such as randomness, uncertainty or unpredictability, when the second virtual object is not accustomed to or cannot use the transformed interaction configuration, the interaction ability of the second virtual object will be greatly weakened. In this case, controlling the first virtual object to interact with the second virtual object can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations, thereby improving the efficiency of human-computer interaction and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1A A schematic diagram of an application mode of a method for controlling a virtual skill provided in an embodiment of the present application;
[0041] Figure 1B A schematic diagram of an application mode of a method for controlling a virtual skill provided in an embodiment of the present application;
[0042] Figure 2 A schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application;
[0043] Figure 3 A flowchart of a method for controlling a virtual skill provided in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of the display of the skill control provided in the embodiment of the present application;
[0045] Figure 5 A flowchart of a method for controlling a virtual skill provided in an embodiment of the present application;
[0046] Figure 6 A schematic diagram showing a chaotic sensing area provided in an embodiment of the present application;
[0047] Figure 7 A schematic diagram of detecting a virtual object provided in an embodiment of the present application;
[0048] Figure 8 A schematic diagram showing the display of prop accessories provided in an embodiment of the present application;
[0049] Fig. 9 A schematic diagram of an exchange of interactive configurations provided in an embodiment of the present application;
[0050] Fig.10 A schematic diagram of an exchange of interactive configurations provided in an embodiment of the present application;
[0051] Fig.11 A schematic diagram of an exchange of interactive configurations provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0053] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be 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.
[0054] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0056] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0057] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.
[0058] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.
[0059] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.
[0060] 4) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as characters and animals displayed in a virtual scene. The virtual object can be a virtual image in the virtual scene that represents the user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
[0061] 5) Scene data, which represents feature data in a virtual scene. For example, it may include the position of a virtual object in the virtual scene, the waiting time required for configuring various functions 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 virtual objects in the game, such as health points and magic points.
[0062] The embodiments of the present application provide a control method, device, terminal device, computer-readable storage medium, and computer program product for a virtual skill, which can enrich the diversity of gameplay. To facilitate easier understanding of the control method for a virtual skill provided in the embodiments of the present application, an exemplary implementation scenario of the control method for a virtual skill provided in the embodiments of the present application is first described. The virtual scene in the control method for a virtual skill provided in the embodiments of the present application can be completely based on the output of the terminal device, or based on the coordinated output of the terminal device and the server.
[0063] In some embodiments, the virtual scene can also be an environment for game characters to interact. For example, it can be an environment for game characters to fight in the virtual scene. By controlling the actions of the game characters, both parties can interact in the virtual scene, allowing users to relieve life stress during the game.
[0064] In one implementation scenario, see Figure 1A , Figure 1A The schematic diagram of the application mode of the control method of the virtual skill provided in the embodiment of the present application is applicable to some application modes that completely rely on the computing power of the graphics processing hardware of the terminal device 400 to complete the relevant data calculation of the virtual scene 100, such as stand-alone / offline mode games, and the output of the virtual scene is completed through various types of terminal devices 400 such as smart phones, tablet computers and virtual reality / augmented reality devices. As an example, the types of graphics processing hardware include central processing units (CPU) and graphics processing units (GPU).
[0065] When forming a visual perception of the virtual scene 100, the terminal device 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing and rendering of the display data, and outputs video frames that can form a visual perception of the virtual scene through the graphics output hardware, for example, presenting two-dimensional video frames on the display screen of a smartphone, or projecting video frames to achieve a three-dimensional display effect on the lenses of augmented reality / virtual reality glasses; in addition, in order to enrich the perception effect, the 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 stand-alone game application) is running on the terminal device 400. During the operation of the client 410, a virtual scene 100 including role-playing is output. The virtual scene 100 may be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight against each other. The virtual scene includes a first virtual object 110. The first virtual object 110 may be a game character controlled by a user (or player), that is, the first virtual object 110 is controlled by a real user and will move in the virtual scene in response to the real user's operation of a controller (including a touch screen, voice-controlled switch, keyboard, mouse, joystick, etc.). For example, when the real user moves the joystick to the right, the virtual object 110 will move to the right in the virtual scene 100. The virtual object 110 may also remain still, jump, and control the virtual object 110 to perform shooting operations, etc.
[0067] For example, the terminal device 400 presents a first virtual object 110 with a target skill in the interface of the virtual scene 100; in response to a release instruction for the target skill, presents a chaos sensing area 120 corresponding to the target skill; wherein the chaos sensing area 120 is used to change the interaction configuration of the virtual object in the chaos sensing area; when there is at least one second virtual object 130 in the chaos sensing area 120, the interaction configuration of the second virtual object 130 is controlled to be transformed to control the first virtual object 110 to interact with the second virtual object 130 after the interaction configuration is transformed; since the transformation of the interaction configuration of the second virtual object has the characteristics of randomness, uncertainty or unpredictability, when the second virtual object is not accustomed to or cannot use the transformed interaction configuration, the interaction ability of the second virtual object will be greatly weakened. In this case, controlling the first virtual object to interact with the second virtual object can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations to achieve a certain interaction purpose, thereby improving the human-computer interaction efficiency and the user experience.
[0068] In another implementation scenario, see Figure 1B , Figure 1B The schematic diagram of the application mode of the control method of the virtual skill provided in the embodiment of the present application is applied to the terminal device 400 and the server 200, and is suitable for the application mode that relies on the computing power of the server 200 to complete the virtual scene calculation and output the virtual scene on the terminal device 400. Taking the visual perception of the virtual scene 100 as an example, the server 200 calculates the display data related to the virtual scene (such as scene data) and sends it to the terminal device 400 through the network 300. The terminal device 400 relies on the graphics computing hardware to complete the loading, parsing and rendering of the display data, and relies on the graphics output hardware to output the virtual scene to form visual perception, for example, a two-dimensional video frame can be presented on the display screen of a smart phone, or a video frame that realizes a three-dimensional display effect can be projected on the lenses of augmented reality / virtual reality glasses; for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal device 400 can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.
[0069] As an example, a client 410 (e.g., a stand-alone game application) is running on the terminal device 400. During the operation of the client 410, a virtual scene 100 including role-playing is output. The virtual scene 100 may be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight against each other. The virtual scene includes a first virtual object 110. The first virtual object 110 may be a game character controlled by a user (or player), that is, the first virtual object 110 is controlled by a real user and will move in the virtual scene in response to the real user's operation of a controller (including a touch screen, voice-controlled switch, keyboard, mouse, joystick, etc.). For example, when the real user moves the joystick to the right, the virtual object 110 will move to the right in the virtual scene 100. The virtual object 110 may also remain still, jump, and control the virtual object 110 to perform shooting operations, etc.
[0070] For example, the terminal device 400 presents a first virtual object 110 having a target skill in the interface of the virtual scene 100; in response to a release instruction for the target skill, presents a chaos sensing area 120 corresponding to the target skill; wherein the chaos sensing area 120 is used to change the interaction configuration of the virtual object in the chaos sensing area; when there is at least one second virtual object 130 in the chaos sensing area 120, the interaction configuration of the second virtual object 130 is controlled to be transformed so as to control the first virtual object 110 to interact with the second virtual object 130 after the interaction configuration is transformed within a target time period after the interaction configuration of the second virtual object 130 is transformed; since the transformation of the interaction configuration of the second virtual object has characteristics such as randomness, uncertainty or unpredictability, when the second virtual object is not accustomed to or cannot use the transformed interaction configuration, the interaction ability of the second virtual object will be greatly weakened. In this case, controlling the first virtual object to interact with the second virtual object can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations to achieve a certain interaction purpose, thereby improving the human-computer interaction efficiency and the user experience.
[0071] In some embodiments, the terminal device 400 can implement the control method of the virtual skill provided in the embodiment of the present application 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, APPlication), that is, a program that needs to be installed in the operating system to run, such as a shooting game APP (i.e., the above-mentioned client 410); it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a game applet that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0072] Taking a computer program as an application program as an example, in actual implementation, the terminal device 400 installs and runs an application program that supports virtual scenes. The application program can be any one of a first-person shooter game (FPS), a third-person shooter game, a virtual reality application program, a three-dimensional map program, or a multiplayer gunfight survival game. The user uses the terminal device 400 to operate a virtual object in the virtual scene to perform an activity, which includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building virtual buildings. Indicatively, the virtual object can be a virtual character, such as a simulated character or an anime character.
[0073] In other embodiments, the embodiments of the present application can also be implemented with the aid of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.
[0074] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.
[0075] For example, Figure 1B The server 200 in the example may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal device 400 and the server 200 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0076] Below Figure 1A The structure of the terminal device 400 shown in FIG. Figure 2 , Figure 2 A schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application is shown in FIG. Figure 2The 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 achieve connection and communication between these components. In addition to the data bus, the bus system 450 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 450 is not shown in FIG. Figure 2 Various buses are labeled as bus system 450 .
[0077] The 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., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0078] The user interface 440 includes one or more output devices 441 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The 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 memory, hard drives, optical drives, etc. The memory 460 may optionally include one or more storage devices that are physically remote from the processor 420.
[0080] The memory 460 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 460 described in the embodiments of the present application is intended to include any suitable type of memory.
[0081] In some embodiments, memory 460 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0082] Operating system 461, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0083] A network communication module 462, for reaching other computing devices via one or more (wired or wireless) network interfaces 430, exemplary network interfaces 430 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);
[0084] a presentation module 463 for enabling presentation of information via one or more output devices 441 (e.g., display screen, speaker, etc.) associated with the user interface 440 (e.g., a user interface for operating peripherals and displaying content and information);
[0085] The input processing module 464 is used to detect one or more user inputs or interactions from one of the one or more input devices 442 and translate the detected inputs or interactions.
[0086] In some embodiments, the control device of the virtual skill provided in the embodiments of the present application can be implemented in a software manner. Figure 2 A control device 465 for virtual skills stored in a memory 460 is shown, which may be software in the form of a program and a plug-in, and includes the following software modules: a first presentation module 4651, a second presentation module 4652, and a transformation control module 4653. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0087] In other embodiments, the control device of the virtual skill provided in the embodiments of the present application can be implemented in hardware. As an example, the control device of the virtual skill provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the control method of the virtual skill provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt 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 following will describe in detail the control method of the virtual skill provided by the embodiment of the present application in conjunction with the accompanying drawings. Figure 1A The terminal device 400 in the embodiment can be executed separately, or it can be executed by Figure 1B The terminal device 400 and the server 200 execute collaboratively.
[0089] Below, by Figure 1A The terminal device 400 in the embodiment of the present application independently executes the control method of the virtual skill provided in the embodiment of the present application as an example. Figure 3 , Figure 3 A flowchart of a method for controlling a virtual skill provided in an embodiment of the present application is provided. Figure 3 The steps shown are explained.
[0090] 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 above-mentioned client 410, but can also be the operating system 461, software modules and scripts mentioned above. Therefore, the client should not be regarded as a limitation on the embodiments of the present application.
[0091] Step 101: The terminal device presents a first virtual object having a target skill in an interface of a virtual scene.
[0092] Here, an application client supporting a virtual scene may be installed on the terminal device. When the user opens the application client on the terminal and the terminal runs the application client, the terminal presents a screen of a virtual scene (such as a shooting game scene), and the user can control the first virtual object to perform interactive operations in the virtual scene. In actual applications, the first virtual object is a virtual image in the virtual scene corresponding to the user account currently logged into the application client. For example, the first virtual object may be a virtual object controlled by a user who enters the virtual scene of the game. Of course, the virtual scene may also include other virtual objects, which may be controlled by other users or by a robot program.
[0093] In the virtual scene, the user can trigger the interactive control instruction for the first virtual object through the human-computer interaction interface to control the first virtual object to perform interactive operations. For example, the first virtual object can hold at least one virtual prop or be equipped with at least one virtual skill, etc. The virtual prop can be any prop used when the virtual object interacts, such as a virtual shooting prop, a virtual bow and arrow, a virtual slingshot, a virtual nunchaku, a virtual whip, etc.; the virtual skill can be a protective skill, an attacking skill, etc. The user can control the first virtual object to perform interactive operations in the virtual scene based on the assembled virtual props or virtual skills. In an embodiment of the present application, a target skill for releasing a chaotic sensing area is provided for the first virtual object. The chaotic sensing area released by the target skill can change the interactive configuration of the virtual object in the chaotic sensing area to change the interactive ability of the corresponding virtual object. In this application scenario, the terminal device can present the first virtual object with the target skill in the screen of the virtual scene.
[0094] Step 102: In response to a release instruction for a target skill, a chaos sensing area corresponding to the target skill is presented.
[0095] Among them, the chaos sensing area is used to change the interaction configuration of the virtual object in the chaos sensing area. For example, for the virtual object in the chaos sensing area, the interaction configuration state of the virtual object can be changed, such as the movement state of the virtual object or the equipment state of the virtual object for the virtual props, wherein the movement state of the virtual object includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, attacking, throwing, sliding, and staying still. At least one of the following; different types of virtual props correspond to different equipment states. For example, when the virtual props are shooting virtual props such as machine guns, pistols, rifles, etc., the corresponding equipment state can be a holding state, an aiming state, a launching state or a storage state; for another example, when the virtual props are throwing virtual props such as grenades, cluster mines, sticky grenades, etc., the corresponding equipment state is a holding state, a throwing state or a storage state, etc. The so-called storage state refers to controlling the virtual object to carry the corresponding virtual prop on its back or place it in a backpack, so that the virtual object cannot be controlled to use the virtual prop in the storage state. In addition, the virtual props or prop accessories in the virtual props equipped by the virtual object in the chaos sensing area can also be controlled to be transformed, such as controlling the virtual object to be transformed from being equipped with virtual prop 1 to being equipped with virtual prop 2, or when the virtual props equipped by the virtual object include multiple prop accessories installed in the same position, such as sight 1, sight 2, sight 3, controlling the virtual object to be transformed from being equipped with sight 1 in the virtual prop configuration to being equipped with sight 3.
[0096] In this way, the chaos sensing area is released through the target skill, and the interaction configuration of the virtual object in the chaos sensing area is transformed, thereby enriching the diversity of gameplay; and because the transformation of the interaction configuration has the characteristics of randomness, uncertainty or unpredictability, when the virtual object in the chaos sensing area is not accustomed to or cannot use the transformed interaction configuration, the interaction ability of the virtual object is greatly weakened. In this case, controlling the first virtual object to interact with the virtual object in the chaos sensing area can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations to achieve a certain interaction purpose, thereby improving the efficiency of human-computer interaction and the user experience.
[0097] In some embodiments, before presenting the chaos sensing area, the terminal device can receive a release instruction for the target skill by: presenting a skill control corresponding to the target skill; when the skill control is in an activated state, in response to a trigger operation on the skill control, receiving a release instruction for the target skill.
[0098] Here, a corresponding skill control is set for the above-mentioned target skill. When the skill control is in an activated state, when the user triggers (such as clicking, double-clicking, sliding, etc.) the skill control, the terminal device responds to the trigger operation, receives a release instruction, and responds to the release instruction to control the first virtual object to release the target skill.
[0099] In some embodiments, the terminal device may present the skill control corresponding to the target skill in the following manner: presenting a prop icon corresponding to the target skill; in response to a trigger operation on the prop icon, controlling the first virtual object to assemble the virtual prop corresponding to the target skill; when the first virtual object successfully assembles the virtual prop, presenting the skill control corresponding to the target skill.
[0100] Here, the first virtual object can be controlled to have the target skill by controlling the first virtual object to assemble the virtual props corresponding to the target skill. In practical applications, the virtual props can be obtained when the first virtual object is controlled to interact in the virtual scene (for example, when the interaction score meets the conditions for obtaining the virtual props, or is found during the interaction process), or it can be obtained before the first virtual object is controlled to enter the virtual scene (for example, before the game starts). When the first virtual object has the virtual prop, the terminal device presents the corresponding prop icon, and the user can control the first virtual object to assemble the virtual props corresponding to the target skill by triggering the prop icon. When the first virtual object successfully assembles the virtual prop, the terminal device presents the skill control corresponding to the target skill, so that the user can control the first virtual object to release the target skill based on the skill control.
[0101] In some embodiments, the terminal device may present status indication information for indicating the activation progress of the skill control; when the status indication information indicates that the skill control is in an activated state, the skill control is presented in a target display style.
[0102] In actual applications, the display style of skill controls in the activated state and the inactivated state may be different, such as displaying the skill controls in the inactivated state in grayscale, and presenting status indication information indicating the activation progress of the skill controls; when the status indication information indicates that the skill control has been cooled down and the inactivated state has changed to the activated state, the skill controls in the activated state are highlighted; in addition, skill controls in the activated state and skill controls in the inactivated state are indicated by different identifications, etc. For example, a skill control in the inactivated state may be indicated by a disabled identification.
[0103] See also Figure 4 , Figure 4A display diagram of the skill control provided in the embodiment of the present application, when the skill control 401 is in an activated state, the status indication information of the activation progress is presented, such as the activation percentage of the activation progress bar is 7%, when the activation percentage of the activation progress bar becomes 100%, the skill control is activated and the skill control is highlighted.
[0104] In some embodiments, the terminal device may present the chaos sensing area corresponding to the target skill in the following manner: determine the target area centered on the target position as the chaos sensing area corresponding to the target skill, and present the chaos sensing area; wherein, the target position is one of the following positions: the position of the first virtual object, the skill release position of the target skill.
[0105] Here, the chaos sensing area can be an area centered on the first virtual object, or an area centered on the release position of the target skill. The size and existence duration of the chaos sensing area can be set. For example, the size or existence duration of the chaos sensing area is related to the level of the virtual object. For example, the higher the level of the first virtual object, the larger the corresponding chaos sensing area and the longer the existence duration.
[0106] In some embodiments, the terminal can present the chaos sensing area in the following manner: when the target position is the position of the first virtual object, the area enclosing frame is displayed in the interface of the virtual scene using the target display style, and the area in the area enclosing frame is the chaos sensing area corresponding to the target skill; accordingly, the terminal device can also control the area enclosing frame to move synchronously in the following manner: in response to the movement instruction for the first virtual object, the first virtual object is controlled to move in the virtual scene, and the area enclosing frame is controlled to move synchronously with the movement of the first virtual object.
[0107] Here, when the chaos sensing area is an area centered on the first virtual object, if the first virtual object moves in the virtual scene, the chaos sensing area will move with the movement of the first virtual object. In this way, after releasing the target skill, the first virtual object can adjust the position of the chaos sensing area by adjusting its own position according to the real-time virtual scene data, so that more second virtual objects exist in the chaos sensing area, and the interaction configurations of more second virtual objects are transformed, thereby improving the transformation efficiency.
[0108] In some embodiments, before presenting the chaos sensing area corresponding to the target skill, the terminal device may determine the skill release position in the following manner: when the target position is the skill release position corresponding to the target skill, presenting a position identifier for selecting the skill release position; in response to a movement instruction for the position identifier, controlling the position identifier to move in the virtual scene; in response to a position determination instruction for the position identifier, determining the position of the position identifier in the virtual scene as the skill release position.
[0109] Here, when the chaos sensing area is an area centered on the skill release position of the target skill, the first virtual object can select the release position of the target skill according to the real-time virtual scene data, such as triggering the movement instruction by dragging the position mark, and the terminal device responds to the drag operation for the position mark, receives the corresponding movement instruction, and responds to the movement instruction to display the process of the position mark moving in the virtual scene, and responds to the release operation for the drag operation (or the movement instruction), The terminal device receives the corresponding position determination instruction and determines the release position corresponding to the release operation (that is, the position of the position mark in the virtual scene) as the skill release position; In this way, the user can select the skill release position according to actual needs, which improves the applicability of the target skill. Of course, in actual applications, the terminal device can also automatically determine the skill release position of the target skill according to the real-time virtual scene data.
[0110] Step 103: When there is at least one second virtual object in the chaos sensing area, controlling the transformation of the interaction configuration of the second virtual object to control the first virtual object to interact with the second virtual object after the transformation of the interaction configuration.
[0111] In some embodiments, the terminal device may control the transformation of the interaction configuration of the second virtual object in the following manner: determine the interaction relationship between the second virtual object and the first virtual object, the interaction relationship being used to indicate whether the second virtual object and the first virtual object belong to the same camp; when the interaction relationship indicates that the second virtual object and the first virtual object belong to different camps, control the transformation of the interaction configuration of the second virtual object.
[0112] Here, in actual applications, the objects targeted by the interaction configuration transformation in the chaos sensing area can be set, such as setting the interaction configuration of the second virtual object in the chaos sensing area that is in a different camp from the first virtual object (hostile relationship) to be transformed, while the interaction configuration of the second virtual object in the chaos sensing area that is in the same camp as the first virtual object (friend relationship) is not transformed (that is, remains unchanged). For example, the terminal device performs virtual object detection on the chaos sensing area in real time, and when it is detected that the second virtual object enters the chaos sensing area, the interaction relationship between the second virtual object and the first virtual object is obtained; when the interaction relationship indicates that the second virtual object and the first virtual object belong to the same camp, the interaction configuration of the second virtual object is controlled to remain unchanged; when the interaction relationship indicates that the second virtual object and the first virtual object belong to different camps, the interaction configuration of the second virtual object is controlled to remain unchanged.
[0113] Through the above method, the interaction configuration of the second virtual object in a hostile relationship is changed. Since the transformation of the interaction configuration has the characteristics of randomness, uncertainty or unpredictability, when the second virtual object in the chaos sensing area is not accustomed to or cannot use the transformed interaction configuration, the interaction ability of the second virtual object is greatly weakened. In this case, controlling the first virtual object to interact with the second virtual object in the chaos sensing area can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations to achieve a certain interaction purpose, thereby improving the efficiency of human-computer interaction and the user experience.
[0114] It should be noted that when the first virtual object and the second virtual object belong to different camps in the chaos sensing area at the same time, the terminal device can detect the interaction configuration of the second virtual object. When it is detected that there is an interaction configuration in the interaction configuration of the second virtual object that can improve the interaction ability of the first virtual object, the interaction configuration between the first virtual object and the second virtual object is controlled to be exchanged, and the interaction configuration (such as prop accessories) in the second virtual object that can improve the interaction ability of the first virtual object is exchanged to the first virtual object, and the interaction configuration in the first virtual object that can weaken the interaction ability of the second virtual object is exchanged to the second virtual object, so as to enhance the interaction ability of the first virtual object while weakening the interaction ability of the second virtual object, further widening the interaction ability gap between the first virtual object and the second virtual object (the two are in a hostile relationship) in the chaos sensing area. In this case, controlling the first virtual object to interact with the second virtual object in the chaos sensing area can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations to achieve a certain interaction purpose, thereby improving the human-computer interaction efficiency and improving the user experience.
[0115] In some embodiments, the terminal device presents an interaction configuration mode setting icon for a virtual scene; in response to an on operation on the interaction configuration mode setting icon, the interaction configuration mode of the virtual scene is set to an anti-interference interaction configuration mode; when the first virtual object is in a chaotic sensing area, the interaction configuration controlling the first virtual object remains unchanged, or when the first virtual object is in a chaotic sensing area corresponding to a target skill of a second virtual object, the interaction configuration controlling the first virtual object remains unchanged.
[0116] Here, when the first virtual object exists in the chaos sensing area, in order to avoid causing changes to the interaction configuration of the first virtual object, the first virtual object can be controlled to turn on an anti-interference interaction configuration mode, that is, after turning on the anti-interference interaction configuration mode, the interaction configuration of the first virtual object in the chaos sensing area is not affected by the chaos sensing area. In this way, the interaction capability gap between the first virtual object and the second virtual object (the two are in a hostile relationship) in the chaos sensing area can be further widened. In this case, controlling the first virtual object to interact with the second virtual object in the chaos sensing area can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations to achieve a certain interaction purpose, thereby improving the human-computer interaction efficiency and the user experience.
[0117] In some embodiments, before presenting the chaos sensing area corresponding to the target skill, the terminal device presents a second virtual object equipped with virtual props in the interface of the virtual scene, and the virtual props are configured as the first props; accordingly, the terminal device can control the transformation of the interaction configuration of the second virtual object in the following manner: when the number of second virtual objects is one, the virtual props that control the second virtual object are changed from the first prop configuration to the second prop configuration to transform the interaction configuration of the second virtual object.
[0118] Here, when the number of second virtual objects in the chaos sensing area is 1, the configuration state of the second virtual object itself can be controlled to change. For example, changing the interaction configuration of the second virtual object can be changing the configuration of the second virtual object for the equipped virtual props. For example, before the second virtual object enters the chaos sensing area, its equipment state for the virtual props is an aiming state (first prop configuration). After the second virtual object enters the chaos sensing area, its equipment state for the virtual props is changed from an aiming state to a storage state (second prop configuration). In addition, the motion state of the second virtual object can also be changed. For example, before the second virtual object enters the chaos sensing area, its motion state is a crawling state. After the second virtual object enters the chaos sensing area, its motion state is changed from a crawling state to a standing state. In this way, the chaos sensing area gives the second virtual object a feeling of being caught off guard, which easily causes confusion to the second virtual object, and reduces the interaction ability of the second virtual object in the target time period after the interaction configuration is changed.
[0119] In some embodiments, the terminal device may control the transformation of the interaction configuration of the second virtual object in the following manner: when the number of second virtual objects is at least two, and the virtual props equipped by the second virtual objects include main props and prop accessories, control the random exchange of main props or prop accessories between any two second virtual objects among the at least two second virtual objects.
[0120] In actual applications, the virtual props of the second virtual object include main props and prop accessories. The main props (such as main and secondary weapons) and prop accessories in the virtual props of different second virtual objects may be different, and each virtual prop may include multiple types of prop accessories. Therefore, the main props or prop accessories between different second virtual objects can be controlled to be randomly exchanged. For example, when exchanging, any prop accessories in the virtual props of different second virtual objects (the main props are not exchanged at this time) can be exchanged, or the main props in the virtual props (the prop accessories are not exchanged at this time) can be exchanged. For example, before the second virtual object 1 enters the chaos sensing area, its equipped virtual props The sight in the virtual prop is sight 1. When the second virtual object 1 enters the chaos sensing area, the sight 1 in the virtual prop configured by the second virtual object is controlled to be exchanged with the sight 3 configured by the second virtual object 2 which is also in the chaos sensing area, that is, the second virtual object 1 is controlled to be transformed from the sight 1 in the virtual prop to be equipped with sight 3, and the second virtual object 2 is controlled to be transformed from the sight 3 in the virtual prop to be equipped with sight 1; in this way, since the prop accessories after the exchange are not compatible with the original main props, or the main props after the exchange are not compatible with the original prop accessories, the interactive ability of the virtual props of the exchanged second virtual object is greatly weakened.
[0121] In some embodiments, the terminal device may also perform the following processing for each second virtual object to screen the prop accessories to be exchanged: when the virtual prop includes multiple prop accessories and the prop accessories are randomly exchanged, the interaction data of each prop accessory is obtained; wherein the interaction data includes at least one of the following: frequency of use, interaction score, interaction level; based on the interaction data, a target prop accessory is selected from the multiple prop accessories as the prop accessory to be transformed for the second virtual object.
[0122] Here, when the virtual prop includes multiple prop accessories and the prop accessories are randomly exchanged, the interaction data of the second virtual object for each prop accessory can also be sorted in descending order; the prop accessory corresponding to the front interaction data in the descending sorting result is determined as the target prop accessory to be changed of the second virtual object; in this way, replacing the most powerful prop accessory of the second virtual object can greatly reduce the interaction ability of the second virtual object.
[0123] In some embodiments, the terminal device may control the transformation of the interaction configuration of the second virtual object in the following manner: when the number of second virtual objects is at least two and the second virtual objects are equipped with virtual props or virtual skills, according to the usage preferences of each second virtual object, control at least two second virtual objects to exchange the equipped virtual props or virtual skills, so that the compatibility between the usage preferences of each second virtual object and the exchanged virtual props or virtual skills is lower than the compatibility threshold.
[0124] For example, taking the exchange of virtual props as an example, assuming that the virtual props equipped by each second virtual object include virtual props 1, virtual props 2 and virtual props 3, through the neural network model, according to the role of the second virtual object in the virtual scene, or the virtual props used by the second virtual object in history, the usage preference of the second virtual object, that is, the preference and proficiency of the second virtual object for each virtual prop, is predicted. Based on the usage preference of the second virtual object, the matching degree between virtual props 1 and the usage preference, the matching degree between virtual props 2 and the usage preference, and the matching degree between virtual props 3 and the usage preference are determined respectively, and the virtual props with the highest matching degree are selected for interactive configuration transformation, such as exchanging the virtual prop 1 that the second virtual object 1 is best at using for the virtual prop that the second virtual object is least good at using. The second virtual object 2 of the virtual prop 1 exchanges the virtual prop 2 that the second virtual object 2 is best at using for the second virtual object 3 that is least good at using the virtual prop 2, and exchanges the virtual prop 3 that the second virtual object 3 is best at using for the second virtual object 1 that is least good at using the virtual prop 3; in this way, according to the usage preferences of different players, the virtual props or virtual skills between each other are exchanged, so that after the exchange, neither of them is accustomed to or cannot use the new virtual props or new virtual skills. In this case, controlling the first virtual object to interact with the second virtual object in the chaos sensing area can reduce the number of times the first virtual object and the second virtual object are controlled to perform interactive operations to achieve a certain interaction purpose, thereby improving the efficiency of human-computer interaction and the user's usage experience.
[0125] In some embodiments, the terminal device presents a virtual support prop corresponding to the target skill within the chaos sensing area; when receiving an area disappearance instruction triggered by the virtual support prop, the chaos sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is restored.
[0126] Among them, there is a virtual support prop in the chaos sensing area as a support for the target skill (virtual support prop). When the virtual support prop is destroyed, the chaos sensing area disappears, that is, the virtual support prop is used to control the display duration of the chaos sensing area. The chaos sensing area and the virtual support prop exist or disappear at the same time. When the chaos sensing area disappears, the interaction configuration of the second virtual object originally in the chaos sensing area will be restored to the interaction configuration before the transformation.
[0127] In some embodiments, the terminal device may also present the remaining effective time of the target skill; when the remaining effective time is lower than the time threshold or returns to zero, the chaotic sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is restored.
[0128] In actual applications, there is a certain effective time after the target skill is released, that is, the chaos induction area generated by the release of the target skill has a corresponding effective time (such as the effective time is 5 seconds). When the effective remaining time returns to zero or is lower than the time threshold (0.5 seconds), the target skill will become invalid, that is, the corresponding chaos induction area disappears. When the chaos induction area disappears, the interaction configuration of the second virtual object originally in the chaos induction area will be restored to the interaction configuration before the transformation.
[0129] In some embodiments, the terminal device may further perform virtual object detection on the chaos sensing area, and when it is detected that the second virtual object leaves the chaos sensing area, control is performed to restore the interaction configuration of the second virtual object.
[0130] Here, when the second virtual object leaves the chaos sensing area, the interaction configuration of the second virtual object can also be controlled to be restored to the interaction configuration before entering the chaos sensing area.
[0131] The following will describe an exemplary application of the embodiment of the present application in an actual application scenario. Taking the virtual scene as a game as an example, the embodiment of the present application provides a chaos skill (i.e., the target skill mentioned above) that can release a chaos sensing area and enable the virtual objects in the chaos sensing area to perform interactive configuration transformation. The chaos skill requires the player to first equip the corresponding virtual props and enter the game to use it. Figure 5 , Figure 5 A flow chart of a method for controlling a virtual skill provided in an embodiment of the present application, the method comprising:
[0132] Step 201: The terminal device controls the first virtual object to equip the virtual props corresponding to the chaos skill.
[0133] Here, when the user controls the first virtual object to equip the virtual props corresponding to the chaos skill through the terminal device, the skill control corresponding to the chaos skill is presented in the game interface.
[0134] Step 202: Determine whether the skill control is in an activated state.
[0135] Here, the skill control in an inactivated state is not usable. When it is determined that the skill control is in an inactivated state, step 201 is executed; when it is determined that the skill control is in an activated state, step 203 is executed.
[0136] Step 203: Highlight the skill controls that are in an activated state.
[0137] Step 204: Determine whether a trigger operation for the skill control is received.
[0138] Here, when a trigger operation for a skill control is received, step 205 is executed; otherwise, step 203 is executed.
[0139] Step 205: In response to the triggering operation on the skill control, a chaos sensing area corresponding to the chaos skill is presented.
[0140] Here, the chaos sensing area can be an area with the position of the first virtual object or the skill release position of the chaos skill as the center and the target distance as the radius, such as Figure 6 As shown, Figure 6 A schematic diagram showing a chaotic sensing area provided in an embodiment of the present application. Figure 6 In the chaos sensing area, a supporting object corresponding to the chaos skill (i.e. the virtual supporting prop mentioned above) is presented at the center of the chaos sensing area. When an area disappearance command based on the supporting object is received, the chaos sensing area corresponding to the chaos skill is cancelled, that is, as the supporting object is destroyed and disappears, the corresponding chaos sensing area will also disappear synchronously.
[0141] Step 206: Determine whether the second virtual object enters the chaos sensing area.
[0142] Here, the terminal device can perform virtual object detection on the chaotic sensing area in real time to determine whether there is a second virtual object in the chaotic sensing area. Figure 7 , Figure 7 A detection schematic diagram of a virtual object provided in an embodiment of the present application, wherein a distance D between a second virtual object and a supporting object in a chaotic sensing area is calculated; when the distance D between the two is greater than a radius R of the chaotic sensing area, it is determined that the second virtual object has not entered the chaotic sensing area, and step 205 is executed; when the distance D between the two is less than or equal to the radius of the chaotic sensing area, it is determined that the second virtual object has entered the chaotic sensing area, and step 207 is executed.
[0143] Step 207: When the number of the second virtual objects is at least two, control to randomly exchange the interaction configurations of any two second virtual objects.
[0144] Here, in actual application, the virtual props of the second virtual object include main props and prop accessories. The main props (such as main and secondary weapons) and prop accessories in the virtual props of different players may be different, and each virtual prop may include multiple types of prop accessories. The main props or prop accessories between different second virtual objects can be randomly exchanged. Figure 8 , Figure 8 This is a schematic diagram of the display of prop accessories provided in the embodiment of the present application. The main props (such as the main and secondary weapons) can be equipped with prop accessories (or prop pendants). After the main props are equipped with prop accessories, many attribute functions can be added, and their interactive capabilities are greatly improved. Figure 8In the embodiment, the prop accessories that can be equipped with the virtual prop 801 include a muzzle, a barrel, a scope, a buttstock, etc. When exchanging, any prop accessories in the virtual props of different second virtual objects (the main props are not changed at this time) can be exchanged, or the main props in the virtual props (the prop accessories are not changed at this time) can be exchanged. Since the prop accessories after the exchange are not compatible with the original main props, or the main props after the exchange are not compatible with the original prop accessories, the interactive ability of the virtual props of the exchanged second virtual objects is greatly weakened.
[0145] In actual implementation, the linear congruential method can be used to randomly select a main prop or prop accessory for exchange. The linear congruential method is based on "software algorithm + random number seed" and uses the following formula to generate a random sequence:
[0146]
[0147] Among them, a n It represents the nth random number, d is the seed, b, c, and m are all positive integer constants. Since m is modulo, the random number has periodicity. The size of m determines the length of the period, and the larger the better. In practical applications, different seeds correspond to different random numbers. The current timestamp can be used as the seed, and srand((unsigned)time()) can be used to generate a random sequence.
[0148] Based on the above random principle, when there are multiple second virtual objects in the chaotic sensing area, or the main props of the virtual props of each second virtual object correspond to multiple prop accessories, virtual props can be randomly selected from them for exchange, or target prop accessories can be selected from multiple prop accessories for exchange, so as to control the random exchange of main props or prop accessories between different second virtual objects; for example, when there are second virtual objects A and second virtual objects B, and it is determined to randomly exchange prop accessories, the prop accessories 1 of the second virtual object A and the second virtual object B are exchanged, while the main props of the second virtual object A and the second virtual object B are not exchanged; for example, when there are second virtual objects A, second virtual objects B, and second virtual objects C, and the main props are random, the main props of the second virtual object A are exchanged for the second virtual object B, the main props of the second virtual object B are exchanged for the second virtual object C, and the main props of the second virtual object C are exchanged for the second virtual object A, while the prop accessories of the second virtual object A, the second virtual object B and the third virtual object C are not exchanged.
[0149] See also Fig. 9 , Fig. 9An exchange schematic diagram of the interactive configuration provided in an embodiment of the present application, when controlling the second virtual object A and the second virtual object B to exchange the main props (the prop accessories carried will not be exchanged at the same time), since the exchanged main props are not compatible with the original prop accessories, after the two players exchange each other's main props, the interactive ability of the virtual props they hold is weakened.
[0150] In actual applications, in addition to exchanging main props or prop accessories between different second virtual objects, virtual props or virtual skills between different second virtual objects can also be exchanged. Since different virtual props or virtual skills have different cooling times, and the cooling time is calculated separately by the terminal device corresponding to each second virtual object, after exchanging virtual props or virtual skills, if the cooling time of the exchanged virtual props or virtual skills is longer, the exchanged virtual props or virtual skills cannot be used before the cooling time returns to zero, which reduces the interaction ability of the second virtual objects in the target time period after the interaction configuration is changed.
[0151] See also Figure 10-11 , Figure 10-11 The schematic diagram of the exchange of interactive configurations provided in the embodiment of the present application is as follows: Fig.10 In the example, before the second virtual object 1 enters the chaos sensing area, the cooling time of the virtual props of the second virtual object 1 is 10 seconds. After entering the chaos sensing area, after exchanging the virtual props with the second virtual object 2 in the chaos sensing area (the cooling time is 30 seconds), the second virtual object 1 can use the virtual props only after waiting for 30 seconds. Fig.11 In the example, before the second virtual object 1 enters the chaos sensing area, the virtual props 1, virtual props 2 and virtual props 3 of the second virtual object 1 are all in an activated state. After entering the chaos sensing area, the virtual props 1 of the second virtual object 1 is exchanged for the virtual props 4 of the second virtual object 2. Since the virtual props 4 are in an unactivated state, the second virtual object cannot use the virtual props 4, thereby reducing the interaction ability of the second virtual object.
[0152] Step 208: Determine whether the second virtual object leaves the chaos sensing area.
[0153] Here, when the second virtual object leaves the chaos sensing area or the chaos sensing area disappears, step 209 is executed; otherwise, step 207 is executed.
[0154] Step 209: Control the second virtual object to restore the interactive configuration.
[0155] Here, when the second virtual object leaves the chaos sensing area or the chaos sensing area disappears, the interaction configuration of the second virtual object is controlled to be restored to the interaction configuration before entering the chaos sensing area.
[0156] Through the above method, by using the chaos sensing area released by the chaos skill, the interaction configuration of the second virtual object in the chaos sensing area is controlled to change, thereby enriching the diversity of gameplay; and because the change of the interaction configuration of the second virtual object has the characteristics of randomness, uncertainty or unpredictability, when the second virtual object is not accustomed to or cannot use the changed interaction configuration, the interaction ability of the second virtual object will be greatly weakened. In this case, controlling the first virtual object to interact with the second virtual object can reduce the number of times the first virtual object and the second virtual object are controlled to perform interaction operations to achieve a certain interaction purpose, thereby improving the efficiency of human-computer interaction and improving the user experience.
[0157] The following is a description of an exemplary structure of a virtual skill control device 465 provided in an embodiment of the present application as a software module. In some embodiments, the virtual skill control device 465 is stored in Figure 2 The software modules in the virtual skill control device 465 of the memory 460 may include:
[0158] The first presentation module 4651 is used to present a first virtual object with a target skill in the interface of the virtual scene; the second presentation module 4652 is used to present a chaos sensing area corresponding to the target skill in response to a release instruction for the target skill; wherein the chaos sensing area is used to transform the interaction configuration of the virtual object in the chaos sensing area; the transformation control module 4653 is used to control the transformation of the interaction configuration of the second virtual object when there is at least one second virtual object in the chaos sensing area, so as to control the first virtual object to interact with the second virtual object after the transformation of the interaction configuration.
[0159] In some embodiments, before presenting the chaos sensing area corresponding to the target skill, the device also includes: an instruction receiving module, used to present a skill control corresponding to the target skill; when the skill control is in an activated state, in response to a trigger operation on the skill control, a release instruction for the target skill is received.
[0160] In some embodiments, the instruction receiving module is also used to present a prop icon corresponding to the target skill; in response to a trigger operation on the prop icon, control the first virtual object to assemble the virtual prop corresponding to the target skill; when the first virtual object successfully assembles the virtual prop, present a skill control corresponding to the target skill.
[0161] In some embodiments, the device also includes: a third presentation module, used to present status indication information indicating the activation progress of the skill control; the instruction receiving module is also used to present the skill control in a target display style when the status indication information indicates that the skill control is in an activated state.
[0162] In some embodiments, the second presentation module is further used to determine a target area centered on a target position as a chaos induction area corresponding to the target skill, and present the chaos induction area; wherein the target position is one of the following positions: the position of the first virtual object, the skill release position of the target skill.
[0163] In some embodiments, the second presentation module is also used to display an area bounding box in the interface of the virtual scene using a target display style when the target position is the position of the first virtual object, and the area in the area bounding box is the chaos sensing area corresponding to the target skill; the device also includes: a movement control module, which is used to respond to a movement instruction for the first virtual object, control the first virtual object to move in the virtual scene, and control the area bounding box to move synchronously with the movement of the first virtual object.
[0164] In some embodiments, before presenting the chaos sensing area corresponding to the target skill, the device also includes: a position determination module, which is used to present a position identifier for selecting the skill release position when the target position is the skill release position corresponding to the target skill; in response to a movement instruction for the position identifier, control the position identifier to move in the virtual scene; in response to a position determination instruction for the position identifier, determine the position of the position identifier in the virtual scene as the skill release position.
[0165] In some embodiments, the device also includes: a recovery control module, which is used to present a virtual support prop corresponding to the target skill in the chaos sensing area, and the virtual support prop is used to control the display duration of the chaos sensing area; when an area disappearance instruction triggered by the virtual support prop is received, the presentation of the chaos sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is restored.
[0166] In some embodiments, the recovery control module is also used to present the remaining effective time of the target skill; when the remaining effective time is lower than a time threshold or returns to zero, the presentation of the chaos sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is restored.
[0167] In some embodiments, the transformation control module is further used to determine an interaction relationship between the second virtual object and the first virtual object, wherein the interaction relationship is used to indicate whether the second virtual object and the first virtual object belong to the same camp; when the interaction relationship indicates that the second virtual object and the first virtual object belong to different camps, the transformation of the interaction configuration of the second virtual object is controlled.
[0168] In some embodiments, before presenting the chaos sensing area corresponding to the target skill, the device also includes: a fourth presentation module, used to present the second virtual object equipped with virtual props in the interface of the virtual scene, and the virtual props are the first prop configuration; the transformation control module is also used to control the virtual props of the second virtual object to change from the first prop configuration to the second prop configuration when the number of the second virtual objects is one, so as to transform the interaction configuration of the second virtual object.
[0169] In some embodiments, the transformation control module is also used to control the random exchange of the main props or the prop accessories between any two second virtual objects among the at least two second virtual objects when the number of the second virtual objects is at least two and the virtual props equipped by the second virtual objects include main props and prop accessories.
[0170] In some embodiments, the device also includes: an accessory screening module, which is used to perform the following processing for each of the second virtual objects: when the virtual prop includes multiple prop accessories and the prop accessories are randomly exchanged, the interaction data of each of the prop accessories is obtained; wherein the interaction data includes at least one of the following: usage frequency, interaction score, interaction level; based on the interaction data, a target prop accessory is selected from multiple prop accessories as the prop accessory to be transformed for the second virtual object.
[0171] In some embodiments, the transformation control module is also used to control the at least two second virtual objects to exchange the equipped virtual props or virtual skills according to the usage preference of each second virtual object when the number of the second virtual objects is at least two and the second virtual objects are equipped with virtual props or virtual skills, so that the compatibility between the usage preference of each second virtual object and the exchanged virtual props or virtual skills is lower than the compatibility threshold.
[0172] In some embodiments, the device also includes: a module setting module, used to present an interaction configuration mode setting icon of the virtual scene; in response to an on operation on the interaction configuration mode setting icon, setting the interaction configuration mode of the virtual scene to an anti-interference interaction configuration mode; when the first virtual object is in a chaos induction area corresponding to a target skill of the second virtual object, controlling the interaction configuration of the first virtual object to remain unchanged.
[0173] In some embodiments, the restoration control module is further used to perform virtual object detection on the chaos sensing area; when it is detected that the second virtual object leaves the chaos sensing area, control the restoration of the interaction configuration of the second virtual object.
[0174] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the control method of the virtual skill described in the embodiment of the present application.
[0175] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the control method of the virtual skill provided by the present application embodiment, 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 storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0177] In some embodiments, executable instructions may be in 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 stand-alone 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 need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0179] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0180] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for controlling a virtual skill, characterized in that: The method comprises: In an interface of a virtual scene, presenting a first virtual object having a target skill; In response to a release instruction for the target skill, presenting a chaos sensing area corresponding to the target skill; Wherein, the chaos sensing area is used to change the interaction configuration of the virtual object in the chaos sensing area; When there is at least one second virtual object in the chaos sensing area, the interaction configuration of the second virtual object is controlled to be transformed so as to control the first virtual object to interact with the second virtual object after the interaction configuration is transformed.
2. The method according to claim 1, characterized in that Before presenting the chaos sensing area corresponding to the target skill, the method further includes: Presenting a skill control corresponding to the target skill; When the skill control is in an activated state, in response to a trigger operation on the skill control, a release instruction for the target skill is received.
3. The method according to claim 2, characterized in that The presenting a skill control corresponding to the target skill includes: Presenting an item icon corresponding to the target skill; In response to a trigger operation on the prop icon, controlling the first virtual object to equip the virtual prop corresponding to the target skill; When the first virtual object successfully equips the virtual prop, a skill control corresponding to the target skill is presented.
4. The method according to claim 2, characterized in that The method further comprises: Presenting status indication information for indicating the activation progress of the skill control; The presenting a skill control corresponding to the target skill includes: When the status indication information indicates that the skill control is in an activated state, the skill control is presented in a target display style.
5. The method according to claim 1, characterized in that The chaos sensing area corresponding to the target skill is presented, including: Determining a target area centered on a target position as a chaos sensing area corresponding to the target skill, and presenting the chaos sensing area; The target position is one of the following positions: the position of the first virtual object, and the skill release position of the target skill.
6. The method according to claim 5, characterized in that The presenting of the chaotic sensing area comprises: When the target position is the position of the first virtual object, a region enclosing frame is displayed in the interface of the virtual scene in a target display style, and the region in the region enclosing frame is the chaos sensing region corresponding to the target skill; The method further comprises: In response to a movement instruction for the first virtual object, the first virtual object is controlled to move in the virtual scene, and along with the movement of the first virtual object, the area bounding box is controlled to move synchronously.
7. The method according to claim 5, characterized in that Before presenting the chaos sensing area corresponding to the target skill, the method further includes: When the target position is a skill release position corresponding to the target skill, presenting a position identifier for selecting the skill release position; In response to a movement instruction for the location marker, controlling the location marker to move in the virtual scene; In response to a position determination instruction for the position marker, the position of the position marker in the virtual scene is determined as the skill release position.
8. The method according to claim 1, characterized in that The controlling and transforming the interaction configuration of the second virtual object includes: determining an interaction relationship between the second virtual object and the first virtual object, wherein the interaction relationship is used to indicate whether the second virtual object and the first virtual object belong to the same camp; When the interaction relationship indicates that the second virtual object and the first virtual object belong to different camps, the interaction configuration of the second virtual object is controlled to be changed.
9. The method according to claim 1, characterized in that Before presenting the chaos sensing area corresponding to the target skill, the method further includes: In the interface of the virtual scene, presenting the second virtual object equipped with a virtual prop, wherein the virtual prop is configured as the first prop; The controlling and transforming the interaction configuration of the second virtual object includes: When the number of the second virtual object is one, the virtual prop that controls the second virtual object is changed from the first prop configuration to the second prop configuration to transform the interaction configuration of the second virtual object.
10. The method according to claim 1, characterized in that The controlling and transforming the interaction configuration of the second virtual object includes: When the number of the second virtual objects is at least two, and the virtual props equipped by the second virtual objects include main props and prop accessories, any two of the at least two second virtual objects are controlled to randomly exchange the main props or the prop accessories.
11. The method according to claim 10, characterized in that The method further comprises: The following processing is performed for each of the second virtual objects: When the virtual prop includes a plurality of prop accessories and the prop accessories are randomly exchanged, acquiring interaction data of each of the prop accessories; The interaction data includes at least one of the following: usage frequency, interaction score, and interaction level; A target prop accessory is selected from a plurality of prop accessories according to the interaction data as the prop accessory to be transformed for the second virtual object.
12. The method according to claim 1, characterized in that The controlling and transforming the interaction configuration of the second virtual object includes: When the number of the second virtual objects is at least two and the second virtual objects are equipped with virtual props or virtual skills, the at least two second virtual objects are controlled to exchange the equipped virtual props or virtual skills according to the usage preference of each second virtual object, so that the compatibility between the usage preference of each second virtual object and the exchanged virtual props or virtual skills is lower than the compatibility threshold.
13. The method according to claim 1, characterized in that The method further comprises: In the chaos sensing area, presenting a virtual support item corresponding to the target skill; When an area disappearance instruction triggered by the virtual support prop is received, the presentation of the chaos sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is controlled to be restored.
14. The method according to claim 1, wherein: The method further comprises: The remaining effective time of the target skill is presented; When the remaining effective time is lower than the time threshold or returns to zero, the presentation of the chaos sensing area corresponding to the target skill is canceled, and the interaction configuration of the second virtual object is controlled to be restored.
15. The method according to claim 1, wherein: The method further comprises: Presenting an interactive configuration mode setting icon of the virtual scene; In response to an opening operation on the interaction configuration mode setting icon, setting the interaction configuration mode of the virtual scene to an anti-interference interaction configuration mode; When the first virtual object is in the chaos sensing area, the interaction configuration for controlling the first virtual object remains unchanged.
16. The method according to claim 1, wherein: The method further comprises: Performing virtual object detection on the chaotic sensing area; When it is detected that the second virtual object leaves the chaos sensing area, control is performed to restore the interaction configuration of the second virtual object.
17. A virtual skill control device, characterized in that: The device comprises: A first presentation module, used to present a first virtual object having a target skill in an interface of a virtual scene; A second presentation module, for presenting a chaos sensing area corresponding to the target skill in response to a release instruction for the target skill; Wherein, the chaos sensing area is used to change the interaction configuration of the virtual object in the chaos sensing area; The transformation control module is used for controlling the transformation of the interaction configuration of at least one second virtual object when there is at least one second virtual object in the chaos sensing area, so as to control the first virtual object to interact with the second virtual object after the transformation of the interaction configuration.
18. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the method for controlling a virtual skill according to any one of claims 1 to 16 when executing executable instructions stored in the memory.
19. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to implement the control method of the virtual skill described in any one of claims 1 to 16 when executed by a processor.
20. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the control method of the virtual skill described in any one of claims 1 to 16 is implemented.
Citation Information
Patent Citations
Interactive prop control method and device, terminal and storage medium
CN110960849A
Object positioning method and device, storage medium and electronic equipment
CN111888764A
Method and device for acquiring virtual item, equipment and medium
CN112891942A
Game system and program
JP2020099731A
