CN112121433B - Virtual prop processing method, device, equipment and computer readable storage medium - Google Patents

Virtual prop processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112121433B
CN112121433B CN202011063621.6A CN202011063621A CN112121433B CN 112121433 B CN112121433 B CN 112121433B CN 202011063621 A CN202011063621 A CN 202011063621A CN 112121433 B CN112121433 B CN 112121433B
Authority
CN
China
Prior art keywords
virtual
prop
package
virtual prop
virtual object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011063621.6A
Other languages
Chinese (zh)
Other versions
CN112121433A (en
Inventor
黄晓权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011063621.6A priority Critical patent/CN112121433B/en
Publication of CN112121433A publication Critical patent/CN112121433A/en
Application granted granted Critical
Publication of CN112121433B publication Critical patent/CN112121433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Abstract

The application provides a virtual prop processing method, device, equipment and computer readable storage medium; the method comprises the following steps: presenting a virtual prop package containing at least two first virtual props in a picture of the virtual scene; controlling the virtual object to move towards the virtual prop package in response to a movement instruction for the virtual object in the picture; when the virtual object moves to a target area and the virtual prop package is in a pickable state, the virtual object is controlled to pick up a first virtual prop in the virtual prop package, and attribute change indication information of a second virtual prop is presented based on the picked first virtual prop, wherein the attribute change indication information is used for indicating that the attribute of the second virtual prop equipped by the virtual object is changed. Through this application, can improve human-computer interaction efficiency.

Description

Virtual prop processing method, device, equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for processing virtual props.
Background
In most virtual scene applications, virtual objects are usually provided with virtual props due to the requirement of interaction between the virtual objects, and users interact with the virtual props by controlling the virtual objects, so that the properties of the virtual props provided by both interaction parties are changed. However, in order to change the attribute of the virtual prop equipped by itself or the counterpart, multiple interactions or long interactions are often required, and the human-computer interaction efficiency is low.
Disclosure of Invention
The embodiment of the application provides a method, a device and a computer readable storage medium, which can improve the man-machine interaction efficiency.
The embodiment of the application provides a method for processing virtual props, which comprises the following steps:
presenting a virtual prop package containing at least two first virtual props in a picture of the virtual scene;
controlling the virtual object to move towards the virtual prop package in response to a movement instruction for the virtual object in the picture;
when the virtual object moves to the target area and the virtual prop package is in a pickable state, controlling the virtual object to pick up a first virtual prop in the virtual prop package, and
and presenting attribute change indication information of the second virtual prop based on the picked first virtual prop, wherein the attribute change indication information is used for indicating the attribute change of the second virtual prop equipped with the virtual object.
The embodiment of the application provides a processing device for virtual props, which comprises: .
The first presentation module is used for presenting a virtual prop package containing at least two first virtual props in a picture of the virtual scene;
the motion control module is used for responding to a motion instruction for a virtual object in the picture and controlling the virtual object to move towards the virtual prop package;
the picking control module is used for controlling the virtual object to pick up a first virtual prop in the virtual prop package when the virtual object moves to a target area and the virtual prop package is in a pickable state;
and the second presentation module is used for presenting attribute change indication information of the second virtual prop based on the picked first virtual prop, wherein the attribute change indication information is used for indicating the attribute change of the second virtual prop equipped with the virtual object.
In the above solution, before the presenting, in the picture of the virtual scene, a virtual prop package including at least two first virtual props, the apparatus further includes:
the throwing control module is also used for presenting operation controls of the virtual prop package;
and when the operation control is in an activated state, responding to triggering operation for the operation control, and controlling the virtual object to throw the virtual prop package.
In the above scheme, the throwing control module is further configured to obtain a first position of the virtual object in the virtual scene, and a second position along an orientation of the virtual object, where the second position is a target distance from the first position;
and when no obstacle exists between the first position and the second position, controlling the virtual object to throw the virtual prop to the second position.
In the above solution, before the controlling the virtual object to throw the virtual prop packet, the apparatus further includes:
the triggering control module is used for acquiring the state of the virtual object;
triggering and controlling the virtual object to throw the virtual prop package when the state of the virtual object is characterized in that the virtual object is in a state capable of throwing the virtual prop package;
and when the state of the virtual object represents that the virtual object is in a state that the virtual prop package cannot be thrown, presenting indication information indicating that the virtual prop package fails to be thrown.
In the above solution, after the controlling the virtual object to throw the virtual prop packet, the apparatus further includes:
the third presentation module is used for acquiring the throwing position of the virtual prop package when the virtual object releases the virtual prop package;
And when the throwing position of the virtual prop package does not meet the position throwing condition, presenting indication information for indicating that the virtual prop package is failed to throw.
In the above scheme, the device further includes:
a fourth presentation module for presenting a map thumbnail of the virtual scene;
and presenting the position information of the virtual object and the virtual prop package in the map thumbnail, wherein the position information is used for controlling the virtual object to move towards the virtual prop package based on the position information.
In the above scheme, after the virtual object is controlled to move towards the virtual prop package, the first presentation module is further configured to display the virtual prop package by adopting a first display style when the virtual prop package is in a pickable state;
and when the virtual prop package is in the non-pickable state, displaying the virtual prop package by adopting a second display mode which is different from the first display mode.
In the above scheme, when the virtual object moves to a target area and the virtual prop package is in a state that the virtual object can be picked up, the pickup control module is further configured to present an induction area when the target area is the induction area of the virtual prop package for inducing the virtual object;
When the virtual object moves to the sensing area and the virtual prop package is in a pickable state, triggering the virtual object to pick up a first virtual prop in the virtual prop package through the sensing action of the virtual prop package.
In the above scheme, the pickup control module is further configured to present a pickup function icon of the virtual prop package;
and responding to the triggering operation for the picking function icon, and controlling the virtual object to pick up the first virtual prop in the virtual prop package.
In the above scheme, the pickup control module is further configured to display the at least two first virtual props in different display modes when the types of the first virtual props in the virtual prop package include at least two types;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop.
In the above scheme, the pickup control module is further configured to obtain a type of a second virtual prop with highest consumption degree from the at least two types of second virtual props when the type of the second virtual prop includes at least two types;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop with the highest consumption degree.
In the above solution, when the types of the second virtual props include at least two types, the pickup control module is further configured to obtain, based on the usage preference of the virtual object for each of the second virtual props, a type of a second virtual prop with a highest preference among the at least two types of the second virtual props;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop with the highest preference.
In the above scheme, the pickup control module is further configured to present a killing power index of each first virtual prop in the virtual prop package for a target virtual object when the types of the first virtual props in the virtual prop package include at least two types;
and controlling the virtual object to pick up the first virtual prop with the highest killing power index.
In the above scheme, the pickup control module is further configured to present a number of times each first virtual prop is picked up when the types of the first virtual props in the virtual prop package include at least two types;
and controlling the virtual object to pick up the first virtual prop with the maximum pick-up times.
In the above scheme, the pickup control module is further configured to display the at least two first virtual props in different display modes when the types of the first virtual props in the virtual prop package include at least two types;
Acquiring roles of the virtual objects allocated in a team;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the role.
In the above scheme, the second presenting module is further configured to present an attribute change special effect of the second virtual prop, where the attribute change special effect is used to indicate that an attribute of the second virtual prop equipped with the virtual object changes.
In the above scheme, before the virtual object is controlled to pick up the first virtual prop in the virtual prop package, the second presenting module is further configured to present an attribute value of the second virtual prop, where the attribute value is a first attribute value;
correspondingly, after the virtual object is controlled to pick up the first virtual prop in the virtual prop package, the second presenting module is further configured to present that the attribute value of the second virtual prop changes from the first attribute value to the second attribute value.
In the above scheme, the second presenting module is further configured to present, when the second virtual prop is a virtual protection prop carried or worn by the virtual object, indication information that a protection attribute of the virtual protection prop changes.
In the above solution, after the presenting, in the picture of the virtual scene, a virtual prop package including at least two first virtual props, the apparatus further includes:
the cancelling presentation module is used for presenting the countdown corresponding to the virtual prop package, and cancelling presentation of the virtual prop package in a picture of a virtual scene when the countdown returns to zero; or alternatively, the process may be performed,
when the virtual object throwing the virtual prop package throws the virtual prop package again, canceling the virtual prop package to be displayed in the picture of the virtual scene; or alternatively, the process may be performed,
when throwing the virtual object of the virtual prop package to attack in the virtual scene and die, canceling the virtual prop package to be displayed in the picture of the virtual scene; or alternatively, the process may be performed,
and when the first virtual prop in the virtual prop package is picked up, canceling the display of the virtual prop package in the picture of the virtual scene.
An embodiment of the present application provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the processing method of the virtual prop provided by the embodiment of the application when executing the executable instructions stored in the memory.
The embodiment of the application provides a computer readable storage medium, which stores executable instructions for realizing the processing method of the virtual prop provided by the embodiment of the application when being executed by a processor.
The embodiment of the application has the following beneficial effects:
by controlling the virtual object to pick up the first virtual prop in the virtual prop package, the attribute of the second virtual prop equipped by the virtual object can be changed, and compared with the mode that the attribute of the virtual prop equipped by the virtual object can be changed only by multiple times or long-time interaction, the number of interactions required for achieving the interaction purpose is reduced, the man-machine interaction efficiency is improved, the occupation of hardware processing resources is reduced, and the interaction experience of users in virtual scenes is improved.
Drawings
FIGS. 1A-1B are schematic diagrams of application modes of a method for processing virtual props according to embodiments of the present application;
fig. 2 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of an alternative method for processing virtual props according to an embodiment of the present disclosure;
FIGS. 4A-4B are schematic views of display interfaces according to embodiments of the present application;
5A-5B are interface diagrams of virtual reality provided by embodiments of the present application;
FIG. 6 is a schematic diagram of a display interface according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a display interface according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a display interface according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a display interface according to an embodiment of the present disclosure;
FIG. 10 is a schematic flow chart of an alternative method for processing virtual props according to an embodiment of the present disclosure;
FIG. 11 is a schematic flow chart of an alternative method for processing virtual props according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a virtual prop processing device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the term "first/second …" is merely to distinguish similar objects and does not represent a particular ordering for objects, it being understood that the "first/second …" may be interchanged with a particular order or precedence where allowed to enable embodiments of the present application described herein to be implemented in other than those illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
Before further describing embodiments of the present application in detail, the terms and expressions that are referred to in the embodiments of the present application are described, and are suitable for the following explanation.
1) And the client is used for providing various service application programs such as a video playing client, an instant messaging client, a live broadcast client and the like, which are operated in the terminal.
2) In response to a condition or state that is used to represent the condition or state upon which the performed operation depends, the performed operation or operations may be in real-time or with a set delay when the condition or state upon which it depends is satisfied; without being specifically described, there is no limitation in the execution sequence of the plurality of operations performed.
3) The virtual scene is a virtual scene displayed (or provided) when the application program runs on the terminal, and the virtual scene can be a simulation environment for a real world, a semi-simulation and semi-fictional virtual environment, or a pure fictional virtual environment. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene or a three-dimensional virtual scene, and the dimension of the virtual scene is not limited in the embodiment of the present application.
For example, when the virtual scene is a three-dimensional virtual space, the three-dimensional virtual space may be an open space, and the virtual scene may be used to simulate a real environment in reality, for example, the virtual scene may include sky, land, sea, etc., and the land may include environmental elements such as a desert, a city, etc. Of course, the virtual scene may also include virtual objects, such as buildings, carriers, and props such as weapons required for the virtual objects in the virtual scene to be used for armed themselves or fight with other virtual objects, and the virtual scene may also be used for simulating real environments in different weather, such as sunny days, rainy days, foggy days, or night days. The user may control the virtual object to move in the virtual scene.
4) Virtual objects, images of various people and objects in a virtual scene that can interact, or movable objects in a virtual scene. The movable object may be a virtual character, a virtual animal, a cartoon character, etc., such as: characters, animals, plants, oil drums, walls, stones, etc. displayed in the virtual scene. The virtual object may be an avatar in the virtual scene for representing a user. A virtual scene may include a plurality of virtual objects, each virtual object having its own shape and volume in the virtual scene, occupying a portion of space in the virtual scene.
Alternatively, the virtual object may be a user Character controlled by an operation on the client, an artificial intelligence (AI, artificial Intelligence) set in the virtual scene fight by training, or a Non-user Character (NPC) set in the virtual scene interaction. Alternatively, the virtual object may be a virtual character that performs an antagonistic interaction in the virtual scene. Optionally, the number of virtual objects participating in the interaction in the virtual scene may be preset, or may be dynamically determined according to the number of clients joining the interaction.
Taking shooting games as an example, a user may control a virtual object to freely fall, glide or open a parachute to fall in the sky of the virtual scene, run, jump, crawl, bend down and advance on land, or control the virtual object to swim, float or dive in the ocean, or the like, and of course, the user may control the virtual object to move in the virtual scene by taking a virtual carrier, for example, the virtual carrier may be a virtual automobile, a virtual aircraft, a virtual yacht, or the like, and only the above scenes are exemplified. The user may also control the virtual object to perform an antagonistic interaction with other virtual objects through a virtual prop, for example, the virtual prop may be a throwing type virtual prop such as a grenade, a cluster grenade, a viscous grenade, or a shooting type virtual prop such as a machine gun, a pistol, a rifle, etc., and the type of the virtual prop is not particularly limited in this application.
5) Scene data representing various characteristics of objects in a virtual scene that are represented during interactions may include, for example, the location of the objects in the virtual scene. Of course, different types of features may be included depending on the type of virtual scene; for example, in a virtual scene of a game, scene data may include a time to wait when various functions are configured in the virtual scene (depending on the number of times the same function can be used in a specific time), and attribute values representing various states of a game character may also include, for example, a life value (also referred to as a red amount) and a magic value (also referred to as a blue amount), and the like.
The embodiments of the present application provide a method, an apparatus, an electronic device, and a computer readable storage medium for processing a virtual prop, which can enable the diversity of functions of picking up the virtual prop, and improve playability, and hereinafter describe an exemplary application of the electronic device provided by the embodiments of the present application, where the electronic device provided by the embodiments of the present application may be implemented as a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device), or implemented as a server, and the server may be one server that is configured separately and supports various services, or may be configured as a server cluster, or may be a cloud server, or the like. In the following, an exemplary application when the device is implemented as a terminal will be described.
In order to facilitate easier understanding of the method for processing a virtual prop provided by the embodiments of the present application, first, an exemplary implementation scenario of the method for processing a virtual prop provided by the embodiments of the present application is described, where the virtual scenario may be output completely based on a terminal or based on cooperation between the terminal and a server.
In some embodiments, the virtual scene may be an environment for interaction of game characters, for example, the game characters may fight in the virtual scene, and both parties may interact in the virtual scene by controlling actions of the virtual objects, so that the user can relax life pressure in the game process.
In an implementation scenario, referring to fig. 1A, fig. 1A is an application mode schematic diagram of a processing method of a virtual prop provided in an embodiment of the present application, which is suitable for some application modes that can complete relevant data calculation of a virtual scene 100 completely depending on the computing capability of a terminal 400, for example, a game in a single-machine/offline mode, and 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 graphic computing hardware, and completes loading, analysis and rendering of the display data, and outputs a video frame capable of forming the visual perception for the virtual scene at the graphic output hardware, for example, a two-dimensional video frame is presented on the display screen of the smart phone, or a video frame realizing the three-dimensional display effect is projected on the lenses of the augmented reality/virtual reality glasses; in addition, to enrich the perceived effect, the device may also form one or more of auditory perception, tactile perception, motion perception and gustatory perception by means of different hardware.
As an example, the terminal 400 is installed and operated with a client 410 (e.g., a stand-alone game application) supporting a Virtual scene, which may be any one of a First person shooter game (FPS, first-Person Shooting game), a third person shooter game, a multiplayer online tactical competition game (MOBA, multiplayer Online Battle Arena games), a Virtual Reality (VR) application, a three-dimensional (3D,Three Dimension) map program, an augmented Reality (AR, augmented Reality) application, or a multiplayer warfare class survival game. The user uses the terminal 400 to operate and control virtual objects located in the virtual scene to perform activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing. Illustratively, the virtual object is a virtual character, such as an emulated persona or a cartoon persona.
The virtual scene includes a virtual object 110 and a virtual prop package 120, wherein the virtual object 110 can be a game role controlled by a user (or called player), namely, the virtual object 110 is controlled by a real user and moves in the virtual scene in response to the operation of the real user on a controller (including a touch screen, a sound control switch, a keyboard, a mouse, a rocker and the like), for example, when the real user moves the rocker leftwards, the virtual object 110 moves leftwards in the virtual scene, and can still keep static in place, jump and use various functions (such as skills and props); virtual props in virtual prop package 120 may be picked up by virtual object 110, e.g., virtual object 110 picks up a first virtual prop in virtual prop package 120 and changes a property of a second virtual prop equipped by virtual object 110 based on the picked first virtual prop. Virtual prop package 120 may be thrown by virtual object 110 or by another object.
For example, in a shooting-type game application, a picture of a virtual scene 100 observed from a view angle of a virtual object 110 is presented on a client 410, and a virtual prop package 120 including at least two first virtual props is presented in the picture, a user controls the virtual object 110 to move toward the virtual prop package 120 through the client 410, and when the virtual object 110 moves to a target area centered on a target position and the virtual prop package is in a pickable state, the user controls the virtual object 110 to pick up the first virtual prop in the virtual prop package 120, and attribute change indication information based on the second virtual prop equipped by the virtual object 110 caused by the first virtual prop is presented.
In another implementation scenario, referring to fig. 1B, fig. 1B is a schematic application mode diagram 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, and is generally applicable to an application mode that depends on a computing capability of the server 200 to complete virtual scene computation and output a virtual scene at the terminal 400.
Taking the example of forming the visual perception of the virtual scene 100, the server 200 performs calculation of the virtual scene related display data and sends the calculated virtual scene related display data to the terminal 400, the terminal 400 finishes loading, analyzing and rendering of the calculated display data depending on the graphic calculation hardware, and outputs the virtual scene depending on the graphic output hardware to form the visual perception, for example, a two-dimensional video frame can be presented on a display screen of a smart phone, or a video frame for realizing a three-dimensional display effect can be projected on a lens of an augmented reality/virtual reality glasses; for the perception of the form of the virtual scene, it will be appreciated that the auditory perception may be formed by means of the corresponding hardware output of the terminal, e.g. using microphone output, the tactile perception may be formed using vibrator output, etc.
As an example, the terminal 400 runs a client 410 (e.g., a web-version game application) installed and running with a supporting virtual scene, and performs game interaction with other users by connecting a game server (i.e., the server 200), the terminal 400 outputs a virtual scene 100, in which a virtual object 110 and a virtual prop package 120 are included, the virtual object 110 may be a game character controlled by a user (or player), i.e., the virtual object 110 is controlled by a real user, and will move in the virtual scene in response to an operation of the real user with respect to a controller (including a touch screen, a voice control switch, a keyboard, a mouse, a joystick, etc.), for example, when the real user moves the joystick to the left, the virtual object 110 will move to the left in the virtual scene, and may also remain stationary in place, jump, and use various functions (e.g., skills and props); virtual props in virtual prop package 120 may be picked up by virtual object 110, e.g., virtual object 110 picks up a first virtual prop in virtual prop package 120 and changes a property of a second virtual prop equipped by virtual object 110 based on the picked first virtual prop. Virtual prop package 120 may be thrown by virtual object 110 or by another object.
For example, a picture of the virtual scene 100 obtained by observing the virtual scene with the view angle of the virtual object 110 is presented on the client 410, and a virtual prop package 120 including at least two first virtual props is presented on the picture, when the user controls the virtual object 110 to move towards the virtual prop package 120 through the client 410, the client 410 sends real-time position information of the virtual object 110 to the server 200, the server 200 detects whether the virtual object 110 moves to a target area where the virtual prop package 120 is located and whether the virtual prop package 120 is in a pickable state according to the picking logic, when the virtual object 110 moves to the target area and the virtual prop package 120 is in the pickable state, the detection result of the virtual prop package 120 is sent to the client 410, the client 410 receives the detection result and displays the virtual prop package 120 in the pickable state through a target display style, and the user controls the first virtual prop in the virtual object package 120 to pick up based on the display style of the virtual prop package 120 and presents an indication of a change of the attribute of the virtual prop 110 based on the second virtual prop caused by the first virtual prop.
Referring to fig. 2, fig. 2 is an optional schematic structural diagram of an electronic device 500 provided in an embodiment of the present application, in an actual application, the electronic device 500 may be the terminal 400 in fig. 1A, or may be the terminal 400 or the server 200 in fig. 1B, and a computer device implementing a method for processing a virtual prop in an embodiment of the present application is described by taking the electronic device as an example of the terminal 400 shown in fig. 1A. The electronic device 500 shown in fig. 2 includes: at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in electronic device 500 are coupled together by bus system 540. It is appreciated that the bus system 540 is used to enable connected communications between these components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to the data bus. The various buses are labeled as bus system 540 in fig. 2 for clarity of illustration.
The processor 510 may be an integrated circuit chip with signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, or the like, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
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 displays. 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.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 550 may optionally include one or more storage devices physically located remote from processor 510.
Memory 550 includes volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The non-volatile memory may be read only memory (ROM, read Only Me mory) and the volatile memory may be random access memory (RAM, random Access Memor y). The memory 550 described in embodiments herein is intended to comprise any suitable type of memory.
In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
network communication module 552 is used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB, universal Serial Bus), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating a peripheral device and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
the input processing module 554 is configured 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.
In some embodiments, the processing device for virtual props provided in the embodiments of the present application may be implemented in software, and fig. 2 shows a processing device 555 for virtual props stored in a memory 550, which may be software in the form of a program and a plug-in, and includes the following software modules: the first rendering module 5551, the motion control module 5552, the pick-up control module 5553 and the second rendering module 5554 are logical, and thus may be arbitrarily combined or further split depending on the implemented functionality.
The functions of the respective modules will be described hereinafter.
In other embodiments, the processing apparatus for virtual props provided in the embodiments of the present application may be implemented in hardware, and by way of example, the processing apparatus for virtual props provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor that is programmed to perform the processing method for virtual props provided in the embodiments of the present application, for example, a processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSP, programmable logic device (PLD, programmable Logic Device), complex programmable logic device (CPLD, complex Programmable Logic Device), field programmable gate array (FPGA, field-Pro grammable Gate Array), or other electronic component.
Next, a method for processing a virtual prop provided in an embodiment of the present application will be described, where in actual implementation, the method for processing a virtual prop provided in an embodiment of the present application may be implemented by a server or a terminal alone, or may be implemented by a server and a terminal in cooperation.
Referring to fig. 3, fig. 3 is a schematic flow chart of an alternative method for processing a virtual prop according to an embodiment of the present application, and will be described with reference to the steps shown in fig. 3.
Step 101: and the terminal presents a virtual prop package containing at least two first virtual props in the picture of the virtual scene.
In practical application, an application program supporting a virtual scene is installed on a terminal, when a user opens the application program on the terminal and the terminal runs the application program, the user can perform touch operation on the terminal, after the terminal detects the touch operation of the user, scene data of the virtual scene is obtained in response to the touch operation, a picture of the virtual scene is rendered based on the scene data of the virtual scene, and the picture of the rendered virtual scene is presented on the terminal.
Here, the image of the virtual scene may be obtained by observing the virtual scene from the first person object perspective or from the third person perspective, and the image of the virtual scene may be presented with an interactive object and an object interaction environment in addition to the operation control of the target virtual prop, for example, the virtual object and the target object which are in hostile relation interact in the virtual scene.
In some embodiments, before presenting the virtual prop package in the picture of the virtual scene, the presented virtual prop package may also be thrown by:
Presenting an operation control of the virtual prop package; when the operation control is in an activated state, the virtual object is controlled to throw the virtual prop package in response to triggering operation for the operation control.
Before or during the process of presenting the picture of the virtual scene, the terminal may present a selection interface for selecting the virtual prop, where the selection interface includes at least one operation control of the virtual prop or the virtual prop package, where the operation control is an icon corresponding to the virtual prop or the virtual prop package that may be used in the virtual scene, and the selection interface may occupy a display interface of the whole terminal, or may occupy a part of a display interface of the whole display interface of the terminal, where the selection interface may be suspended on the picture of the virtual scene.
In practical application, only when the operation control is in an activated state, the virtual object can be controlled to trigger the operation control, the control of the virtual prop package can be activated in a time cooling mode, the cooling time of the operation control of different virtual prop packages is different, and generally speaking, the more powerful the function of the virtual prop package is, the longer the cooling time of the corresponding operation control is. When the operation control of the virtual prop package is presented, a corresponding cooling time or a required energy progress annular bar can be presented, and when the countdown of the cooling time gradually returns to 0 or the energy progress annular bar is gradually full of the annular shape along with the time, the operation control is activated, and the display style of the operation control in the activated state is different from the display style of the operation control in the unactivated state.
Referring to fig. 4A-4B, fig. 4A-4B are schematic views of a display interface provided in an embodiment of the present application, in fig. 4A, an operation control 401 in an inactive state is displayed in a gray scale display style, and in fig. 4B, an operation control 402 in an active state is displayed in a highlight display style.
In some embodiments, only the virtual object is in a legal state and the virtual prop package can not be thrown in an illegal state, and correspondingly, when receiving a triggering operation for the operation control, the terminal needs to acquire the state of the virtual object; triggering and controlling the virtual object to throw the virtual prop package when the state of the virtual object represents that the virtual object is in a state capable of throwing the virtual prop package; and when the state of the virtual object represents that the virtual object is in a state that the virtual object cannot throw the virtual prop package, indicating information indicating that the virtual prop package fails to throw is presented.
When the virtual object is successfully matched, the virtual object is determined to be in the state capable of throwing the virtual prop package, the virtual object is triggered to be controlled to throw the virtual prop package, and when the matching is failed, the virtual object is determined to be in the state incapable of throwing the virtual prop package, the virtual object is not allowed to throw the virtual prop package, and indication information such as 'incapable of throwing the virtual resource package in the state' is presented; or when receiving triggering operation for the operation control, matching the state of the virtual object with an illegal state preset by the virtual prop package, and when the matching is successful, determining that the virtual object is in a state that the virtual prop package cannot be thrown, not allowing the virtual object to throw the virtual prop package, and presenting indication information such as 'virtual resource package cannot be thrown in the state'; when the matching fails, the virtual object is determined to be in a state capable of throwing the virtual prop package, and the virtual object is triggered to throw the virtual prop package.
For example, the illegal states preset by the virtual prop package that cannot be thrown include: the method comprises the steps of climbing, swimming, falling, wing mounting, jumping, running, sliding shovel and uploading a carrier, wherein the terminal matches the state of a virtual object obtained when the triggering operation for operation control is received with the illegal state, and when the matching is successful, namely the virtual object is in any illegal state, the virtual object is characterized in that the virtual object is in a state that the virtual prop package cannot be thrown, the virtual object is not allowed to throw the virtual prop package, and indication information indicating that the virtual prop package cannot be thrown in the state is displayed, for example.
In some embodiments, virtual object throwing virtual prop packages may be controlled by: acquiring a first position of a virtual object in a virtual scene and a second position which is a target distance from the first position along the direction of the virtual object; and when no obstacle exists between the first position and the second position, controlling the virtual object to throw the virtual prop package to the second position.
Here, a second position at a target distance between a first position where the virtual object is located and the front of the virtual object is obtained, whether an obstacle (such as a wall, an oil drum, or the like, which obstructs the movement of the virtual object) or a non-navigation layer exists between the first position and the second position is judged, when it is determined that no obstacle exists between the first position and the second position, the virtual object is controlled to throw the virtual prop package to the second position, and when an obstacle exists between the first position and the second position, the virtual object is controlled to throw the virtual prop package to the first position, namely, if an obstacle exists between the first position and the second position, the virtual object is controlled to throw the virtual prop package to the foot of the virtual object.
In some embodiments, the detection of the presence of an obstacle between the first location and the second location may be performed by: transmitting detection rays consistent with the direction along the second virtual prop from a first position of the second virtual prop to a second position by binding a camera component on the second virtual prop equipped with the virtual object; whether an obstacle exists between the first location and the second location is determined based on the detected rays. When the detected radiation intersects a collider assembly (e.g., a collision box, a collision ball, etc.) bound to the obstacle, then determining that the obstacle exists between the first location and the second location; when the detected ray does not intersect a collider assembly bound to the obstacle, then it is indicated that no obstacle is present between the first location and the second location.
In some embodiments, after the virtual object is controlled to throw the virtual prop package, a throwing position of the virtual prop package when the virtual object releases the virtual prop package may also be obtained; and when the throwing position of the virtual prop packet does not meet the position throwing condition, indicating information for indicating that the virtual prop packet is failed to throw is presented. For example, if the throwing position is an illegal position such as a high wall or a high building, the information indicating that the virtual prop package cannot be thrown here is displayed, for example, if the throwing position does not satisfy the position throwing condition.
Step 102: and controlling the virtual object to move towards the virtual prop package in response to the movement instruction of the virtual object in the picture.
In some embodiments, the user may control the virtual object to move, flip, jump, etc. in the virtual scene according to the virtual object motion instruction, and receive the motion instruction of the virtual object through the picture of the virtual scene on the terminal, so as to control the virtual object to move in the virtual scene, where the content presented in the picture of the virtual scene changes along with the motion of the virtual object during the motion, that is, the process that the virtual object moves towards the virtual prop packet is presented.
In some embodiments, when displaying the motion process of the virtual object in the virtual scene in the picture of the virtual scene, determining a field of view area of the viewing object according to the viewing position and the field angle of the viewing object in the complete virtual scene; the partial virtual scene located in the view field region of the virtual scene is presented, i.e. the displayed virtual scene may be a partial virtual scene with respect to the panoramic virtual scene.
For example, taking a user wearing a virtual reality device as an example, referring to fig. 5A, fig. 5A is a schematic diagram of an interface of virtual reality provided in an embodiment of the present application, a part of a virtual scene 502 located in a view field area of a virtual scene 501 can be perceived by a viewing user (i.e. a real user) in the virtual reality device through a lens, a sensor (such as a nine-axis sensor) for detecting a posture change of the virtual reality device in real time is provided in the virtual reality device, if the user wears the virtual reality device, when the posture of the head of the user changes, the real-time posture of the head is transmitted to a processor, so as to calculate a gaze point of the user in the virtual scene, calculate an image in a user gaze range (i.e. a view field area) in a three-dimensional model of the virtual scene according to the gaze point, and display the image on a display screen, so that the user looks like an immersive experience in the real environment. For other types of virtual reality devices, such as mobile virtual reality devices (PCVR), the principle of implementing visual perception is similar to that described above, except that PCVR, mobile virtual reality devices, etc. do not themselves integrate processors that implement related calculations, and do not have the functionality of independent virtual reality inputs and outputs.
Taking the example that the user controls the virtual object 503 in the virtual scene, that is, the user views the virtual object 503, see fig. 5B, and fig. 5B is a schematic interface diagram of virtual reality provided in the embodiment of the present application, the user controls the virtual object 503 to perform a motion operation, such as running, squatting, and the like, by controlling the viewing position and the viewing angle of the virtual object 503 in the complete virtual scene 501, and presents the motion process of the virtual object 503 in the virtual scene.
In some embodiments, a map thumbnail of the virtual scene may also be presented in the screen of the virtual scene; and presenting the position information of the virtual object and the virtual prop package in the map thumbnail, wherein the position information is used for a user to control the virtual object to move towards the virtual prop package based on the position information.
Referring to fig. 6, fig. 6 is a schematic diagram of a display interface provided by the embodiment of the present application, in fig. 6, a virtual prop package 601 is presented in a picture of a virtual scene, where the virtual prop package 601 is used for picking up a part of virtual objects (including a virtual object 603 and a virtual object belonging to the same team as the virtual object 603) of the virtual scene, or for picking up all the virtual objects in the virtual scene (including the virtual object 603, a virtual object belonging to the same team as the virtual object 603 and a virtual object not belonging to the same team as the virtual object 603), and is different in that, for a first virtual prop of the same type in the virtual prop package, if the first virtual prop is picked up by a virtual object belonging to the same team as the virtual object 603, the attribute of the virtual object 603 and a second virtual prop provided by a virtual object belonging to the same team as the virtual object 603 can be enhanced, and if the second virtual prop provided by a virtual object not belonging to the same team as the virtual object 603 is picked up by a virtual object not belonging to the same team as the virtual object 603 can be reduced; the terminal also presents a map thumbnail 602 (a guide map formed by thumbnail of the virtual scene of the whole game), relative position information of the virtual object and the virtual prop package is presented in the map thumbnail 602, and the position of the target virtual prop package can be checked through the map thumbnail 602, so that the virtual object is controlled to quickly move to the area of the target virtual prop package.
Step 103: when the virtual object moves to the target area and the virtual prop package is in a pickable state, the virtual object is controlled to pick up a first virtual prop in the virtual prop package.
Typically, the virtual prop package is valid only for a period of time after being thrown, e.g., 120 seconds after the virtual prop package is thrown, during which time the virtual prop package is in a pickable state; otherwise, the virtual prop package is in an unclassifiable state.
In some embodiments, after controlling the virtual object to throw the virtual prop package, or after controlling the virtual object to move toward the virtual prop package, the terminal may further display the virtual prop package during controlling the virtual object to move toward the virtual prop package by:
when the virtual prop package is in a pickable state, displaying the virtual prop package by adopting a first display mode; and when the virtual prop package is in the non-pickable state, displaying the virtual prop package by adopting a second display mode which is different from the first display mode.
The first display mode is used for representing that the virtual prop package is in a pickable state, for example, the virtual prop package is in an open state through highlighting, flashing, or has a transparent blue pointing light-emitting display mode, and the like; the second display mode is used for representing that the virtual prop package is in an unclassifiable state, and the display mode such as that the virtual prop package is in a closed state or that the virtual prop package does not have transparent blue pointing light emits light is used for displaying the virtual prop package in the unclassifiable state.
Referring to fig. 8, fig. 8 is a schematic diagram of a display interface provided in an embodiment of the present application, in fig. 8, when a virtual prop package is in a pickable state, a perspective display style is used to display a first virtual prop 801 in the virtual prop package, or when a control virtual object picks up the first virtual prop 801 in the virtual prop package, the first virtual prop 801 is displayed in a perspective manner.
In some embodiments, the target area is the range of the virtual prop package available for pickup, i.e., the first virtual prop in the virtual prop package is only possible to pick up if the virtual object moves to the target area. When the virtual object is controlled to throw the virtual prop package to the target position, that is, the target virtual prop package is located at the target position, the target area may be at least one of the following areas: a circular area with a target position as a center and a preset distance as a radius, a rectangular area, a square area or an area with other shapes with the target position as a center, and a sector area (such as a sector area within a range of 3 meters and 120 degrees in front of a virtual prop package) formed by selecting a preset angle from the circular area with the target position as a vertex and the preset distance as the radius. In actual practice, a striker assembly (e.g., a collision box, a collision ball, etc.) may be bound at a location around the target area, whether the virtual object moves to the target area may be determined by detecting whether the virtual object hits the striker assembly, and when the virtual object passes through the striker assembly, the virtual object may be determined to move to the target area.
In some embodiments, controlling a virtual object to pick up a first virtual prop in a virtual prop package may be accomplished by: presenting a pickup function icon of the virtual prop package; and responding to triggering operation for the picking function icon, and controlling the virtual object to pick the first virtual prop in the virtual prop package.
Here, when the virtual object moves to the target area and the virtual prop package is in a pickable state, the user may trigger a pickup instruction for the virtual prop package by triggering the pickup function icon, and the terminal controls the virtual object to pick up the first virtual prop of the virtual prop package in response to the pickup instruction triggered by the triggering operation.
In some embodiments, when the virtual object moves to the target area and the virtual prop package is in a pickable state, controlling the virtual object to pick up the first virtual prop in the virtual prop package may also be achieved by: when the target area can also be an induction area of the virtual prop package for inducing the virtual object, the terminal also presents the induction area; when the virtual object moves to the sensing area and the virtual prop package is in a pickable state, triggering the virtual object to pick up a first virtual prop in the virtual prop package through the sensing action of the virtual prop package.
In practical implementation, the sensor can be bound on the virtual prop package, the sensing area sensed by the sensor is taken as the target area, at the moment, the sensing area can be displayed in a sampling target display mode (such as highlighting) to be different from the non-sensing area, when the virtual object moves to the sensing area and the virtual prop package is in a pickable state, the virtual object is triggered to pick up the first virtual prop in the virtual prop package through the sensing action of the sensor bound on the virtual prop package, namely, the virtual object moves to the target area and the virtual prop package is in the pickable state, the virtual object automatically picks up the first virtual prop in the virtual prop package, and as the sensing action has stronger sensitivity, the virtual object can pick up the first virtual prop of the virtual prop package quickly once moving to the target area without triggering operation of a user, so that the picking up accuracy and efficiency of the first virtual prop in the virtual prop package are improved, and the user experience is improved.
It should be noted that, in the process of controlling the virtual object to move to the target area, the terminal may present the whole process of moving the virtual object to the target area, may present a part of the process of moving the virtual object to the target area, and may also present only the result of moving the virtual object to the target area.
When the virtual object moves to the target area and the virtual prop package is in a pickable state, if only one type of first virtual props of the virtual prop package exists and the number of the first virtual props of the type is a plurality of, the virtual object can be controlled to pick up the first virtual props of the preset number (such as 2) at most, and similarly, other virtual objects which are in the same team with the virtual object also pick up the first virtual props of the preset number at most.
In some embodiments, the virtual object may be controlled to pick up a first virtual prop in the virtual prop package by:
when the types of the first virtual props in the virtual prop package comprise at least two types, displaying the at least two types of the first virtual props in different display modes; and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop.
The types of the first virtual props in the virtual prop package are various, for example, the types of the first virtual props comprise throwing type, defending type, attack type, carrier type and the like, each type of the first virtual props corresponds to a display mode, the types of the second virtual props equipped with the virtual objects are obtained, the types of the second virtual props are matched with the types of the plurality of first virtual props, and the virtual objects are controlled to pick up the first virtual props of the target type matched with the types of the second virtual props.
Referring to fig. 7, fig. 7 is a schematic diagram of a display interface provided in the embodiment of the present application, in fig. 7, a virtual prop package 701 includes three types of first virtual props, such as a first virtual prop 702 of a carrier class, a first virtual prop 703 of an attack class, and a first virtual prop 704 of a defending class, and three different display modes are adopted to display the three different types of first virtual props for distinguishing, so that a virtual object 705 is controlled to pick up a first virtual prop adapted to a type of a second virtual prop.
For example, if the second virtual prop equipped with the virtual object is a carrier class, the virtual object is controlled to pick up the first virtual prop 702 of the carrier class, so as to change the attribute of the second virtual prop based on the picked first virtual prop 702, so that the speed of opening the carrier by the virtual object is faster; for another example, if the second virtual prop equipped with the virtual object is an attack class, the virtual object is controlled to pick up the first virtual prop 703 of the attack class, so as to change the attribute of the second virtual prop based on the picked first virtual prop 703, so that the killing power of the virtual object using the second virtual prop is stronger; for another example, if the second virtual prop equipped with the virtual object is a defending class, the virtual object 705 is controlled to pick up the first virtual prop 704 of the defending class, so as to change the attribute of the second virtual prop based on the picked first virtual prop, so that the defending capability of the second virtual prop is stronger, and so on.
In some embodiments, the virtual object may be controlled to pick up a first virtual prop of a target type that is compatible with the type of the second virtual prop by:
when the types of the second virtual props comprise at least two types, obtaining the type of the second virtual prop with the highest consumption degree in the at least two types of the second virtual props; and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop with the highest consumption degree.
The consumption degree is used for representing the consumption or damage degree of the second virtual prop, and the higher the consumption degree is, the higher the consumption degree of the second virtual prop is. In practical applications, the types of the second virtual props equipped with the virtual objects are also various, for example, the types of the second virtual props are defense types, attack types, carrier types and the like, and as the number of the first virtual props which can be picked up by each virtual object is limited, the consumption degree of each type of the second virtual props can be determined first, and the virtual object is controlled to select the first virtual props which are matched with the type of the second virtual object with the highest consumption degree from among the first virtual props, so that the performance of the second virtual props with the highest consumption degree is enhanced, and the overall level of the second virtual props equipped with the virtual objects is improved.
For example, in fig. 7, among the second virtual props provided by the virtual object 705, the second virtual prop of the defending class has a consumption degree of 95%, the second virtual prop of the attacking class has a consumption degree of 50%, and the second virtual prop of the carrier class has a consumption degree of 0.
In some embodiments, the virtual object may also be controlled to pick up a first virtual prop of a target type that is compatible with the type of the second virtual prop by:
when the types of the second virtual props comprise at least two types, acquiring the type of the second virtual prop with highest preference degree in the at least two types of the second virtual props based on the use preference of the virtual object for each second virtual prop; and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop with the highest preference.
For example, referring to fig. 7, a virtual prop package 701 includes a first virtual prop 702 of a carrier class, a first virtual prop 703 of an attack class, and a first virtual prop 704 of a defending class, and the usage preference of the virtual object 705, that is, the preference of the virtual object 705 for various types of second virtual props, is predicted by combining the types of the second virtual props historically used by the virtual object 705 through a neural network model. If the type of the second virtual prop with the highest preference is determined to be the carrier class, the virtual object 705 is controlled to pick up the first virtual prop 702 of the carrier class, and since the highest preference characterizes that the virtual object prefers to use the corresponding second virtual prop, changing the attribute of the second virtual object such as enhancing the preference of the virtual object 705 is more helpful to improve the combat capability of the virtual object 705.
In some embodiments, the virtual object may also be controlled to pick up a first virtual prop in the virtual prop package by:
when the types of the first virtual props in the virtual prop package comprise at least two types, the killing power index of each first virtual prop in the virtual prop package for the target virtual object is presented; and controlling the virtual object to pick up the first virtual prop with the highest killing power index.
For example, referring to fig. 7, a virtual prop package 701 includes a first virtual prop 702 of a carrier class, a first virtual prop 703 of an attack class, and a first virtual prop 704 of a defense class, corresponding killing indicators (e.g., a combat value, a defend value, etc.) may be respectively presented, or only the first virtual prop with the highest killing indicator is displayed by adopting a target display style, for example, if the killing of the first virtual prop 702 of the carrier class is the strongest, only a pickable control of the first virtual prop 702 of the carrier class is presented in a screen of the virtual scene, and in response to a trigger operation for the pickable control, the virtual object 705 is controlled to pick up the first virtual prop 702 of the carrier class. And controlling the virtual object to screen the first virtual prop with highest killing power from the plurality of first virtual props through the killing power index of each first virtual prop, so that the virtual object picks up the valuable first virtual prop, and the combat capability of the virtual object is improved.
In some embodiments, the virtual object may also be controlled to pick up a first virtual prop in the virtual prop package by:
when the types of the first virtual props in the virtual prop package comprise at least two types, the number of times that each first virtual prop is picked up is presented; and controlling the virtual object to pick up the first virtual prop with the maximum pick-up times.
For example, referring to fig. 7, in the virtual prop package 701, including the first virtual prop 702 of the carrier class, the first virtual prop 703 of the attack class, and the first virtual prop 704 of the defense class, the number of times that each first virtual prop is picked up by other virtual objects (other virtual objects than the virtual object 705) may be presented separately, and the target display style may also be used to display only the first virtual prop of the maximum number of picks, for example, if the number of picks of the first virtual prop 702 of the carrier class is the maximum, only the pickable control of the first virtual prop 702 of the carrier class is presented in the screen of the virtual scene, and in response to the trigger operation for the pickable control, the first virtual prop 702 of the carrier class is controlled by the virtual object 705. And controlling the virtual object to screen and pick up the first virtual prop with the largest pick-up times from the plurality of first virtual props through the pick-up times of the first virtual props, so that the virtual object picks up the valuable first virtual props, and the combat capability of the virtual object is improved.
In some embodiments, the virtual object may also be controlled to pick up a first virtual prop in the virtual prop package by:
when the types of the first virtual props in the virtual prop package comprise at least two types, displaying the at least two types of the first virtual props in different display modes; acquiring roles of the virtual objects allocated in the team; the virtual object is controlled to pick up a first virtual prop of a target type adapted to the character.
For example, referring to fig. 7, a virtual prop package 701 includes a first virtual prop 702, a first virtual prop 703 and a first virtual prop 704, where the types of the first virtual props are various, for example, the types of the first virtual props include a shooting class, a throwing class, a defending class, an attacking class, and the like, the first virtual prop 702 is a virtual prop of a carrier class, the first virtual prop 703 is a virtual prop of a shooting class, the first virtual prop 704 is a virtual prop of a defending class, different display modes may be used to display the first virtual props of the corresponding types, or only a pickable control of the first virtual prop of a type adapted to the role of the virtual object 705 may be displayed, if the role of the virtual object allocated in a team is a shooter, the type of the first virtual prop 703 is adapted to the role of the virtual object, only the pickable control of the first virtual prop 703 is presented, and the virtual object 705 is controlled to pick up the first virtual prop 703 in response to a trigger operation for the pickable control. And the virtual object is controlled to screen and pick up the first virtual prop matched with the role from the plurality of first virtual props through the allocated roles of the virtual object in the team, so that the virtual object picks up the first virtual prop matched with the role of the virtual object, and the combat capability of the virtual object is improved.
In some embodiments, when the virtual object picking up the virtual prop package and the virtual object throwing the virtual prop package are not in a team, for example, the first virtual object and the second virtual object do not belong to the same team, and are in an opposite relationship, when the second virtual object picks up the virtual prop package thrown by the first virtual object, the types of the first virtual props in the virtual prop package are multiple, the types of the second virtual props equipped by the second virtual object are also multiple, the pickable control of the first virtual props which are least needed by the second virtual object can be displayed by adopting a target display style, for example, the consumption degree of each type of the second virtual props equipped by the second virtual object is firstly determined, and the pickable control of the first virtual props which are matched with the type of the second virtual object with the lowest consumption degree is highlighted by adopting a target display mode, so that the presented first virtual props are the least needed by the second virtual props, the most needed first virtual props are not easy to pick up the most needed by the second virtual props, and the enemy can be provided with a host.
Step 104: based on the picked first virtual prop, attribute change indication information of the second virtual prop is presented, wherein the attribute change indication information is used for indicating the attribute of the second virtual prop equipped with the virtual object to change.
In some embodiments, the attribute change indication information for the second virtual prop may be presented by: and presenting the attribute change special effect of the second virtual prop, wherein the attribute change special effect is used for indicating the attribute change of the second virtual prop equipped with the virtual object.
For example, if the second virtual prop is a virtual prop of a defending class, such as body armor, after the virtual object is controlled to pick up the first virtual prop, the protection state of the body armor provided by the virtual object is enhanced, such as to obtain a durable repairing capability of 5%/second or 10%/second, for a period of time, such as 5 seconds, while the property change special effect of the body armor is presented, such as that the body armor blinks down at the gold edge.
In some embodiments, before controlling the virtual object to pick up a first virtual prop in the virtual prop package, the terminal presents an attribute value of a second virtual prop, the attribute value being the first attribute value; correspondingly, after the control virtual object picks up the first virtual prop in the virtual prop package, the terminal presents that the attribute value of the second virtual prop changes from the first attribute value to the second attribute value.
For example, in fig. 8, before the virtual object is controlled to pick up the first virtual prop in the virtual prop package, a blood bar icon 802 representing the first attribute value of the second virtual prop is presented, after the virtual object is controlled to pick up the first virtual prop in the virtual prop package, referring to fig. 9, fig. 9 is a schematic diagram of a display interface provided in an embodiment of the present application, in fig. 9, the blood bar icon 802 representing the first attribute of the second virtual prop is changed to the blood bar icon 901 of the second attribute, and the blood bar icon is lifted by one frame, so that the attribute value of the second virtual prop is changed based on the picked first virtual prop.
In some embodiments, the attribute change indication information of the second virtual prop may also be presented by: when the second virtual prop is a virtual protection prop carried or worn by the virtual object, indicating information that the protection attribute of the virtual protection prop changes is presented.
For example, the second virtual prop is body armor, and after the virtual object is controlled to pick up the first virtual prop in the virtual prop package, indication information such as 'protection layer number +1' is presented in a picture of the virtual scene so as to represent that the protection layer number of the body armor is changed based on the picked first virtual prop.
In some embodiments, after presenting the virtual prop package containing at least two first virtual props in the picture of the virtual scene, presenting the virtual prop package in the picture of the virtual scene may also be canceled by:
presenting the countdown of the corresponding virtual prop package, and canceling the presentation of the virtual prop package in the picture of the virtual scene when the countdown returns to zero; or when the virtual object throwing the virtual prop package throws the virtual prop package again, canceling the virtual prop package to be displayed in the picture of the virtual scene; or when the virtual object throwing the virtual prop package is attacked in the virtual scene and is dead, canceling the virtual prop package to be displayed in the picture of the virtual scene; or when the first virtual prop in the virtual prop package is picked up, canceling the virtual prop package from being displayed in the picture of the virtual scene.
Here, in general, the virtual prop package is valid only for a period of time after being thrown, for example, for 120 seconds after the virtual prop package is thrown, and when the countdown of the corresponding virtual prop package is presented for return to zero, the virtual prop package automatically disappears in the virtual scene picture; when the virtual object throwing the virtual prop package throws the virtual prop package again, the virtual prop package thrown before can be destroyed; when the virtual object throwing the virtual prop package dies, the virtual prop package disappears along with the death of the virtual object; and when the virtual prop package comprises a preset number of first virtual props and all the first virtual props are picked up, canceling to present the virtual prop package.
An exemplary application of the virtual prop processing method provided by the embodiment of the present application in an application scenario of a game will be described below.
In the related technology, in a shooting game of a mobile terminal, the life value of a virtual object (adding blood to the virtual object) can be increased by picking up a virtual prop such as a medical package, but the mode can only change the attribute of the virtual object and can not change the attribute of other virtual props equipped by the virtual object, so that the function achieved by picking up the virtual prop is single and the playability is not strong; meanwhile, in order to change the attribute of the virtual prop equipped by the user or the counterpart, multiple or long-time interaction is often required, and the human-computer interaction efficiency is low.
Therefore, the application provides a processing method of virtual props, which is characterized in that a virtual prop package is thrown by a virtual object, other virtual objects in a team where the virtual object is located are enabled to pick up a first virtual prop (i.e. a part in a refitted chip or a part package) in the virtual prop package (i.e. a refitted chip or a part package) and display attribute change indication information of a second virtual prop (such as a body armor and a carrier) equipped by the virtual object based on the picked first virtual prop, so that the attribute of other second virtual props equipped by the virtual object can be changed by picking up the first virtual prop, the functions of the picked-up virtual props are diversified, and the playability is improved; meanwhile, compared with the mode that the attribute of the virtual prop equipped by the virtual object can be changed only by needing multiple or long-time interaction, the method can change the attribute of other virtual props equipped by the virtual object only by controlling the virtual object to pick up the virtual prop, reduces the interaction times required for achieving the interaction purpose, and improves the man-machine interaction efficiency.
Referring to fig. 10, fig. 10 is a schematic flow chart of an alternative method for processing a virtual prop according to an embodiment of the present application, and will be described with reference to the steps shown in fig. 10.
Step 201: and the terminal displays the operation control of the virtual prop package in the gray scale in the picture of the virtual scene.
Here, after the user opens the application program of the virtual scene on the terminal, a selection interface including at least one virtual prop is presented in the screen of the virtual scene, the user can select a virtual prop package, such as a retrofit chip, from among the plurality of virtual props, and when the user selects the retrofit chip, the terminal presents an operation control of the retrofit chip in response to the selection operation.
Typically, the operation control of the retrofit chip just selected into the virtual scene is not usable by default, i.e. the operation control of the retrofit chip just selected into the virtual scene is in an inactive state. When a game starts, the terminal sends a data acquisition request to the server, the server acquires and returns the cooling time of the control to the terminal based on the data request, and displays a cooling time corresponding to the switching of the operation control from an inactive state to an active state or a required energy progress annular bar at the terminal, and the countdown of the cooling time gradually returns to zero or the energy progress annular bar gradually fills the annular shape along with the time.
Step 202: the operation control of the virtual prop package in the activated state is highlighted.
Here, when the cooling time of the operation control of the retrofit chip is reset to zero by countdown or the energy progress annular bar becomes full, the operation control is activated and highlighted in the screen of the virtual scene.
Step 203: and responding to the triggering operation for the operation control, and controlling the virtual object to throw the virtual prop package.
Here, when the operation control of the virtual prop package is triggered, a model of the retrofit chip (such as a part package) is cut out, and the virtual object is controlled to drag the model of the retrofit chip and throw it to the ground.
In practical application, only the virtual object is in a legal state and the modified chip can not be thrown in an illegal state, and correspondingly, when receiving the triggering operation for the operation control, the terminal needs to acquire the state of the virtual object; triggering and controlling the virtual object to throw the refitted chip when the state of the virtual object represents that the virtual object is in a state capable of throwing the refitted chip; and when the state of the virtual object represents that the virtual object is in a state that the refitted chip cannot be thrown, presenting indication information for indicating that the refitted chip fails to throw.
For example, the illegal states preset by the retrofit chip and which cannot be thrown include: the method comprises the steps of climbing, swimming, falling, wing mounting, jumping, running, sliding shovel and uploading, wherein the terminal matches the state of a virtual object obtained when the triggering operation for operation control is received with the illegal state, and when the matching is successful, namely the virtual object is in any illegal state, the virtual object is characterized in that the virtual object is in a state that the modified chip cannot be thrown, the modified chip cannot be thrown by the virtual object, and indication information indicating that the modified chip cannot be thrown in the state is displayed.
In the process of controlling the virtual object to throw the modified chip, the key for throwing the modified chip is not canceled, but throwing can be actively interrupted by adjusting the posture of the virtual object, for example, throwing the modified chip is interrupted by adjusting the posture of the virtual object to at least one of the illegal states, and indication information such as "throwing in the state can not be performed" or "chip skill is interrupted" is presented. If the modified chip is released by the virtual object after the modified chip is thrown by the virtual object, the throwing position of the modified chip is obtained, and when the throwing position of the modified chip does not meet the position throwing condition, indication information indicating that the modified chip fails to throw is presented, for example, if the throwing position is an illegal position such as a high wall, a high building and the like, indication information indicating that the throwing failure cannot be thrown here is presented according to the fact that the throwing position does not meet the position throwing condition.
After the terminal controls the virtual object to throw the refitted chip to the target position, the virtual object throwing the refitted chip or other virtual objects in the same battle team with the virtual object can pick up the parts in the refitted chip (or the part package) in a target area taking the target position as a reference point, wherein the target area can be at least one of the following areas: a circular area with a target position as a center and a preset distance as a radius, a rectangular area, a square area or an area with other shapes with the target position as a center, and a sector area (such as a sector area within a range of 3 meters and 120 degrees in front of a virtual prop package) formed by selecting a preset angle from the circular area with the target position as a vertex and the preset distance as the radius.
Step 204: and controlling the virtual object to move towards the virtual prop package in response to the movement instruction of the virtual object in the picture.
Here, a map thumbnail of the virtual scene may also be presented in the screen of the virtual scene, and position information of the retrofit chip is presented in the map thumbnail to control the virtual object to move toward the retrofit chip based on the position information.
Step 205: when the virtual object moves to the target area and the virtual prop package is in a pickable state, the virtual object is controlled to pick up a first virtual prop in the virtual prop package.
Here, when the retrofit chip is in a pickable state, displaying the retrofit chip in a first display style; when the retrofit chip is in an unclippable state, the retrofit chip is displayed in a second display style different from the first display style. The first display mode is used for representing that the modified chip is in a pickable state, for example, the modified chip in the pickable state is displayed through a display mode such as highlighting, flashing, a part package of a modified chip object being in an open state, or a transparent blue pointing edge emitting mode; the second display mode is used for representing that the modified chip is in the non-pickup state, and the modified chip in the non-pickup state is displayed by the display mode such as that the part package corresponding to the modified chip is in the closed state or that the non-transparent blue hooked edge emits light.
In the process of picking up the parts in the refitted chip by the virtual object, the parts to be picked up can be displayed in a perspective display mode, if the virtual object is in a single-hand gun state at the moment, only waist shooting is performed in the single-hand gun process, but shooting cannot be performed in a aiming mode, and the shooting can not be responded until the single-hand state is finished; if the virtual object actively picks up the part in the mirror opening state, the mirror opening is canceled, and the virtual object is controlled to pick up the part by one hand.
When a control for the refitted chip is triggered, loading a prefabricated part (Prefab) file of the refitted chip, creating a part package which can be picked up at a throwing position when the refitted chip is thrown by a virtual object, judging whether the virtual object is in a target area which can be picked up when the virtual object moves towards the part package, and controlling the virtual object to pick up parts in the part package if the virtual object is in the target area which can be picked up, wherein in the picking process, a main weapon is not needed to be cut off, only the process of picking up the parts in the part package is needed to be presented, for example, the process of picking up the parts by a single hand of the virtual object is presented, and a part model in the part package flies into the hand of the virtual object. The main weapon is not cut off in the picking process, so that the picking operation can be changed to fire at the edge, the part in the part package can be prevented from being shot by an enemy in the picking process, and the part package can be automatically destroyed after the part in the part package is picked up.
Step 206: based on the picked first virtual prop, attribute change indication information of a second virtual prop equipped with the virtual object is presented.
Here, the attribute change indication information is used for indicating that the attribute of the second virtual prop equipped with the virtual object is changed, for example, if the second virtual prop is a defending virtual prop such as body armor, the protection state of the body armor equipped with the virtual object is enhanced, for example, the durable repair capability of 5%/second or 10%/second is obtained, for example, 5 seconds is obtained, meanwhile, the attribute change special effect of the body armor is presented, for example, the body armor flashes at the gold edge, and the indication information such as "the protection layer number +1" can be presented, and 3%/5% of non-head bullet injuries can be reduced, and 3 layers can exist at most, and one layer of effect can be reduced every time the body armor is damaged by one bullet.
Referring to fig. 11, fig. 11 is a schematic flow chart of an alternative method for processing a virtual prop according to an embodiment of the present application, and will be described with reference to the steps shown in fig. 11.
Step 401: the client sends a release request for the retrofit chip to the server.
The game client is installed on the terminal, when a user opens the client and the client runs a game, and when the user clicks the modified chip in an activated state, a release request of the modified chip is sent to the server, wherein the release request carries a modified chip identifier and a user identifier.
Step 402: the server releases the retrofit chip based on the release request.
After receiving the release request, the server analyzes the release request, determines whether the user has the right to use the modified chip based on the user identifier and the modified chip identifier, and releases the modified chip when determining that the user has the right to use the modified chip.
Step 403: the client sends a cut-out request for the part package of the retrofit chip to the server.
The server cuts out the corresponding part package and releases the corresponding part package to the terminal based on the user identification and the refitted chip identification in the cutting-out request.
Step 404: the server cuts out the part package based on the cut-out request.
Step 405: and the client controls the virtual object to throw the part package to the target position.
Here, the control virtual object takes out the retrofit chip model, i.e. the part package, and throws the part package to a certain position on the ground.
Step 406: the server sends a creation protocol to create the part package at the target location to the client.
Step 407: the client presents the part package at the target location based on the creation protocol.
Step 408: when the virtual object moves to the part package, the client sends a pick-up request to the server.
Step 409: the server sends a pickable protocol to the client.
Here, the pickup request carries position information of the virtual object, the server determines whether the virtual object can pick up the part package based on the position information of the virtual object in the pickup request, and when the virtual object moves to a part package pickup-possible range, the pickup-possible protocol is transmitted to the client.
Step 410: and after the client receives the pickable protocol, controlling the virtual object to pick up the parts in the part package, and sending the picked parts to the server.
Step 411: the server modifies the corresponding equipment attribute of the virtual object equipment according to the picked part, and sends the modified equipment attribute to the client.
Here, the equipment is the second virtual prop.
Step 412: the client presents equipment attribute change indication information.
Through the mode, the virtual object throwing part package is controlled, parts in the part package are picked up through the virtual object and teammates, attribute values of various equipment systems equipped with the virtual object are improved, and the enemy or the sweeping enemy can be alerted in the picking process, so that the virtual object can pick up the parts at ease, the benefits brought by the picked parts are experienced, the diversity of playing methods is richer, and the playability is stronger.
In some embodiments, as shown in fig. 12, fig. 12 is a schematic structural diagram of a virtual prop processing apparatus provided in an embodiment of the present application, and software modules stored in a virtual prop processing apparatus 555 of a memory 550 may include:
a first presentation module 5551, configured to present a virtual prop package including at least two first virtual props in a frame of a virtual scene;
a motion control module 5552, configured to control, in response to a motion instruction for a virtual object in the screen, the virtual object to move toward the virtual prop package;
a pickup control module 5553, configured to control the virtual object to pick up a first virtual prop in the virtual prop package when the virtual object moves to a target area and the virtual prop package is in a pickable state;
and a second presenting module 5554, configured to present, based on the picked first virtual prop, attribute change indication information of a second virtual prop, where the attribute change indication information is used to indicate that an attribute of the second virtual prop equipped with the virtual object changes.
In some embodiments, before the presenting of the virtual prop package containing at least two first virtual props in the picture of the virtual scene, the apparatus further comprises:
The throwing control module is also used for presenting operation controls of the virtual prop package;
and when the operation control is in an activated state, responding to triggering operation for the operation control, and controlling the virtual object to throw the virtual prop package.
In some embodiments, the throwing control module is further configured to obtain a first position of the virtual object in the virtual scene, and a second position along an orientation of the virtual object that is a target distance from the first position;
and when no obstacle exists between the first position and the second position, controlling the virtual object to throw the virtual prop to the second position.
In some embodiments, before the controlling the virtual object to throw the virtual prop package, the apparatus further comprises:
the triggering control module is used for acquiring the state of the virtual object;
triggering and controlling the virtual object to throw the virtual prop package when the state of the virtual object is characterized in that the virtual object is in a state capable of throwing the virtual prop package;
and when the state of the virtual object represents that the virtual object is in a state that the virtual prop package cannot be thrown, presenting indication information indicating that the virtual prop package fails to be thrown.
In some embodiments, after the controlling the virtual object to throw the virtual prop package, the apparatus further comprises:
the third presentation module is used for acquiring the throwing position of the virtual prop package when the virtual object releases the virtual prop package;
and when the throwing position of the virtual prop package does not meet the position throwing condition, presenting indication information for indicating that the virtual prop package is failed to throw.
In some embodiments, the apparatus further comprises:
a fourth presentation module for presenting a map thumbnail of the virtual scene;
and presenting the position information of the virtual object and the virtual prop package in the map thumbnail, wherein the position information is used for controlling the virtual object to move towards the virtual prop package based on the position information.
In some embodiments, after the controlling the virtual object to move towards the virtual prop package, the first presenting module is further configured to display the virtual prop package in a first display style when the virtual prop package is in a pickable state;
and when the virtual prop package is in the non-pickable state, displaying the virtual prop package by adopting a second display mode which is different from the first display mode.
In some embodiments, the pickup control module is further configured to present a sensing area of the virtual object when the virtual object moves to a target area and the virtual prop package is in a pickable state, and when the target area is the sensing area of the virtual prop package for sensing the virtual object;
when the virtual object moves to the sensing area and the virtual prop package is in a pickable state, triggering the virtual object to pick up a first virtual prop in the virtual prop package through the sensing action of the virtual prop package.
In some embodiments, the pick control module is further configured to present a pick function icon for the virtual prop package;
and responding to the triggering operation for the picking function icon, and controlling the virtual object to pick up the first virtual prop in the virtual prop package.
In some embodiments, the pickup control module is further configured to display the at least two first virtual props in different display modes when the types of the first virtual props in the virtual prop package include at least two;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop.
In some embodiments, the pickup control module is further configured to obtain a type of a second virtual prop having a highest consumption degree from among the at least two second virtual props when the type of the second virtual prop includes at least two types;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop with the highest consumption degree.
In some embodiments, the pickup control module is further configured to, when the types of the second virtual props include at least two types, obtain, based on usage preferences of the virtual object for each of the second virtual props, a type of a second virtual prop with a highest preference among the at least two types of second virtual props;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop with the highest preference.
In some embodiments, the pickup control module is further configured to present a killing index of each first virtual prop in the virtual prop package for a target virtual object when the types of the first virtual props in the virtual prop package include at least two types;
and controlling the virtual object to pick up the first virtual prop with the highest killing power index.
In some embodiments, the pick-up control module is further configured to present a number of times each first virtual prop is picked up when the type of first virtual prop in the virtual prop package includes at least two;
and controlling the virtual object to pick up the first virtual prop with the maximum pick-up times.
In some embodiments, the pickup control module is further configured to display the at least two first virtual props in different display modes when the types of the first virtual props in the virtual prop package include at least two;
acquiring roles of the virtual objects allocated in a team;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the role.
In some embodiments, the second presenting module is further configured to present an attribute change special effect of the second virtual prop, where the attribute change special effect is used to indicate that an attribute of the second virtual prop equipped with the virtual object changes.
In some embodiments, before the controlling the virtual object to pick up the first virtual prop in the virtual prop package, the second presenting module is further configured to present an attribute value of the second virtual prop, where the attribute value is a first attribute value;
Correspondingly, after the virtual object is controlled to pick up the first virtual prop in the virtual prop package, the second presenting module is further configured to present that the attribute value of the second virtual prop changes from the first attribute value to the second attribute value.
In some embodiments, the second presenting module is further configured to present, when the second virtual prop is a virtual protection prop carried or worn by the virtual object, indication information that a protection attribute of the virtual protection prop changes.
In some embodiments, after the presenting of the virtual prop package containing at least two first virtual props in the picture of the virtual scene, the apparatus further comprises:
the cancelling presentation module is used for presenting the countdown corresponding to the virtual prop package, and cancelling presentation of the virtual prop package in a picture of a virtual scene when the countdown returns to zero; or alternatively, the process may be performed,
when the virtual object throwing the virtual prop package throws the virtual prop package again, canceling the virtual prop package to be displayed in the picture of the virtual scene; or alternatively, the process may be performed,
when throwing the virtual object of the virtual prop package to attack in the virtual scene and die, canceling the virtual prop package to be displayed in the picture of the virtual scene; or alternatively, the process may be performed,
And when the first virtual prop in the virtual prop package is picked up, canceling the display of the virtual prop package in the picture of the virtual scene.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for processing the virtual prop according to the embodiment of the application.
Embodiments of the present application provide a computer readable storage medium having stored therein executable instructions that, when executed by a processor, cause the processor to perform a method for processing a virtual prop provided by embodiments of the present application.
In some embodiments, the computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and scope of the present application are intended to be included within the scope of the present application.

