CN111228809A - Operation method, device, equipment and readable medium of virtual prop in virtual environment - Google Patents

Operation method, device, equipment and readable medium of virtual prop in virtual environment Download PDF

Info

Publication number
CN111228809A
CN111228809A CN202010022588.6A CN202010022588A CN111228809A CN 111228809 A CN111228809 A CN 111228809A CN 202010022588 A CN202010022588 A CN 202010022588A CN 111228809 A CN111228809 A CN 111228809A
Authority
CN
China
Prior art keywords
function
target
virtual
virtual environment
influence
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.)
Pending
Application number
CN202010022588.6A
Other languages
Chinese (zh)
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 CN202010022588.6A priority Critical patent/CN111228809A/en
Publication of CN111228809A publication Critical patent/CN111228809A/en
Pending legal-status Critical Current

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
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Abstract

The application discloses an operation method, device, equipment and readable medium of a virtual item in a virtual environment, and relates to the field of virtual environments. The method comprises the following steps: displaying a virtual environment interface, wherein the virtual environment interface comprises a thrown target prop; determining basic influence parameters of the target function; determining a function adjustment coefficient corresponding to the target virtual object; and determining the obtained function influence parameters according to the basic influence parameters and the function adjusting coefficients to trigger the target function in the virtual environment. After the target prop is thrown, the function influence parameters of the target function after adjustment are determined according to the basic influence parameters of the target prop and the function adjustment coefficient of the target virtual object, the target function is triggered by the function influence parameters, and the function influence parameters are unknown parameters of other virtual objects and correspond to the target virtual object, so that the unknown performance of the target function is improved, and the attack efficiency of the target virtual object attacking through the target prop is improved.

Description

