Nothing Special   »   [go: up one dir, main page]

CN112121426A - Prop obtaining method and device, storage medium and electronic equipment - Google Patents

Prop obtaining method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112121426A
CN112121426A CN202010981742.2A CN202010981742A CN112121426A CN 112121426 A CN112121426 A CN 112121426A CN 202010981742 A CN202010981742 A CN 202010981742A CN 112121426 A CN112121426 A CN 112121426A
Authority
CN
China
Prior art keywords
prop
virtual character
target
virtual
role
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
CN202010981742.2A
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 CN202010981742.2A priority Critical patent/CN112121426A/en
Publication of CN112121426A publication Critical patent/CN112121426A/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/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a device for acquiring a road utensil, a storage medium and an electronic device. Wherein, the method comprises the following steps: displaying, in a shooting application client, a first virtual character that is performing a shooting task using a first tacker; under the condition that at least one second virtual character appears in a property triggering area matched with the first virtual character, displaying a triggering icon of the second property in an operation interface of the first virtual character, and controlling the first virtual character to use the second property to kill a target virtual character determined from the at least one second virtual character in response to triggering operation of the first virtual character on the triggering icon; displaying a third prop in a state to be acquired at a target position where the target virtual character is killed; and under the condition that the distance between the position of the first virtual character and the target position is smaller than a target threshold value, controlling the first virtual character to obtain a third prop. The invention solves the technical problem of higher operation complexity of acquiring the prop in the related technology.

Description

