Virtual item processing method and device, equipment, storage medium and program product

By displaying the scene map in the virtual scene and receiving location selection operations, virtual props capable of connecting multiple location points are deployed, which solves the problem of low efficiency of virtual prop deployment in the existing technology and improves human-computer interaction efficiency and hardware resource utilization. .

CN119327109APending Publication Date: 2025-01-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310901302.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-20
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

When deploying virtual props in virtual scenarios, the prior art leads to inefficient human-computer interaction and waste of hardware processing resources, and requires frequent deployment of multiple virtual props to expand the scope of action.

Method used

By displaying the scene map of the virtual scene, receiving the location selection operation, and deploying target virtual props that can connect multiple location points based on the selected location points, the scope of the props is increased.

Benefits of technology

It reduces the number of human-computer interaction operations required to achieve the target scope, and improves the efficiency of human-computer interaction and the utilization of hardware processing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119327109A_ABST
    Figure CN119327109A_ABST
Patent Text Reader

Abstract

The invention provides a virtual item processing method and device, equipment, a storage medium and a program product. The method comprises the following steps: displaying a virtual scene, wherein the virtual scene comprises a first virtual object and a second virtual object opposite to the first virtual object; in response to a deployment instruction for a target virtual item of the first virtual object, displaying a scene map of the virtual scene; based on the scene map, receiving position selection operation for at least two scene position points in the virtual scene; in response to the position selection operation, a target virtual item which is deployed based on the at least two scene position points and can be connected with the at least two scene position points is displayed, and the target virtual item is used for assisting the first virtual object to interact with the second virtual object; according to the method and the device, the man-machine interaction efficiency and the utilization rate of hardware processing resources in the virtual prop deployment process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of virtualization and human-computer interaction, and in particular to a method, device, equipment, storage medium and program product for processing virtual props. Background Art

[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially multimedia technology for virtual scenes. With the help of human-computer interaction engine technology, it can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs. It has various typical application scenarios. For example, in game scenarios, it can simulate the real interaction process between virtual objects.

[0003] In the related art, when deploying virtual props in a virtual scene, a location point in the virtual scene is usually selected, and then a virtual prop is deployed at the location point. However, the range of action of a virtual prop deployed at a location point is limited, and if the range of action is to be increased, more virtual props need to be deployed, which will increase the number of human-computer interaction operations for deploying virtual props, making human-computer interaction inefficient and wasting hardware processing resources. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for processing virtual props, which can improve the human-computer interaction efficiency and the utilization rate of hardware processing resources in the process of deploying virtual props.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a method for processing a virtual item, including:

[0007] Displaying a virtual scene, the virtual scene including a first virtual object and a second virtual object opposing the first virtual object;

[0008] In response to a deployment instruction for a target virtual prop of the first virtual object, displaying a scene map of the virtual scene;

[0009] Based on the scene map, receiving a position selection operation for at least two scene location points in the virtual scene;

[0010] In response to the position selection operation, a target virtual prop deployed based on the at least two scene position points and capable of connecting the at least two scene position points is displayed, and the target virtual prop is used to assist the first virtual object to interact with the second virtual object.

[0011] The present application also provides a virtual item processing device, including:

[0012] A first display module, configured to display a virtual scene, wherein the virtual scene includes a first virtual object and a second virtual object opposing the first virtual object;

[0013] a second display module, configured to display a scene map of the virtual scene in response to a deployment instruction of a target virtual prop of the first virtual object;

[0014] A receiving module, configured to receive, based on the scene map, a position selection operation for at least two scene location points in the virtual scene;

[0015] A third display module is used to display a target virtual prop deployed based on the at least two scene location points and capable of connecting the at least two scene location points in response to the location selection operation, wherein the target virtual prop is used to assist the first virtual object to interact with the second virtual object.

[0016] The present application also provides an electronic device, including:

[0017] A memory for storing computer executable instructions;

[0018] The processor is used to implement the virtual prop processing method provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.

[0019] The embodiment of the present application also provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the method for processing virtual props provided in the embodiment of the present application is implemented.

[0020] The embodiment of the present application also provides a computer program product, including computer executable instructions or a computer program, which, when executed by a processor, implements the method for processing virtual props provided in the embodiment of the present application.

[0021] The embodiments of the present application have the following beneficial effects:

[0022] By applying the above-mentioned embodiment of the present application, in a virtual scene, when a deployment instruction for a target virtual prop for a first virtual object is received, a scene map of the virtual scene is displayed, and then based on the scene map, a position selection operation for at least two scene location points in the virtual scene is received, so that in response to the position selection operation, a target virtual prop that can connect at least two scene location points is deployed based on at least two scene location points and is displayed. Here, a target virtual prop deployed at one time can connect at least two scene location points in the virtual scene, which can increase the scope of action of the target virtual prop, thereby reducing the number of human-computer interaction operations to achieve a goal (such as deploying a virtual prop with a larger scope of action), thereby improving the efficiency of human-computer interaction and the utilization rate of hardware processing resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1A It is a schematic diagram of an application mode of a method for processing virtual props provided in an embodiment of the present application;

[0024] Figure 1B It is a schematic diagram of an application mode of a method for processing virtual props provided in an embodiment of the present application;

[0025] Figure 2 is a structural diagram of an electronic device 500 for implementing a method for processing virtual props provided in an embodiment of the present application;

[0026] Figure 3 It is a flowchart of a method for processing virtual props provided in an embodiment of the present application;

[0027] Figure 4 It is a display schematic diagram of the prop deployment control provided in an embodiment of the present application;

[0028] Figure 5 is a schematic diagram of displaying a scene map of a virtual scene provided in an embodiment of the present application;

[0029] Figure 6 is a schematic diagram of an auxiliary function line provided in an embodiment of the present application;

[0030] Figure 7 is a schematic diagram of selecting a scene position provided in an embodiment of the present application;

[0031] Figure 8 It is a schematic diagram showing the display of the prop connection indication information provided in an embodiment of the present application;

[0032] Fig. 9 is a schematic diagram of the deployment of target virtual props provided in an embodiment of the present application;

[0033] Fig.10 is a display schematic diagram of a target virtual prop provided in an embodiment of the present application;

[0034] Fig.11 is a display schematic diagram of a target virtual prop provided in an embodiment of the present application;

[0035] Fig.12 is a display schematic diagram of a target virtual prop provided in an embodiment of the present application;

[0036] Fig.13 is a display schematic diagram of a virtual object passing through a target virtual prop provided by an embodiment of the present application;

[0037] Fig.14 It is a display schematic diagram of deploying virtual electric wall props provided in an embodiment of the present application;

[0038] Fig.15 It is a flowchart of a method for processing virtual props provided in an embodiment of the present application;

[0039] Fig.16 It is a flowchart of a method for processing virtual props provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] 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.

[0041] 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.

[0042] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0043] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0044] 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.

[0045] 1) Client: an application running in the terminal to provide various services, such as a client that supports virtual scenes (such as a game client).

[0046] 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.

[0047] 3) Virtual scene is a virtual scene displayed (or provided) when the application is running on the terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional 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.

[0048] For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. The user may control the virtual object to perform activities in the virtual scene, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. The virtual scene may be displayed from a first-person perspective (for example, the user plays the role of a virtual object in the game from his own perspective); it may also be displayed from a third-person perspective (for example, the user chases the virtual object in the game to play the game); it may also be displayed from a bird's-eye view perspective, and the above perspectives may be switched arbitrarily.

[0049] 4) Scene data, which represents the characteristic data of the virtual scene, for example, the position of the virtual object in the virtual scene, the position of the virtual building in the virtual scene, and the area occupied by the virtual building, etc. Of course, different types of characteristic data may be included according to the type of virtual scene; for example, in the virtual scene of the game, the scene data may include the waiting time required for various functions configured in the game (depending on the number of times the same function can be used within a specific time), and may also represent the attribute values ​​of various states of the game character, for example, health value (also called red volume), magic value (also called blue volume), status value, blood volume, etc.

[0050] 5) 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 people, animals, plants, oil drums, walls, stones, etc. 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.

[0051] For example, the virtual object may be a user character controlled by an operation on the client, an artificial intelligence (AI) trained to fight in a virtual scene, or a non-player character (NPC) set in an interactive virtual scene. The number of virtual objects participating in the interaction in the virtual scene may be preset or dynamically determined according to the number of clients participating in the interaction.

[0052] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for processing virtual props, which can improve the human-computer interaction efficiency and the utilization rate of hardware processing resources in the process of deploying virtual props.

[0053] It should be noted that the collection and processing of relevant data in this application should be strictly in accordance with the requirements of relevant laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained, and subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.

[0054] To facilitate easier understanding of the virtual props processing method provided in the embodiments of the present application, an exemplary implementation scenario of the virtual props processing method provided in the embodiments of the present application is described below. The virtual scene in the virtual props processing method provided in the embodiments of the present application can be completely based on the terminal device output, or based on the collaborative output of the terminal device and the server.

[0055] In some embodiments, the virtual scene can 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 virtual objects, both parties can interact in the virtual scene, allowing users to experience the virtual scene in the game.

[0056] In one implementation scenario, see Figure 1A , Figure 1AIt is a schematic diagram of the application mode of the processing method of virtual props provided in the embodiment of the present application, which is applicable to some application modes that completely rely on the computing power of the terminal 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 the terminal 400 such as a smart phone, a tablet computer and a virtual reality / augmented reality device. When forming the visual perception of the virtual scene 100, the terminal 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing and rendering of the display data, and the graphics output hardware outputs the video frame that can form the visual perception of the virtual scene, for example, presenting a two-dimensional video frame on the display screen of a smart phone, or projecting a video frame on the lenses of augmented reality / virtual reality glasses to achieve a three-dimensional display effect; in addition, in order to enrich the perception effect, the device can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.

[0057] As an example, terminal 400 runs a client (e.g., a stand-alone game client), and during the operation of the client, a virtual scene is output based on scene data of the virtual scene, where the virtual scene is 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, and a second virtual object that is opposed to the first virtual object; terminal 400 displays a scene map of the virtual scene in response to a deployment instruction for a target virtual prop for the first virtual object; based on the scene map, a position selection operation for at least two scene location points in the virtual scene is received; in response to the position selection operation, a target virtual prop deployed based on the at least two scene location points and capable of connecting the at least two scene location points is displayed, where the target virtual prop is used to assist the first virtual object in interacting with the second virtual object.

[0058] In another implementation scenario, see Figure 1B , Figure 1B1 is a schematic diagram of an application mode of a method for processing virtual props provided in an embodiment of the present application, which is applied to a terminal 400 and a server 200. Generally, it is applicable to an application mode that relies on the computing power of the server 200 to complete the calculation of a virtual scene and outputs the virtual scene at the terminal 400. Taking the visual perception of a virtual scene 100 as an example, the server 200 calculates the display data related to the virtual scene and sends it to the terminal 400. The terminal 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 a visual perception, for example, a two-dimensional video frame can be presented on the display screen of a smartphone, 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 can be used, for example, using a microphone output to form an auditory perception, using a vibrator output to form a tactile perception, and so on.

[0059] As an example, terminal 400 runs a client (e.g., a network version of a game client), obtains scene data of a virtual scene by connecting to a game server (i.e., server 200), and outputs a virtual scene based on the obtained scene data so as to interact with other users in the virtual scene; the virtual scene includes a first virtual object, and a second virtual object that is opposed to the first virtual object; terminal 400 displays a scene map of the virtual scene in response to a deployment instruction for a target virtual prop for the first virtual object; based on the scene map, receives a position selection operation for at least two scene location points in the virtual scene; in response to the position selection operation, displays a target virtual prop deployed based on at least two scene location points and capable of connecting at least two scene location points, the target virtual prop being used to assist the first virtual object in interacting with the second virtual object.

[0060] In some embodiments, the server (e.g., server 200) may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal (e.g., terminal 400-1) may be a laptop, a tablet computer, a desktop computer, a smart phone, an intelligent voice interaction device (e.g., an intelligent speaker), a smart home appliance (e.g., a smart TV), a smart watch, a vehicle-mounted terminal, a wearable device, a virtual reality (VR) device, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0061] In some embodiments, the processing method of virtual props provided in the embodiments of the present application can be implemented with the aid of cloud technology (Cloud Technology). Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network in a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data. 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 application, which can form a resource pool, which is 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 resources and storage resources. As an example, a server (such as server 200) can also be 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, content distribution networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0062] In some embodiments, multiple servers may form a blockchain, and the servers are nodes on the blockchain. Information connections may exist between each node in the blockchain, and information may be transmitted between nodes through information connections. Among them, data related to the processing method of virtual props provided in the embodiment of the present application (such as scene data of virtual scenes) may be stored on the blockchain.

[0063] In some embodiments, the terminal or server can implement the processing method of the virtual props provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be commands, machine instructions or software instructions at the microprogram level. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (Application, APP), that is, a program that needs to be installed in the operating system to run, such as a game APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0064] The following describes an electronic device for implementing a method for processing virtual props provided by an embodiment of the present application. Figure 2 , Figure 2It is a structural diagram of an electronic device 500 for implementing a method for processing virtual props provided in an embodiment of the present application. The electronic device 500 provided in an embodiment of the present application may be a terminal or a server. The electronic device 500 provided in an embodiment of the present application includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together through a bus system 540. It can be understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 2 Various buses are labeled as bus system 540 .

[0065] The processor 510 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.

[0066] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0067] The memory 550 may be removable, non-removable, or a combination thereof. The memory 550 may include one or more storage devices physically located away from the processor 510. The memory 550 includes a volatile memory or a non-volatile memory, and may also include both a volatile memory and a non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.

[0068] In some embodiments, the memory 550 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.

[0069] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0070] A network communication module 552, used to reach other electronic devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;

[0071] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);

[0072] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.

[0073] In some embodiments, the virtual props processing device provided in the embodiments of the present application can be implemented in a software manner. Figure 2 A processing device 555 for virtual props stored in a memory 550 is shown, which may be software in the form of a program or plug-in, and includes the following software modules: a first display module 5551, a second display module 5552, a receiving module 5553, and a third display module 5554. 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.

[0074] The following describes the processing method of virtual props provided by the embodiment of the present application. In some embodiments, the processing method of virtual props provided by the embodiment of the present application can be implemented by various electronic devices, for example, it can be implemented by a terminal alone, it can also be implemented by a server alone, or it can be implemented by a terminal and a server in collaboration. Figure 3 , Figure 3 : is a flowchart of a method for processing virtual props provided in an embodiment of the present application. The method for processing virtual props provided in an embodiment of the present application includes:

[0075] Step 101: The terminal displays a virtual scene.

[0076] The virtual scene includes a first virtual object and a second virtual object opposing the first virtual object.

[0077] Here, the terminal can run a client (such as a game client) that supports a virtual scene, and the terminal outputs a virtual scene (such as a shooting game scene, a role-playing game scene, etc.) during the operation of the client. For example, the terminal can obtain scene data of the virtual scene from the server, and then render the scene data to output the virtual scene. In an embodiment of the present application, the virtual scene includes a first virtual object, and the first virtual object can be a virtual character controlled by a user (or player) entering the virtual scene. In addition, the virtual scene also includes a second virtual object, and the second virtual object and the first virtual object are in a confrontational relationship, that is, the second virtual object and the first virtual object belong to different camps. In actual applications, the number of the second virtual object can be multiple, and the second virtual object can be a virtual character controlled by other users (or players) entering the virtual scene, or it can be a virtual object controlled by a robot program (such as a virtual monster, a virtual character, etc.). In the virtual scene, the user can control the first virtual object and the second virtual object to interact and confront each other, such as controlling the first virtual object to attack the second virtual object.

[0078] Step 102: In response to a deployment instruction for a target virtual prop of a first virtual object, display a scene map of a virtual scene.

[0079] Here, the target virtual props can be deployed in the virtual scene. For example, the user can trigger the deployment instruction of the target virtual props for the first virtual object, and the terminal responds to the deployment instruction of the target virtual props for the first virtual object, and displays the scene map of the virtual scene, and the scene map is used to select the deployment location point of the target virtual props in the virtual scene. For example, the scene map is a small map displayed on the virtual scene, and the terminal obtains the small map HUD. Among them, the small map HUD is obtained from the server when the terminal loads the virtual scene, and the small map HUD is stored in the local configuration file of the terminal. For example, the deployment instruction can be triggered by a trigger operation of the prop deployment control acting on the target virtual prop, and the trigger operation may include but is not limited to click, combo, slide, and long press.

[0080] In some embodiments, the terminal may receive the deployment instruction in the following manner: displaying a prop deployment control of the target virtual prop; and receiving a deployment instruction for the target virtual prop of the first virtual object in response to a trigger operation on the prop deployment control. Here, the terminal may display a prop deployment control, through which the user may trigger a deployment instruction for the target virtual prop. The terminal receives a deployment instruction for the target virtual prop of the first virtual object in response to a trigger operation on the prop deployment control. In actual applications, the trigger operation may include, but is not limited to, clicking, comboing, sliding, and long pressing.

[0081] In some embodiments, the terminal may display the prop deployment control of the target virtual prop in the following manner: display the prop deployment control of the target virtual prop in a cooling state, the cooling state is used to indicate that the prop deployment control is unavailable; accordingly, when the activation condition of the prop deployment control is met, the terminal may control the prop deployment control to switch from the cooling state to the activation state; accordingly, the terminal may receive a deployment instruction for the target virtual prop of the first virtual object in response to a trigger operation for the prop deployment control in the activation state. The activation condition includes at least one of the following: the interaction score of the first virtual object reaches the score threshold, the first virtual object has a virtual skill that supports the deployment of the target virtual prop, the first virtual object is in the target object state, the cooling time of the cooling state reaches the cooling time threshold, and the attribute value of the target object attribute of the first virtual object reaches the attribute value threshold.

[0082] Here, the prop deployment control has an activation state and a cooling state, wherein the activation state is used to indicate that the prop deployment control is available, and the cooling state is used to indicate that the prop deployment control is unavailable. If the prop deployment control is in the cooling state, when the activation condition of the prop deployment control is met, the terminal controls the prop deployment control to switch from the cooling state to the activation state, so that the terminal can receive the deployment instruction in response to the trigger operation for the prop deployment control in the activated state. In practical applications, the activation condition may include at least one of the following: the interaction score of the first virtual object reaches the score threshold (for example, the number of the first virtual object defeating the second virtual object reaches the number threshold), the first virtual object has a virtual skill that supports the deployment of the target virtual prop, the first virtual object is in the target object state (for example, in the combat state, non-swimming state, not in the state of the virtual vehicle), and the cooling time of the cooling state reaches the cooling time threshold, and the attribute value of the target object attribute (for example, blood volume, magic value) of the first virtual object reaches the attribute value threshold.

[0083] In actual applications, when displaying the prop deployment control, the terminal can use different display styles, such as using the first display style to display the prop deployment control in an activated state, and using the second display style to display the prop deployment control in a cooling state. Figure 4 , Figure 4 is a display diagram of the prop deployment control provided by the embodiment of the present application. Figure 4 As shown in (1), the prop deployment control in the cooling state is displayed in the "grayscale" display style; when the activation condition of the prop deployment control is met, the prop deployment control is controlled to switch from the cooling state to the activation state, and the prop deployment control in the activated state is displayed in the "highlight" display style, such as Figure 4 As shown in (2).

[0084] After the terminal receives the deployment instruction for the target virtual prop of the first virtual object, in response to the deployment instruction, the scene map of the virtual scene is displayed, and the scene map is used to select the deployment location point of the target virtual prop in the virtual scene. In some embodiments, the terminal can display the scene map of the virtual scene in the following ways: control the first virtual object to turn on the virtual display device, and display the scene map of the virtual scene on the screen of the virtual display device; or display a floating window in the screen of the virtual scene, and display the scene map of the virtual scene through the floating window. Here, the virtual display device can be a virtual device with display function such as a tablet computer, a mobile phone, a laptop computer, etc.

[0085] As an example, see Figure 5 , Figure 5 is a schematic diagram showing a scene map of a virtual scene provided in an embodiment of the present application. Figure 5 As shown in (1), a virtual display device is displayed, and a scene map of a virtual scene is displayed on the screen of the virtual display device; Figure 5 As shown in (2), a floating window is displayed in the screen of the virtual scene, and the scene map of the virtual scene is displayed through the floating window.

[0086] Step 103: Based on the scene map, a location selection operation for at least two scene location points in the virtual scene is received.

[0087] Here, the user can perform a location selection operation on the scene map, and the location selection operation is used to select at least two scene location points in the virtual scene. At this time, the terminal receives the location selection operation for at least two scene location points in the virtual scene based on the scene map.

[0088] In some embodiments, the terminal may display auxiliary function lines for assisting in selecting scene location points on the scene map, and the auxiliary function lines form a target shape; accordingly, based on the scene map, the terminal may receive a location selection operation for at least two scene location points in the virtual scene in the following manner: in response to a map location selection operation implemented on the auxiliary function lines, determining at least two target map location points selected by the map location selection operation on the scene map; in response to a confirmation operation for at least two target map location points, receiving a location selection operation for the scene location points corresponding to each target map location point in the virtual scene.

[0089] Here, the terminal can display an auxiliary function line on the scene map, which is used to assist in selecting a scene location point, and the auxiliary function line can enclose a target shape. In actual applications, the auxiliary function line can be closed or open, and the target shape can be a circle or various polygons such as a rectangle, square, triangle, etc. It should be noted that the auxiliary function line is used to indicate that the corresponding scene location point is selected by selecting a map location point only on the auxiliary function line.

[0090] In some embodiments, the terminal may display auxiliary function lines for assisting in selecting scene location points in the following manner: displaying an auxiliary function line with a target shape centered on the center of the scene map for assisting in selecting scene location points; or displaying an auxiliary function line with a target shape centered on the position of the first virtual object for assisting in selecting scene location points.

[0091] Here, the auxiliary function line may be centered on the center of the scene map and have a target shape, or may be centered on the location of the first virtual object and have a target shape. Figure 6 , Figure 6 : is a schematic diagram of an auxiliary function line provided in an embodiment of the present application. Here, the auxiliary function line can form a closed circle, that is, the auxiliary function line is a circular auxiliary function line centered at the center of the scene map.

[0092] In some embodiments, the terminal may receive a map location selection operation implemented on an auxiliary function line in the following manner: displaying at least two movable location point selection controls on the auxiliary function line, each location point selection control being used to select a map location point on the scene map; receiving a move operation performed on the auxiliary function line for at least two location point selection controls; receiving a map location selection operation implemented on the auxiliary function line in response to stopping the move operation; wherein the map location selection operation is used to select each target map location point on the scene map to which each location point selection control corresponds when the move operation is stopped.

[0093] Here, at least two location point selection controls are also displayed on the auxiliary function line, and each location point selection control is used to select a map location point on the scene map, and each location point selection control can be moved on the auxiliary function line. Based on this, the user can select a map location point from the auxiliary function line by moving each location point selection control. The terminal receives a move operation performed on the auxiliary function line for at least two location point selection controls, and when the move operation stops, it is determined that the map location selection operation implemented on the auxiliary function line is received. It should be noted that the map location selection operation is used to select the target map location points corresponding to each location point selection control on the scene map when the move operation stops.

[0094] In this way, when the terminal receives a map position selection operation performed by the user on the auxiliary function line, at least two target map position points selected by the map position selection operation on the scene map are determined. If a confirmation operation for at least two target map position points is further received, a position selection operation for the scene position points corresponding to each target map position point in the virtual scene is received in response to the confirmation operation. In actual applications, there is a mapping relationship between each map position point in the scene map and a scene position point in the virtual scene, and through the mapping relationship, the scene position point corresponding to each target map position point in the virtual scene can be determined.