Operation method, device, equipment and readable medium of virtual prop in virtual environment
Technical Field
The embodiment of the application relates to the field of virtual environments, in particular to an operation method, device, equipment and readable medium of a virtual item in a virtual environment.
Background
In applications that include a virtual environment, it is often necessary to perform activities in the virtual environment by controlling virtual objects in the virtual environment, such as: walking, driving, swimming, fighting, picking up objects, etc., wherein the virtual object can apply the virtual item in a virtual environment to thereby implement a fighting process.
Among the correlation technique, thereby virtual object can be in the virtual environment to picking up the virtual stage property that obtains and use and fight, thereby also can to get into the virtual stage property of assembling when the match fight and use and fight, if: after the virtual gun is picked up, attacking other virtual objects through the virtual gun; after the virtual grenade is picked up, the virtual grenade is thrown to generate an explosion effect and the like.
However, in the application process of the virtual item, especially in the application process of the virtual torpedo, since the application mode of the virtual torpedo is fixed, the damage caused by the virtual torpedo is easily avoided in the virtual fighting process, so that the player needs to eliminate other virtual objects through multiple attacks, such as: and a plurality of virtual grenades are thrown continuously, and the man-machine interaction process is complicated.
Disclosure of Invention
The embodiment of the application provides an operation method, device, equipment and readable medium of a virtual item in a virtual environment, which can improve the attack efficiency of a target virtual object attacking through the target item. The technical scheme is as follows:
in one aspect, a method for operating a virtual item in a virtual environment is provided, where the method includes:
displaying a virtual environment interface, wherein the virtual environment interface comprises a picture for observing the virtual environment by a target virtual object, the picture comprises a thrown target prop, and the target prop is a prop which triggers a target function in the virtual environment after being thrown;
determining a basic influence parameter of the target function, wherein the basic influence parameter is used for representing the degree of influence generated in the virtual environment after the target function is triggered;
determining a function adjustment coefficient corresponding to the target virtual object, wherein the function adjustment coefficient is used for adjusting the degree of influence of the target function in the virtual environment;
and triggering the target function in the virtual environment by using the function influence parameter determined by the basic influence parameter and the function adjusting coefficient, wherein the function influence parameter is the degree of influence of the target function in the virtual environment after being adjusted by the function adjusting coefficient.
In another aspect, an apparatus for operating a virtual item in a virtual environment is provided, the apparatus comprising:
the display module is used for displaying a virtual environment interface, the virtual environment interface comprises a picture for observing the virtual environment by a target virtual object, the picture comprises a thrown target prop, and the target prop is a prop which triggers a target function in the virtual environment after being thrown;
a determining module, configured to determine a basic influence parameter of the target function, where the basic influence parameter is used to indicate a degree of influence generated in the virtual environment after the target function is triggered;
the determining module is further configured to determine a function adjustment coefficient corresponding to the target virtual object, where the function adjustment coefficient is used to adjust a degree of influence of the target function in the virtual environment;
and the triggering module is used for triggering the target function in the virtual environment according to the function influence parameters determined by the basic influence parameters and the function adjusting coefficients, wherein the function influence parameters are the degree of influence of the target function in the virtual environment after being adjusted by the function adjusting coefficients.
In another aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the operation of the virtual prop in the virtual environment according to any of the embodiments of the present application.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and is loaded and executed by the processor to implement the operation of the virtual item in the virtual environment according to any one of the embodiments of the present application.
In another aspect, a computer program product is provided, which when run on a computer, causes the computer to perform the operation of a virtual item in a virtual environment as described in any of the embodiments of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
after the target prop is thrown, the function influence parameters of the target function after adjustment are determined according to the basic influence parameters of the target prop and the function adjustment coefficients of the target virtual object, the target function is triggered by the function influence parameters, the function influence parameters are unknown parameters of other virtual objects and correspond to the target virtual object, the unknown property of the target function when triggered is improved, the target function of the target prop cannot be directly avoided by the other virtual objects, and therefore the human-computer interaction efficiency of the target virtual object attacking through the target prop is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of a throwing process for a virtual grenade provided in an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of a user interface of a method for operating a virtual item in a virtual environment according to an exemplary embodiment of the present application;
fig. 3 is a block diagram of a terminal according to an exemplary embodiment of the present application;
FIG. 4 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 5 is a flowchart of a method for operating a virtual item in a virtual environment according to an exemplary embodiment of the present application;
FIG. 6 is a flow chart of a method of operation of a virtual prop in a virtual environment provided by another exemplary embodiment of the present application;
FIG. 7 is an interface schematic of a skills equipping process provided based on the embodiment shown in FIG. 6;
FIG. 8 is a schematic illustration of the firing range of a virtual grenade provided based on the embodiment shown in FIG. 6;
FIG. 9 is a flowchart of a method of operating a virtual prop in a virtual environment, as provided in another exemplary embodiment of the present application;
FIG. 10 is a schematic illustration of a virtual grenade throwing provided based on the embodiment shown in FIG. 9;
FIG. 11 is a flow chart of a process for throwing a targeted prop provided by an exemplary embodiment of the present application;
fig. 12 is a block diagram of a device for operating virtual items in a virtual environment according to an exemplary embodiment of the present application;
fig. 13 is a block diagram of a device for operating virtual items in a virtual environment according to another exemplary embodiment of the present application;
fig. 14 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are briefly described:
virtual environment: is a virtual environment that is displayed (or provided) when an application is run on the terminal. The virtual environment may be a simulation environment of a real world, a semi-simulation semi-fictional environment, or a pure fictional environment. The virtual environment may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, which is not limited in this application. The following embodiments are illustrated with the virtual environment being a three-dimensional virtual environment.
Virtual object: refers to a movable object in a virtual environment. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil drums, walls, stones, etc. displayed in a three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional volumetric model created based on animated skeletal techniques. Each virtual object has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment.
Throwing the prop: the method refers to a prop for triggering a target function by throwing a virtual object in a virtual environment. Optionally, the throwing prop may trigger the target function when the thrown duration reaches the preset duration, or may trigger the target function when the thrown prop is thrown and there is a collision condition, where the target function is triggered when the thrown duration reaches the preset duration is described as an example. Optionally, the thrown duration is divided into two phases: the method comprises a pre-throwing stage and a throwing stage, wherein the pre-throwing stage refers to a stage that a virtual object holds a throwing prop and determines the throwing direction of the throwing prop, the throwing stage refers to a stage that the virtual object throws the throwing prop along the throwing direction, the throwing prop is thrown to a corresponding position and triggers a target function, and the thrown duration can be timed from the starting time of the pre-throwing stage or the starting time of the throwing stage. In the embodiment of the present application, taking an example that the thrown time length is counted from the start time of the pre-throw stage as an example, as shown in fig. 1, a virtual object 110 is included in a virtual environment interface 100 (fig. 1 shows, for example, a first person perspective, and only a hand of the virtual object 110 is shown), a virtual weapon currently held by the virtual object 110 is a virtual grenade 120, the virtual grenade 120 is a virtual weapon picked up by the virtual object 110 in a virtual environment, and the virtual environment interface 100 further includes a throw control 130. When a pressing operation on the throwing control 130 is received, a pre-throwing stage is started, a countdown 140 (such as countdown for 5 seconds) of the virtual grenade 120 explosion is started, the total countdown duration is a target duration of the virtual grenade 120 explosion, a throwing direction 121 of the virtual grenade 120 is displayed in the virtual environment interface 100, a user can adjust the throwing direction 121 of the virtual grenade 120 in a virtual environment through a dragging operation on the throwing control 130, when the user looses the pressing operation on the throwing control 130, a throwing stage is started, the virtual grenade 120 is thrown along the throwing direction 121, and when the countdown is finished (namely, the thrown duration reaches the target duration), the virtual grenade 120 generates an explosion effect.
It should be noted that, in the above embodiments, the throwing prop is taken as an example of a virtual grenade, and the throwing prop may also be implemented as a prop with other functions of throwing out a trigger target, such as a viscous grenade, a smoke bomb, and the like.
The method provided in the present application may be applied to a virtual reality application program, a three-dimensional map program, a military simulation program, a First-Person shooter game (FPS), a Third-Person shooter game (TPS), a Multiplayer Online tactical competition game (MOBA), and the like, and the following embodiments are exemplified by applications in Games.
The game based on the virtual environment is often composed of one or more maps of game worlds, the virtual environment in the game simulates the scene of the real world, the user can control the virtual object in the game to perform actions of walking, running, jumping, shooting, fighting, driving, switching to use a virtual weapon, attacking other virtual objects by using the virtual weapon and the like in the virtual environment, the interactivity is strong, and a plurality of users can form a team on line to play a competitive game. When the user controls the virtual object to use the virtual weapon to attack the target virtual object, the user selects a proper virtual weapon to attack the virtual object according to the position of the target virtual object or the operation habit. The virtual weapon comprises at least one of a mechanical weapon, a close-up weapon and a throwing weapon, wherein the mechanical weapon comprises rifles, sniper guns, pistols, shotguns and the like, the close-up weapon comprises at least one of daggers, knives, axes, swords, sticks and pots (such as pans), and the throwing weapon comprises common grenades, viscous grenades, flash bombs, smoke bombs and the like.
An embodiment of the present application provides an operation method of a virtual item in a virtual environment, and fig. 2 shows a schematic view of a user interface of the operation method of the virtual item provided in the embodiment of the present application, which is described by taking the virtual item as a virtual torpedo as an example, as shown in fig. 2:
in the virtual environment interface 200, a virtual object 210 and a virtual grenade 220 thrown to the ground are displayed, taking the virtual grenade 220 as an example of a grenade thrown to the ground by the virtual object 210, then an explosion countdown 230 of the virtual grenade 220 is also displayed in the virtual environment interface 200, as shown in fig. 2, the current countdown time is 5 seconds, that is, the virtual grenade 220 will explode after 5 seconds, optionally, before the virtual grenade 220 explodes, the terminal first determines a basic influence parameter 240 of the virtual grenade 220 and a function adjustment parameter 250 corresponding to the virtual object 210, and determines a function influence parameter 260 of the virtual grenade 220 by combining the basic influence parameter 240 and the function adjustment parameter 250, thereby triggering the virtual grenade 220 to explode in the virtual environment.
The terminal in the present application may be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) player, and so on. The terminal is installed and operated with an application program supporting a virtual environment, such as an application program supporting a three-dimensional virtual environment. The application program may be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, a TPS game, an FPS game, and an MOBA game. Alternatively, the application may be a stand-alone application, such as a stand-alone 3D game program, or may be a network online application.
Fig. 3 shows a block diagram of an electronic device according to an exemplary embodiment of the present application. The electronic device 300 includes: an operating system 320 and application programs 322.
Operating system 320 is the base software that provides applications 322 with secure access to computer hardware.
Application 322 is an application that supports a virtual environment. Optionally, application 322 is an application that supports a three-dimensional virtual environment. The application 322 may be any one of a virtual reality application, a three-dimensional map program, a military simulation program, a TPS game, an FPS game, an MOBA game, and a multi-player gunfight type live game. The application 322 may be a stand-alone application, such as a stand-alone 3D game program.
Fig. 4 shows a block diagram of a computer system provided in an exemplary embodiment of the present application. The computer system 400 includes: a first device 420, a server 440, and a second device 460.
The first device 420 is installed and operated with an application program supporting a virtual environment. The application program can be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, a TPS game, an FPS game, an MOBA game and a multi-player gunfight living game. The first device 420 is a device used by a first user who uses the first device 420 to control a first virtual object located in a virtual environment for activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing. Illustratively, the first virtual object is a first virtual character, such as a simulated persona or an animated persona.
The first device 420 is connected to the server 440 through a wireless network or a wired network.
The server 440 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 440 is used to provide background services for applications that support a three-dimensional virtual environment. Optionally, server 440 undertakes primary computing work and first device 420 and second device 460 undertakes secondary computing work; alternatively, server 440 undertakes secondary computing work and first device 420 and second device 460 undertakes primary computing work; alternatively, the server 440, the first device 420, and the second device 460 perform cooperative computing by using a distributed computing architecture.
The second device 460 is installed and operated with an application program supporting a virtual environment. The application program can be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, an FPS game, an MOBA game and a multi-player gun battle type survival game. The second device 460 is a device used by a second user who uses the second device 460 to control a second virtual object located in the virtual environment to perform activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing. Illustratively, the second virtual object is a second virtual character, such as a simulated persona or an animated persona.
Optionally, the first virtual character and the second virtual character are in the same virtual environment. Alternatively, the first avatar and the second avatar may belong to the same team, the same organization, have a friend relationship, or have temporary communication rights. Alternatively, the first virtual character and the second virtual character may belong to different teams, different organizations, or two groups with enemy.
Alternatively, the applications installed on the first device 420 and the second device 460 are the same, or the applications installed on the two devices are the same type of application for different control system platforms. The first device 420 may generally refer to one of a plurality of devices, and the second device 460 may generally refer to one of a plurality of devices, and this embodiment is illustrated by the first device 420 and the second device 460. The device types of the first device 420 and the second device 460 are the same or different, and include: at least one of a game console, a desktop computer, a smartphone, a tablet, an e-book reader, an MP3 player, an MP4 player, and a laptop portable computer. The following embodiments are illustrated where the device is a desktop computer.
Those skilled in the art will appreciate that the number of devices described above may be greater or fewer. For example, the number of the devices may be only one, or several tens or hundreds, or more. The number and the type of the devices are not limited in the embodiments of the present application.
With reference to the above noun introduction and description of implementation environment, a method for operating a virtual item in a virtual environment provided in an embodiment of the present application is described, and fig. 5 is a flowchart of a method for operating a virtual item in a virtual environment provided in an exemplary embodiment of the present application, which is described by taking an example that the method is applied to a terminal, as shown in fig. 5, the method includes:
step 501, displaying a virtual environment interface, where the virtual environment interface includes a picture of a target virtual object observing the virtual environment, and the picture includes a thrown target prop.
Optionally, the target prop is a prop that triggers the target function in the virtual environment after being thrown, where the target prop may be a prop that triggers the target function when the thrown duration reaches a preset duration, or a prop that triggers the target function when there is a collision event in the virtual environment after being thrown, and a trigger condition of the target function is not limited in this embodiment of the application. Schematically, a virtual grenade and a virtual flash bomb in a virtual environment are taken as an example for explanation, wherein the virtual grenade is a prop which triggers a detonation function when the thrown duration in the virtual environment reaches a preset duration, a player controls a target virtual object to throw the virtual grenade, and when the thrown duration of the virtual grenade reaches the preset duration, the virtual grenade detonates in the virtual environment and damages the virtual object located in a preset distance range of a detonation point; the virtual flash bomb is a prop which is thrown in a virtual environment and triggers a flash action when a collision event exists, a player controls a target virtual object to throw the virtual flash bomb, when the virtual flash bomb falls on the ground in the virtual environment, a flash function is triggered, and the sight line of the virtual object located in a flash range is blocked.
Optionally, the target prop can also be realized as a viscous grenade, a smoke bomb and the like, when the target prop is realized as the smoke bomb, the player controls the target virtual object to throw the smoke bomb, when the thrown time length of the smoke bomb reaches the preset time length, the smoke bomb releases smoke by taking the position of the smoke bomb as the center in the virtual environment, and the sight of the virtual object in the virtual environment is obstructed by the smoke.
Optionally, the target prop currently thrown in the virtual environment is a prop thrown by the target virtual object.
Optionally, the screen in the virtual environment interface may be a screen in which the virtual object observes the virtual environment at a first person perspective, or may be a screen in which the virtual object observes the virtual environment at a third person perspective.
Optionally, the target prop may be a prop thrown to the ground in the virtual environment, a prop thrown to a specified location, or a prop thrown to any other location. Illustratively, the target property may be thrown to any one of the ground, a desktop, a windowsill, a balcony, a counter, etc. in a virtual environment when the target property is implemented as a normal grenade; and when this target stage property was realized for viscidity grenade, this target stage property can be thrown in ground, desktop, windowsill, balcony, cabinet face in virtual environment, also can be thrown in the position that can carry out the adhesion to this viscidity grenade in the virtual environment wantonly such as wall, furniture side, wherein, because ordinary grenade does not have the adhesion effect, so this ordinary grenade can be in virtual environment by position bounce-backs such as wall, house side, and because viscidity grenade has the adhesion effect, so this adhesion grenade can the adhesion on the first virtual object that touches after being thrown.
Step 502, determining basic influence parameters of the target function.
Optionally, the base impact parameter is used to indicate the extent to which the target function has an impact in the virtual environment after being triggered. Optionally, the basic influence parameter is configured corresponding to the target function of the target item, and is unrelated to the virtual object of the application target item, that is, when the virtual objects of the application target item are different, the basic influence parameters of the target function are consistent.
Optionally, the basic influence parameter includes at least one of a basic influence radius of the target function in the virtual environment, a basic duration of the target function in the virtual environment, and a basic attack force of the target function in the virtual environment.
The following description is made for the basic influence parameters:
first, a basic influence radius is used for representing the influence range of the target function triggered by the target prop in the virtual environment. Schematically, when the target prop is realized as a virtual grenade, the base influence radius represents a distance range of damage to a virtual object when the virtual grenade is detonated in a virtual environment; when the target prop is realized as a smoke bomb, the basic influence radius is used for representing the diffusion range of smoke released by the smoke bomb in the virtual environment; when the target prop is implemented as a flash bomb, the base impact radius is used to represent the propagation range of the flash effect of the flash bomb in the virtual environment that impacts the virtual object's line of sight range.
And secondly, the basic duration is used for representing the influence duration of the target function triggered by the target prop on the virtual environment. Schematically, when the target prop is realized as a virtual grenade, the basic duration represents the explosion duration of the virtual grenade in the virtual environment, and the virtual grenade can explode for multiple times at a preset frequency or explode for multiple times at a random frequency within the range of the explosion duration; when the target prop is realized as a smoke bomb, the basic duration is used for representing the diffusion duration of smoke released by the smoke bomb in the virtual environment; when the target property is implemented as a flash bomb, the base duration is used to represent the duration of the impact of the flash effect on the virtual object implementation range.
And thirdly, a basic attack force, which is used to represent the attack ability of a target function triggered by the target prop to a virtual object in an attack range in a virtual environment, optionally, when the target prop has the attack ability, the target prop can be implemented as a prop with a detonation ability, such as a virtual torpedo or a viscous torpedo, optionally, when the target prop detonates in the virtual environment, the target prop can generate the same attack to the virtual object in a supply range, and can also generate attacks of different degrees to the virtual objects in different distance ranges, such as: the distance between the detonation point and the attack degree is in negative correlation, and the closer the distance between the detonation point and the attack degree is, the higher the attack degree is.
At step 503, a function adjustment coefficient corresponding to the target virtual object is determined.
Optionally, the function adjustment coefficient is used to adjust the degree of influence of the target function in the virtual environment, and optionally, the function adjustment coefficient is a coefficient corresponding to the target virtual object, the function adjustment coefficients corresponding to different virtual objects may be the same or different, and the function adjustment coefficients of the same virtual object in different virtual partners may be the same or different. Optionally, the function adjustment coefficient is related to a skill of the target virtual object assembled before or after the virtual pairing starts, when the target virtual object assembles the skill corresponding to the function adjustment coefficient, the function adjustment coefficient corresponds to the skill, and when the target virtual object is the skill corresponding to the assembly function adjustment coefficient, the target function is triggered by the basic influence parameter.
And step 504, determining the obtained function influence parameters according to the basic influence parameters and the function adjusting coefficients to trigger the target function in the virtual environment.
Optionally, the basic influence parameter and the function adjustment coefficient are input into a preset operation formula for calculation to obtain a function influence parameter, and the function influence parameter is used for triggering the target function in the virtual environment.
Optionally, multiplying the basic influence parameter by the function adjustment coefficient to obtain a function influence parameter; or, adding the basic influence parameter and the function adjusting coefficient to obtain a function influence parameter; or calculating the weighted sum between the basic influence parameter and the function adjusting coefficient to obtain a function influence parameter; or, the product of the basic influence parameter and the function adjusting coefficient is added to the basic influence parameter to obtain the function influence parameter.
In summary, according to the operation method of the virtual item in the virtual environment provided by this embodiment, after the target item is thrown, the function impact parameter of the target function after adjustment is determined according to the basic impact parameter of the target item and the function adjustment coefficient of the target virtual object, and the target function is triggered by the function impact parameter.
In an optional embodiment, the basic influence parameter includes at least one of a basic influence radius, a basic duration, and a basic attack power, fig. 6 is a flowchart of an operation method of a virtual item in a virtual environment according to another exemplary embodiment of the present application, which is described by taking an example of applying the method to a terminal, as shown in fig. 6, the method includes:
step 601, displaying a virtual environment interface, wherein the virtual environment interface includes a picture of a target virtual object observing the virtual environment, and the picture includes a thrown target prop.
Optionally, the target prop is a prop that triggers the target function in the virtual environment after being thrown, where the target prop may be a prop that triggers the target function when the thrown duration reaches a preset duration, or a prop that triggers the target function when there is a collision event in the virtual environment after being thrown, and a trigger condition of the target function is not limited in this embodiment of the application.
Optionally, the target prop currently thrown in the virtual environment is a prop thrown by the target virtual object.
Step 602, determining basic influence parameters of the target function.
Optionally, the base impact parameter is used to indicate the extent to which the target function has an impact in the virtual environment after being triggered. Optionally, the basic influence parameter is configured corresponding to a target function of the target prop, and is independent of a virtual object to which the target prop is applied.
Optionally, the basic influence parameter includes at least one of a basic influence radius of the target function in the virtual environment, a basic duration of the target function in the virtual environment, and a basic attack force of the target function in the virtual environment.
Step 603, determining a function adjustment coefficient corresponding to the target virtual object.
Optionally, the function adjustment coefficient is used to adjust the degree of influence of the target function in the virtual environment, and optionally, the function adjustment coefficient is a coefficient corresponding to the target virtual object, the function adjustment coefficients corresponding to different virtual objects may be the same or different, and the function adjustment coefficients of the same virtual object in different virtual partners may be the same or different.
Schematically, fig. 7 is an interface schematic diagram of a skill equipping process provided by an exemplary embodiment of the present application, as shown in fig. 7, candidate skills 710, candidate skills 720, candidate skills 730 and target skills 740 are displayed in skill set interface 700, wherein after the target skill 740 (power explosives) is selected, a profile of the target skill 740 is displayed in the skill set interface 700, upon selection of the equipment control 750, equipment operation for the target skill is effected, i.e., the target virtual object is provided with the ability to apply the target skill 740 in a virtual engagement, alternatively, after the target virtual object is equipped with the target skill 740, a skill viewing interface may be opened in the virtual pair to view the equipped target skill 740, as shown in fig. 7, an identification 741 corresponding to the target skill 740 is displayed in the knapsack interface 760.
And step 604, performing product calculation on the basic influence radius and the function adjusting coefficient to obtain a function influence radius as a function influence parameter.
Optionally, the base influence radius is used to represent the influence range of the target function triggered by the target prop in the virtual environment.
Alternatively, the product calculation may be a direct multiplication of the basic influence radius and the function adjustment coefficient, or an addition multiplication of the basic influence radius and the function adjustment coefficient. Schematically, in the embodiment of the present application, a target prop is implemented as a virtual grenade, where the basic influence radius is 5 meters, and the function adjustment coefficient is 1.5, then directly multiplying the basic influence radius of 5 meters by the function adjustment coefficient of 1.5 to obtain 7.5 meters as the function influence radius, that is, before the function adjustment coefficient is adjusted, the detonation radius of the virtual grenade is 5 meters, and after the function adjustment coefficient is adjusted, the detonation radius of the virtual grenade is 7.5 meters; or, if the basic influence radius is 5 meters and the function adjustment coefficient is 0.5, multiplying the basic influence radius of 5 meters by the function adjustment coefficient of 0.5 to obtain 2.5 meters, and adding the 2.5 meters to the basic influence radius of 5 meters to obtain 7.5 meters as the function influence radius, that is, before the function adjustment coefficient is adjusted, the detonation radius of the virtual grenade is 5 meters, and after the function adjustment coefficient is adjusted, the detonation radius of the virtual grenade is 7.5 meters.
Referring to fig. 8, schematically, after the target virtual object throws the virtual grenade in the virtual environment, if the target virtual object does not have skills corresponding to the function adjustment coefficient, the first range 810 corresponding to the basic influence radius detonates the virtual grenade to attack the virtual object in the first range 810, and if the target virtual object has skills corresponding to the function adjustment coefficient, the second range 820 corresponding to the function influence radius detonates the virtual grenade to attack the virtual object in the second range 820.
Step 605, calculating the product of the basic duration and the function adjustment coefficient to obtain the function duration as the function impact parameter.
Optionally, the base duration is used to represent an influence duration of the target function triggered by the target prop on the virtual environment.
Alternatively, the product calculation may be a direct multiplication of the base duration and the functional adjustment coefficient, or an addition multiplication of the base duration and the functional adjustment coefficient. Schematically, in the embodiment of the present application, a case that a target prop is implemented as a smoke bomb is taken as an example for description, where the basic duration is 10 seconds, and the function adjustment coefficient is 1.5, the basic duration 10 seconds is directly multiplied by the function adjustment coefficient 1.5 to obtain 15 seconds as the function duration, that is, before the function adjustment coefficient is adjusted, the smoke diffusion duration of the smoke bomb is 10 seconds, and after the function adjustment coefficient is adjusted, the smoke diffusion duration of the smoke bomb is 15 seconds; or, if the basic duration is 10 seconds and the function adjustment coefficient is 0.5, multiplying the basic duration of 10 seconds by the function adjustment coefficient of 0.5 to obtain 5 seconds, and adding the 5 seconds to the basic duration of 10 seconds to obtain 15 seconds as the function duration, that is, before the function adjustment coefficient is adjusted, the smoke diffusion duration of the smoke bomb is 10 seconds, and after the function adjustment coefficient is adjusted, the smoke diffusion duration of the smoke bomb is 15 seconds.
And 606, calculating the product of the basic attack force and the function adjusting coefficient to obtain the additive attack force as a function influence parameter.
Optionally, the basic attack force is used to represent the ability of the target function triggered by the target prop to attack the virtual object within the attack range in the virtual environment.
Alternatively, the product calculation may be a direct multiplication of the basic attack force and the function adjustment coefficient, or an addition multiplication of the basic attack force and the function adjustment coefficient. Schematically, in the embodiment of the present application, a target prop is implemented as a virtual grenade, for a virtual object located at a first distance from an explosion point of the virtual grenade, a basic attack force is 50, and a function adjustment coefficient is 1.5, then the basic attack force 50 is directly multiplied by the function adjustment coefficient 1.5, so as to obtain 75 meters as an addition attack force, that is, before the function adjustment coefficient is adjusted, the attack force of the virtual grenade on the virtual object at the first distance is 50, and after the function adjustment coefficient is adjusted, the attack force of the virtual grenade on the virtual object at the first distance is 75; or, if the basic attack force is 50 and the function adjustment coefficient is 0.5, multiplying the basic attack force 50 by the function adjustment coefficient 0.5 to obtain 25, and adding the 25 to the basic attack force 50 to obtain 75 as an added attack force, that is, before the function adjustment coefficient is adjusted, the attack force of the virtual grenade on the virtual object at the first distance is 50, and after the function adjustment coefficient is adjusted, the attack force of the virtual grenade on the virtual object at the first distance is 75.
Step 607, the obtained function impact parameters are determined according to the basic impact parameters and the function adjusting coefficients to trigger the target function in the virtual environment.
In summary, according to the operation method of the virtual item in the virtual environment provided by this embodiment, after the target item is thrown, the function impact parameter of the target function after adjustment is determined according to the basic impact parameter of the target item and the function adjustment coefficient of the target virtual object, and the target function is triggered by the function impact parameter.
According to the method provided by the embodiment, the influence range of the target function is adjusted through the function adjustment coefficient, so that other virtual objects are attacked in the unknown range of the other virtual objects, and the attack efficiency of the target virtual object attacking through the target prop is improved.
According to the method provided by the embodiment, the duration of the target function is adjusted through the function adjustment coefficient, so that the hiding or the attack to other virtual objects is carried out within the unknown duration of other virtual objects, and the attack efficiency of the target virtual object attacking through the target prop is improved.
According to the method provided by the embodiment, the attack power of the target function is adjusted through the function adjusting coefficient, so that other virtual objects are attacked under the unknown attack power of other virtual objects, and the attack efficiency of the target virtual object attacking through the target prop is improved.
In an alternative embodiment, the function adjustment coefficient is determined according to a function coefficient adjustment skill, and the function technical adjustment skill may be pre-equipped or acquired in a virtual bureau, fig. 9 is a flowchart of an operation method of a virtual item in a virtual environment according to another exemplary embodiment of the present application, which is described by taking application of the method to a terminal as an example, as shown in fig. 9, the method includes:
step 901, displaying a virtual environment interface, where the virtual environment interface includes a picture of the target virtual object observing the virtual environment, and the picture includes the thrown target prop.
Optionally, the target prop is a prop that triggers the target function in the virtual environment after being thrown, where the target prop may be a prop that triggers the target function when the thrown duration reaches a preset duration, or a prop that triggers the target function when there is a collision event in the virtual environment after being thrown, and a trigger condition of the target function is not limited in this embodiment of the application.
Optionally, the target prop currently thrown in the virtual environment is a prop thrown by the target virtual object.
Schematically, referring to fig. 10, in a virtual environment interface 1000, a target virtual object 1010 throws a virtual grenade, in a pre-throwing process, according to a current position, a target position, a direction and an initial speed of the virtual grenade, a parabola can be calculated according to a physical formula to serve as a flight trajectory of the virtual grenade, a sampling point is selected on the flight trajectory, the sampling point is collected, a special effect line is given, so that a flight trajectory 1020 of the thrown virtual grenade is displayed in the virtual environment interface 1000, and when the virtual grenade is thrown for a preset time, the virtual grenade is detonated, and the virtual object in an attack range is attacked.
Step 902, determining a basic impact parameter of the target function.
Optionally, the base impact parameter is used to indicate the extent to which the target function has an impact in the virtual environment after being triggered. Optionally, the basic influence parameter is configured corresponding to a target function of the target prop, and is independent of a virtual object to which the target prop is applied.
Optionally, the basic influence parameter includes at least one of a basic influence radius of the target function in the virtual environment, a basic duration of the target function in the virtual environment, and a basic attack force of the target function in the virtual environment.
And step 903, acquiring the assembled function coefficient adjustment skill of the target virtual object.
Optionally, the function coefficient adjustment skill is a skill of equipping the target virtual object before the virtual game starts, and for a specific equipment manner, please refer to fig. 7, which is not described herein again.
And step 904, determining a function adjusting parameter corresponding to the function coefficient adjusting skill.
Optionally, the function coefficient adjustment skill corresponds to a function adjustment parameter, and the function adjustment parameter corresponding to the function coefficient adjustment skill is directly obtained.
And step 905, randomly determining a function adjusting coefficient in a coefficient range by combining with the function coefficient adjusting skill.
Optionally, the function coefficient adjustment skill corresponds to a coefficient range, and after the target property is thrown, a value is randomly determined in the coefficient range as the function adjustment coefficient.
Illustratively, the coefficient range corresponding to the function coefficient adjustment skill includes 1.2 to 1.8, and then an arbitrary value is determined between 1.2 and 1.8 as the function adjustment coefficient to adjust the basic influence parameter.
Step 906, responding to that the target virtual object is located in the preset range of the prop extraction box, and displaying a prop extraction control.
Optionally, the item extraction box is an item box provided in the virtual environment for providing rewards to the virtual object. Optionally, the target virtual object acquires exchange resources by completing battle in the virtual environment, extracts props or skills from the prop extraction box through the exchange resources, and extracts the function coefficient adjustment skills from the prop extraction box after deducting a preset number of exchange resources from the possessions of the target virtual object.
Illustratively, the target virtual object receives a monetary award by attacking or deselecting other virtual objects in the virtual environment, such as: every time a virtual object is eliminated to obtain 300 gold coins, the prop is extracted from the prop box or the skill consumes 200 gold coins each time, and one prop or one skill can be extracted each time.
And 907, receiving a trigger operation on the prop extraction control, and extracting the prop extraction control from a prop extraction box to obtain a function coefficient adjustment skill.
Step 908 determines a functional adjustment factor corresponding to the functional coefficient adjustment skill.
In step 909, the target function is triggered in the virtual environment by the functional impact parameter determined by the basic impact parameter and the functional adjustment factor.
Optionally, the basic influence parameter and the function adjustment coefficient are input into a preset operation formula for calculation to obtain a function influence parameter, and the function influence parameter is used for triggering the target function in the virtual environment.
In summary, according to the operation method of the virtual item in the virtual environment provided by this embodiment, after the target item is thrown, the function impact parameter of the target function after adjustment is determined according to the basic impact parameter of the target item and the function adjustment coefficient of the target virtual object, and the target function is triggered by the function impact parameter.
According to the method provided by the embodiment, the function coefficient adjustment skill is provided for the target virtual object in a manner of providing equipment in advance, so that the basic influence parameter of the target function can be adjusted in the virtual game, the unknown performance of the target function is improved, and the attack efficiency of the target virtual object attacking through the target prop is improved.
According to the method provided by the embodiment, the function coefficient adjustment skill is obtained in the virtual game, so that the basic influence parameters of the target function can be adjusted in the virtual game, the unknown performance of the target function is improved, and the attack efficiency of the target virtual object attacking through the target prop is improved.
Fig. 11 is a flowchart of a process for throwing a targeted prop, as shown in fig. 11, according to an exemplary embodiment of the present application, the process including:
step 1101, equipment skills.
Optionally, the equipped skills are used to add target functions of target props thrown by the virtual objects in the virtual environment.
Step 1102, determine whether to press the throwing control for a long time.
Alternatively, when the throwing control is pressed for a long time, a pre-throwing stage is entered, and the player aims at a target position where the target prop is required to be thrown.
Step 1103, when the throwing control is pressed for a long time, the throwing route is displayed.
And step 1104, judging whether to release the throwing control.
And when the player releases the long press of the throwing control, throwing the target prop along the throwing route, so that the target prop flies along the throwing route.
Step 1105, when the throwing control is released, the target prop flies in the air.
Step 1106, determine whether the target property lands.
Step 1107, when the target prop falls to the ground, the target prop falls to the ground.
Optionally, steps 1106 and 1107 are optional steps, that is, the target prop may be detonated during flight or may be detonated when the detonation moment is reached after landing.
Step 1108, determine whether the detonation time is reached.
Optionally, whether the thrown time of the target prop reaches a preset time is judged, and when the thrown time reaches the preset time, the detonation moment is determined.
And step 1109, when the detonation moment is reached, the target prop explodes.
In step 1110, it is determined whether the virtual object is within the explosion range.
Alternatively, the explosive range is a range added by skill.
And 1111, when the virtual object is in the explosion range, calculating the life value of the virtual object according to the explosion range and the attacking force after the addition.
In step 1112, it is determined whether the attacking force exceeds the life value.
And step 1113, when the attacking force exceeds the life value, the virtual object is eliminated.
In summary, according to the operation method of the virtual item in the virtual environment provided by this embodiment, after the target item is thrown, the function impact parameter of the target function after adjustment is determined according to the basic impact parameter of the target item and the function adjustment coefficient of the target virtual object, and the target function is triggered by the function impact parameter.
Fig. 12 is a block diagram of a structure of an operating device of a virtual item in a virtual environment according to an exemplary embodiment of the present application, which is described by taking the device as an example applied to a terminal, and as shown in fig. 12, the device includes: a display module 1210, a determination module 1220, and a trigger module 1230;
a display module 1210, configured to display a virtual environment interface, where the virtual environment interface includes a picture of a target virtual object observing the virtual environment, the picture includes a thrown target prop, and the target prop is a prop that triggers a target function in the virtual environment after being thrown;
a determining module 1220, configured to determine a basic influence parameter of the target function, where the basic influence parameter is used to indicate a degree of influence generated in the virtual environment after the target function is triggered;
the determining module 1220 is further configured to determine a function adjustment coefficient corresponding to the target virtual object, where the function adjustment coefficient is used to adjust a degree of influence of the target function in the virtual environment;
a triggering module 1230, configured to trigger the target function in the virtual environment according to a function influence parameter determined by the basic influence parameter and the function adjustment coefficient, where the function influence parameter is a degree of influence of the target function in the virtual environment after being adjusted by the function adjustment coefficient.
In an optional embodiment, the triggering module 1230 is further configured to input the basic influence parameter and the function adjustment coefficient into a preset operation formula to obtain the function influence parameter; triggering the target function in the virtual environment with the function impact parameter.
In an optional embodiment, the basic influence parameter includes a basic influence radius of the target function in the virtual environment;
the triggering module 1230 is further configured to perform product calculation on the basic influence radius and the function adjustment coefficient to obtain a function influence radius as the function influence parameter, where the function influence radius is used to determine an influence range of the target function in the virtual environment.
In an optional embodiment, the basic impact parameter includes a basic duration of the target function in the virtual environment;
the triggering module 1230 is further configured to calculate a product of the basic duration and the function adjustment coefficient, and obtain a function duration as the function impact parameter, where the function duration is used to determine an impact duration of the target function on the virtual environment.
In an optional embodiment, the basic influence parameter includes a basic attack force of the target function in the virtual environment;
the triggering module 1230 is further configured to perform product calculation on the basic attack force and the function adjustment coefficient to obtain an additive attack force as the function influence parameter, where the additive attack force is used to determine an attack capability of the target function on a virtual object within an attack range in the virtual environment.
In an alternative embodiment, as shown in fig. 13, the apparatus further comprises:
an obtaining module 1240, configured to obtain the assembled functional coefficient adjustment skill of the target virtual object;
the determining module 1220 is further configured to determine the function adjustment coefficient corresponding to the function coefficient adjustment skill; or, the functional coefficient is randomly determined within a coefficient range in combination with the functional coefficient adjustment skill.
In an optional embodiment, the virtual environment further comprises a prop drawing box;
the display module 1210 is further configured to display a prop extraction control in response to that the target virtual object is located within a preset range of the prop extraction box;
the device, still include:
a receiving module 1250, configured to receive a trigger operation on the property extraction control, and extract a function coefficient adjustment skill from the property extraction box;
the determining module 1220 is further configured to determine the function adjustment coefficient corresponding to the function adjustment skill.
In an optional embodiment, the receiving module 1250 is further configured to extract the function coefficient adjustment skill from the prop extraction box after deducting a preset amount of exchange resources from the holdings of the target virtual object.
In summary, in the operating device of the virtual item in the virtual environment provided in this embodiment, after the target item is thrown, the function impact parameter of the target function after adjustment is determined according to the basic impact parameter of the target item and the function adjustment coefficient of the target virtual object, and the target function is triggered by the function impact parameter.
It should be noted that: the operation device of the virtual item in the virtual environment provided by the above embodiment is exemplified by only the division of the above functional modules, and in practical application, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the operation device of the virtual item in the virtual environment and the operation method embodiment of the virtual item in the virtual environment provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 14 shows a block diagram of a terminal 1400 according to an exemplary embodiment of the present invention. The terminal 1400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio layer iii, motion Picture Experts compression standard Audio layer 3), an MP4 player (Moving Picture Experts Group Audio layer IV, motion Picture Experts compression standard Audio layer 4), a notebook computer, or a desktop computer. Terminal 1400 can also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
In general, terminal 1400 includes: a processor 1401, and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1401 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one instruction for execution by processor 1401 to implement a method of operating a virtual prop in a virtual environment as provided by method embodiments herein.
In some embodiments, terminal 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. The processor 1401, the memory 1402, and the peripheral device interface 1403 may be connected by buses or signal lines. Each peripheral device may be connected to the peripheral device interface 1403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1404, a touch display 1405, a camera 1406, audio circuitry 1407, a positioning component 1408, and a power supply 1409.
The peripheral device interface 1403 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1405 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to capture touch signals at or above the surface of the display screen 1405. The touch signal may be input to the processor 1401 for processing as a control signal. At this point, the display 1405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 1405 may be one, providing the front panel of the terminal 1400; in other embodiments, display 1405 may be at least two, respectively disposed on different surfaces of terminal 1400 or in a folded design; in still other embodiments, display 1405 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1400. Even further, the display 1405 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1405 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1401 for processing or inputting the electric signals to the radio frequency circuit 1404 to realize voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is then used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1407 may also include a headphone jack.
The positioning component 1408 serves to locate the current geographic position of the terminal 1400 for navigation or LBS (location based Service). The positioning component 1408 may be based on the positioning component of the GPS (global positioning System) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1409 is used to power the various components of terminal 1400. The power source 1409 may be alternating current, direct current, disposable or rechargeable. When the power source 1409 comprises a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1400 also includes one or more sensors 1410. The one or more sensors 1410 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.
The acceleration sensor 1411 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal 1400. For example, the acceleration sensor 1411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1401 can control the touch display 1405 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1412 may detect a body direction and a rotation angle of the terminal 1400, and the gyro sensor 1412 and the acceleration sensor 1411 may cooperate to collect a 3D motion of the user on the terminal 1400. The processor 1401 can realize the following functions according to the data collected by the gyro sensor 1412: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1413 may be disposed on the side bezel of terminal 1400 and/or underlying touch display 1405. When the pressure sensor 1413 is disposed on the side frame of the terminal 1400, the user's holding signal of the terminal 1400 can be detected, and the processor 1401 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1413. When the pressure sensor 1413 is disposed at the lower layer of the touch display 1405, the processor 1401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 1405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1414 is used for collecting a fingerprint of a user, and the processor 1401 identifies the user according to the fingerprint collected by the fingerprint sensor 1414, or the fingerprint sensor 1414 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 1401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for, and changing settings, etc. Fingerprint sensor 1414 may be disposed on the front, back, or side of terminal 1400. When a physical button or vendor Logo is provided on terminal 1400, fingerprint sensor 1414 may be integrated with the physical button or vendor Logo.
The optical sensor 1415 is used to collect ambient light intensity. In one embodiment, processor 1401 can control the display brightness of touch display 1405 based on the ambient light intensity collected by optical sensor 1415. Specifically, when the ambient light intensity is high, the display luminance of the touch display 1405 is increased; when the ambient light intensity is low, the display brightness of the touch display 1405 is turned down. In another embodiment, the processor 1401 can also dynamically adjust the shooting parameters of the camera assembly 1406 according to the intensity of the ambient light collected by the optical sensor 1415.
Proximity sensor 1416, also known as a distance sensor, is typically disposed on the front panel of terminal 1400. The proximity sensor 1416 is used to collect the distance between the user and the front surface of the terminal 1400. In one embodiment, when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually decreased, processor 1401 controls touch display 1405 to switch from a bright screen state to a dark screen state; when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually increasing, processor 1401 controls touch display 1405 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 14 is not intended to be limiting with respect to terminal 1400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
An embodiment of the present application further provides a computer device, where the computer device includes a memory and a processor, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded by the processor and implements the operation method of the virtual prop in the virtual environment as described in any one of fig. 5, fig. 6, and fig. 9.
Embodiments of the present application further provide a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the computer-readable storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the operation method of the virtual prop in the virtual environment as described in any one of fig. 5, fig. 6, and fig. 9.
The application also provides a computer program product, when the computer program product runs on a computer, the computer is caused to execute the operation method of the virtual item in the virtual environment provided by the above method embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may be a computer readable storage medium contained in a memory of the above embodiments; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium has at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by the processor to implement the method of operating a virtual prop in a virtual environment as described in any of fig. 5, 6, and 9.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method of operating a virtual item in a virtual environment, the method comprising:
displaying a virtual environment interface, wherein the virtual environment interface comprises a picture for observing the virtual environment by a target virtual object, the picture comprises a thrown target prop, and the target prop is a prop which triggers a target function in the virtual environment after being thrown;
determining a basic influence parameter of the target function, wherein the basic influence parameter is used for representing the degree of influence generated in the virtual environment after the target function is triggered;
determining a function adjustment coefficient corresponding to the target virtual object, wherein the function adjustment coefficient is used for adjusting the degree of influence of the target function in the virtual environment;
and triggering the target function in the virtual environment by using the function influence parameter determined by the basic influence parameter and the function adjusting coefficient, wherein the function influence parameter is the degree of influence of the target function in the virtual environment after being adjusted by the function adjusting coefficient.
2. The method of claim 1, wherein the determining the functional impact parameter based on the base impact parameter and the functional adjustment factor triggers the target function in the virtual environment, comprising:
inputting the basic influence parameters and the function adjusting coefficients into a preset operation formula to obtain the function influence parameters;
triggering the target function in the virtual environment with the function impact parameter.
3. The method of claim 2, wherein the base impact parameters include a base impact radius of the target function in the virtual environment;
the step of inputting the basic influence parameter and the function adjustment coefficient into a preset operation formula to obtain the function influence parameter includes:
and performing product calculation on the basic influence radius and the function adjusting coefficient to obtain a function influence radius as the function influence parameter, wherein the function influence radius is used for determining the influence range of the target function in the virtual environment.
4. The method of claim 2, wherein the base impact parameters include a base duration of the target function in the virtual environment;
the step of inputting the basic influence parameter and the function adjustment coefficient into a preset operation formula to obtain the function influence parameter includes:
and performing product calculation on the basic duration and the function adjustment coefficient to obtain function duration as the function influence parameter, wherein the function duration is used for determining the influence duration of the target function on the virtual environment.
5. The method of claim 2, wherein the base impact parameters include a base attack force of the target function in the virtual environment;
the step of inputting the basic influence parameter and the function adjustment coefficient into a preset operation formula to obtain the function influence parameter includes:
and performing product calculation on the basic attack force and the function adjusting coefficient to obtain an addition attack force as the function influence parameter, wherein the addition attack force is used for determining the attack capability of the target function on the virtual object in the attack range in the virtual environment.
6. The method according to any one of claims 1 to 5, wherein the determining a functional adjustment coefficient corresponding to the target virtual object comprises:
acquiring assembled functional coefficient adjustment skills of the target virtual object;
determining the functional adjustment coefficient corresponding to the functional coefficient adjustment skill; or, the functional coefficient is randomly determined within a coefficient range in combination with the functional coefficient adjustment skill.
7. The method according to any one of claims 1 to 5, wherein the virtual environment further comprises a prop extraction box;
the determining a functional adjustment coefficient corresponding to the target virtual object includes:
responding to the target virtual object located in a preset range of the prop extraction box, and displaying a prop extraction control;
receiving triggering operation on the prop extraction control, and extracting from the prop extraction box to obtain a function coefficient adjustment skill;
determining the functional adjustment coefficient corresponding to the functional coefficient adjustment skill.
8. The method of claim 7, wherein said extracting a function coefficient adjustment skill from said property extraction box comprises:
and after deducting a preset number of exchange resources from the possessory of the target virtual object, extracting the function coefficient adjustment skill from the prop extraction box.
9. An apparatus for operating a virtual prop in a virtual environment, the apparatus comprising:
the display module is used for displaying a virtual environment interface, the virtual environment interface comprises a picture for observing the virtual environment by a target virtual object, the picture comprises a thrown target prop, and the target prop is a prop which triggers a target function in the virtual environment after being thrown;
a determining module, configured to determine a basic influence parameter of the target function, where the basic influence parameter is used to indicate a degree of influence generated in the virtual environment after the target function is triggered;
the determining module is further configured to determine a function adjustment coefficient corresponding to the target virtual object, where the function adjustment coefficient is used to adjust a degree of influence of the target function in the virtual environment;
and the triggering module is used for triggering the target function in the virtual environment according to the function influence parameters determined by the basic influence parameters and the function adjusting coefficients, wherein the function influence parameters are the degree of influence of the target function in the virtual environment after being adjusted by the function adjusting coefficients.
10. The apparatus according to claim 9, wherein the triggering module is further configured to input the basic influence parameter and the function adjustment coefficient into a preset operation formula to obtain the function influence parameter; triggering the target function in the virtual environment with the function impact parameter.
11. The apparatus of claim 10, wherein the base impact parameters comprise a base impact radius of the target function in the virtual environment;
the triggering module is further configured to perform product calculation on the basic influence radius and the function adjustment coefficient to obtain a function influence radius as the function influence parameter, where the function influence radius is used to determine an influence range of the target function in the virtual environment.
12. The apparatus of claim 10, wherein the base impact parameters comprise a base duration of the target function in the virtual environment;
the trigger module is further configured to perform product calculation on the basic duration and the function adjustment coefficient to obtain a function duration as the function impact parameter, where the function duration is used to determine an impact duration of the target function on the virtual environment.
13. The apparatus of claim 10, wherein the base impact parameters comprise a base attack force of the target function in the virtual environment;
the triggering module is further configured to perform product calculation on the basic attack force and the function adjustment coefficient to obtain an additive attack force as the function influence parameter, where the additive attack force is used to determine an attack capability of the target function on a virtual object within an attack range in the virtual environment.
14. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes or set of instructions, the at least one instruction, the at least one program, set of codes or set of instructions being loaded and executed by the processor to implement a method of operation of a virtual item in a virtual environment as claimed in any one of claims 1 to 8.
15. A computer-readable storage medium, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a method of operating a virtual prop in a virtual environment according to any one of claims 1 to 8.
CN202010022588.6A 2020-01-09 2020-01-09 Operation method, device, equipment and readable medium of virtual prop in virtual environment Pending CN111228809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010022588.6A CN111228809A (en) 2020-01-09 2020-01-09 Operation method, device, equipment and readable medium of virtual prop in virtual environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010022588.6A CN111228809A (en) 2020-01-09 2020-01-09 Operation method, device, equipment and readable medium of virtual prop in virtual environment

