CN111420392B - Game prop installation method and device and electronic equipment - Google Patents

Game prop installation method and device and electronic equipment Download PDF

Info

Publication number
CN111420392B
CN111420392B CN202010189971.0A CN202010189971A CN111420392B CN 111420392 B CN111420392 B CN 111420392B CN 202010189971 A CN202010189971 A CN 202010189971A CN 111420392 B CN111420392 B CN 111420392B
Authority
CN
China
Prior art keywords
prop
aiming
multiplying power
target
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010189971.0A
Other languages
Chinese (zh)
Other versions
CN111420392A (en
Inventor
魏张鉴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010189971.0A priority Critical patent/CN111420392B/en
Publication of CN111420392A publication Critical patent/CN111420392A/en
Application granted granted Critical
Publication of CN111420392B publication Critical patent/CN111420392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/219Input arrangements for video game devices characterised by their sensors, purposes or types for aiming at specific areas on the display, e.g. light-guns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention provides a method and a device for installing game props and electronic equipment, and relates to the technical field of game prop setting, wherein the method comprises the following steps: responding to a target aiming prop installation instruction, and determining a target shooting weapon corresponding to the target aiming prop from shooting weapons assembled by the virtual character; acquiring a target shooting weapon aiming prop multiplying power installation condition, wherein the aiming prop multiplying power installation condition is determined according to a setting instruction; the method and the device for installing the game prop and the electronic equipment can be used for effectively avoiding automatic installation of the picked target aiming prop at wrong time and improving game experience of players after the target aiming prop is determined to meet the aiming prop multiplying power installation condition.

Description

Game prop installation method and device and electronic equipment
Technical Field
The invention relates to the technical field of game prop arrangement, in particular to a method and a device for installing a game prop and electronic equipment.
Background
In shooting games, usually, after a player picks up an aiming prop, the player automatically installs the aiming prop on a weapon on a virtual character, and the automatic installation process is a very important function, so that redundant operations of the player can be simplified, and game experience is improved.
However, in many cases, the aim-at-point prop is automatically mounted to the weapon at the wrong moment, thereby causing a disadvantage in the fight, which adversely degrades the game experience of the player.
Disclosure of Invention
Accordingly, the present invention is directed to a method and apparatus for mounting a game prop, and an electronic device, so as to alleviate the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for installing a game prop, where a graphical user interface is provided by a first terminal device, where the graphical user interface includes at least a part of a game scene and a virtual character, and the method includes: responding to a target aiming prop installation instruction, and determining a target shooting weapon corresponding to the target aiming prop from shooting weapons assembled by the virtual character; acquiring a target shooting weapon aiming prop multiplying power installation condition, wherein the aiming prop multiplying power installation condition is determined according to a setting instruction; determining that the target aiming prop meets the aiming prop multiplying power installation condition, and controlling the target aiming prop to be installed to an aiming prop installation groove of a target shooting weapon, wherein the aiming prop installation groove is used for installing the aiming prop.
In a preferred embodiment, the method further comprises: triggering a step of responding to a target aiming prop installation instruction if one of the following behaviors of the virtual character is monitored: picking up aiming props by the virtual roles in the fight process; during the fight process, the virtual character picks up the shooting weapon and assembles, and aiming props are stored in prop storage areas corresponding to the virtual character; after the virtual character ends in response to switching the assembled shooting weapon during the fight.
In a preferred embodiment, the step of determining that the target aiming prop meets the setting condition of the aiming prop magnification includes: obtaining a multiplying power value of a target aiming prop; judging whether the multiplying power value meets the limiting multiplying power range corresponding to the target shooting weapon; and if so, determining that the target aiming prop meets the aiming prop multiplying power installation condition.
In a preferred embodiment, the shooting weapon is provided with a magnification setting control; the method further comprises the following steps: responding to a setting instruction acting on the magnification setting control, and displaying magnification setting options on an attribute interface corresponding to the shooting weapon; responding to the selected operation acting on the multiplying power setting option, and generating a limiting multiplying power range corresponding to the shooting weapon according to the selected operation; and responding to the setting instruction, storing the limit multiplying power range, and determining the stored limit multiplying power range as a setting condition of the aiming prop multiplying power of the shooting weapon.
In a preferred embodiment, the magnification setting options include a list option of a plurality of magnification options, and the plurality of magnification options are arranged in a preset order.
In a preferred embodiment, the step of generating the limit magnification range corresponding to the shooting weapon according to the selected operation in response to the selected operation acting on the magnification setting option includes: responding to a first selected operation and a second selected operation which act on the list options, wherein the first selected operation and the second selected operation correspond to two different multiplying powers in the list options; and determining the multiplying power corresponding to the first selected operation and the second selected operation as a limiting multiplying power range corresponding to the shooting weapon.
In a preferred embodiment, the list option is configured with a first slider control and a second slider control; the first selection operation is a sliding operation acting on the first slider control; the second selection operation is a sliding operation that acts on the second slider control.
In a preferred embodiment, the list option is configured with a first tick control and a second tick control; the first selecting operation is a selecting operation acting on the first selecting control; the second selection operation is a hooking operation for the second hooking control.
In a preferred embodiment, the step of generating the limit magnification range corresponding to the shooting weapon according to the selected operation in response to the selected operation acting on the magnification setting option further includes: responding to a third selected operation acting on the list options, and determining the multiplying power corresponding to the third selected operation as a maximum multiplying power threshold for limiting the multiplying power; determining a maximum multiplying power threshold as an upper limiting threshold of a limiting multiplying power range corresponding to the shooting weapon, and determining a minimum multiplying power in the list options as a lower limiting threshold of the limiting multiplying power range; and generating a limiting multiplying power range corresponding to the shooting weapon according to the upper limit threshold and the lower limit threshold.
In a preferred embodiment, the method further comprises: and if the target aiming prop does not meet the aiming prop multiplying power installation condition, storing the target aiming prop into a prop storage area corresponding to the virtual character.
In a second aspect, an embodiment of the present invention provides an installation apparatus for a game prop, where a graphical user interface is provided by a first terminal device, where the graphical user interface includes at least a part of a game scene and a virtual character, and the apparatus includes: the determining module is used for responding to a target aiming prop installation instruction and determining a target shooting weapon corresponding to the target aiming prop from the shooting weapons assembled by the virtual character; the acquisition module is used for acquiring the setting conditions of the aiming prop multiplying power of the target shooting weapon, wherein the setting conditions of the aiming prop multiplying power are determined according to the setting instruction; and the installation module is used for determining that the target aiming prop meets the aiming prop multiplying power installation condition and controlling the target aiming prop to be installed to an aiming prop installation groove of the target shooting weapon, and the aiming prop installation groove is used for installing the aiming prop.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method described in the first aspect when the processor executes the computer program.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect described above.
The embodiment of the invention has the following beneficial effects:
according to the game prop installation method, the game prop installation device and the electronic equipment, the target shooting weapon corresponding to the target shooting prop can be determined from shooting weapons assembled by the virtual role in response to the target shooting prop installation instruction, and the target shooting weapon aiming prop multiplying power installation condition is acquired, so that after the target shooting prop meets the aiming prop multiplying power installation condition, the target shooting prop is controlled to be installed on the target shooting weapon for installing the aiming prop, wherein the aiming prop multiplying power installation condition is the condition determined according to the setting instruction, the installation process is carried out after the target shooting prop is determined to meet the aiming prop multiplying power installation condition, automatic installation of the picked target shooting prop at the wrong opportunity can be effectively avoided, and game experience of a player is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for installing a play object according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for installing play objects provided by an embodiment of the present invention;
FIG. 3 is a schematic illustration of a weapon fence according to an embodiment of the present invention;
FIG. 4 is a schematic structural view of a device for mounting a play object according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another apparatus for mounting play objects according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method for installing the game props in one embodiment of the present disclosure may be run on a terminal device or a server. The terminal device may be a local terminal device. When the installation method of the game prop runs on the server, the installation method of the game prop can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, the running main body of the game program and the game picture presentation main body are separated, the storage and running of the installation method of the game prop are completed on the cloud game server, and the function of the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the terminal device for information processing is cloud game server of cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
At present, in a game setting interface, a function of whether to automatically install props is generally set, so that the obtained props can be automatically installed in the game process. However, this function is usually simply a switching function, and cannot limit the types of automatically installed props, and cannot be flexibly modified during the game.
For example, in shooting games, it is a very important function to automatically mount aiming props on a weapon after picking up them, simplifying the superfluous operations and improving the game experience. However, in many cases, the aiming prop is automatically installed on the weapon at the wrong moment, so that the fight is disadvantageous, and the game experience of the player is deteriorated, for example, under the existing scheme of automatically installing the aiming prop, the player holds an assault rifle without the aiming prop in the defense area, and automatically installs the assault rifle after picking up the six-fold mirror, when the enemy encounters the enemy at a close distance, the fight is disadvantageous, and the game experience of the player is deteriorated.
Based on the above, the method and the device for installing the game props and the electronic equipment provided by the embodiment of the invention can effectively alleviate the technical problems.
For the convenience of understanding the present embodiment, a method for installing a game prop disclosed in the present embodiment will be described in detail.
In a possible implementation manner, the embodiment of the invention provides a method for installing a game prop, and a graphical user interface is provided through a first terminal device, wherein the graphical user interface comprises at least part of a game scene and a virtual character. The first terminal device may be the aforementioned local terminal device or the aforementioned client device in the cloud interaction system, as shown in fig. 1, and the method for installing a game prop includes the following steps:
step S102, responding to a target aiming prop installation instruction, and determining a target shooting weapon corresponding to the target aiming prop from shooting weapons assembled by the virtual character;
the shooting weapons assembled by the virtual character comprise shooting weapons held by the virtual character or shooting weapons carried by the virtual character, and the number of the shooting weapons assembled by the virtual character can be one or more, so that in response to a target aiming prop installation instruction, a target shooting weapon corresponding to the target aiming prop needs to be determined from the shooting weapons assembled by the virtual character.
In practical use, the target aiming props are usually one or more aiming props in shooting games, such as a magnifying glass, and in the game process, the virtual characters are awarded to the props of the virtual characters by a game server after obtaining certain achievements along with the progress of the game, and at the moment, the virtual characters can pick up the corresponding aiming props under the control of players, so that the method for installing the game props provided by the embodiment of the invention can be conveniently executed when responding to the target aiming props.
Step S104, obtaining the setting condition of the aiming prop multiplying power of the target shooting weapon, wherein the setting condition of the aiming prop multiplying power is determined according to the setting instruction;
step S106, determining that the target aiming prop meets the aiming prop multiplying power installation condition, and controlling the target aiming prop to be installed to an aiming prop installation groove of a target shooting weapon, wherein the aiming prop installation groove is used for installing the aiming prop.
In the game prop installation method provided by the embodiment of the invention, when the virtual character picks up the aiming prop, the automatic installation process of the aiming prop is not directly carried out, but the step S104 is executed to acquire the aiming prop multiplying power installation condition of the target shooting weapon, and when the step S106 is further used for determining that the target aiming prop meets the aiming prop multiplying power installation condition, the automatic installation process of the target aiming prop is continuously executed, so that the automatic installation of the picked aiming prop at the wrong occasion can be effectively avoided, and the adverse effect of fight is avoided.
Therefore, the game prop installation method provided by the embodiment of the invention can respond to the target aiming prop installation instruction, determine the target shooting weapon corresponding to the target aiming prop from the shooting weapons assembled by the virtual characters, acquire the aiming prop multiplying power installation condition of the target shooting weapon, further control the target aiming prop to be installed on the target shooting weapon for installing the aiming prop after the target aiming prop meets the aiming prop multiplying power installation condition, wherein the aiming prop multiplying power installation condition is the condition determined according to the setting instruction, so that the installation process is carried out after the target aiming prop is determined to meet the aiming prop multiplying power installation condition, the automatic installation of the picked target aiming prop at wrong opportunity can be effectively avoided, and the game experience of a player is improved.
In practical use, the setting conditions of the aiming prop multiplying power of the target shooting weapon are different for different shooting weapons, for example, in shooting games, virtual machine guns of different models are used for close-range shooting, or long-range shooting, and the like, at this time, the setting conditions of the aiming prop multiplying power corresponding to the virtual machine guns of different models are different, and for the virtual machine guns of long-range shooting, the setting conditions of the aiming prop multiplying power can be set to be in a multiplying power range corresponding to a larger multiplying power, and conversely, if the virtual machine guns of close-range shooting are used, the setting conditions of the aiming prop multiplying power can be set to be in a multiplying power range corresponding to a smaller multiplying power. Therefore, in the embodiment of the present invention, the setting condition of the multiplying power of the aiming prop is a condition determined according to the setting instruction, so that the specific setting condition of the multiplying power of the aiming prop can be set according to the actual use condition, which is not limited in the embodiment of the present invention.
Further, the process of responding to the target aiming prop installation instruction in fig. 1 is performed when a certain triggering condition is detected, so that reasonable installation of the target aiming prop is continued, specifically, in the game, if one of the following behaviors of the virtual character is detected, the step of responding to the target aiming prop installation instruction can be triggered:
(1) Picking up aiming props by the virtual roles in the fight process;
(2) During the fight process, the virtual character picks up the shooting weapon and assembles, and aiming props are stored in prop storage areas corresponding to the virtual character;
the prop storage area may be a knapsack of virtual characters in the game, and the knapsack may store various game props.
Further, if the virtual character picks up the shooting weapon during the fight, is not assembled, but is put directly into the backpack, or if there is no aiming prop available in the prop storage area, the step of responding to the target aiming prop installation instruction in step S102 is not performed.
(3) After the virtual character ends in response to switching the assembled shooting weapon during the fight.
As can be seen from the behaviors of the virtual characters in the above (1) - (3), the method for installing the game prop provided by the embodiment of the present invention is an installation process of the target aiming prop executed on the shooting weapon assembled by the virtual character, and the automatic installation is triggered only when the target aiming prop meets the requirement for installing the aiming prop multiplying power.
For easy understanding, fig. 2 shows a flowchart of another method for installing game props, and illustrates whether the target aiming props meet the aiming props multiplying power installation condition, as shown in fig. 2, including the following steps:
step S202, responding to a target aiming prop installation instruction, and determining a target shooting weapon corresponding to the target aiming prop from shooting weapons assembled by the virtual character;
step S204, obtaining the setting condition of the aiming prop multiplying power of the target shooting weapon, wherein the setting condition of the aiming prop multiplying power is determined according to a setting instruction;
step S206, obtaining a multiplying power value of the target aiming prop;
step S208, judging whether the multiplying power value meets the limiting multiplying power range corresponding to the target shooting weapon; if yes, go to step S210, if no, go to step S214;
in general, when the aiming props are distinguished, the distinguishing is continued according to the multiplying power value, so the multiplying power value can be used as one of the evaluation indexes of the aiming props, and in the embodiment of the invention, whether the target aiming props meet the multiplying power installation condition of the aiming props is determined according to the limiting multiplying power range.
Step S210, determining that the target aiming prop meets the aiming prop multiplying power installation condition;
step S212, controlling a target aiming prop to be mounted to an aiming prop mounting groove of a target shooting weapon, wherein the aiming prop mounting groove is used for mounting the aiming prop;
step S214, storing the target aiming props to prop storage areas corresponding to the virtual roles.
Specifically, the shooting weapon is usually a virtual weapon in a shooting game, and in a conventional shooting game, after the aiming prop is picked up, the aiming prop is automatically installed on the shooting weapon currently assembled by the virtual character, so that redundant operation is simplified, and game experience is improved.
In the method for installing the game prop provided by the embodiment of the invention, whether the multiplying power value of the target aiming prop meets the limiting multiplying power range corresponding to the target shooting weapon is judged through the processes of the steps S206 to S208, the target aiming prop is determined to meet the multiplying power installation condition of the aiming prop under the condition that the judging result is yes, and then the installation process of the target aiming prop is executed.
For example, a player holds an assault rifle without aiming props in the defense area, and after picking up aiming props of a six-fold mirror during shooting, the conventional operation mode is to automatically install the assault rifle, and when the player encounters enemy in a short distance in the defense area, the mirror opening is very inconvenient. However, through the process of the above embodiment, it is assumed that the limiting magnification range corresponding to the assault rifle as the target shooting weapon is one-two magnifications, and the picked up aiming props of the six-fold mirror do not satisfy the limiting magnification range corresponding to the assault rifle at this time, so that the subsequent automatic installation process is not triggered, but the above step S214 is continuously executed, and the picked up aiming props of the six-fold mirror are temporarily stored, so that the installation of the aiming props is performed when the player switches to a suitable shooting weapon.
Therefore, the above-described process of steps S206 to S208 corresponds to a process of limiting the automatic installation of the aiming props, and the automatic installation is performed only when the magnification of the target aiming props satisfies the limiting magnification range corresponding to the target shooting weapon, so that it is possible to effectively avoid a situation in which the automatic installation of props is performed at an erroneous timing, resulting in deterioration of the game experience of the player.
In practical use, for shooting games, the limiting multiplying power range corresponding to the target shooting weapon is usually preset, and specifically, each shooting weapon is provided with a multiplying power setting control; the magnification setting control is usually designed in the game design stage, so that a player can set a limit magnification range corresponding to the shooting weapon in the game process.
Therefore, the method for installing the game props provided by the embodiment of the invention further comprises the following steps:
(1) Responding to a setting instruction acting on the magnification setting control, and displaying magnification setting options on an attribute interface corresponding to the shooting weapon;
(2) Responding to the selected operation acting on the multiplying power setting option, and generating a limiting multiplying power range corresponding to the shooting weapon according to the selected operation;
(3) And responding to the setting instruction to finish, and storing the limiting multiplying power range.
In particular, the setting procedures of (1) to (3) above are typically set by the player before the shooting game starts, and after the player opens the weapon rail of the current shooting game before the game starts, each shooting weapon is configured with a magnification setting control, for example, a magnification setting control in the form of a button, and when the player clicks the button, a corresponding setting interface may be presented.
For ease of understanding, fig. 3 shows a schematic view of a weapon rail, in particular, as shown in fig. 3, comprising a plurality of firing weapons, such as firing weapon 1, firing weapon 2. Firing weapon n, etc., each shooting weapon is configured with a magnification setting control, namely, the magnification setting control 1 in fig. 3 multiplying power setting control 2··· multiplying power setting control n. Taking the example of a player clicking on the magnification setting control 1, an interface containing multiple magnification setting options will appear in the weapon column.
In general, the magnification setting option includes a list option of a plurality of magnification options, and the plurality of magnification options are arranged in a preset order. For example, as shown in fig. 3, the magnification options decrease sequentially from top to bottom.
Based on fig. 3, in the step (2), the step of generating the limiting magnification range corresponding to the shooting weapon includes: responding to a first selected operation and a second selected operation which act on the list options, wherein the first selected operation and the second selected operation correspond to two different multiplying powers in the list options; and determining the multiplying power corresponding to the first selected operation and the second selected operation as a limiting multiplying power range corresponding to the shooting weapon.
Specifically, taking the list option shown in fig. 3 as an example, the list option is configured with a first slider control 1 and a second slider control 2; at this time, the first selection operation is a sliding operation acting on the first slider control; the second selection operation is a sliding operation that acts on the second slider control.
After the player clicks the button of the multiplying power setting control, a list option can appear, and the first slider control 1 and the second slider control 2 on the list option, so that the player can limit the multiplying power range of the aiming prop automatically installed by the shooting weapon by dragging the maximum value and the minimum value of the multiplying power selected by the first slider control 1 and the second slider control 2.
For example, the user may perform the first selection operation and the second selection operation by touching the first slider control 1 and the second slider control 2, so that the first slider control 1 and the second slider control 2 move up and down in the list options to select different magnification options, for example, the magnification corresponding to the first selection operation acting on the first slider control 1 in fig. 3 is six times, the magnification corresponding to the second selection operation acting on the second slider control 2 is two times, at this time, the determined limit magnification range corresponding to the shooting weapon 1 is two times to six times, and when the player clicks the button of the magnification setting control again, or closes the button, the sliding process of the first slider control 1 and the second slider control 2 can be closed, and the current sliding position is saved.
In the shooting game process, if the multiplying power of the target aiming props picked up by the player when using the shooting weapon 1 is within the range of two multiplying powers to six multiplying powers, the limiting multiplying power range corresponding to the shooting weapon 1 at the moment is met, and the automatic installation process is further triggered at the moment.
If the magnification of the picked target aiming prop is an aiming prop with a magnification other than two-magnification and six-magnification, for example, an eight-magnification aiming prop, at this time, the aiming prop is not in a limited magnification range corresponding to the shooting weapon 1, the aiming prop is stored in a prop storage area corresponding to the virtual character, so that the virtual character is installed again when being switched to the corresponding shooting weapon, and when being specifically installed, an automatic installation mode can be adopted, and also a mode of being selectively installed by a player can be adopted.
Further, in addition to the manner of setting the magnification by using the slider control, a corresponding magnification may be selected in the form of a checkbox, so as to take care of preferences of more players.
Specifically, for the form of a checkbox, the list option may also be configured with a first checkbox control and a second checkbox control; at this time, the first selection operation is a hooking operation acting on the first hooking control; the second selection operation is a hooking operation for the second hooking control.
In this way, the player can set the limit magnification range corresponding to the shooting weapon by the mode of checkpointing.
Specifically, the upper and lower limits of the limiting magnification range may be selected by a checking mode, for example, only the corresponding two magnifications and six magnifications in fig. 3 are checked, or all the magnification options in the limiting magnification range may be selected by a checking mode, for example, the two magnifications, four magnifications and six magnifications in fig. 3 are checked, so as to determine the limiting magnification allowing the automatic installation process to be triggered. The specific multiplying power setting mode can be set according to actual use conditions, and the embodiment of the invention is not limited to the setting mode.
In addition, when setting the limiting multiplying power range corresponding to the shooting weapon, only the maximum value of the multiplying power can be limited, because when the close body of the shooting game is used for combat, the danger is higher due to the use of the multiplying power mirror with high multiplying power, unlike the long-distance combat which has a convolution room, therefore, the limiting multiplying power range can be set in a mode of limiting the maximum value of the multiplying power, and at this time, the step of limiting the multiplying power range further comprises:
responding to a third selected operation acting on the list options, and determining the multiplying power corresponding to the third selected operation as a maximum multiplying power threshold for limiting the multiplying power; determining a maximum multiplying power threshold as an upper limiting threshold of a limiting multiplying power range corresponding to the shooting weapon, and determining a minimum multiplying power in the list options as a lower limiting threshold of the limiting multiplying power range; and generating a limiting multiplying power range corresponding to the shooting weapon according to the upper limit threshold and the lower limit threshold.
Specifically, for the mode of limiting the maximum value of the shooting weapon, only one selection operation is usually performed, and the schematic diagram shown in fig. 3 is also taken as an example, and the third selection operation may be a selection operation for one of the shooting weapons in the list option, for example, four shooting weapons, and the range of limiting the shooting weapons is two to four shooting weapons.
Furthermore, besides the setting mode for limiting the multiplying power range, the player can also perform general setting on weapon types in a setting menu of the current shooting game, for example, a sniper gun is only provided with aiming props of 4 times or more, and a submachine gun is only provided with aiming props of 2 times or less, and the setting mode cannot randomly change according to battlefield conditions, but has strong universality.
The specific setting manner of limiting the multiplying power range can be generally set according to the actual game situation or the habit of the player, and the embodiment of the invention is not limited to this.
On the basis of the above embodiment, the embodiment of the present invention further provides a device for installing a game prop, where a graphical user interface is provided by a first terminal device, where the graphical user interface includes at least a part of a game scene and a virtual character, and the device includes a schematic structural diagram of the device for installing a game prop shown in fig. 4:
A determining module 40, configured to determine, in response to the target aiming prop installation instruction, a target shooting weapon corresponding to the target aiming prop from shooting weapons assembled by the virtual character;
an obtaining module 42, configured to obtain a setting condition of a target shooting weapon for a target prop magnification, where the setting condition of the target prop magnification is a condition determined according to a setting instruction;
a mounting module 44 for determining that the target aiming prop meets the aiming prop magnification mounting condition, controlling the mounting of the target aiming prop to an aiming prop mounting slot of a target shooting weapon, the aiming prop mounting slot being for mounting the aiming prop.
Specifically, if the virtual character is monitored to have one of the following actions, triggering a step of responding to a target aiming prop installation instruction:
picking up aiming props by the virtual roles in the fight process; during the fight process, the virtual character picks up the shooting weapon and assembles, and aiming props are stored in prop storage areas corresponding to the virtual character; after the virtual character ends in response to switching the assembled shooting weapon during the fight.
The mounting module 44 also functions to: obtaining a multiplying power value of a target aiming prop; judging whether the multiplying power value meets the limiting multiplying power range corresponding to the target shooting weapon; and if so, determining that the target aiming prop meets the aiming prop multiplying power installation condition.
Further, on the basis of fig. 4, fig. 5 shows a schematic structural view of another installation device of a game prop, the shooting weapon being configured with a magnification setting control; in addition to the structure shown in fig. 4, the above-mentioned apparatus further includes:
a setting module 46, configured to display a magnification setting option on an attribute interface corresponding to the shooting weapon in response to a setting instruction acting on the magnification setting control; responding to the selected operation acting on the multiplying power setting option, and generating a limiting multiplying power range corresponding to the shooting weapon according to the selected operation; and responding to the end of the setting instruction, saving a limiting multiplying power range, and determining the saved limiting multiplying power range as a setting condition of the aiming prop multiplying power of the shooting weapon.
The magnification setting options comprise list options of a plurality of magnification options, and the plurality of magnification options are arranged according to a preset sequence.
Further, the setting module 46 is configured to: responding to a first selected operation and a second selected operation which act on the list options, wherein the first selected operation and the second selected operation correspond to two different multiplying powers in the list options; and determining the multiplying power corresponding to the first selected operation and the second selected operation as a limiting multiplying power range corresponding to the shooting weapon.
The list option is configured with a first slider control and a second slider control; the first selection operation is a sliding operation acting on the first slider control; the second selection operation is a sliding operation that acts on the second slider control.
Further, the list option is configured with a first hook control and a second hook control; the first selection operation is a selection operation acting on the first selection control; the second selection operation is a hooking operation for the second hooking control.
Further, the setting module 46 is further configured to: responding to a third selected operation acting on the list options, and determining the multiplying power corresponding to the third selected operation as a maximum multiplying power threshold for limiting the multiplying power; determining a maximum multiplying power threshold as an upper limiting threshold of a limiting multiplying power range corresponding to the shooting weapon, and determining a minimum multiplying power in the list options as a lower limiting threshold of the limiting multiplying power range; and generating a limiting multiplying power range corresponding to the shooting weapon according to the upper limit threshold and the lower limit threshold.
Further, as shown in fig. 5, the apparatus further includes:
and the storage module 48 is configured to store the target aiming prop into a prop storage area corresponding to the virtual character if the target aiming prop does not meet the aiming prop multiplying power installation condition.
According to the game prop installation device provided by the embodiment of the invention, the target shooting weapon corresponding to the target shooting prop can be determined from shooting weapons assembled by the virtual character in response to the target shooting prop installation instruction, and the shooting prop multiplying power installation condition of the target shooting weapon is obtained, so that after the target shooting prop meets the shooting prop multiplying power installation condition, the target shooting prop is controlled to be installed on the target shooting weapon for installing the shooting prop, and the shooting prop installation groove is used for installing the shooting prop.
The installation device of the game prop provided by the embodiment of the invention has the same implementation principle and technical effects as those of the installation method embodiment of the game prop, and for the sake of brief description, the corresponding content in the method embodiment can be referred to for the part of the embodiment of the device, and will not be repeated here.
The embodiment of the invention also provides electronic equipment, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the steps of installing the game props are realized when the processor executes the computer program.
Further, an embodiment of the present invention provides a schematic structural diagram of an electronic device, as shown in fig. 6, where the electronic device includes a processor 61 and a memory 60, where the memory 60 stores computer executable instructions that can be executed by the processor 61, and the processor 61 executes the computer executable instructions to implement the method for installing a game prop described above.
In the embodiment shown in fig. 6, the electronic device further comprises a bus 62 and a communication interface 63, wherein the processor 61, the communication interface 63 and the memory 60 are connected by means of the bus 62.
The memory 60 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is achieved via at least one communication interface 63 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 62 may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The bus 62 may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one bi-directional arrow is shown in FIG. 6, but not only one bus or type of bus.
The processor 61 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 61 or by instructions in the form of software. The processor 61 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor 61 reads the information in the memory, and in combination with its hardware, completes the steps of the method for installing a play object according to the foregoing embodiment.
Embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above method.
The method and apparatus for installing a game prop and the computer program product of an electronic device provided in the embodiments of the present invention include a computer readable storage medium storing program codes, where instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (12)

1. A method for installing a play object, wherein a graphical user interface is provided by a first terminal device, the graphical user interface including at least a portion of a game scene and a virtual character, the method comprising:
responding to a target aiming prop installation instruction, and determining a target shooting weapon corresponding to the target aiming prop from shooting weapons assembled by the virtual character;
Acquiring a setting condition of the aiming prop multiplying power of the target shooting weapon, wherein the setting condition of the aiming prop multiplying power is determined according to a setting instruction;
determining that the target aiming prop meets the aiming prop multiplying power installation condition, and controlling the target aiming prop to be installed on an aiming prop installation groove of the target shooting weapon, wherein the aiming prop installation groove is used for installing the aiming prop;
the step of determining that the target aiming prop meets the aiming prop multiplying power installation condition comprises the following steps:
acquiring a multiplying power value of the target aiming prop;
judging whether the multiplying power value meets the limiting multiplying power range corresponding to the target shooting weapon;
and if yes, determining that the target aiming prop meets the aiming prop multiplying power installation condition.
2. The method according to claim 1, wherein the method further comprises:
triggering the response target aiming prop installation instruction if one of the following actions of the virtual character is monitored:
the virtual character picks up aiming props in the fight process;
during the fight process, the virtual character picks up shooting weapons and assembles the shooting weapons, and the aiming props are stored in prop storage areas corresponding to the virtual character;
After the virtual character ends in response to switching the assembled shooting weapon during the fight.
3. The method of claim 1, wherein the shooting weapon is configured with a magnification setting control;
the method further comprises the steps of:
responding to a setting instruction acted on the multiplying power setting control, and displaying multiplying power setting options on an attribute interface corresponding to the shooting weapon;
responding to the selected operation acted on the multiplying power setting option, and generating a limiting multiplying power range corresponding to the shooting weapon according to the selected operation;
and responding to the end of the setting instruction, storing the limit multiplying power range, and determining the stored limit multiplying power range as the setting condition of the aiming prop multiplying power of the shooting weapon.
4. A method according to claim 3, wherein the magnification setting option includes a list option of a plurality of magnification options, and a plurality of the magnification options are arranged in a preset order.
5. The method of claim 4, wherein generating a limited range of rates for the firing weapon based on the selected operation in response to the selected operation acting on the rate setting option comprises:
Responding to a first selected operation and a second selected operation which act on the list options, wherein the first selected operation and the second selected operation correspond to two different multiplying powers in the list options;
and determining multiplying power corresponding to the first selected operation and the second selected operation as a limiting multiplying power range corresponding to the shooting weapon.
6. The method of claim 5, wherein the list option is configured with a first slider control and a second slider control;
the first selected operation is a sliding operation acting on the first slider control; the second selected operation is a sliding operation that acts on the second slider control.
7. The method of claim 5, wherein the list option is configured with a first tick control and a second tick control;
the first selection operation is a hooking operation acting on the first hooking control; the second selection operation is a hooking operation acting on the second hooking control.
8. The method of claim 5, wherein generating a limited range of magnifications for the shooting weapon based on the selected operation in response to the selected operation acting on the magnification setting option, further comprises:
Responding to a third selected operation acting on the list option, and determining the multiplying power corresponding to the third selected operation as a maximum multiplying power threshold for limiting the multiplying power;
determining the maximum multiplying power threshold as an upper limiting threshold of a limiting multiplying power range corresponding to the shooting weapon, and determining the minimum multiplying power in the list option as a lower limiting threshold of the limiting multiplying power range;
and generating a limiting multiplying power range corresponding to the shooting weapon according to the upper limit threshold and the lower limit threshold.
9. The method according to claim 1, wherein the method further comprises:
and if the target aiming prop does not meet the aiming prop multiplying power installation condition, storing the target aiming prop into a prop storage area corresponding to the virtual character.
10. A game prop installation device, wherein a graphical user interface is provided through a first terminal device, the graphical user interface including at least a part of a game scene and a virtual character, the device comprising:
the determining module is used for responding to the target aiming prop installation instruction and determining a target shooting weapon corresponding to the target aiming prop from shooting weapons assembled by the virtual character;
The acquisition module is used for acquiring the setting conditions of the aiming prop multiplying power of the target shooting weapon, wherein the setting conditions of the aiming prop multiplying power are determined according to the setting instruction;
the installation module is used for determining that the target aiming prop meets the aiming prop multiplying power installation condition and controlling the target aiming prop to be installed on an aiming prop installation groove of the target shooting weapon, and the aiming prop installation groove is used for installing the aiming prop;
wherein, in the installation module, the step of determining that the target aiming prop meets the aiming prop multiplying power installation condition comprises the following steps: acquiring a multiplying power value of the target aiming prop; judging whether the multiplying power value meets the limiting multiplying power range corresponding to the target shooting weapon; and if yes, determining that the target aiming prop meets the aiming prop multiplying power installation condition.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of the preceding claims 1-9 when the computer program is executed by the processor.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the preceding claims 1-9.
CN202010189971.0A 2020-03-17 2020-03-17 Game prop installation method and device and electronic equipment Active CN111420392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010189971.0A CN111420392B (en) 2020-03-17 2020-03-17 Game prop installation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010189971.0A CN111420392B (en) 2020-03-17 2020-03-17 Game prop installation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111420392A CN111420392A (en) 2020-07-17
CN111420392B true CN111420392B (en) 2023-09-15

Family

ID=71548557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010189971.0A Active CN111420392B (en) 2020-03-17 2020-03-17 Game prop installation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111420392B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113101661A (en) * 2021-05-10 2021-07-13 网易(杭州)网络有限公司 Accessory assembling method and device, storage medium and computer equipment
CN113262475A (en) * 2021-06-07 2021-08-17 网易(杭州)网络有限公司 Method, device, equipment and storage medium for using virtual props in game

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108404407A (en) * 2018-01-05 2018-08-17 网易(杭州)网络有限公司 Auxiliary method of sight, device, electronic equipment and storage medium in shooting game
CN109718559A (en) * 2018-12-24 2019-05-07 努比亚技术有限公司 Game control method, mobile terminal and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108404407A (en) * 2018-01-05 2018-08-17 网易(杭州)网络有限公司 Auxiliary method of sight, device, electronic equipment and storage medium in shooting game
CN109718559A (en) * 2018-12-24 2019-05-07 努比亚技术有限公司 Game control method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111420392A (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN111420392B (en) Game prop installation method and device and electronic equipment
CN112156458B (en) Display control method and device, storage medium and electronic equipment
CN112121423B (en) Control method, device and equipment of virtual camera
CN111760289B (en) Method, device and equipment for controlling virtual roles in game
CN110354506B (en) Game operation method and device
WO2022267512A1 (en) Information sending method, information sending apparatus, computer readable medium, and device
CN113117332B (en) Lens visual angle adjusting method and device, electronic equipment and storage medium
CN112843708A (en) Game equipment configuration method and device, electronic equipment and storage medium
CN113082700A (en) Information interaction method and device and electronic equipment
CN114225416A (en) Game control method and device
CN113577762A (en) Method and device for picking up props in game, electronic equipment and readable medium
CN111714887B (en) Game view angle adjusting method, device, equipment and storage medium
WO2023246107A1 (en) Interaction control method and apparatus for game, and electronic device
CN111097170A (en) Method and device for adjusting adsorption frame, storage medium and electronic device
CN112774187A (en) Method and device for assembling weapon in game and electronic equipment
CN111265864B (en) Information display method, information display device, storage medium, and electronic device
CN113996051A (en) Method, device, equipment and storage medium for canceling and releasing game skills
CN113499590A (en) Method and device for controlling shooting in game, electronic equipment and readable medium
CN114210070A (en) Interactive processing method and device for virtual resources
CN116251348A (en) Interaction control method and device for props and electronic equipment
CN114762773A (en) Method, device and equipment for displaying foresight in virtual scene and storage medium
CN115814419A (en) Interactive control method and device for weapon props and electronic equipment
CN115845372A (en) Display control method and device of hit prompt and electronic equipment
CN115068959A (en) Control method and device of accessory prop in virtual equipment and terminal equipment
CN113797557A (en) Game control method and device, electronic equipment and storage medium

Legal Events

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