Claims (32)

1. A method for processing a virtual prop, the method comprising:
presenting a virtual prop package containing at least two first virtual props in a picture of a virtual scene, wherein the virtual prop package is thrown by a virtual object in the picture;
Controlling the virtual object to move towards the virtual prop package in response to a movement instruction for the virtual object;
when the virtual object moves to an induction area of the virtual prop package for inducing the virtual object, the virtual prop package is in a pickable state, and the types of second virtual props equipped with the virtual object comprise at least two types, acquiring the types of the second virtual props with highest consumption or highest preference in the at least two types of second virtual props, controlling the virtual object to pick up a first virtual prop of a target type matched with the type of the second virtual prop with highest consumption or highest preference in the virtual prop package through the induction action of the virtual prop package, presenting attribute change indication information of the second virtual props based on the picked up first virtual props, wherein the attribute change indication information is used for indicating that the attribute of the second virtual prop equipped with the virtual object and matched with the target type of the picked up first virtual prop is changed, the attribute of the second virtual prop comprises defensive capability, attack capability and the attribute of the second virtual prop is changed when the virtual object is used, and the attribute of the second virtual prop is changed comprises the attribute of the virtual object is changed when the virtual prop is used;
And highlighting a target first virtual prop in the virtual props by adopting a target display mode on a terminal of a second virtual object, wherein the second virtual object and the virtual object throwing the virtual prop package are in different teams, and the second virtual object has the lowest requirement level on the target first virtual prop relative to other first virtual props in the virtual prop package.
2. The method of claim 1, wherein prior to presenting the virtual prop package containing at least two first virtual props in the picture of the virtual scene, the method further comprises:
presenting an operation control of the virtual prop package;
and when the operation control is in an activated state, responding to triggering operation for the operation control, and controlling the virtual object to throw the virtual prop package.
3. The method of claim 2, wherein prior to said controlling the virtual object to throw the virtual prop package, the method further comprises:
acquiring the state of the virtual object;
triggering and controlling the virtual object to throw the virtual prop package when the state of the virtual object is characterized in that the virtual object is in a state capable of throwing the virtual prop package;
And when the state of the virtual object represents that the virtual object is in a state that the virtual prop package cannot be thrown, presenting indication information indicating that the virtual prop package fails to be thrown.
4. The method of claim 2, wherein the controlling the virtual object to throw the virtual prop package comprises:
acquiring a first position of the virtual object in the virtual scene and a second position which is along the direction of the virtual object and is a target distance from the first position;
and when no obstacle exists between the first position and the second position, controlling the virtual object to throw the virtual prop to the second position.
5. The method of claim 2, wherein after said controlling the virtual object to throw the virtual prop package, the method further comprises:
when the virtual object releases the virtual prop package, obtaining a throwing position of the virtual prop package;
and when the throwing position of the virtual prop package does not meet the position throwing condition, presenting indication information for indicating that the virtual prop package is failed to throw.
6. The method of claim 1, wherein the method further comprises:
Presenting a map thumbnail of the virtual scene;
and presenting the position information of the virtual object and the virtual prop package in the map thumbnail, wherein the position information is used for controlling the virtual object to move towards the virtual prop package based on the position information.
7. The method of claim 1, wherein after said controlling the movement of the virtual object toward the virtual prop package, the method further comprises:
when the virtual prop package is in a pickable state, displaying the virtual prop package by adopting a first display mode;
and when the virtual prop package is in the non-pickable state, displaying the virtual prop package by adopting a second display mode which is different from the first display mode.
8. The method of claim 1, wherein the method further comprises:
when the types of the first virtual props in the virtual prop package comprise at least two types, displaying the at least two types of the first virtual props in different display modes;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop.
9. The method of claim 1, wherein the method further comprises:
When the types of the first virtual props in the virtual prop package comprise at least two types, the killing power index of each first virtual prop in the virtual prop package for the target virtual object is presented;
and controlling the virtual object to pick up the first virtual prop with the highest killing power index.
10. The method of claim 1, wherein the method further comprises:
when the types of the first virtual props in the virtual prop package comprise at least two types, the number of times that each first virtual prop is picked up is presented;
and controlling the virtual object to pick up the first virtual prop with the maximum pick-up times.
11. The method of claim 1, wherein the method further comprises:
when the types of the first virtual props in the virtual prop package comprise at least two types, displaying the at least two types of the first virtual props in different display modes;
acquiring roles of the virtual objects allocated in a team;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the role.
12. The method of claim 1, wherein the presenting the attribute change indication information for the second virtual prop comprises:
And presenting the attribute change special effect of the second virtual prop, wherein the attribute change special effect is used for indicating the attribute change of the second virtual prop equipped with the virtual object.
13. The method of claim 1, wherein the method further comprises:
presenting the attribute value of the second virtual prop, wherein the attribute value is a first attribute value;
accordingly, the presenting the attribute change indication information of the second virtual prop includes:
and presenting the attribute value of the second virtual prop to change from the first attribute value to a second attribute value.
14. The method of claim 1, wherein the presenting the attribute change indication information for the second virtual prop comprises:
and when the second virtual prop is a virtual protection prop carried or worn by the virtual object, indicating information that the protection attribute of the virtual protection prop changes is presented.
15. The method of claim 1, wherein after the presenting of the virtual prop package containing at least two first virtual props in the picture of the virtual scene, the method further comprises:
presenting the countdown corresponding to the virtual prop package, and canceling the presentation of the virtual prop package in the picture of the virtual scene when the countdown returns to zero; or alternatively, the process may be performed,
When the virtual object throwing the virtual prop package throws the virtual prop package again, canceling the virtual prop package to be displayed in the picture of the virtual scene; or alternatively, the process may be performed,
when throwing the virtual object of the virtual prop package to attack in the virtual scene and die, canceling the virtual prop package from being displayed in the picture of the virtual scene; or alternatively, the process may be performed,
and when the first virtual prop in the virtual prop package is picked up, canceling the display of the virtual prop package in the picture of the virtual scene.
16. A virtual prop handling device, the device comprising:
the first presentation module is used for presenting a virtual prop package containing at least two first virtual props in a picture of a virtual scene, wherein the virtual prop package is thrown by a virtual object in the picture;
the motion control module is used for responding to a motion instruction aiming at the virtual object and controlling the virtual object to move towards the virtual prop package;
the picking control module is used for acquiring the type of the second virtual prop with highest consumption degree or highest preference degree in at least two second virtual props when the virtual object moves to an induction area of the virtual prop package for inducing the virtual object, the virtual prop package is in a pickable state, and the types of the second virtual props equipped by the virtual object comprise at least two types, and controlling the virtual object to pick up the first virtual prop of a target type matched with the type of the second virtual prop with highest consumption degree or highest preference degree in the virtual prop package through the induction action of the virtual prop package;
The second presenting module is used for presenting attribute change indication information of the second virtual prop based on the picked first virtual prop, wherein the attribute change indication information is used for indicating that the attribute of the second virtual prop which is equipped by the virtual object and is matched with the target type of the picked first virtual prop changes, the attribute of the second virtual prop comprises defensive capacity, attack capacity and speed or durable repairing capacity when the second virtual prop is used by the virtual object, and the attribute change comprises enhancing the attribute of the second virtual prop which is equipped by the virtual object;
and highlighting a target first virtual prop in the virtual props by adopting a target display mode on a terminal of a second virtual object, wherein the second virtual object and the virtual object throwing the virtual prop package are in different teams, and the second virtual object has the lowest requirement level on the target first virtual prop relative to other first virtual props in the virtual prop package.
17. The apparatus of claim 16, wherein prior to presenting the virtual prop package containing the at least two first virtual props in the frame of the virtual scene, the apparatus further comprises a throw control module to:
Presenting an operation control of the virtual prop package;
and when the operation control is in an activated state, responding to triggering operation for the operation control, and controlling the virtual object to throw the virtual prop package.
18. The apparatus of claim 17, wherein the apparatus further comprises a trigger control module to trigger a control module to:
acquiring the state of the virtual object;
triggering and controlling the virtual object to throw the virtual prop package when the state of the virtual object is characterized in that the virtual object is in a state capable of throwing the virtual prop package;
and when the state of the virtual object represents that the virtual object is in a state that the virtual prop package cannot be thrown, presenting indication information indicating that the virtual prop package fails to be thrown.
19. The apparatus of claim 17, wherein the pitch control module is further configured to:
acquiring a first position of the virtual object in the virtual scene and a second position which is along the direction of the virtual object and is a target distance from the first position;
and when no obstacle exists between the first position and the second position, controlling the virtual object to throw the virtual prop to the second position.
20. The apparatus of claim 17, wherein the apparatus further comprises a third rendering module for, after the virtual object is controlled to throw the virtual prop package:
when the virtual object releases the virtual prop package, obtaining a throwing position of the virtual prop package;
and when the throwing position of the virtual prop package does not meet the position throwing condition, presenting indication information for indicating that the virtual prop package is failed to throw.
21. The apparatus of claim 16, further comprising a fourth rendering module to:
presenting a map thumbnail of the virtual scene;
and presenting the position information of the virtual object and the virtual prop package in the map thumbnail, wherein the position information is used for controlling the virtual object to move towards the virtual prop package based on the position information.
22. The apparatus of claim 16, wherein the first rendering module, after the controlling the movement of the virtual object toward the virtual prop package, is further to:
when the virtual prop package is in a pickable state, displaying the virtual prop package by adopting a first display mode;
And when the virtual prop package is in the non-pickable state, displaying the virtual prop package by adopting a second display mode which is different from the first display mode.
23. The apparatus of claim 16, wherein the pick-up control module is further to:
when the types of the first virtual props in the virtual prop package comprise at least two types, displaying the at least two types of the first virtual props in different display modes;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the type of the second virtual prop.
24. The apparatus of claim 16, wherein the pick-up control module is further to:
when the types of the first virtual props in the virtual prop package comprise at least two types, the killing power index of each first virtual prop in the virtual prop package for the target virtual object is presented;
and controlling the virtual object to pick up the first virtual prop with the highest killing power index.
25. The apparatus of claim 16, wherein the pick-up control module is further to:
when the types of the first virtual props in the virtual prop package comprise at least two types, the number of times that each first virtual prop is picked up is presented;
And controlling the virtual object to pick up the first virtual prop with the maximum pick-up times.
26. The apparatus of claim 16, wherein the pick-up control module is further to:
a first virtual prop in a virtual prop package, comprising:
when the types of the first virtual props in the virtual prop package comprise at least two types, displaying the at least two types of the first virtual props in different display modes;
acquiring roles of the virtual objects allocated in a team;
and controlling the virtual object to pick up the first virtual prop of the target type matched with the role.
27. The apparatus of claim 16, wherein the second rendering module is further to:
and presenting the attribute change special effect of the second virtual prop, wherein the attribute change special effect is used for indicating the attribute change of the second virtual prop equipped with the virtual object.
28. The apparatus of claim 16, wherein the second rendering module is further configured to render an attribute value of the second virtual prop, the attribute value being a first attribute value, before the virtual object is controlled to pick up a first virtual prop in the virtual prop package;
Correspondingly, after the virtual object is controlled to pick up the first virtual prop in the virtual prop package, the second presenting module is further configured to present that the attribute value of the second virtual prop changes from the first attribute value to the second attribute value.
29. The apparatus of claim 16, wherein the second rendering module is further to:
and when the second virtual prop is a virtual protection prop carried or worn by the virtual object, indicating information that the protection attribute of the virtual protection prop changes is presented.
30. The apparatus of claim 16, wherein after the presentation of the virtual prop package containing the at least two first virtual props in the frame of the virtual scene, the apparatus further comprises a de-presentation module to:
presenting the countdown corresponding to the virtual prop package, and canceling the presentation of the virtual prop package in the picture of the virtual scene when the countdown returns to zero; or alternatively, the process may be performed,
when the virtual object throwing the virtual prop package throws the virtual prop package again, canceling the virtual prop package to be displayed in the picture of the virtual scene; or alternatively, the process may be performed,
cancelling the virtual object of the virtual prop package from being presented in a picture of the virtual scene when the virtual object throwing the virtual prop package is attacked and die in the virtual scene; or alternatively, the process may be performed,
And when the first virtual prop in the virtual prop package is picked up, canceling the display of the virtual prop package in the picture of the virtual scene.
31. An electronic device, comprising:
a memory for storing executable instructions;
a processor for implementing the method of processing a virtual prop of any one of claims 1 to 15 when executing executable instructions stored in the memory.
32. A computer readable storage medium storing executable instructions for implementing the method of processing a virtual prop of any of claims 1 to 15 when executed by a processor.
CN202011063621.6A 2020-09-30 2020-09-30 Virtual prop processing method, device, equipment and computer readable storage medium Active CN112121433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011063621.6A CN112121433B (en) 2020-09-30 2020-09-30 Virtual prop processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011063621.6A CN112121433B (en) 2020-09-30 2020-09-30 Virtual prop processing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112121433A CN112121433A (en) 2020-12-25
CN112121433B true CN112121433B (en) 2023-05-30