[0095] As an example, see Figure 7 , Figure 7 is a schematic diagram of the scene location selection provided by the embodiment of the present application. Figure 7 As shown in (1), an auxiliary function line (a circular auxiliary function line with the center of the scene map at the center) is displayed on the scene map, and two movable position point selection controls (E and S) are displayed on the auxiliary function line; Figure 7 As shown in (2), a move operation is received on the auxiliary function line for two position point selection controls. At this time, the two position point selection controls are Figure 7 The position change shown in (1) is Figure 7 The position shown in (2) is Figure 7 The map locations A and B selected in (1) change to Figure 7 (2) The selected map location points C and D. In addition, a confirmation control "deploy" for confirming the selected map location point and a cancel control "cancel" for canceling the selected map location point are also displayed in the scene map; the confirmation control "deploy" can trigger the confirmation operation for the map location points C and D; at this time, in response to the confirmation operation for the map location points C and D, the location selection operation for the scene location points corresponding to the map location points C and D is received.

[0096] In some embodiments, the terminal may also display the location indication information of the target virtual object on the scene map; wherein the target virtual object includes the first virtual object and the second virtual object, and the location indication information is used to indicate the location of the target virtual object in the virtual scene. In this way, it is convenient for the user to select a map location point on the scene map to deploy the target virtual props according to the respective location information of the first virtual object and the second virtual object, so as to play the role of the target virtual props. Figure 6 , the position indication information “icon 1” of the first virtual object and the position indication information “icon 2” of the second virtual object are displayed.

[0097] In some embodiments, the terminal may further display prop indication information formed by connecting at least two position point selection controls; wherein the prop indication information is used to indicate the connection status of at least two scene position points selected by at least two position point selection controls when deploying the target virtual prop. In practical applications, the prop indication information can indicate how the target virtual prop connects the at least two scene position points when deploying the target virtual prop. Specifically, the prop indication information may be continuously displayed during the movement of the position point selection control, or may be displayed only when the position point selection control stops moving.

[0098] As an example, see Figure 8 , Figure 8 is a schematic diagram showing the display of the prop connection indication information provided by the embodiment of the present application. Figure 8 As shown in (1), there are two position point selection controls. By connecting the two position point selection controls, a connection line is formed. The connection line is the prop indication information, indicating that when the target virtual prop is deployed, the target virtual prop is also connected to the scene positions selected by the two position point selection controls through the connection method of the connection line; Figure 8 As shown in (2), there are three position point selection controls. By connecting the three position point selection controls, a triangle is formed. The triangle is the prop indication information, indicating that when the target virtual prop is deployed, the target virtual prop is also connected to the scene position selected by the three position point selection controls through the connection method of the triangle.

[0099] In some embodiments, the terminal may also display selection range indication information on the scene map, where the selection range indication information is used to indicate the selection range of the map location point of the scene map corresponding to the scene location point; accordingly, based on the scene map, the terminal may receive a location selection operation for at least two scene location points in the virtual scene in the following manner: in response to a map location selection operation implemented within the selection range based on the selection range indication information, at least two target map location points selected by the map location selection operation on the scene map are determined; in response to a confirmation operation for at least two target map location points, a location selection operation for the scene location points corresponding to each target map location point in the virtual scene is received.

[0100] In practical applications, the selection range may be an area with a target shape centered on the center of the scene map; the selection range may also be an area with a target shape centered on the location of the first virtual object; the target shape may be a circle, or a rectangle, square, triangle or other polygon. The map location point can only be selected within the selection range.

[0101] Step 104: In response to the position selection operation, display a target virtual prop deployed based on at least two scene position points and capable of connecting at least two scene position points.

[0102] The target virtual prop is used to assist the first virtual object to interact with the second virtual object.

[0103] Here, after receiving the position selection operation for at least two scene position points in the virtual scene, the terminal deploys a target virtual prop that can connect at least two scene position points in the virtual scene in response to the position selection operation, and displays the target virtual prop that can connect at least two scene position points deployed in the virtual scene. In practical applications, the target virtual prop can be a virtual wall-like prop with a wall shape, such as a wall-like prop formed by a building, water, gas, lightning, metal, mountain, etc.; the target virtual prop can also be a virtual mesh prop with a mesh shape, and the target virtual prop can also be a virtual area prop with a target effect formed by the connection of at least two scene position points, such as a river area (such as an electric shock effect), a mud area (such as a swamp, with an effect of immersing a virtual object), a frozen area (such as a freezing effect), a target type gas (such as a virtual poison gas, with an effect of reducing the blood volume of a virtual object) area, and the like.

[0104] As an example, see Fig. 9 , Fig. 9 is a schematic diagram of the deployment of the target virtual props provided in the embodiment of the present application. Fig. 9As shown in (1), there are two scene position points, the target virtual prop can connect the two scene position points, and the target virtual prop is a virtual wall-shaped prop with a wall shape; Fig. 9 As shown in (2), there are three scene location points and the target virtual prop can connect the three scene location points. The target virtual prop is a virtual mesh prop with a mesh shape.

[0105] In practical applications, the above-mentioned target virtual props have target effects, which may include but are not limited to: electric shock effect, freezing effect, burning effect, effect of reducing visibility, etc.

[0106] In some embodiments, the terminal deploys the target virtual props in the virtual scene in the following manner: determine a scene position point from at least two scene position points as the starting position point, and determine a scene position point from at least two scene position points as the ending position point; in the virtual scene, starting from the starting position point, connect each scene position point in sequence until the ending position point to obtain a position point connection line; deploy the target virtual props on the position point connection line.

[0107] Here, the at least two scene position points are connected into a line, so it is necessary to first determine a scene position point from the at least two scene position points as a starting position point, and determine a scene position point from the at least two scene position points as an ending position point, and then start from the starting position point, sequentially connect each scene position point until the ending position point, so as to obtain a position point connection line, and then deploy the target virtual prop on the position point connection line. Specifically, the target virtual prop can be deployed on the position point connection line along the position point connection line, so that the bottom edge line of the target virtual prop is consistent with the position point connection line.

[0108] As an example, see Fig.10 , Fig.10 is a schematic diagram of displaying a target virtual prop provided by an embodiment of the present application. Fig.10 As shown in (1), the selected scene position points include A, B and C. A is taken as the starting position point and C is taken as the ending position point. Starting from A, B and C are connected in sequence to obtain the position point connection line ABC, as shown in Fig.10 As shown in (2), a mesh of target virtual props M is deployed on the position point connection line ABC, such as Fig.10 As shown in (3), the bottom edge line of the target virtual prop M is consistent with the position point connection line ABC.

[0109] In some embodiments, when the number of scene location points is at least three, the terminal deploys the target virtual props in the virtual scene in the following manner: determine a scene location point from at least three scene location points as the starting location point; in the virtual scene, starting from the starting location point, connect each scene location point in sequence until the starting location point to obtain a closed location point connection line; deploy the target virtual props on the closed location point connection line.

[0110] Here, the at least three scene position points are connected into a closed line, so it is necessary to first determine a scene position point from the at least two scene position points as the starting position point, and then start from the starting position point, sequentially connect each scene position point until returning to the starting position point, so as to obtain a closed position point connection line, and then deploy the target virtual prop on the closed position point connection line. Specifically, the target virtual prop can be deployed on the closed position point connection line along the closed position point connection line, so that the bottom edge line of the target virtual prop is consistent with the closed position point connection line.

[0111] As an example, see Fig.11 , Fig.11 is a schematic diagram of displaying a target virtual prop provided by an embodiment of the present application. Fig.11 As shown in (1), the selected scene position points include A, B and C. A is taken as the starting position point. Starting from A, B, C and A are connected in sequence to obtain a closed position point connection line ABCA, as shown in Fig.11 As shown in (2), the target virtual prop N in the wall state is deployed on the closed position point connecting line ABCA, as shown in Fig.11 As shown in (3), the bottom edge line of the target virtual prop N is consistent with the position point connection line ABCA.

[0112] In some embodiments, at least two scene location points are located on the surface of a virtual scene; the terminal deploys a target virtual prop in the virtual scene in the following manner: obtaining a target height of the target virtual prop, and for each scene location point, determining an aerial location point above the scene location point that is the target height away from the scene location point; determining a first connecting line connecting at least two scene location points, and determining a second connecting line connecting at least two aerial location points; based on the first connecting line and the second connecting line, deploying a target virtual prop with the target height that can connect at least two scene location points.

[0113] Here, the above-mentioned at least two scene position points are located on the surface of the virtual scene, and the target virtual prop to be deployed has a target height. Therefore, the following processing can be performed for each scene position point: in the air above the scene position point, an aerial position point with a target height from the scene position point is determined. In this way, an aerial position point corresponding to each scene position point is obtained. Then a first connecting line connecting at least two scene position points is determined, and a second connecting line connecting at least two aerial position points is determined, and then between the first connecting line and the second connecting line, a target virtual prop with a target height that can connect at least two scene position points is deployed, the upper edge line of the target virtual prop is consistent with the second connecting line, and the bottom edge line of the target virtual prop is consistent with the first connecting line. Among them, the first connecting line and the second connecting line can be both closed connecting lines, and can also be both open connecting lines.

[0114] In some embodiments, based on the first connection line and the second connection line, the terminal can deploy a target virtual prop with a target height that can connect at least two scene location points in the following manner: display a virtual prop deployment device for deploying the target virtual prop; control the virtual prop deployment device to deploy a target virtual prop with a target height that can connect at least two scene location points based on the first connection line and the second connection line. Here, the terminal can control the virtual prop deployment device for deploying the target virtual prop to deploy the target virtual prop. For example, the virtual prop deployment device can be a virtual airplane, a virtual vehicle, etc.

[0115] As an example, see Fig.12 , Fig.12 is a schematic diagram of displaying a target virtual prop provided by an embodiment of the present application. Fig.12 As shown in (1), the selected scene position points include A and B, the aerial position point at a distance of h from A is C, and the aerial position point at a distance of h from B is D; Fig.12 As shown in (2), a first connecting line AB formed by connecting two scene position points is determined, and a second connecting line CD formed by connecting two aerial position points is determined; Fig.12 As shown in (3), a target virtual prop P in a wall state is pulled up between the first connecting line AB and the second connecting line CD.

[0116] In some embodiments, the first virtual object and the second virtual object are located on both sides of the target virtual prop respectively; the terminal may also perform at least one of the following operations: (1) when the attack of the second virtual object passes through the target virtual prop and acts on the first virtual object, the target virtual prop is controlled to weaken or eliminate the negative impact of the attack on the first virtual object; (2) when the attack of the first virtual object passes through the target virtual prop and acts on the second virtual object, the target virtual prop is controlled to enhance the attack effect of the attack on the second virtual object; (3) when the second virtual object attacks the first virtual object, the target virtual prop is controlled to shield the attack of the second virtual object; (4) when the first virtual object is visible relative to the second virtual object, the first virtual object is controlled to be invisible relative to the second virtual object through the target virtual prop; (5) when the second virtual object is invisible relative to the first virtual object, the second virtual object is controlled to be visible relative to the first virtual object through the target virtual prop.

[0117] It should be noted that the negative impact in (1) may be a reduction in the attribute value of the object attribute of the first virtual object, and the object attribute may include health, magic, movement speed, recovery ability, attack power, etc. The attack effect in (2) may include reducing the attribute value of the object attribute of the second virtual object according to the first reduction amount, and enhancing the attack effect is to increase the first reduction amount. The shielding in (3) refers to completely offsetting the negative impact caused by the attack of the second virtual object through the target virtual props. (4) can achieve the hiding effect of the first virtual object relative to the second virtual object. (5) can achieve the effect of the first virtual object seeing through the second virtual object.

[0118] In some embodiments, the terminal may also perform at least one of the following operations: (1) when the second virtual object passes through the target virtual prop, reduce the attribute value of the object attribute of the second virtual object; (2) when the target virtual prop has a target effect and the second virtual object passes through the target virtual prop, display the effect process of the target effect on the second virtual object; (3) when the target virtual prop includes a three-dimensional closed space and the second virtual object enters the three-dimensional closed space, control the second virtual object to stay in the three-dimensional closed space within a target time length; (4) when the target virtual prop includes a three-dimensional closed space and the second virtual object enters the three-dimensional closed space, reduce the attribute value of the object attribute of the second virtual object.

[0119] It should be noted that the target effect in (2) may include but is not limited to: electric shock effect, freezing effect, burning effect, effect of reducing visibility, etc. For example, see Fig.13 , Fig.131 is a display schematic diagram of a virtual object passing through a target virtual prop provided by an embodiment of the present application. Here, the target virtual prop is a virtual wall-shaped prop with an electric shock effect. When the second virtual object passes through the virtual wall-shaped prop, the effect process of the electric shock effect acting on the second virtual object is displayed, that is, the special effect of the second virtual object being electrocuted is displayed. (3) can achieve the effect of trapping the second virtual object within the target duration. (4) can achieve the effect of reducing the attribute value of the object attribute of the second virtual object in a specific space, thereby increasing the success rate of the first virtual object defeating the second virtual object.

[0120] In some embodiments, the terminal may cancel the display of the target virtual prop in the following manner: in response to a cancel deployment instruction for the target virtual prop, cancel the display of the target virtual prop deployed in the virtual scene and capable of connecting at least two scene location points; or, when the display time of the target virtual prop reaches a display time threshold, cancel the display of the target virtual prop deployed in the virtual scene and capable of connecting at least two scene location points.

[0121] By applying the above-mentioned embodiment of the present application, in a virtual scene, when a deployment instruction for a target virtual prop for a first virtual object is received, a scene map of the virtual scene is displayed, and then based on the scene map, a position selection operation for at least two scene location points in the virtual scene is received, so that in response to the position selection operation, a target virtual prop that can connect at least two scene location points is deployed based on at least two scene location points and is displayed. Here, a target virtual prop deployed at one time can connect at least two scene location points in the virtual scene, which can increase the scope of action of the target virtual prop, thereby reducing the number of human-computer interaction operations to achieve a goal (such as deploying a virtual prop with a larger scope of action), thereby improving the efficiency of human-computer interaction and the utilization rate of hardware processing resources.

[0122] The following will take the virtual scene as a game scene (such as a virtual shooting game) and the target virtual props as a virtual electric wall prop as an example to illustrate the exemplary application of the embodiment of the present application in an actual application scenario.

[0123] In the game scene, most virtual props are bullet-like or throwing-like. The embodiment of the present application provides an auxiliary virtual prop to increase the entertainment of the game, which can control the actions of the virtual object of the opponent to attack. Specifically, the embodiment of the present application provides a virtual wall-shaped prop with a discharge function (which can form an electric shock effect in a target range (greater than a preset range threshold)). The player can control the virtual object to cut out a tactical prop (i.e., a virtual electric wall prop). The virtual electric wall prop includes a virtual display device (such as a tablet computer). The virtual display device displays a scene map (i.e., a small map) of a virtual scene. The player can select two position points on the scene map. At this time, two virtual airplanes fly over the scene positions corresponding to the two position points, pulling out a wall-shaped virtual prop (i.e., an electric wall). When the virtual object of the opponent passes through the electric wall, it will be electrocuted, which is equivalent to setting a large-area trap for the opponent's player. In this way, by using this virtual display device, you can put your side in an advantageous position. No matter whether the opponent is on the upper floors of a building in the virtual scene or on the ground, as long as he passes through this electric wall, he will be shocked, which will have a negative impact on the attribute values ​​of the opponent (movement speed, health, attack power, etc.), and can block the opponent's attack over a large area, providing players with a fresher way of playing and a better virtual scene experience.

[0124] In actual applications, the release process of the virtual electric wall props includes: 1) the interactive score reaches the score threshold (for example, the number of consecutive defeats of opponents reaches the number threshold); 2) by clicking the prop deployment control, cut out the virtual display device where the electric wall is placed; 3) the electric wall is deployed after selecting a location through the virtual display device. At this time, the terminal performs the following processing: 1) two virtual planes fly over the scene location; 2) an electric wall is pulled out with lightning effects; 3) the electric wall exists for N seconds (configurable); 4) the opponent's virtual object passes through the electric wall and is electrocuted; 5) when the opponent's virtual object is electrocuted, an electric shock Buff (i.e. electric shock skill blessing) is applied to the opponent's virtual object. After the electric wall exists for N seconds, it can disappear from the virtual scene.

[0125] In actual applications, when the virtual object is in the following states, the above-mentioned virtual electric wall props do not meet the release conditions: the virtual object is in a knocked-down state; the virtual object is on a virtual vehicle; the virtual object is in a swimming state; the virtual object is in a state of switching ammunition; the virtual object is in a wing suit state; and so on.

[0126] Next, we will explain the virtual electric wall prop in detail. Figure 4 As shown, the terminal displays the prop deployment control of the "Virtual Electric Wall Prop". By clicking and other operations to trigger the prop deployment control, you can use the virtual electric wall prop:

[0127] (1) Figure 5As shown in (1), the virtual object holds a virtual display device in the virtual electric wall prop, and the virtual display device displays a scene map of the virtual scene. When the virtual display device displays the scene map, the virtual scene can also be scanned to determine the positions of the player's virtual object, teammate's virtual object, and opponent's virtual object in the virtual scene, and then displayed on the virtual display device.

[0128] (2) Figure 6 As shown, the virtual display device displays a circle with a radius of R meters (configurable) with the center of the scene map as the center. The circle is a track circle for selecting a position. The track circle is provided with a sliding S key and E key, and the position can be selected by sliding the S key and E key.

[0129] (3) Figure 7 As shown, the virtual display device displays a deployment control "Deploy". After the position is selected by using the S key and the E key, the deployment command is triggered through the deployment control (for example, clicking the deployment control), and the virtual object retracts the virtual display device.

[0130] (4) Fig.14 As shown, it is a schematic diagram of the virtual scene when deploying the virtual electric wall prop, which includes: scene buildings, scene range corresponding to the small map, aircraft position, electric wall entity, etc.

[0131] (5) Fig. 9 As shown in (1), it is a schematic diagram of the electric wall created in the virtual scene.

[0132] (6) Fig.13 As shown, this is the effect of the opponent's virtual object being electrocuted when passing through the electric wall.

[0133] See next Fig.15 , the release process of the virtual electric wall prop is described in detail, including:

[0134] Step 201, click the prop deployment control of the virtual electric wall prop.

[0135] Here, during the game, select the virtual electric wall prop and a prop deployment control will appear that you can click.

[0136] Step 202, loading the Prefab file of the virtual display device model of the virtual electric wall prop.

[0137] Here, the Prefab file is the prefab in Unity. First, you need to plan the configuration, then select the item bar to bring into the game, and click Release to load the Prefab file of the virtual display device.

[0138] Step 203, associate the mini-map HUD with the device model.

[0139] Here, the prefab resource of the minimap HUD (i.e., the interface for displaying status information, Head Up Display) needs to be mounted on the device model. You can find the corresponding node on the device model as the parent node of the minimap HUD and then mount it.

[0140] Step 204, adding a Texture node with a limited range to the mini-map HUD.

[0141] Here, a Texture node is created on the mini-map HUD. This Texture node is used to limit the range of selectable positions.

[0142] Step 205, set the circle and electric wall track effects on the Texture node.

[0143] Here, the radius of the circle is pre-configured, with the center of the small map as the center of the circle. These parameters are passed into the Shader through code for drawing to obtain a circle; the electric wall track effect is a UI special effect connecting two points.

[0144] Step 206: The player character holds a virtual display model with a built-in mini-map.

[0145] Here, the tablet model is cut out and hung on the character's hand, and the character's actions of holding the tablet are played.

[0146] Step 207, slide the S key and the E key on the circle to select two scene positions.

[0147] Here, on the minimap, press and hold the S and E keys respectively to move and select two locations on the minimap. Since the scene and the minimap are both made in a square range and have a proportional relationship, the two locations on the minimap can be divided by this proportional value to get the scene position in the virtual scene.

[0148] Step 208, click the deployment control to create two virtual airplanes in the sky corresponding to the scene position.

[0149] Here, after clicking the deployment control, the virtual aircraft flies from the configured fixed position into the air above the scene position (at a height H from the ground).

[0150] Step 209, creating an electric wall according to the distance between the two scene positions.

[0151] Here, the electric wall effect is made according to 1 unit. It can be matched by scaling the electric wall effect through the distance D between the two scene positions. The forward vector and the direction vector of D can calculate the angle A that needs to be rotated. After the electric wall effect is scaled and rotated by angle A, it is created.

[0152] Step 210, exit the virtual display device and switch out the main virtual weapon.

[0153] See next Fig.16 , the interaction sequence between the client and the server during the release of the virtual electric wall props is described in detail, including:

[0154] 1. The client sends to the server: After clicking the prop deployment control of the virtual electric wall prop, a network request packet will be sent, which includes player information, character information, prop information, etc., and is sent to the server to request the virtual display device of the virtual electric wall prop to be cut out.

[0155] 2. The server sends to the client: After receiving the network request packet, the server verifies it through the item information, player information, etc. If it is legal, it sends the device to cut out the successful network packet;

[0156] 3. Server sends to the client: After the device is successfully switched out, the server will continue to send the player and teammate information to the client, including the player ID and location information, all teammates ID and location information.

[0157] 4. Client itself: Display players, teammates and small map in the device model.

[0158] 5. Client sends to server: After the client switches out of the device, the player selects two locations on the small map, and after conversion, sends the selected scene locations to the server.

[0159] 6. Server sends to client: After receiving the scene position, the server sends the specified position of the virtual aircraft set above the scene position to the client, and the aircraft will fly to the specified position.

[0160] 7. Server sends to the client: The server sends the protocol for creating an electric wall to the client.

[0161] 8. Client itself: Create an electric wall effect based on the distance between two scene locations.

[0162] 9. Server sends to client: Cut out the main virtual weapon.

[0163] 10. The client itself: responds by switching out the main virtual weapon.

[0164] In practical applications, the above-mentioned virtual props with discharge function (capable of forming an electric shock effect in a target range (greater than a preset range threshold)) are not limited to wall-shaped virtual props, for example, they can also be rain curtain-shaped virtual props, river-shaped virtual props, etc., which are not limited here.

[0165] By using the above-mentioned embodiment of the present application, a wall-shaped virtual prop with a discharge function is provided. Players can control virtual objects to cut out virtual electric wall props. The virtual electric wall props include a virtual display device. The virtual display device displays a scene map of a virtual scene. Players can select two position points on the scene map. At this time, two virtual airplanes fly over the scene positions corresponding to the two position points, pulling out an electric wall. When the virtual object of the opponent passes through the electric wall, it will be electrocuted, which is equivalent to setting a large-scale trap for the opponent's players. In this way, by using a virtual display device, the opponent can be in an advantageous position. No matter whether the opponent is in a high-rise building in the virtual scene or on the ground, as long as it passes through this electric wall, it will be electrocuted, thereby forming a negative impact on the attribute values ​​of the opponent's attributes (movement speed, blood volume, attack power, etc.), which can block the opponent's attack over a large area, increase the tactical nature of the virtual scene and the richness and diversity of the gameplay, thereby improving the experience of the virtual scene and making it more playable.

[0166] The following is a description of an exemplary structure of a virtual item processing device 555 provided in an embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules in the virtual prop processing device 555 stored in the memory 550 may include: a first display module 5551, used to display a virtual scene, the virtual scene including a first virtual object and a second virtual object opposing the first virtual object; a second display module 5552, used to display a scene map of the virtual scene in response to a deployment instruction of a target virtual prop for the first virtual object; a receiving module 5553, used to receive a position selection operation for at least two scene location points in the virtual scene based on the scene map; a third display module 5554, used to display a target virtual prop deployed based on the at least two scene location points and capable of connecting the at least two scene location points in response to the position selection operation, the target virtual prop being used to assist the first virtual object in interacting with the second virtual object.

[0167] In some embodiments, the second display module 5552 is further used to display a prop deployment control of the target virtual prop; in response to a trigger operation on the prop deployment control, a deployment instruction for the target virtual prop of the first virtual object is received.