Prop obtaining method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a method and a device for acquiring a road tool, a storage medium and electronic equipment.
Background
In shooting-type game applications, players often wish to acquire as many bullets as are used in shooting props in order to defeat an enemy battle to win a shooting game mission. Currently in shooting game scenarios, the way a player acquires bullets includes: 1) after the virtual character controlled by the current player dies and is reproduced, resetting the number of bullets filled in the current clip; 2) and acquiring bullets from the material packages which are randomly airbought by the plane at any place in the virtual scene.
However, the victims controlled by the players will affect the success rate of the current shooting game mission if they die, and the location where the airplane is free from the material pack is also random. That is, in the related art, if the virtual character wants to acquire the bullets, the virtual character can only wait for resetting after death or wait for the airdrop time, so that the complexity of the acquisition operation of acquiring the bullets is increased, and the virtual character cannot timely supply the bullets with insufficient quantity.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring a property, a storage medium and electronic equipment, which are used for at least solving the technical problem of higher operation complexity of acquiring the property in the related technology.
According to an aspect of an embodiment of the present invention, there is provided a method for acquiring a piece of furniture, including: displaying a first virtual character which is using a first prop to execute a shooting task in a shooting application client, wherein the attack distance of the first prop is greater than a first distance threshold value; under the condition that at least one second virtual character appears in a property triggering area matched with the first virtual character, displaying a triggering icon of the second property in an operation interface of the first virtual character, wherein a first marketing where the first virtual character is located and a second marketing where the second virtual character is located are opposite marketing, and the attack distance of the second property is smaller than a second distance threshold value; responding to the triggering operation executed by the first virtual character on the triggering icon, and controlling the first virtual character to kill a target virtual character determined from the at least one second virtual character by using the second prop; displaying a third prop in a state to be acquired at a target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use; and under the condition that the distance between the position of the first virtual character and the target position is smaller than a target threshold value, controlling the first virtual character to obtain the third prop.
According to another aspect of the embodiments of the present invention, there is also provided a ballast acquiring apparatus, including: the system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a first virtual character which is using a first prop to execute a shooting task in a shooting application client side, and the attack distance of the first prop is larger than a first distance threshold value; a second display unit, configured to display a trigger icon of a second item in an operation interface of the first virtual character when at least one second virtual character appears in the item trigger area matched with the first virtual character, where a first formation in which the first virtual character is located and a second formation in which the second virtual character is located are opposite formations, and an attack distance of the second item is smaller than a second distance threshold; the control unit is used for responding to the triggering operation executed by the first virtual character on the triggering icon, and controlling the first virtual character to kill a target virtual character determined from the at least one second virtual character by using the second item; a third display unit, configured to display a third prop in a to-be-acquired state at a target position where the target virtual character is killed, where the third prop is a prop used by being assembled on the first prop; and the obtaining unit is used for controlling the first virtual character to obtain the third prop under the condition that the distance between the position of the first virtual character and the target position is smaller than a target threshold value.
According to another aspect of the embodiment of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above prop obtaining method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the prop obtaining method through the computer program.
In the embodiment of the invention, a first virtual character which uses a first prop to execute a shooting task is displayed in a shooting application client, wherein the attack distance of the first prop is greater than a first distance threshold; under the condition that at least one second virtual character appears in a property triggering area matched with the first virtual character, displaying a triggering icon of the second property in an operation interface of the first virtual character, wherein a first marketing where the first virtual character is located and a second marketing where the second virtual character is located are opposite marketing, and the attack distance of the second property is smaller than a second distance threshold value; responding to the triggering operation executed by the first virtual character on the triggering icon, and controlling the first virtual character to kill a target virtual character determined from the at least one second virtual character by using the second prop; displaying a third prop in a state to be acquired at a target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use; and under the condition that the distance between the position of the first virtual character and the target position is smaller than a target threshold value, controlling the first virtual character to acquire the third toy. That is, in the event that a second virtual character in at least one opponent lineup appears in a prop trigger area matching a first character while the first virtual character is performing a shooting task using the first prop in the shooting application client, a trigger icon of the second prop is displayed. And responding to the triggering operation of the triggering icon, controlling the first virtual character to use the second prop to kill the target virtual character, and acquiring a third prop which is displayed on the position of the first prop and is used for being assembled on the first prop after the first virtual character is successfully killed. And the method does not need to only wait for the regeneration of the virtual character or the replenishment of the empty-cast prop, thereby achieving the purpose of timely replenishing the prop with insufficient quantity, simplifying the acquisition operation of the prop, improving the prop acquisition efficiency, and further solving the technical problem of higher operation complexity of acquiring the prop in the related technology. In addition, by the method described in the embodiment of the application, the trigger icon of the second prop is triggered and displayed under the condition that the set condition is reached, the prop for supplying is obtained under the condition that the virtual character is successfully killed by using the second prop, the obtaining channel of the prop is expanded, the obtaining mode of the prop is enriched, more users can be attracted to participate in using the shooting application client, and the download rate and the registration rate of the shooting application client are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative prop acquisition method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an application environment of an alternative prop acquisition method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an application environment of yet another alternative prop acquisition method according to an embodiment of the invention;
FIG. 4 is a schematic flow chart of an alternative prop acquisition method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a skill chip selection display interface of an alternative prop acquisition method according to an embodiment of the invention;
FIG. 6 is a schematic diagram of a skill trigger area display interface of an optional item acquisition method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a client display interface of an optional item acquisition method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a skill attack interface of an alternative prop acquisition method according to an embodiment of the invention;
FIG. 9 is a schematic diagram of a skill attack range display interface of an alternative prop acquisition method according to an embodiment of the present invention;
FIG. 10 is a schematic view of a prop display interface of an alternative prop acquisition method according to an embodiment of the present invention;
FIG. 11 is a schematic view of a prop trigger area display interface of an optional prop acquisition method according to an embodiment of the present invention;
FIG. 12 is a schematic view of a display interface of a property generation area of an optional property acquisition method according to an embodiment of the present invention;
FIG. 13 is a schematic diagram of a post-stage interface for successfully obtaining a prop according to an alternative prop obtaining method of the present invention;
FIG. 14 is a schematic flow chart of an alternative prop acquisition method according to an embodiment of the invention;
FIG. 15 is a schematic diagram of a client-server interaction of an optional item acquisition method according to an embodiment of the present invention;
FIG. 16 is a schematic structural diagram of an alternative prop acquisition device according to an embodiment of the invention;
fig. 17 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiment of the present invention, there is provided a method for acquiring a property, which may be, but is not limited to, applied to a hardware environment as shown in fig. 1 as an optional implementation manner. The hardware environment comprises: the terminal equipment 102, the network 104 and the server 106 are used for human-computer interaction with the user. A shooting application client is running in the terminal device 102. The terminal device 102 includes a human-machine interaction screen 1022, a processor 1024, and a memory 1026. The man-machine interaction screen 1022 is configured to present virtual scenes in a shooting game task executed by the shooting application client, provide a man-machine interaction interface to receive man-machine interaction operations executed on the man-machine interaction interface, present positions of virtual characters, and control an operation panel for controlling the virtual characters to execute the operations, where the operation panel is used to display operation icons for triggering the operations; the processor 1024 is configured to control the first virtual character to use the second prop to kill the target virtual character determined from the at least one second virtual character, and is further configured to control the first virtual character to obtain the third prop. The memory 108 is configured to store role object attribute information of the first virtual role and item information of each item, where the role object attribute information includes location information of the first virtual role.
In addition, the server 106 includes a database 1062 and a processing engine 1064, and the database 1062 is used for storing the role object attribute information and the state information of each virtual object. The processing engine 1064 is configured to compare the position relationship between each virtual character and the target position to determine whether each virtual character can obtain (e.g., pick) the third prop at the target position, for example, if the distance between the first virtual character and the target position is smaller than the target threshold, the first virtual character is controlled to obtain the third prop.
The specific process comprises the following steps: assume that a shooting application client runs in the terminal device 102 as shown in fig. 1, and a virtual scene screen provided by the shooting application client is displayed in the terminal device 102. Wherein first virtual character 12 is performing a shooting task using first prop 16. Killing the target virtual character 14 to obtain the transformed third track tool 18 by:
displaying a first virtual character using a first prop to execute a shooting task in a shooting application client, wherein the attack distance of the first prop is greater than a first distance threshold value, as in steps S102-S108; under the condition that at least one second virtual character appears in a property triggering area matched with the first virtual character, displaying a triggering icon of the second property in an operation interface of the first virtual character, wherein a first formation where the first virtual character is located and a second formation where the second virtual character is located are opposite formations, and the attack distance of the second property is smaller than a second distance threshold value; responding to the triggering operation executed by the first virtual role on the triggering icon, and controlling the first virtual role to kill the target virtual role determined from at least one second virtual role by using the second item; and displaying a third prop in a state to be acquired at the target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use. Then, step S110 is executed, and the target position of the third road object is sent to the server 106 through the network 104, so that the server 106 compares the position of each virtual character in the virtual scene with the target position. In step S112, the first virtual character is controlled to obtain the third prop when the distance between the position of the first virtual character and the target position is smaller than the target threshold. And in step S114, notify the terminal device 102 through the network 104, update the item information of the first virtual character, and add a third item.
As another optional implementation manner, the prop obtaining method described above in this application may be applied to fig. 2. As shown in fig. 2, a user 202 and a terminal device 204 can interact with each other. The user equipment 204 includes a memory 206 and a processor 208. The terminal device 204 in this embodiment may refer to, but is not limited to, performing the operation performed by the terminal device 102 to control the virtual character to acquire the third track tool.
As still another optional implementation manner, the prop obtaining method described above in this application may be applied to fig. 3. As shown in fig. 3, a user 302 may interact with a terminal device 304. The user equipment 304 includes a memory 306 and a processor 308. The terminal device 304 may interact with the server 312 via the network 310. The server 312 comprises a database 314 for storing interaction data and a processing engine 316 for processing the interaction data. Server 312 may interact with terminal device 318 via network 310, and terminal device 318 may interact with user 320. In addition, the terminal device 304 or the terminal device 320 may display a virtual scene, where the virtual scene includes a virtual character of the first camp and a virtual character of the second camp, and the terminal device 304 or the terminal device 320 may refer to, but is not limited to, performing the operation performed by the terminal device 102 to control the virtual character to obtain the third track.
Alternatively, the terminal device 102, the terminal device 204, the terminal device 304 and the terminal device 318 may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a PC, and the like, and the network 110 may include, but is not limited to, a wireless network or a wired network. Wherein, this wireless network includes: WIFI and other networks that enable wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. The servers 112, 312 may include, but are not limited to, any hardware devices capable of performing computations.
Optionally, as an optional implementation manner, as shown in fig. 4, the prop obtaining method includes:
s402, displaying a first virtual character which is using a first prop to execute a shooting task in a shooting application client, wherein the attack distance of the first prop is greater than a first distance threshold;
s404, under the condition that at least one second virtual character appears in a property triggering area matched with the first virtual character, displaying a triggering icon of the second property in an operation interface of the first virtual character, wherein a first formation where the first virtual character is located and a second formation where the second virtual character is located are opposite formations, and the attack distance of the second property is smaller than a second distance threshold value;
s406, in response to the trigger operation executed by the first virtual character on the trigger icon, controlling the first virtual character to kill the target virtual character determined from at least one second virtual character by using the second prop;
s408, displaying a third prop in a to-be-acquired state at the target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use;
s410, under the condition that the distance between the position of the first virtual character and the target position is smaller than the target threshold value, the first virtual character is controlled to obtain the third prop.
Optionally, the virtual scene in the present application may be a virtual scene of a virtual game constructed by a client or a server. The virtual scene may include a plurality of virtual characters, and the plurality of virtual characters may be virtual characters operated by a plurality of users, or may be non-player virtual characters. The shooting application client displays a virtual scene through the display interface, a plurality of virtual characters in the virtual scene can belong to two camps or a plurality of camps, and in the process of virtual game playing, when a certain property (such as a bullet in a gun is used up) is lacked in the equipment of a certain virtual character, so that the attacking force is reduced, another virtual character can be killed by using another property (such as a knife, an axe, a stick and the like), and then the killed virtual character dies, so that the supplement of the lacked property can be realized.
In step S402, in practical application, the first prop may be various types of firearms, arches, rocket barrels, slingshots, or other long-distance killer weapons, and the first distance threshold may be set according to the type of the first prop, for example, when the first prop is a sniper rifle, the first distance threshold is set to 1km, when the first prop is a pistol, the first distance threshold is set to 300m, and when the first prop is a rocket barrel, the first distance threshold is set to 50 m; that is, different types of first tackles may adjust the distance of the attack according to setting the first distance threshold.
In step S404, in actual application, the second virtual Character may be a game Character operated by another Player, or may be a Non-Player Character (NPC), and a plurality of characters belong to different camps, and the different camps are opposite camps; the second prop can be a knife, a marquis, an axe, a shovel, a wooden stick and the like, and is not limited herein; the second prop is a short-distance attack weapon, so the attack distance of the second prop is small, and the attack distance of the second prop can be set by a second distance threshold, for example, when the second prop is a knife, the second distance threshold is set to 1m, and when the second prop is a stick, the second distance threshold is 2 m.
In step S406, in actual application, after the icon of the second prop is triggered, the first virtual character may kill one or more second virtual characters with the second prop (e.g., a knife).
In step S408, in actual application, a third item may be displayed at a position where each target virtual character is killed, where the third item is an item assembled on the first item, and here, the third item is displayed according to the type of the first item used by the first virtual character; for example, the first prop is a rifle, and the third prop is a bullet corresponding to the rifle, and when the first prop is an arrow, the third prop is an arrow.
In step S410, in an actual application, when a distance between a position where the first virtual character is located and a position where the target virtual character is killed is smaller than a target threshold (that is, a preset value), the first virtual character acquires the third item, that is, when the distance between the first virtual character and the third item reaches the preset value, the third item can be acquired.
According to the embodiment of the invention, through the method, the required props can be obtained without reproducing or waiting for the empty props through virtual characters in the game process, and the purpose of timely supplying the props with insufficient quantity is achieved, so that the technical effects of simple and rapid operation for obtaining the props and no influence on the task success rate are realized, and the technical problem of high operation complexity in obtaining the props in the related technology is solved.
In one embodiment, step S404 may include the steps of: under the condition that a first virtual character is configured with target shooting skills, detecting a second virtual character in a property triggering area, wherein the property triggering area is an area formed by taking the position of the first virtual character as the center and taking a first radius value matched with character attribute information of the first virtual character as a radius; and in the case that at least one second virtual character is detected to be present in the item trigger area, activating the target shooting skill, and displaying a trigger icon of the second item in an operation panel of the first virtual character.
As shown in fig. 5, fig. 5 is a schematic diagram of a skill chip selection display interface of an optional prop obtaining method according to an embodiment of the present invention, in fig. 5, selectable skill chips include a plover, a robustness, a tracker, a ghost, and the like, when a user selects a plover skill chip selection box 502, that is, a sign display is performed in the plover skill chip selection box 502, an explanation popup window 504 for a corresponding skill chip is popped up in an area above a shooting application client, and the user can select a corresponding skill chip according to a requirement of the user, where the plover skill chip is taken as an example, and after the user selects the plover skill chip 502, a bullet corresponding to a first path of using a cartridge corresponding to, for example, a gun can be obtained by quickly swinging a near to kill an enemy (that is, a target virtual character).
As shown in fig. 6, fig. 6 is a schematic diagram of a skill trigger area display interface of a prop obtaining method in an embodiment of the present invention, in fig. 6, 602 is a first virtual character, 603 is a second virtual character, 604 may be a third virtual character, and when the first virtual character 602 is configured with a target shooting skill, a prop trigger area is an area formed by taking the first virtual character 602 as a center and r as a first radius value, and the first radius value r matches with character attribute information of the first virtual character 602, that is, the first radius values r of different character identities may be different, for example, the character identities are divided into 3 levels, 1 level is a primary level, 2 levels are a middle level, and 3 levels are high levels, when the first virtual character 602 level is 1 level, the first radius value r may be set to 0.5m, when the first virtual character 602 level is 3 levels, the first radius value r may be set to 2m, so the higher the attack force when the first avatar 602 is high. When a second virtual character appears in the item trigger area, a trigger icon of the second item is displayed in an operation panel of the first virtual character, as shown in fig. 7, fig. 7 is a schematic diagram of a client display interface of an optional item acquisition method according to an embodiment of the present invention, and the current display interface includes a first virtual character 702 and a second virtual character 704, where once the second virtual character 704 enters the item trigger area set for the first virtual character, the trigger icon 706 for triggering the second item is displayed in the current display interface. In the embodiment, the target shooting skill is configured, and the stage of the first virtual role is set, so that the supply of props can be quickly and flexibly realized, and the user experience is improved.
In one embodiment, step S406 may include the steps of: and responding to the trigger operation, and determining that the target virtual character is successfully killed by the first virtual character under the condition that the number of times that the target virtual character is attacked reaches the target number of times. As shown in fig. 8, fig. 8 is a schematic diagram of a skill attack interface of an optional item obtaining method according to an embodiment of the present invention, where the interface shown in fig. 8 includes a first virtual character 802, a second virtual character 804, a second virtual character 806, and a trigger icon 808 of a second item. For example, a target virtual character is determined from at least one second virtual character 806, the first virtual character 802 performs a trigger operation on a trigger icon, kills the target virtual character 804, and continuously clicks the target virtual character 804 by clicking the trigger icon 808 of the second item until the target virtual character 804 dies, and the number of continuous clicks may be set according to the experience of the operation user.
In this embodiment, the target virtual character is killed by controlling the continuous killing of the second prop, so that the sense of reality of shooting application can be enhanced, and the user experience is improved.
In an embodiment, step S406 may further include the steps of: and determining a target virtual character from the second virtual characters in the killing range, wherein the killing range is a range determined based on the current orientation of the first virtual character and the attack distance of the second prop.
As shown in fig. 9, fig. 9 is a schematic diagram of a skill attack range display interface of an optional prop obtaining method according to an embodiment of the present invention, where 902 is a first virtual character, 903 is a second virtual character, 904 is a attack range of the first virtual character, the attack range is determined by taking a current orientation of the first virtual character 902 as a normal and an attack distance of the second prop, for example, if the second prop is a knife, the attack distance is 0.5M, the attack range is a sector area with a radius r and a r value of 0.5M. When the second avatar 903 is within the sector area, it is within the range that the first avatar 902 knocks down with the second prop.
In an embodiment, step S408 may further include the following steps: acquiring role attribute information of the target virtual role under the condition that the target virtual role is killed; and generating a third prop according to the role attribute information of the target virtual role and the role attribute information of the first virtual role, and displaying the third prop in a state to be acquired at the target position. In this embodiment, the number of the third props (e.g., bullets) in the acquired state may be determined according to the attribute information of the target virtual character, and the type of the third props (e.g., bullets) used by the first virtual character may be determined according to the attribute information of the first virtual character.
In this embodiment, the type or the number of the third props can be flexibly configured by the role attribute information of the target virtual role and the role attribute information of the first virtual role, so that the user experience is improved.
In an embodiment, generating the third track tool according to the role attribute information of the target virtual role and the role attribute information of the first virtual role includes: determining the prop type of a first prop currently used by a first virtual role from the role attribute information of the first virtual role; determining a prop type of a third prop which is matched with the prop type of the first prop; and determining the number of the third trackers according to the role attribute information of the target virtual role. As shown in fig. 10, fig. 10 is a schematic view of a property display interface of an optional property obtaining method according to an embodiment of the present invention, where 1002 is a first virtual character, 1004 is a third property, for example, a sniper rifle used by the first virtual character 1002, and when the level of the target virtual character is 3, the number of the third property is 120.
In an embodiment, determining the number of the third trackers according to the character attribute information of the target virtual character includes at least one of:
determining a role identity corresponding to the target virtual role from the role attribute information of the target virtual role; acquiring the number of third props matched with the role identities, wherein the number of the third props corresponding to different role identities is different;
determining a role grade corresponding to the target virtual role from the role attribute information of the target virtual role; and acquiring the number of third props matched with the role grade, wherein the higher the role grade is, the higher the number of the third props is.
For example, when the role identity of the target virtual role is a sniper, the number of the third props matched with the role identities is 10, when the role identity of the target virtual role is a soldier, the number of the third props matched with the role identities is 30, and when the role identity of the target virtual role is an NPC, the number of the third props matched with the role identities is 8. When the role identity of the target virtual role is soldier and the level of the target virtual role is 1 level, the number of the third props matched with the role levels is 15, and when the role identity of the target virtual role is soldier and the level of the target virtual role is 3 levels, the number of the third props matched with the role levels is 30. In this embodiment, the number of the third trackers can be flexibly configured by the role attribute information of the target virtual role and the role attribute information of the first virtual role, so that the user experience is improved.
In one embodiment, determining the number of third tacks comprises: determining the number of third tools by taking the maximum capacity of a storage space of a main tool corresponding to the first tool as a unit, wherein the storage space of the main tool is the storage space of the third tool used by being assembled on the first tool; for example, the maximum capacity of the rifle magazine used by the first virtual character is 30 rounds, and the number of third props is 30.
In an embodiment, after determining the number of the third trackers according to the character attribute information of the target virtual character, the method further includes: and adding a number of third props for the storage spaces of the backup props associated with the storage spaces of the main props, wherein the storage spaces of the backup props are the storage spaces of all the third props held by the first virtual character. In this embodiment, the first virtual character has a main item and a spare item matched with the first item, for example, a main magazine and a spare magazine of a firearm, the capacity of the main magazine is 30 methods, the spare magazine is 120 pieces, and then the third item is 120 pieces and is completely supplemented into the spare magazine.
In one embodiment, determining the number of third tacks comprises: and determining the number of the third props according to the current residual capacity of the storage space of the main props corresponding to the first props, wherein the storage space of the main props is the storage space of the third props assembled on the first props. For example, if the first prop is a rifle, the third prop is a bullet, the main prop is a main magazine, the total capacity of the main magazine is 30 farads, and 10 remaining props are currently used, the number of the third props is 20 farads. In this embodiment, the capacity of the main prop is supplemented by the third prop, so that the operation complexity of obtaining the props can be reduced, and the user experience is improved.
In an embodiment, after determining the number of the third trackers according to the character attribute information of the target virtual character, the method further includes: and under the condition that the storage space of the main road tool is in a full state, adding a target number of third props to the backup prop storage space associated with the storage space of the main road tool, wherein the backup prop storage space is the storage space of all the third road tools held by the first virtual character, and the target number is the number obtained by subtracting the current residual capacity of the storage space of the main road tool from the number. In this embodiment, the first virtual character has a main track tool and a spare tool matched with the first tool, for example, the first tool is a gun, the capacity of a main magazine of the gun is 30 methods, the capacity of a spare magazine is 120, the number of remaining cartridges of the main magazine is 10, if the number of the determined third tools (i.e., cartridges) is 100, the main magazine is supplemented with 20, and then the remaining 80 cartridges are completely supplemented into the spare magazine.
In an embodiment, after displaying the third track tool in the state to be acquired at the target position where the target virtual character is killed, the method further includes: and under the condition that the distance between the position of the third virtual character and the target position is smaller than a target threshold value, controlling the third virtual character to obtain a third prop, wherein the third virtual character is a virtual character in any formation except the first virtual character. In this embodiment, the third virtual character may be a virtual character operated by another user, or may be an NPC. That is, after the third toy in the state to be acquired is displayed on the target position where the target virtual character is killed, any character can pick up the third toy as long as the character is within the acquisition range of the third toy. As shown in fig. 11, fig. 11 is a schematic view of a prop trigger area display interface of an optional prop obtaining method according to an embodiment of the present invention, where an area where a third article 1102 is obtained in fig. 11 is a sphere area with the third article 1102 as a center, and when any character is within the sphere area, the third article can be picked up.
The application is explained below with reference to a specific example. The method and the system can be applied to multi-player games, and a plurality of users respectively use respective clients to log in and are connected to enter the same virtual game through the server. The server runs with virtual scenes, and each client can display the virtual scenes and each object in the virtual scenes through a display interface of the client. For example, as shown in fig. 6, a virtual scene is displayed in the display interface of fig. 6, and the virtual scene includes a plurality of virtual characters, a first virtual character 602, a second virtual character 603, or a third virtual character 604. Each of the plurality of virtual characters may be a virtual character controlled by other users through the client.
The method and the device can divide the plurality of virtual roles into the virtual role of the first camp and the virtual role of the second camp when the virtual scene is created. As shown in fig. 5, different virtual characters may increase their own attack skills by being equipped with a skill chip, and in a skill chip selection interface, a user may select a thousand-bird skill chip, and when the user selects the skill chip, the function of the skill chip is activated, and an explanation box for the skill chip is popped up in a shooting application client interface. After the user equips the virtual character operated by the user with the skill chip, the virtual character can kill the target virtual character through a second prop such as a small knife, and then a certain amount of bullets matched with the first prop operated by the virtual character are obtained.
When the gun bullet of the first virtual character operated by the user is used up and is not in an undecided state, the bullet is obtained by operating the first virtual character to approach the target virtual object and then killing the other side by a small knife, as shown in fig. 6, after the first virtual object 602 approaches the second virtual object 603, when the distance between the first virtual object 602 and the second virtual object 603 is less than or equal to the radius r of the area which can be attacked by the thousand bird skill attack chip, a quick knife swinging (second prop triggering) icon 706 as shown in fig. 7 appears, and when the user clicks the icon, an interface as shown in fig. 8 appears, and as shown in fig. 8, the first virtual character holds the knife and attacks the target virtual character.
As shown in fig. 10, after the target avatar is successfully killed by the first avatar, a third utensil 1004 is displayed near the death site of the target avatar; specifically, as shown in fig. 12, fig. 12 is a schematic diagram of a property generation area display interface of a property acquisition method according to an embodiment of the present invention, where a death position 1202 of a target virtual character is taken as a center, and a third property 1204, such as a bullet package, is randomly displayed at any position in a circular area with a preset value R as a radius, where all virtual characters in the bullet package have permission to acquire the property; as shown in fig. 11, the acquiring area of the third virtual character 1102 is a sphere area, that is, after the target virtual character is killed and the third virtual character 1102 in the state to be acquired is displayed at the target position, any character can pick up the third virtual character as long as the character is within the sphere area acquired by the third virtual character, so that the user needs to operate the first virtual character to quickly pick up the third virtual character 1102, when the first virtual character picks up the third virtual character 1102, the interface as shown in fig. 13 appears, fig. 12 is a schematic diagram of the interface after the property is successfully acquired in the property acquiring method according to the embodiment of the invention, in fig. 13, 1302 is the first virtual character, 1304 is an icon of a chip of a thousand birds, 1306 is a gun state display box held by the first virtual character, 1308 shows gun types and bullet numbers, 1308 is a special effect display light bar after the bullet package is successfully acquired by the first virtual character, in display block 1306, the number of cartridges of the main magazine is displayed as 19 and the number of cartridges of the spare magazine is displayed as 180, so that the total number of cartridges in the sub-pack acquired by the first avatar is 198, and after the first avatar acquires the sub-pack, the capacity of the main magazine is filled first, and then the remaining cartridges are put into the spare magazine. In the same virtual game, as long as the virtual character is equipped with a thousand-bird skill chip, bullet packets which can be acquired by different virtual characters have no upper limit.
As shown in steps S1402 to S1418 of fig. 14, first, in step S1402, a skill chip with a drop bullet package is equipped, after the skill chip with the drop bullet package is equipped, step S1404 determines whether the user is close to the enemy, if the user is not close to the enemy, step S1402 may be repeated, the skill chip with the drop bullet package is re-equipped, and if the user is determined to be close to the enemy, step S1406 may display a fast knife button. Step S1408 determines whether to click the fast-cutting button, and if not, the fast-cutting button is always displayed, and if the fast-cutting button is clicked, step S1410 switches the knife and quickly attacks the target enemy. And then, the step S1412 is entered, whether the target enemy is successfully killed or not is judged, if the target enemy is unsuccessfully killed, the step S1404 is returned, whether the target enemy is close to the enemy or not is judged, if the target enemy is successfully killed, the step S1414 is entered, and the bullet bag falls at the position where the target enemy is killed. Step S1416, determining whether the current position is close to the sub-pack, returning to step S1414 to wait for the sub-pack to drop if the sub-pack is not found, and entering step S1418 to pick up the sub-pack and add the bullet if the sub-pack is found to be close to the sub-pack.
In an embodiment, when the player operates the virtual character to pick up the third item, the ball collision box of the third item is touched, as shown in fig. 11, the ball collision box of the third item 1102 is 1104, and then the plug-in judgment program is triggered. As shown in fig. 15, the interaction process is for controlling the process of acquiring a third track by the virtual character through the interaction between the client 1502 and the server 1504. When logging in the client 1502 by using the account a to control the first virtual character to obtain the third item, step S1502 is executed to bump a sphere bump box of the third item, S1504, the client 1502 sends a notification message to the server 1504, S1506, the server 1504 checks the validity of the third item, if the third item is valid, S1508 supplements the number of the third item of the account a, and S1510 notifies the client 1502. The client will execute step S1512 to increase the number of the third props of the account a.
In step S1506, the server checks the validity of the third item, mainly by determining whether a virtual character dies in the place where the third item appears, and if the virtual character dies, determines that the third item is valid, and if the virtual character dies in the place where the third item appears, determines that the third item is illegal.
Optionally, in this embodiment, the client may be a video client, an instant messaging client, a browser client, an education client, or the like. Such networks may include, but are not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The server may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and this is not limited in this embodiment.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, the invention further provides a prop obtaining device for implementing the prop obtaining method. As shown in fig. 16, the apparatus includes:
a first display unit 1602, configured to display, in the shooting application client, a first virtual character that is performing a shooting task using a first prop, where an attack distance of the first prop is greater than a first distance threshold;
a second display unit 1604, configured to display a trigger icon of a second prop in an operation interface of the first virtual character when at least one second virtual character appears in the prop trigger area matched with the first virtual character, where a first camp in which the first virtual character is located and a second camp in which the second virtual character is located are opposite camps, and an attack distance of the second prop is smaller than a second distance threshold;
a control unit 1606, configured to control, in response to a trigger operation performed by the first virtual character on the trigger icon, the first virtual character to kill a target virtual character determined from the at least one second virtual character using the second item;
a third display unit 1608, configured to display a third prop in a to-be-acquired state at a target position where the target virtual character is killed, where the third prop is a prop used by being assembled on the first prop;
an obtaining unit 1610, configured to control the first virtual character to obtain the third prop when a distance between a position where the first virtual character is located and the target position is smaller than a target threshold.
Optionally, the virtual scene in the present application may be a virtual scene of a virtual game constructed by a client or a server. The virtual scene may include a plurality of virtual characters, and the plurality of virtual characters may be virtual characters operated by a plurality of users, or may be non-player virtual characters. The shooting application client displays a virtual scene through the display interface, a plurality of virtual characters in the virtual scene can belong to two camps or a plurality of camps, and in the process of virtual game playing, when a certain property (such as a bullet in a gun is used up) is lacked in the equipment of a certain virtual character, so that the attacking force is reduced, another virtual character can be killed by using another property (such as a knife, an axe, a stick and the like), and then the killed virtual character dies, so that the supplement of the lacked property can be realized.
In this embodiment of the application, the first prop may be a distance killer weapon such as various guns, arches, rocket barrels, or slingshots, and the first distance threshold may be set according to the type of the first prop, for example, when the first prop is a sniper rifle, the first distance threshold is set to be 1km, when the first prop is a pistol, the first distance threshold is set to be 300m, and when the first prop is a rocket barrel, the first distance threshold is set to be 50 m; that is, different types of first tackles may adjust the distance of the attack according to setting the first distance threshold.
In this embodiment, the second virtual Character may be a game Character operated by another Player, or may be a Non-Player Character (NPC), where a plurality of characters belong to different camps, and the different camps are opposite camps; the second prop can be a knife, a marquis, an axe, a shovel, a wooden stick and the like, and is not limited herein; the second prop is a short-distance attack weapon, so the attack distance of the second prop is small, and the attack distance of the second prop can be set by a second distance threshold, for example, when the second prop is a knife, the second distance threshold is set to 1m, and when the second prop is a stick, the second distance threshold is 2 m.
In this embodiment, when the icon of the second prop is triggered, the first avatar may kill one or more second avatars with the second prop (e.g., a knife).
In the embodiment of the application, a third prop can be displayed at the position where each target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use, and the third prop is displayed according to the type of the first prop used by the first virtual character; for example, the first prop is a rifle, and the third prop is a bullet corresponding to the rifle, and when the first prop is an arrow, the third prop is an arrow.
In this embodiment of the application, when the distance between the position where the first virtual character is located and the position where the target virtual character is killed is smaller than a target threshold (that is, a preset value), the first virtual character acquires the third item, that is, when the distance between the first virtual character and the third item reaches the preset value, the third item can be acquired.
Through the method, in the process that the first virtual character in the shooting application client executes the shooting task by using the first prop, the trigger icon of the second prop is displayed under the condition that at least one second virtual character in the opposite battle appears in the prop trigger area matched with the first prop. And responding to the triggering operation of the triggering icon, controlling the first virtual character to use the second prop to kill the target virtual character, and acquiring a third prop which is displayed on the position of the first prop and is used for being assembled on the first prop after the first virtual character is successfully killed. And the method does not need to only wait for the regeneration of the virtual character or the replenishment of the empty-cast prop, thereby achieving the purpose of timely replenishing the prop with insufficient quantity, simplifying the acquisition operation of the prop, improving the prop acquisition efficiency, and further solving the technical problem of higher operation complexity of acquiring the prop in the related technology. In addition, by the method described in the embodiment of the application, the trigger icon of the second prop is triggered and displayed under the condition that the set condition is reached, the prop for supplying is obtained under the condition that the virtual character is successfully killed by using the second prop, the obtaining channel of the prop is expanded, the obtaining mode of the prop is enriched, more users can be attracted to participate in using the shooting application client, and the download rate and the registration rate of the shooting application client are improved.
For other examples of this embodiment, reference may be made to the above embodiments, which are not described herein again.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the item acquiring method, as shown in fig. 17, the electronic device includes a memory 1702 and a processor 1704, the memory 1702 stores a computer program, and the processor 1704 is configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying a first virtual character which is using a first prop to execute a shooting task in the shooting application client, wherein the attack distance of the first prop is larger than a first distance threshold;
s2, displaying a trigger icon of a second prop in an operation interface of the first virtual character under the condition that at least one second virtual character appears in a prop trigger area matched with the first virtual character, wherein a first camp in which the first virtual character is located and a second camp in which the second virtual character is located are opposite camps, and the attack distance of the second prop is smaller than a second distance threshold value;
s3, responding to the trigger operation executed by the first virtual character on the trigger icon, controlling the first virtual character to use the second item to kill the target virtual character determined from at least one second virtual character;
s4, displaying a third prop in a state to be acquired at the target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use;
and S5, controlling the first virtual character to obtain the third prop under the condition that the distance between the position of the first virtual character and the target position is smaller than the target threshold value.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 17 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 17 is a diagram illustrating the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 17, or have a different configuration than shown in FIG. 17.
The memory 1702 may be configured to store a software program and a module, such as program instructions/modules corresponding to the item acquiring method and apparatus in the embodiment of the present invention, and the processor 1704 executes various functional applications and data processing by running the software program and the module stored in the memory 1702, that is, implements the item acquiring method. The memory 1702 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1702 may further include memory located remotely from the processor 1704, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1702 may be specifically, but not limited to, used for storing information such as the roles of the first and second banks and the states of the roles. As an example, as shown in fig. 17, the memory 1702 may include, but is not limited to, a first display unit 1602, a second display unit 1604, a control unit 1606, a third display unit 1608, and an obtaining unit 1610 in the prop obtaining apparatus. In addition, the device may further include, but is not limited to, other module units in the prop obtaining device, which is not described in detail in this example.
Optionally, the above-mentioned transmission device 1706 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1706 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 1706 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1708 for displaying a virtual scene; and a connection bus 1710 for connecting the respective module parts in the above-described electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the steps in any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, displaying a first virtual character which is using a first prop to execute a shooting task in the shooting application client, wherein the attack distance of the first prop is larger than a first distance threshold;
s2, displaying a trigger icon of a second prop in an operation interface of the first virtual character under the condition that at least one second virtual character appears in a prop trigger area matched with the first virtual character, wherein a first camp in which the first virtual character is located and a second camp in which the second virtual character is located are opposite camps, and the attack distance of the second prop is smaller than a second distance threshold value;
s3, responding to the trigger operation executed by the first virtual character on the trigger icon, controlling the first virtual character to use the second item to kill the target virtual character determined from at least one second virtual character;
s4, displaying a third prop in a state to be acquired at the target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use;
and S5, controlling the first virtual character to obtain the third prop under the condition that the distance between the position of the first virtual character and the target position is smaller than the target threshold value.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (15)

1. A method for acquiring a asset, comprising:
displaying, in a shooting application client, a first virtual character that is performing a shooting task using a first prop, wherein an attack distance of the first prop is greater than a first distance threshold;
under the condition that at least one second virtual character appears in a property triggering area matched with the first virtual character, displaying a triggering icon of the second property in an operation interface of the first virtual character, wherein a first camp in which the first virtual character is located and a second camp in which the second virtual character is located are opposite camps, and the attack distance of the second property is smaller than a second distance threshold value;
in response to the triggering operation of the first virtual character on the triggering icon, controlling the first virtual character to kill a target virtual character determined from the at least one second virtual character by using the second prop;
displaying a third prop in a state to be acquired at a target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use;
and under the condition that the distance between the position of the first virtual character and the target position is smaller than a target threshold value, controlling the first virtual character to obtain the third prop.
2. The method according to claim 1, wherein in the case that at least one second virtual character appears in the item trigger area matched with the first virtual character, displaying a trigger icon of the second item in the operation interface of the first virtual character comprises:
under the condition that the first virtual character is configured with target shooting skills, detecting the second virtual character in the item triggering area, wherein the item triggering area is an area which is formed by taking the position of the first virtual character as the center and taking a first radius value matched with the character attribute information of the first virtual character as a radius;
and in the case of detecting that at least one second virtual character appears in the item triggering area, activating the target shooting skill and displaying the triggering icon of the second item in an operation panel of the first virtual character.
3. The method of claim 1, wherein the controlling the first avatar to kill a target avatar determined from the at least one second avatar using the second prop in response to the triggering operation performed by the first avatar on the trigger icon comprises:
and responding to the trigger operation, and determining that the target virtual role is successfully killed by the first virtual role under the condition that the number of times that the target virtual role is attacked reaches the target number of times.
4. The method of claim 1, wherein the controlling the first avatar to kill a target avatar determined from the at least one second avatar using the second prop in response to the triggering operation performed by the first avatar on the trigger icon comprises:
and determining the target virtual character from the second virtual character within a killing range, wherein the killing range is a range determined based on the current orientation of the first virtual character and the attack distance of the second prop.
5. The method of claim 1, wherein displaying the third track tool in the state to be acquired at the target position where the target virtual character is killed comprises:
acquiring role attribute information of the target virtual role under the condition that the target virtual role is killed;
and generating the third prop according to the role attribute information of the target virtual role and the role attribute information of the first virtual role, and displaying the third prop in a state to be acquired at the target position.
6. The method of claim 5, wherein the generating the third track tool according to the role attribute information of the target virtual character and the role attribute information of the first virtual character comprises:
determining the prop type of the first prop currently used by the first virtual role from the role attribute information of the first virtual role;
determining a prop type of the third prop which is matched with the prop type of the first prop;
and determining the number of the third props according to the role attribute information of the target virtual role.
7. The method of claim 6, wherein the determining the number of the third prop according to the character attribute information of the target virtual character comprises at least one of:
determining a role identity corresponding to the target virtual role from the role attribute information of the target virtual role; acquiring the number of the third props matched with the role identities, wherein the number of the third props corresponding to different role identities is different;
determining a role grade corresponding to the target virtual role from the role attribute information of the target virtual role; and acquiring the number of the third props matched with the role grade, wherein the higher the role grade is, the higher the number of the third props is.
8. The method of claim 6, wherein said determining the number of said third props comprises:
and determining the number of the third props by taking the maximum capacity of a storage space of a main prop corresponding to the first prop as a unit, wherein the storage space of the main prop is used for being assembled on the first prop.
9. The method of claim 8, after determining the number of the third prop according to the character attribute information of the target virtual character, further comprising:
adding the number of the third props to reserve prop storage spaces associated with the primary prop storage spaces, wherein the reserve prop storage spaces are storage spaces of all the third props held by the first virtual character.
10. The method of claim 6, wherein said determining the number of said third props comprises:
and determining the number of the third props according to the current remaining capacity of a storage space of a main prop corresponding to the first prop, wherein the storage space of the main prop is used for being assembled on the first prop.
11. The method of claim 10, after said determining the number of the third prop according to the character attribute information of the target virtual character, further comprising:
and under the condition that the storage space of the main road tool is in a full state, adding a target number of the third props to a backup prop storage space associated with the storage space of the main road tool, wherein the backup prop storage space is the storage space of all the third road tools held by the first virtual character, and the target number is the number obtained by subtracting the current residual capacity of the storage space of the main road tool from the number.
12. The method according to any one of claims 1 to 11, further comprising, after displaying a third item in a state to be acquired at a target position where the target virtual character is killed, the step of:
and under the condition that the distance between the position of a third virtual character and the target position is smaller than the target threshold value, controlling the third virtual character to obtain the third prop, wherein the third virtual character is a virtual character in any formation except the first virtual character.
13. An apparatus for acquiring a roadway, comprising:
the system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a first virtual character which is using a first prop to execute a shooting task in a shooting application client side, and the attack distance of the first prop is larger than a first distance threshold value;
the second display unit is used for displaying a trigger icon of a second prop in an operation interface of the first virtual character under the condition that at least one second virtual character appears in a prop trigger area matched with the first virtual character, wherein a first camp where the first virtual character is located and a second camp where the second virtual character is located are opposite camps, and the attack distance of the second prop is smaller than a second distance threshold value;
the control unit is used for responding to the triggering operation executed by the first virtual character on the triggering icon, and controlling the first virtual character to kill a target virtual character determined from the at least one second virtual character by using the second character;
the third display unit is used for displaying a third prop in a state to be acquired at a target position where the target virtual character is killed, wherein the third prop is a prop assembled on the first prop for use;
and the obtaining unit is used for controlling the first virtual character to obtain the third prop under the condition that the distance between the position where the first virtual character is located and the target position is smaller than a target threshold value.
14. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 12.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 12 by means of the computer program.
CN202010981742.2A 2020-09-17 2020-09-17 Prop obtaining method and device, storage medium and electronic equipment Pending CN112121426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010981742.2A CN112121426A (en) 2020-09-17 2020-09-17 Prop obtaining method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010981742.2A CN112121426A (en) 2020-09-17 2020-09-17 Prop obtaining method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112121426A true CN112121426A (en) 2020-12-25