Publications (1)

Publication Number Publication Date
CN111228809A true CN111228809A (en) 2020-06-05

Family

ID=70878158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010022588.6A Pending CN111228809A (en) 2020-01-09 2020-01-09 Operation method, device, equipment and readable medium of virtual prop in virtual environment

Country Status (1)

Country Link
CN (1) CN111228809A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112107859A (en) * 2020-09-18 2020-12-22 腾讯科技(深圳)有限公司 Prop control method and device, storage medium and electronic equipment
CN112138383A (en) * 2020-10-15 2020-12-29 腾讯科技(深圳)有限公司 Virtual item display method, device, equipment and storage medium
CN112604269A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Data processing method and device
CN113546424A (en) * 2021-08-04 2021-10-26 网易(杭州)网络有限公司 Virtual resource use control method and device, computer equipment and storage medium
CN113633982A (en) * 2021-08-13 2021-11-12 腾讯科技(深圳)有限公司 Virtual item display method, device, terminal and storage medium
CN113713385A (en) * 2021-09-14 2021-11-30 腾讯科技(深圳)有限公司 Virtual item control method, device, equipment, medium and computer program product
CN113786618A (en) * 2021-09-29 2021-12-14 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and medium
CN114898537A (en) * 2022-04-19 2022-08-12 广州美术学院 Posture prompting method, posture prompting device, terminal equipment and storage medium
TWI796777B (en) * 2020-09-04 2023-03-21 大陸商騰訊科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN116271823A (en) * 2023-03-29 2023-06-23 网易(杭州)网络有限公司 Information processing method and device in game, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110585704A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Object prompting method, device, equipment and storage medium in virtual scene
CN110585712A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Method, device, terminal and medium for throwing virtual explosives in virtual environment
CN110585716A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Virtual item control method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110585704A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Object prompting method, device, equipment and storage medium in virtual scene
CN110585712A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Method, device, terminal and medium for throwing virtual explosives in virtual environment
CN110585716A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Virtual item control method, device, equipment and storage medium

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
佚名: "《绝地求生》中手雷一共有几种 手雷吃鸡的技巧", 《HTTPS://WWW.SOHU.COM/A/215766766_100057244》 *
佚名: "DNF女弹药新宠物战争领主增幅手雷效果图文测试", 《HTTPS://ENT.163.COM/GAME/14/0303/00/9MCD3DRN00314LD8_ALL.HTML》 *
佚名: "dnf女弹药机械宠物手雷增幅效果图文详解", 《HTTPS://WWW.YXBAO.COM/MJ/77669.HTML》 *
佚名: "绝地求生:决战圈吃鸡全靠这4样东西!用好了能瞬间4杀!", 《HTTPS://WWW.SOHU.COM/A/216004315_100095988》 *
佚名: "绝地求生:四大投掷武器的功能和运用", 《HTTP://WWW.PINLUE.COM/ARTICLE/2018/01/1013/295282690953.HTML》 *
佚名: "绝地求生武器介绍:四大投掷武器的功能和运用", 《HTTP://WWW.YIWAN.COM/NEWS/405545.HTML》 *
佚名: "迷你战争领主SSS型对弹药手雷伤害加成", 《HTTPS://DNF.52PK.COM/JINGY/5927902.SHTML》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI796777B (en) * 2020-09-04 2023-03-21 大陸商騰訊科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN112107859A (en) * 2020-09-18 2020-12-22 腾讯科技(深圳)有限公司 Prop control method and device, storage medium and electronic equipment
CN112138383B (en) * 2020-10-15 2022-05-24 腾讯科技(深圳)有限公司 Virtual item display method, device, equipment and storage medium
CN112138383A (en) * 2020-10-15 2020-12-29 腾讯科技(深圳)有限公司 Virtual item display method, device, equipment and storage medium
CN112604269A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Data processing method and device
CN113546424A (en) * 2021-08-04 2021-10-26 网易(杭州)网络有限公司 Virtual resource use control method and device, computer equipment and storage medium
CN113633982A (en) * 2021-08-13 2021-11-12 腾讯科技(深圳)有限公司 Virtual item display method, device, terminal and storage medium
CN113633982B (en) * 2021-08-13 2023-09-22 腾讯科技(深圳)有限公司 Virtual prop display method, device, terminal and storage medium
CN113713385A (en) * 2021-09-14 2021-11-30 腾讯科技(深圳)有限公司 Virtual item control method, device, equipment, medium and computer program product
CN113713385B (en) * 2021-09-14 2023-06-27 腾讯科技(深圳)有限公司 Virtual prop control method, device, equipment, medium and computer program product
CN113786618A (en) * 2021-09-29 2021-12-14 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and medium
CN113786618B (en) * 2021-09-29 2023-06-23 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and medium
CN114898537A (en) * 2022-04-19 2022-08-12 广州美术学院 Posture prompting method, posture prompting device, terminal equipment and storage medium
CN114898537B (en) * 2022-04-19 2023-09-29 广州美术学院 Gesture prompting method, gesture prompting device, terminal equipment and storage medium
CN116271823A (en) * 2023-03-29 2023-06-23 网易(杭州)网络有限公司 Information processing method and device in game, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN110427111B (en) Operation method, device, equipment and storage medium of virtual prop in virtual environment
CN110694261B (en) Method, terminal and storage medium for controlling virtual object to attack
CN110413171B (en) Method, device, equipment and medium for controlling virtual object to perform shortcut operation
CN111228809A (en) Operation method, device, equipment and readable medium of virtual prop in virtual environment
CN111249730B (en) Virtual object control method, device, equipment and readable storage medium
CN110755841B (en) Method, device and equipment for switching props in virtual environment and readable storage medium
CN111282275B (en) Method, device, equipment and storage medium for displaying collision traces in virtual scene
CN110917619B (en) Interactive property control method, device, terminal and storage medium
CN110585710B (en) Interactive property control method, device, terminal and storage medium
CN110538459A (en) Method, apparatus, device and medium for throwing virtual explosives in virtual environment
CN111330274B (en) Virtual object control method, device, equipment and storage medium
CN111475029B (en) Operation method, device, equipment and storage medium of virtual prop
CN110755844B (en) Skill activation method and device, electronic equipment and storage medium
CN112870715B (en) Virtual item putting method, device, terminal and storage medium
CN111589150A (en) Control method and device of virtual prop, electronic equipment and storage medium
CN111760284A (en) Virtual item control method, device, equipment and storage medium
CN112933601A (en) Virtual throwing object operation method, device, equipment and medium
CN111249726B (en) Operation method, device, equipment and readable medium of virtual prop in virtual environment
CN112044084A (en) Virtual item control method, device, storage medium and equipment in virtual environment
CN112316430B (en) Prop using method, device, equipment and medium based on virtual environment
CN113713383A (en) Throwing prop control method and device, computer equipment and storage medium
CN113680060A (en) Virtual picture display method, device, equipment, medium and computer program product
CN111659122B (en) Virtual resource display method and device, electronic equipment and storage medium
CN111589137B (en) Control method, device, equipment and medium of virtual role
CN112675544A (en) Method, device, equipment and medium for acquiring virtual prop

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024036

Country of ref document: HK