[0168] In some embodiments, the second display module 5552 is also used to display the prop deployment control of the target virtual prop in a cooling state, and the cooling state is used to indicate that the prop deployment control is unavailable; the second display module 5552 is also used to control the prop deployment control to switch from the cooling state to the activation state when the activation condition of the prop deployment control is met; the second display module 5552 is also used to receive a deployment instruction for the target virtual prop of the first virtual object in response to a trigger operation on the prop deployment control in the activation state; wherein the activation condition includes at least one of the following: the interaction score of the first virtual object reaches a score threshold, the first virtual object has a virtual skill that supports the deployment of the target virtual prop, the first virtual object is in a target object state, the cooling time of the cooling state reaches a cooling time threshold, and the attribute value of the target object attribute of the first virtual object reaches an attribute value threshold.

[0169] In some embodiments, the second display module 5552 is also used to control the first virtual object to turn on a virtual display device, and display a scene map of the virtual scene on the screen of the virtual display device; or, to display a floating window in the screen of the virtual scene, and display the scene map of the virtual scene through the floating window.

[0170] In some embodiments, the second display module 5552 is further used to display, on the scene map, auxiliary function lines for assisting in selecting the scene location points, wherein the auxiliary function lines form a target shape; the receiving module 5553 is further used to determine, in response to a map location selection operation performed on the auxiliary function lines, at least two target map location points selected by the map location selection operation on the scene map; and in response to a confirmation operation for the at least two target map location points, a location selection operation for the scene location points corresponding to each of the target map location points in the virtual scene is received.

[0171] In some embodiments, the receiving module 5553 is also used to display at least two movable location point selection controls on the auxiliary function line, each of the location point selection controls being used to select a map location point on the scene map; receiving a move operation performed on the auxiliary function line on the at least two location point selection controls; in response to stopping the move operation, receiving the map location selection operation implemented on the auxiliary function line; wherein the map location selection operation is used to select each target map location point on the scene map corresponding to each of the location point selection controls when the move operation is stopped.

[0172] In some embodiments, the second display module 5552 is also used to display prop indication information formed by connecting the at least two position point selection controls; wherein the prop indication information is used to indicate the connection status of at least two scene position points selected by the at least two position point selection controls when deploying the target virtual prop.

[0173] In some embodiments, the second display module 5552 is also used to display an auxiliary function line with the target shape centered on the center of the scene map for assisting in selecting the scene location point; or, to display an auxiliary function line with the target shape centered on the position of the first virtual object for assisting in selecting the scene location point.

[0174] In some embodiments, the second display module 5552 is also used to display position indication information of the target virtual object on the scene map; wherein the target virtual object includes the first virtual object and the second virtual object, and the position indication information is used to indicate the position of the target virtual object in the virtual scene.

[0175] In some embodiments, the second display module 5552 is further used to display selection range indication information on the scene map, the selection range indication information being used to indicate the selection range of the map location points of the scene map corresponding to the scene location point; the receiving module 5553 is further used to determine, in response to a map location selection operation performed within the selection range based on the selection range indication information, at least two target map location points selected by the map location selection operation on the scene map; and in response to a confirmation operation for the at least two target map location points, a location selection operation for the scene location points corresponding to each of the target map location points in the virtual scene is received.

[0176] In some embodiments, the third display module 5554 is also used to determine a scene position point from the at least two scene position points as a starting position point, and to determine a scene position point from the at least two scene position points as an ending position point; in the virtual scene, starting from the starting position point, each of the scene position points is connected in sequence until the ending position point to obtain a position point connection line; and the target virtual prop is deployed on the position point connection line.

[0177] In some embodiments, when the number of the scene location points is at least three, the third display module 5554 is further used to determine a scene location point from at least three of the scene location points as a starting location point; in the virtual scene, starting from the starting location point, each of the scene location points is sequentially connected until the starting location point to obtain a closed location point connection line; and the target virtual prop is deployed on the closed location point connection line.

[0178] In some embodiments, the at least two scene position points are located on the surface of the virtual scene; the third display module 5554 is also used to obtain the target height of the target virtual prop, and for each of the scene position points, determine an aerial position point above the scene position point that is the target height away from the scene position point; determine a first connecting line connecting the at least two scene position points, and determine a second connecting line connecting at least two of the aerial position points; based on the first connecting line and the second connecting line, deploy a target virtual prop with the target height that can connect the at least two scene position points.

[0179] In some embodiments, the third display module 5554 is also used to display a virtual prop deployment device used to deploy the target virtual prop; control the virtual prop deployment device to deploy the target virtual prop with the target height and capable of connecting the at least two scene location points based on the first connecting line and the second connecting line.

[0180] In some embodiments, the first virtual object and the second virtual object are respectively located on both sides of the target virtual prop; the third display module 5554 is also used to perform at least one of the following operations: when the attack of the second virtual object passes through the target virtual prop and acts on the first virtual object, the target virtual prop is controlled to weaken or eliminate the negative impact of the attack on the first virtual object; when the attack of the first virtual object passes through the target virtual prop and acts on the second virtual object, the target virtual prop is controlled to enhance the attack effect of the attack on the second virtual object; when the second virtual object attacks the first virtual object, the target virtual prop is controlled to shield the attack of the second virtual object; when the first virtual object is visible relative to the second virtual object, the first virtual object is controlled to be invisible relative to the second virtual object through the target virtual prop; when the second virtual object is invisible relative to the first virtual object, the second virtual object is controlled to be visible relative to the first virtual object through the target virtual prop.

[0181] In some embodiments, the third display module 5554 is also used to perform at least one of the following operations: when the second virtual object passes through the target virtual prop, the attribute value of the object attribute of the second virtual object is reduced; when the target virtual prop has a target effect and the second virtual object passes through the target virtual prop, the effect process of the target effect on the second virtual object is displayed; when the target virtual prop includes a three-dimensional closed space and the second virtual object enters the three-dimensional closed space, the second virtual object is controlled to stay in the three-dimensional closed space within a target time length; when the target virtual prop includes a three-dimensional closed space and the second virtual object enters the three-dimensional closed space, the attribute value of the object attribute of the second virtual object is reduced.

[0182] In some embodiments, the third display module 5554 is further used to cancel the display of the target virtual prop in response to a cancel deployment instruction for the target virtual prop; or to cancel the display of the target virtual prop when the display time of the target virtual prop reaches a display time threshold.

[0183] By applying the above-mentioned embodiment of the present application, in a virtual scene, when a deployment instruction for a target virtual prop for a first virtual object is received, a scene map of the virtual scene is displayed, and then based on the scene map, a position selection operation for at least two scene location points in the virtual scene is received, so that in response to the position selection operation, a target virtual prop that can connect at least two scene location points is deployed based on at least two scene location points and is displayed. Here, a target virtual prop deployed at one time can connect at least two scene location points in the virtual scene, which can increase the scope of action of the target virtual prop, thereby reducing the number of human-computer interaction operations to achieve a goal (such as deploying a virtual prop with a larger scope of action), thereby improving the efficiency of human-computer interaction and the utilization rate of hardware processing resources.

[0184] The embodiment of the present application also provides a computer program product, which includes computer executable instructions or computer programs, and the computer executable instructions or computer programs are stored in a computer readable storage medium. The processor of the electronic device reads the computer executable instructions or computer programs from the computer readable storage medium, and the processor executes the computer executable instructions or computer programs, so that the electronic device executes the virtual prop processing method provided in the embodiment of the present application.

[0185] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the processor will execute the virtual prop processing method provided in the embodiment of the present application.

[0186] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.

[0187] In some embodiments, computer 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.

[0188] As an example, computer-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).

[0189] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0190] 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 processing virtual props, characterized in that: The method comprises: Displaying a virtual scene, the virtual scene including a first virtual object and a second virtual object opposing the first virtual object; In response to a deployment instruction for a target virtual prop of the first virtual object, displaying a scene map of the virtual scene; Based on the scene map, receiving a position selection operation for at least two scene location points in the virtual scene; In response to the position selection operation, a target virtual prop deployed based on the at least two scene position points and capable of connecting the at least two scene position points is displayed, and the target virtual prop is used to assist the first virtual object to interact with the second virtual object.

2. The method according to claim 1, characterized in that The method further comprises: Display a prop deployment control of the target virtual prop; In response to a trigger operation on the prop deployment control, a deployment instruction for a target virtual prop of the first virtual object is received.

3. The method according to claim 2, characterized in that The prop deployment control for displaying the target virtual prop includes: Displaying a prop deployment control of the target virtual prop in a cooling state, wherein the cooling state is used to indicate that the prop deployment control is unavailable; The method further includes: when an activation condition of the prop deployment control is satisfied, controlling the prop deployment control to switch from the cooling state to the activation state; The receiving, in response to the triggering operation on the prop deployment control, a deployment instruction for a target virtual prop of the first virtual object, comprises: In response to a trigger operation on the prop deployment control in the activated state, a deployment instruction for a target virtual prop of the first virtual object is received; The activation condition includes at least one of the following: The interaction score of the first virtual object reaches a score threshold, the first virtual object has a virtual skill that supports the deployment of the target virtual prop, the first virtual object is in a target object state, the cooling time of the cooling state reaches a cooling time threshold, and the attribute value of the target object attribute of the first virtual object reaches an attribute value threshold.

4. The method according to claim 1, characterized in that The scene map displaying the virtual scene includes: Controlling the first virtual object to turn on a virtual display device and displaying a scene map of the virtual scene on a screen of the virtual display device; or, A floating window is displayed in the screen of the virtual scene, and a scene map of the virtual scene is displayed through the floating window.

5. The method according to claim 1, characterized in that The method further comprises: On the scene map, an auxiliary function line for assisting in selecting the scene location point is displayed, the auxiliary function line forming a target shape; The receiving, based on the scene map, a location selection operation for at least two scene location points in the virtual scene comprises: In response to a map position selection operation performed on the auxiliary function line, determining at least two target map position points selected by the map position selection operation on the scene map; In response to a confirmation operation on the at least two target map location points, a location selection operation on a scene location point corresponding to each of the target map location points in the virtual scene is received.

6. The method according to claim 5, characterized in that The method further comprises: On the auxiliary function line, at least two movable position point selection controls are displayed, each of which is used to select a map position point on the scene map; receiving a move operation performed on the auxiliary function line and on the at least two position point selection controls; In response to stopping the movement operation, receiving the map location selection operation performed on the auxiliary function line; Among them, the map position selection operation is used to select each target map position point corresponding to each position point selection control on the scene map when stopping the movement operation.

7. The method according to claim 6, characterized in that The method further comprises: Displaying prop indication information formed by connecting the at least two position point selection controls; The prop indication information is used to indicate the connection status of at least two scene position points selected by the at least two position point selection controls when deploying the target virtual prop.

8. The method according to claim 5, characterized in that The displaying of auxiliary function lines for assisting in selecting the scene location points on the scene map includes: Displaying an auxiliary function line with the target shape and centered at the center of the scene map for assisting in selecting the scene location point; or An auxiliary function line having the target shape and centered at the position of the first virtual object for assisting in selecting the scene position point is displayed.

9. The method according to claim 5, characterized in that The method further comprises: Displaying location indication information of the target virtual object on the scene map; The target virtual object includes the first virtual object and the second virtual object, and the position indication information is used to indicate the position of the target virtual object in the virtual scene.

10. The method according to claim 1, characterized in that The method further comprises: On the scene map, displaying selection range indication information, the selection range indication information is used to indicate the selection range of the scene location point corresponding to the map location point of the scene map; The receiving, based on the scene map, a location selection operation for at least two scene location points in the virtual scene comprises: In response to a map position selection operation performed within the selection range based on the selection range indication information, determining at least two target map position points selected by the map position selection operation on the scene map; In response to a confirmation operation on the at least two target map location points, a location selection operation on a scene location point corresponding to each of the target map location points in the virtual scene is received.

11. The method according to claim 1, characterized in that Before displaying the target virtual props deployed based on the at least two scene location points and capable of connecting the at least two scene location points, the method further includes: Determine a scene position point from the at least two scene position points as a starting position point, and determine a scene position point from the at least two scene position points as an ending position point; In the virtual scene, starting from the starting position point, each of the scene position points is sequentially connected until the ending position point, to obtain a position point connecting line; The target virtual prop is deployed on the position point connection line.

12. The method according to claim 1, characterized in that When the number of the scene location points is at least three, before displaying the target virtual props deployed based on the at least two scene location points and capable of connecting the at least two scene location points, the method further includes: Determine a scene position point from at least three of the scene position points as a starting position point; In the virtual scene, starting from the starting position point, each of the scene position points is sequentially connected until the starting position point to obtain a closed position point connection line; The target virtual prop is deployed on the closed position point connection line.

13. The method according to claim 1, characterized in that The at least two scene location points are located on the surface of the virtual scene; Before displaying the target virtual props deployed based on the at least two scene location points and capable of connecting the at least two scene location points, the method further includes: Acquire a target height of the target virtual prop, and for each of the scene position points, determine an air position point above the scene position point whose distance from the scene position point is the target height; Determining a first connection line connecting the at least two scene position points, and determining a second connection line connecting at least two aerial position points; Based on the first connection line and the second connection line, a target virtual prop having the target height and capable of connecting the at least two scene position points is deployed.

14. The method according to claim 13, characterized in that The step of deploying a target virtual prop having the target height and being able to connect the at least two scene position points based on the first connection line and the second connection line includes: Displaying a virtual prop deployment device for deploying the target virtual prop; The virtual prop deployment device is controlled to deploy a target virtual prop having the target height and capable of connecting the at least two scene position points based on the first connection line and the second connection line.

15. The method according to claim 1, wherein: The first virtual object and the second virtual object are respectively located on two sides of the target virtual prop; the method further includes: Do at least one of the following: When the attack of the second virtual object passes through the target virtual prop and acts on the first virtual object, controlling the target virtual prop to weaken or eliminate the negative impact of the attack on the first virtual object; When the attack of the first virtual object passes through the target virtual prop and acts on the second virtual object, controlling the target virtual prop to enhance the attack effect of the attack on the second virtual object; When the second virtual object attacks the first virtual object, controlling the target virtual prop to shield the attack of the second virtual object; When the first virtual object is visible relative to the second virtual object, controlling the first virtual object to be invisible relative to the second virtual object by using the target virtual prop; When the second virtual object is not visible relative to the first virtual object, the second virtual object is controlled to be visible relative to the first virtual object through the target virtual prop.

16. The method according to claim 1, wherein: The method further comprises: Do at least one of the following: When the second virtual object passes through the target virtual prop, reducing the attribute value of the object attribute of the second virtual object; When the target virtual prop has a target effect and the second virtual object passes through the target virtual prop, displaying the effect process of the target effect acting on the second virtual object; When the target virtual prop includes a three-dimensional closed space, and the second virtual object enters the three-dimensional closed space, controlling the second virtual object to stay in the three-dimensional closed space for a target time period; When the target virtual prop includes a three-dimensional closed space and the second virtual object enters the three-dimensional closed space, the attribute value of the object attribute of the second virtual object is reduced.

17. The method according to claim 1, wherein: The method further comprises: In response to a cancel deployment instruction for the target virtual prop, canceling the display of the target virtual prop; or, When the display time of the target virtual item reaches a display time threshold, the display of the target virtual item is cancelled.

18. A virtual item processing device, characterized in that: The device comprises: A first display module, configured to display a virtual scene, wherein the virtual scene includes a first virtual object and a second virtual object opposing the first virtual object; a second display module, configured to display a scene map of the virtual scene in response to a deployment instruction of a target virtual prop of the first virtual object; A receiving module, configured to receive, based on the scene map, a position selection operation for at least two scene location points in the virtual scene; A third display module is used to display a target virtual prop deployed based on the at least two scene location points and capable of connecting the at least two scene location points in response to the location selection operation, wherein the target virtual prop is used to assist the first virtual object to interact with the second virtual object.

19. An electronic device, characterized in that: The electronic device comprises: A memory for storing computer executable instructions; A processor, configured to implement the method for processing virtual items according to any one of claims 1 to 17 when executing the computer executable instructions stored in the memory.

20. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer programs are executed by a processor, the method for processing virtual items according to any one of claims 1 to 17 is implemented.

21. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer programs are executed by a processor, the method for processing virtual items according to any one of claims 1 to 17 is implemented.