Family

ID=73846378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010981742.2A Pending CN112121426A (en) 2020-09-17 2020-09-17 Prop obtaining method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112121426A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114225406A (en) * 2021-12-02 2022-03-25 腾讯科技(深圳)有限公司 Virtual prop control method, device, computer equipment and storage medium
WO2022151946A1 (en) * 2021-01-15 2022-07-21 腾讯科技(深圳)有限公司 Virtual character control method and apparatus, and electronic device, computer-readable storage medium and computer program product
JP7534539B2 (en) 2021-01-22 2024-08-14 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Method, device, terminal, and program for inserting virtual items

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6283861B1 (en) * 1999-03-23 2001-09-04 Square Co., Ltd. Video game device and video game method
CN110841289A (en) * 2019-10-30 2020-02-28 腾讯科技(深圳)有限公司 Control method and device of virtual operation object, storage medium and electronic device
CN111111191A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Virtual skill activation method and device, storage medium and electronic device
CN111228812A (en) * 2020-01-08 2020-06-05 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111298430A (en) * 2020-02-07 2020-06-19 腾讯科技(深圳)有限公司 Virtual item control method and device, storage medium and electronic device
CN111589124A (en) * 2020-06-23 2020-08-28 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6283861B1 (en) * 1999-03-23 2001-09-04 Square Co., Ltd. Video game device and video game method
CN110841289A (en) * 2019-10-30 2020-02-28 腾讯科技(深圳)有限公司 Control method and device of virtual operation object, storage medium and electronic device
CN111111191A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Virtual skill activation method and device, storage medium and electronic device
CN111228812A (en) * 2020-01-08 2020-06-05 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111298430A (en) * 2020-02-07 2020-06-19 腾讯科技(深圳)有限公司 Virtual item control method and device, storage medium and electronic device
CN111589124A (en) * 2020-06-23 2020-08-28 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
虎式战车英雄: "《百度知道》", 21 July 2009 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022151946A1 (en) * 2021-01-15 2022-07-21 腾讯科技(深圳)有限公司 Virtual character control method and apparatus, and electronic device, computer-readable storage medium and computer program product
JP7534539B2 (en) 2021-01-22 2024-08-14 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Method, device, terminal, and program for inserting virtual items
CN114225406A (en) * 2021-12-02 2022-03-25 腾讯科技(深圳)有限公司 Virtual prop control method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2022017063A1 (en) Method and apparatus for controlling virtual object to recover attribute value, and terminal and storage medium
CN111111171B (en) Operation control method, operation control device, storage medium, and electronic device
US20240307790A1 (en) Information sending method, information sending apparatus, computer readable storage medium, and device
CN110841290A (en) Processing method and device of virtual prop, storage medium and electronic device
CN112121426A (en) Prop obtaining method and device, storage medium and electronic equipment
CN108310765B (en) Image display method and device, storage medium and electronic device
WO2022033209A1 (en) Virtual character control method and apparatus, storage medium and computer device
CN111111191B (en) Virtual skill activation method and device, storage medium and electronic device
CN111659118B (en) Prop control method and device, storage medium and electronic equipment
CN113559507A (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN111298430A (en) Virtual item control method and device, storage medium and electronic device
WO2021135623A1 (en) Virtual prop control method and apparatus, storage medium and electronic device
CN111701244B (en) Control method and device of virtual prop, storage medium and electronic equipment
KR102737751B1 (en) Method and device for obtaining virtual props, storage medium and electronic device
CN110585716A (en) Virtual item control method, device, equipment and storage medium
CN113769394B (en) Prop control method, device, equipment and storage medium in virtual scene
CN110975283A (en) Processing method and device of virtual shooting prop, storage medium and electronic device
CN111672123A (en) Control method and device of virtual operation object, storage medium and electronic equipment
CN114404965A (en) Virtual object control method and device, storage medium and electronic equipment
WO2022007567A1 (en) Virtual resource display method and related device
CN111202978A (en) Method and device for acquiring virtual prop, storage medium and electronic device
CN112138379B (en) Interaction method and device among different application modes and storage medium
CN114210065A (en) Object control method and device, storage medium and electronic equipment
WO2024093940A1 (en) Method and apparatus for controlling virtual object group in virtual scene, and product
CN111249732A (en) Virtual object acquisition method and device, storage medium and electronic device

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