Family

ID=73843577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011063621.6A Active CN112121433B (en) 2020-09-30 2020-09-30 Virtual prop processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112121433B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113144597B (en) * 2021-04-25 2023-03-17 腾讯科技(深圳)有限公司 Virtual vehicle display method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509039A (en) * 2018-03-27 2018-09-07 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of article are picked up in virtual environment
CN110721468A (en) * 2019-09-30 2020-01-24 腾讯科技(深圳)有限公司 Interactive property control method, device, terminal and storage medium
CN110841290A (en) * 2019-11-08 2020-02-28 腾讯科技(深圳)有限公司 Processing method and device of virtual prop, storage medium and electronic device
JP2020044139A (en) * 2018-09-19 2020-03-26 株式会社コロプラ Game program, game method, and information processor
CN111330274A (en) * 2020-02-20 2020-06-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509039A (en) * 2018-03-27 2018-09-07 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of article are picked up in virtual environment
JP2020044139A (en) * 2018-09-19 2020-03-26 株式会社コロプラ Game program, game method, and information processor
CN110721468A (en) * 2019-09-30 2020-01-24 腾讯科技(深圳)有限公司 Interactive property control method, device, terminal and storage medium
CN110841290A (en) * 2019-11-08 2020-02-28 腾讯科技(深圳)有限公司 Processing method and device of virtual prop, storage medium and electronic device
CN111330274A (en) * 2020-02-20 2020-06-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112121433A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN113181650B (en) Control method, device, equipment and storage medium for calling object in virtual scene
WO2022057529A1 (en) Information prompting method and apparatus in virtual scene, electronic device, and storage medium
CN112402960B (en) State switching method, device, equipment and storage medium in virtual scene
CN110732135B (en) Virtual scene display method and device, electronic equipment and storage medium
JP7447296B2 (en) Interactive processing method, device, electronic device and computer program for virtual tools
CN113633964B (en) Virtual skill control method, device, equipment and computer readable storage medium
CN112121414B (en) Tracking method and device in virtual scene, electronic equipment and storage medium
US20230072503A1 (en) Display method and apparatus for virtual vehicle, device, and storage medium
CN113181649B (en) Control method, device, equipment and storage medium for calling object in virtual scene
CN113797536B (en) Control method, device, equipment and storage medium for objects in virtual scene
CN112138385B (en) Virtual shooting prop aiming method and device, electronic equipment and storage medium
CN112057863A (en) Control method, device and equipment of virtual prop and computer readable storage medium
US20230033530A1 (en) Method and apparatus for acquiring position in virtual scene, device, medium and program product
CN114432701A (en) Ray display method, device and equipment based on virtual scene and storage medium
CN112121433B (en) Virtual prop processing method, device, equipment and computer readable storage medium
CN113769379B (en) Method, device, equipment, storage medium and program product for locking virtual object
CN113633991B (en) Virtual skill control method, device, equipment and computer readable storage medium
CN113769392B (en) Method and device for processing state of virtual scene, electronic equipment and storage medium
CN116726499A (en) Position transfer method, device, equipment and storage medium in virtual scene
CN114146413A (en) Virtual object control method, device, equipment, storage medium and program product
CN116920401A (en) Virtual object control method, device, equipment, storage medium and program product
CN117815662A (en) Virtual prop control method, device, equipment, storage medium and program product
CN116764196A (en) Processing method, device, equipment, medium and program product in virtual scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant