Weapon assembling method and device in game, electronic equipment and readable storage medium

The method enables in-game weapon customization through direct selection and equipping of components within the game environment, addressing inefficiencies and visual disruptions of traditional systems, thereby enhancing gameplay immersion and efficiency.

CN120305677APending Publication Date: 2025-07-15NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510293949.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The weapon transformation function in the existing game is inefficient in the game and has a great impact on the player's vision, so it cannot be freely modified in the game.

Method used

It provides a weapon assembly method in the game. Through the weapon assembly controls in the graphical user interface, players can select and assemble weapon parts and accessories through a series of operation instructions in the game to achieve weapon transformation.

Benefits of technology

An efficient weapon transformation process is realized in the game, reducing the impact of the additional interface on the player's vision, and improving the transformation efficiency and immersion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120305677A_ABST
    Figure CN120305677A_ABST
Patent Text Reader

Abstract

The invention provides a weapon assembling method and device in a game, electronic equipment and a readable storage medium, and relates to the technical field of computers. The method comprises the following steps: providing a game scene and a weapon assembly control in a graphical user interface; controlling the virtual character to use the virtual weapon to perform virtual activities in the game scene; responding to a first operation instruction for the weapon assembly control, and providing weapon part options; responding to the second operation instruction, and determining a first weapon part from the weapon part options; responding to the third operation instruction, controlling to display accessory options of the first weapon part, the accessory options including at least one accessory to be assembled, and the accessory to be assembled being an accessory matched with the first weapon part of the virtual weapon or an accessory matched with the first weapon part of the virtual weapon and acquired in the office; responding to the fourth operation instruction, and determining a first accessory from accessory options of the first weapon part; and the first accessory is assembled on the first weapon part of the virtual weapon based on the operation instruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and particularly to a weapon assembly method, device, electronic device and readable storage medium in a game. Background Art

[0002] In a game, a modification function can be provided for virtual weapons. Players can achieve different weapon uses and apply to different combat scenarios by freely matching different weapon accessories.

[0003] Currently, the weapon modification function provided by the game can be set outside the game session, but free modification cannot be achieved during the game session. Or, weapon modification is performed through an additional interface during the game session, but the additional interface needs to be opened and closed during the game session, resulting in low modification efficiency. Moreover, the additional interface has a great impact on the player's field of view.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] The present disclosure provides a weapon assembly method, device, electronic device and readable storage medium in a game to solve or at least partially solve the above problems, specifically as follows.

[0006] In a first aspect, the present disclosure provides a weapon assembly method in a game, the method including:

[0007] Providing a game scene and weapon assembly controls in a graphical user interface;

[0008] Controlling the virtual character to perform virtual activities in the game scene using a virtual weapon;

[0009] Responding to a first operation instruction for the weapon assembly controls, providing weapon part options, where the weapon part options include at least one weapon part to be assembled;

[0010] Responding to a second operation instruction, determining a first weapon part from the weapon part options, where the first weapon part is a weapon part among at least one of the weapon parts to be assembled;

[0011] Responding to a third operation instruction, controlling to display accessory options for the first weapon part, where the accessory options include at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained during the game session;

[0012] In response to a fourth operation instruction, determine a first accessory from the accessory options of the first weapon part;

[0013] Based on the operation instruction, assemble the first accessory on the first weapon part of the virtual weapon.

[0014] In a second aspect, the present disclosure also provides a weapon assembly device in a game, the device comprising:

[0015] A scene and control display module, configured to provide a game scene and weapon assembly controls in a graphical user interface;

[0016] A character control module, configured to control the virtual character to perform virtual activities in the game scene using the virtual weapon;

[0017] A weapon part option display module, configured to respond to a first operation instruction for the weapon assembly control, and provide weapon part options, where the weapon part options include at least one weapon part to be assembled;

[0018] A weapon part determination module, configured to respond to a second operation instruction, and determine a first weapon part from the weapon part options, where the first weapon part is a weapon part among at least one of the weapon parts to be assembled;

[0019] An accessory option display module, configured to respond to a third operation instruction, and control to display the accessory options of the first weapon part, where the accessory options include at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained in the game session;

[0020] An accessory determination module, configured to respond to a fourth operation instruction, and determine a first accessory from the accessory options of the first weapon part;

[0021] An accessory assembly module, configured to assemble the first accessory on the first weapon part of the virtual weapon based on the operation instruction.

[0022] In a third aspect, the present disclosure also provides an electronic device, comprising: a processor, a memory, and computer program instructions stored on the memory and executable on the processor;

[0023] When the processor executes the computer program instructions, the weapon assembly method in the game as described in the first aspect above is implemented.

[0024] In a fourth aspect, the present disclosure also provides a computer-readable storage medium, in which computer program instructions are stored, and when the computer program instructions are executed by a processor, they are used to implement the weapon assembly method in the game as described in the first aspect above.

[0025] Exemplary embodiments of the present disclosure have the following beneficial effects:

[0026] The method provided by the exemplary embodiments of the present disclosure can provide a weapon assembly control in a graphical user interface. During the process of controlling a virtual character to perform virtual activities in a game scene using a virtual weapon, in response to a first operation instruction for the weapon assembly control, weapon part options can be provided. The weapon part options include at least one weapon part to be assembled; in response to a second operation instruction, a first weapon part can be determined from the weapon part options, and the first weapon part is a weapon part among the at least one weapon part to be assembled; in response to a third operation instruction, the accessory options of the first weapon part can be controlled to be displayed, where the accessory options include at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained in the game session; in response to a fourth operation instruction, a first accessory can be determined from the accessory options of the first weapon part; and then based on the operation instruction, the first accessory is assembled on the first weapon part of the virtual weapon.

[0027] In the present disclosure, a solution for weapon modification in a game session can be provided. Players can, through a series of operation instructions in the game session, achieve the display of weapon part options, the selection of weapon parts, the display of accessory options, the selection of accessories, and the assembly of accessories, so as to assemble the selected accessory on the selected weapon part and realize weapon accessory modification in the game session. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a flowchart of a method for weapon assembly in a game provided by one of the embodiments of the present disclosure;

[0029] Figure 2 is a schematic diagram of a graphical user interface provided by one of the embodiments of the present disclosure;

[0030] Figure 3 is a schematic diagram of a graphical user interface and touch operations provided by one of the embodiments of the present disclosure;

[0031] Figure 4 is a schematic diagram of a graphical user interface and touch operations provided by one of the embodiments of the present disclosure;

[0032] Figure 5 is a schematic diagram of a graphical user interface and touch operations provided by one of the embodiments of the present disclosure;

[0033] Figure 6 is a schematic diagram of a graphical user interface and touch operations provided by one of the embodiments of the present disclosure;

[0034] Figure 7 It is a schematic diagram of a graphical user interface and touch operation provided by one embodiment of the present disclosure;

[0035] Figure 8 It is a schematic diagram of a graphical user interface and touch operation provided by one embodiment of the present disclosure;

[0036] Figure 9 It is a schematic diagram of a graphical user interface and touch operation provided by one embodiment of the present disclosure;

[0037] Figure 10 It is a schematic diagram of a graphical user interface and touch operation provided by one embodiment of the present disclosure;

[0038] Figure 11 It is a schematic diagram of a graphical user interface and touch operation provided by one embodiment of the present disclosure;

[0039] Figure 12 It is a block diagram of a weapon assembly device in a game provided by one embodiment of the present disclosure;

[0040] Figure 13 It is a schematic logical structure diagram of an electronic device for implementing weapon assembly in a game provided by one embodiment of the present disclosure. Detailed implementation manners

[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, rather than all of the embodiments. Usually, the components of the embodiments of the present disclosure described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure claimed, but merely represents alternative embodiments of the present disclosure. Based on the embodiments of the present disclosure, every other embodiment obtained by those skilled in the art without creative efforts belongs to the scope of protection of the present disclosure.

[0042] In this specification, the terms "a", "one", "the", and "said" are used to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to mean an open inclusion and mean that there may be additional elements / components / etc. in addition to the listed elements / components / etc.; the terms "first" and "second", etc. are only used as labels and are not a limitation on the quantity of their objects.

[0043] It should be understood that in the embodiments of the present disclosure, "at least one" means one or more, and "a plurality" means two or more. " / or" is merely an association relationship describing associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "Including A, B, and / or C" means including any one, any two, or all three of A, B, and C.

[0044] It should be understood that in the embodiments of the present disclosure, "B corresponding to A", "B corresponding to A relatively", "A corresponding to B relatively", or "B corresponding to A relatively" means that B is associated with A, and B can be determined according to A. Determining B according to A does not mean determining B only according to A. B can also be determined according to A and / or other information.

[0045] In one embodiment of the present disclosure, the weapon assembly method in the game can run on a local terminal device or a server. When the weapon assembly method in the game runs on the server, the method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and a client device.

[0046] In an alternative embodiment, various cloud applications can run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the running entity of the game program and the presenting entity of the game screen are separated. The storage and running of the weapon assembly method in the game are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function near the user side, such as a mobile terminal, a television, a computer, a palm computer, etc.; however, the cloud game server in the cloud performs information processing. 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, encodes and compresses data such as the game screen, returns it to the client device through the network, and finally, the client device decodes and outputs the game screen.

[0047] In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present game screens. The local terminal device is used to interact with players through a graphical user interface, that is, conventionally, the game program is downloaded and installed on an electronic device and run. The ways for the local terminal device to provide the graphical user interface to players can include various methods. For example, it can be rendered and displayed on the display screen of the terminal, or provided to players through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, which includes game screens. The processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0048] In a possible embodiment, the embodiments of the present disclosure provide a method for weapon assembly in a game. A graphical user interface is provided through a terminal device, where the terminal device can be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system.

[0049] Figure 1 Figure 1 shows a method for weapon assembly in a game provided by one of the embodiments of the present disclosure, as Figure 1 shown, the method includes the following steps S101 to step S107.

[0050] Step S101: Provide a game scene and weapon assembly controls in the graphical user interface.

[0051] In the embodiments of the present disclosure, a game scene and weapon assembly controls can be provided in the game through the graphical user interface. Optionally, other operation controls can also be provided, such as virtual joystick controls, virtual backpack controls, etc. Through the weapon assembly controls, functions such as weapon assembly can be provided during the game, such as replacing weapon accessories, equipping new weapon accessories, removing weapon accessories, etc., enabling players to achieve weapon assembly during the game.

[0052] In an alternative embodiment, the weapon assembly controls can be provided in the graphical user interface in the following ways, including:

[0053] Provide the weapon assembly controls in the graphical user interface in a first control style.

[0054] In this embodiment, the weapon assembly control can be displayed in a first control style when in an unoperated state. Optionally, the weapon assembly control provided in the first control style may include a weapon assembly icon. Optionally, the weapon assembly control provided in the first control style may further include other control parts in addition to the weapon assembly icon, such as the first control area mentioned below. Optionally, when the weapon assembly control provided in the first control style includes a weapon assembly icon and a first control area, the weapon assembly icon can be displayed at the center position of the first control area.

[0055] Step S102: Control the virtual character to perform virtual activities in the game scene using a virtual weapon.

[0056] In an embodiment of the present disclosure, in response to a control operation on the virtual character, the virtual character can be controlled to perform virtual activities in the game scene using a virtual weapon. The control operations on the virtual character include but are not limited to: movement control operations on the virtual character (such as walking, jumping, etc.), attack control operations on the virtual character (such as attacking with a virtual weapon, attacking with a virtual skill, etc.), teaming control operations on the virtual character, etc.

[0057] A virtual weapon refers to a virtual item that can output attacks, and its presentation form is not limited to firearms, swords, etc.

[0058] The virtual activities can be virtual game activities such as game matches, game levels, game tasks, game dungeons, scene exploration, etc.

[0059] Step S103: In response to a first operation instruction for the weapon assembly control, provide weapon part options, where the weapon part options include at least one weapon part to be assembled.

[0060] In an alternative embodiment, this step can be implemented in the following manner: Respond to a first operation instruction triggered by a first sub-operation of a first touch operation on the weapon assembly control, and provide weapon part options. Among them, the first operation instruction can be triggered by a first sub-operation of a first touch operation on the weapon assembly control.

[0061] In this embodiment, the assembly function for weapon accessories can be implemented through a first touch operation on the weapon assembly control, where the first touch operation may include a plurality of consecutive sub-operations. In other implementation manners, the plurality of sub-operations included in the first touch operation may also not all be consecutive operations. For example, some of the sub-operations are consecutive with each other, some of the sub-operations are non-consecutive, or all of the sub-operations are non-consecutive with each other.

[0062] In an alternative embodiment, the first sub-operation of the first touch operation may include a long-press operation. Exemplarily, a player may perform a long-press operation on a weapon assembly control to trigger the display of weapon part options in the graphical user interface.

[0063] The weapon part options may include options for each of the multiple weapon parts of the virtual weapon. For example, if the firearm currently used by the virtual character includes a muzzle part, a sight part, a stock part, and a magazine part, the weapon part options may include four options: a muzzle part option, a sight part option, a stock part option, and a magazine part option.

[0064] In an alternative embodiment, the weapon part options may be provided in the following manner, including:

[0065] Determine the display position corresponding to the option of each weapon part in the weapon part options according to the position layout of the weapon parts on the virtual weapon;

[0066] Provide the weapon part options in the graphical user interface according to the display position.

[0067] In this embodiment, according to the position layout of each weapon part on the virtual weapon, the display position corresponding to the option of each weapon part in the weapon part options can be determined, so that the option of each weapon part in the weapon part options is displayed at the corresponding display position.

[0068] Exemplarily, taking the virtual weapon as a firearm, the sight part is usually located at the upper part of the firearm, the magazine part is usually located at the lower part of the firearm, the muzzle part is usually located at the front part of the firearm, and the stock part is usually located at the rear part of the firearm. Therefore, the sight part option can be displayed above the magazine part option, the magazine part option can be displayed below the sight part option, the muzzle part option can be displayed to the left of the stock part option, and the stock part option can be displayed to the right of the muzzle part option. In this way, the position layout of the option of each weapon part in the weapon part options can be similar to or the same as the position layout of each weapon part on the virtual weapon, making the operation movement line of the player when preselecting the weapon part to replace the accessory more in line with common sense and intuition.

[0069] It can be understood that the orientation terms such as above, below, left, and right mentioned in the embodiments of the present disclosure are all relative orientations based on the drawings and should not constitute a limitation to the present disclosure.

[0070] As described above, the weapon assembly control may be displayed in a first control style in the unoperated state. In an alternative embodiment, step S103 may be implemented in the following manner, including:

[0071] In response to a first operation instruction for a weapon assembly control, provide weapon part options and switch the display style of the weapon assembly control from a first control style to a second control style, so that the weapon assembly control is provided in the second control style in the graphical user interface, wherein the weapon assembly control provided in the second control style includes a first control area and a second control area.

[0072] In this embodiment, in response to a first operation instruction for a weapon assembly control, in addition to the weapon part options being triggered and displayed in the graphical user interface, the display style of the weapon assembly control can also change, and the display style of the weapon assembly control can be switched from an initial first control style to a second control style.

[0073] Among them, the weapon assembly control provided in the second control style can include a first control area and a second control area. Optionally, it can also include the weapon assembly icon described above, and the player can control the weapon assembly icon to move. Optionally, when the weapon assembly control provided in the second control style includes a weapon assembly icon, the weapon assembly icon can be used to indicate the current operation position in the graphical user interface without the center position exceeding the touch action range corresponding to the weapon assembly control.

[0074] The first control area is an operable area, and the first control area can be divided into multiple parts, and different parts can correspond to different weapon parts of the virtual weapon. For example, one part of the first control area can correspond to the muzzle part, and another part of the first control area can correspond to the sight part, and so on.

[0075] The second control area is also an operable area, and the second control area can be divided into multiple parts, and different parts can correspond to different accessories of the weapon part to be assembled. For example, when the weapon part to be assembled is the muzzle part, one part of the second control area can correspond to the type-a muzzle of the muzzle part, and another part of the second control area can correspond to the type-b muzzle of the muzzle part, and so on. For example, when the weapon part to be assembled is the stock part, one part of the second control area can correspond to the stock 001 of the stock part, and another part of the second control area can correspond to the stock 002 of the stock part, and so on.

[0076] In an alternative embodiment, the second control area can surround the first control area, thereby forming a control style in the form of an inner and outer circle.

[0077] Step S104: In response to a second operation instruction, determine a first weapon part from the weapon part options, where the first weapon part is a weapon part among at least one weapon part to be assembled.

[0078] Among them, the second operation instruction is an operation instruction triggered by a touch operation on the weapon assembly control.

[0079] In an alternative embodiment, this step may be implemented in the following manner: in response to a second operation instruction triggered by a second sub-operation of a first touch operation, determine a first weapon part from weapon part options according to the acting position of the second sub-operation in the graphical user interface. Among them, the second operation instruction may be triggered by a second sub-operation of the first touch operation.

[0080] In an alternative embodiment, the second operation instruction is an operation instruction triggered by a touch operation on a first control area of a weapon assembly control. When the second operation instruction is triggered by a second sub-operation of the first touch operation, the second sub-operation of the first touch operation may be a touch operation on the first control area of the weapon assembly control, such as a first sliding operation on the first control area of the weapon assembly control.

[0081] In this embodiment, by performing a sliding operation on the first control area of the weapon assembly control, a weapon part for which a fitting needs to be assembled can be selected from the weapon part options. As described above, different parts of the first control area may correspond to different weapon parts to be assembled of the virtual weapon. Therefore, the player can slide in the first control area and select a weapon part by the part where the acting position of the slide is located in the first control area.

[0082] Step S105: In response to a third operation instruction, control the display of fitting options for the first weapon part, where the fitting options include at least one fitting to be assembled, and the fitting to be assembled is a fitting adapted to the first weapon part of the virtual weapon or a fitting adapted to the first weapon part of the virtual weapon and obtained in the game session.

[0083] Among them, the third operation instruction is an operation instruction triggered by a touch operation on the weapon assembly control.

[0084] In an alternative embodiment, this step may be implemented in the following manner: in response to a third operation instruction triggered by a third sub-operation of the first touch operation, control the display of fitting options for the first weapon part. Among them, the third operation instruction may be triggered by a third sub-operation of the first touch operation.

[0085] In an alternative embodiment, the third operation instruction is an operation instruction triggered by a touch operation from a first control area of the weapon assembly control to a second control area of the weapon assembly control. When the third operation instruction is triggered by a third sub-operation of the first touch operation, the third sub-operation of the first touch operation may be a touch operation from the first control area of the weapon assembly control to the second control area of the weapon assembly control, such as a second sliding operation from the first control area of the weapon assembly control to the second control area of the weapon assembly control.

[0086] In this embodiment, by performing a sliding operation from the first control area to the second control area, it is possible to control the display of the accessory options for the first weapon part. When sliding out from the first control area, if the part of the touch position in the first control area corresponds to the first weapon part among the weapon parts to be assembled, then when it is detected that the user slides from the first control area to the second control area, it is possible to control the display of the accessory options for the first weapon part.

[0087] Exemplarily, the player holds down the weapon assembly icon and slides in the first control area. The left part of the first control area corresponds to the muzzle part of the firearm. When it is detected that the player slides from the left part of the first control area into the second control area, it is possible to control the display of the accessory options for the muzzle part.

[0088] In one embodiment of the present disclosure, the accessories to be assembled included in the accessory options for the first weapon part of the virtual weapon may be accessories adapted to the first weapon part of the virtual weapon, including accessories adapted to the first weapon part of the virtual weapon and obtained in the game session (the current game session), and accessories adapted to the first weapon part of the virtual weapon but not obtained in the game session. For example, for the muzzle part of the M4 firearm currently used by the virtual character, the suitable muzzle accessories include 3 types of muzzle accessories: A1 muzzle accessory, A2 muzzle accessory, and A3 muzzle accessory. Then, in this step, for the muzzle part of the M4 firearm, 3 muzzle accessory options, namely A1 muzzle accessory, A2 muzzle accessory, and A3 muzzle accessory, may be provided.

[0089] In one embodiment of the present disclosure, the accessories to be assembled included in the accessory options for the first weapon part of the virtual weapon may be accessories adapted to the first weapon part of the virtual weapon and obtained in the game session (the current game session), excluding accessories adapted to the first weapon part of the virtual weapon but not obtained in the game session. For example, for the muzzle part of the M4 firearm currently used by the virtual character, the suitable muzzle accessories include 3 types of muzzle accessories: A1 muzzle accessory, A2 muzzle accessory, and A3 muzzle accessory. If the player has obtained A1 muzzle accessory and A2 muzzle accessory in the game session currently, then in this step, for the muzzle part of the M4 firearm, 2 muzzle accessory options, namely A1 muzzle accessory and A2 muzzle accessory, may be provided, and there is no muzzle accessory option for A3 muzzle accessory.

[0090] Optionally, the ways to obtain accessories in the game session may include purchasing accessories in the game session, picking up accessories, snatching accessories, obtaining accessory rewards, receiving gifted accessories, etc. The present disclosure is not intended to limit the ways to obtain accessories in the game session.

[0091] In the embodiments of the present disclosure, the weapon part option and the accessory option of the first weapon part can be displayed simultaneously. That is, when the accessory option of the first weapon part is triggered to be displayed, the weapon part option will not be cancelled from display, and both will be displayed in the graphical user interface simultaneously.

[0092] In an alternative embodiment, the accessory option of the first weapon part can be provided within a display range that is not more than a preset distance from the option of the first weapon part in the weapon part option.

[0093] In this embodiment, the accessory icon of the first weapon part can be displayed near the option of the first weapon part, facilitating players' observation and operation, making the operation flow line more convenient, and improving the operation efficiency.

[0094] Exemplarily, if there are multiple accessories to be assembled for the first weapon part, the multiple accessories to be assembled can be displayed in a straight line arrangement.

[0095] Step S106: In response to a fourth operation instruction, determine a first accessory from the accessory options of the first weapon part, where the first accessory is an accessory among at least one accessory to be assembled.

[0096] Among them, the fourth operation instruction is an operation instruction triggered by a touch operation on the weapon assembly control.

[0097] In an alternative embodiment, this step can be implemented in the following manner: In response to the fourth operation instruction triggered by the fourth sub-operation of the first touch operation, determine the first accessory from the accessory options of the first weapon part according to the action position of the fourth sub-operation in the graphical user interface. Among them, the fourth operation instruction can be triggered by the fourth sub-operation of the first touch operation.

[0098] In an alternative embodiment, the fourth operation instruction is an operation instruction triggered by a touch operation on the second control area of the weapon assembly control. In the case where the fourth operation instruction is triggered by the fourth sub-operation of the first touch operation, the fourth sub-operation of the first touch operation can be a touch operation on the second control area of the weapon assembly control, such as a third sliding operation on the second control area of the weapon assembly control.

[0099] In this embodiment, by performing a sliding operation on the second control area of the weapon assembly control, the accessory to be assembled can be selected from the accessory options of the selected weapon part. As described above, different parts of the second control area can correspond to different accessories to be assembled for the selected weapon part. Therefore, the player can slide on the second control area and select the accessory according to the part where the sliding action position is located in the second control area.

[0100] In an alternative embodiment, accessory information can be displayed for the currently selected accessory to be assembled, such as descriptions of the accessory's damage level, recoil control level, shooting accuracy, etc., but not limited to these, so that players can conveniently understand the attributes of the accessory, facilitating the quick selection of a suitable accessory and improving the efficiency of accessory selection. Optionally, the accessory information can be displayed within a display range that is not more than a certain distance from the corresponding accessory.

[0101] Step S107: Assemble the first accessory on the first weapon part of the virtual weapon based on the operation instruction.

[0102] In this step, when the first accessory is an accessory that is adapted to the first weapon part of the virtual weapon and has been obtained in the game session, the first accessory can be assembled on the first weapon part of the virtual weapon.

[0103] In an alternative embodiment, the first accessory can be assembled on the first weapon part of the virtual weapon in the following manner, including:

[0104] When a fourth accessory is assembled on the first weapon part of the virtual weapon, remove the fourth accessory from the first weapon part of the virtual weapon and assemble the first accessory on the first weapon part of the virtual weapon.

[0105] In this embodiment, if an accessory is already assembled on the first weapon part of the virtual weapon, the assembled accessory on the first weapon part is first removed, and then the first accessory is assembled on the first weapon part, that is, the replacement of the accessory for the first weapon part is achieved. If no accessory is assembled on the first weapon part of the virtual weapon, the first accessory can be directly assembled on the first weapon part, that is, the assembly of the accessory for the first weapon part is achieved.

[0106] In an alternative embodiment, step S107 can be implemented in the following manner, including:

[0107] In response to the end of the fourth sub-operation of the first touch operation, assemble the first accessory on the first weapon part of the virtual weapon.

[0108] In the present disclosure, each sub-operation of the first touch operation is a touch operation, and ending any sub-operation of the first touch operation can end the first touch operation.

[0109] In this embodiment, if the end position of the fourth sub-operation of the first touch operation is located in the part of the first accessory corresponding to the currently selected weapon part (the currently selected weapon part at this time is the first weapon part) in the second control area of the weapon assembly control, the first accessory can be assembled on the first weapon part of the virtual weapon.

[0110] Exemplarily, the player can slide their finger in the second control area of the weapon assembly control. When the player lifts their finger within the part corresponding to the first accessory in the second control area, the sliding operation ends, and at this time, the first accessory can be assembled on the first weapon part of the virtual weapon.

[0111] In an alternative embodiment, in response to a fifth operation instruction, the first accessory can be assembled on the first weapon part of the virtual weapon, where the fifth operation instruction is an operation instruction triggered by a touch operation on the weapon assembly control.

[0112] In this embodiment, step S107 can be implemented in the following manner, including:

[0113] In response to a fifth operation instruction triggered by a fifth sub-operation of the first touch operation, assemble the first accessory on the first weapon part of the virtual weapon.

[0114] Optionally, the fifth operation instruction is an operation instruction triggered by a touch operation from the second control area of the weapon assembly control to the first control area of the weapon assembly control.

[0115] In this embodiment, the fifth operation instruction can be triggered by a fifth sub-operation of the first touch operation. In this embodiment, the assembly of accessories on the first weapon part can be performed without interruption of the first touch operation. Therefore, subsequently, by repeating each sub-operation of the first touch operation, the assembly of accessories for the next weapon part can be continued, enabling the player to transform multiple weapon parts through a continuous and uninterrupted single touch operation.

[0116] Optionally, when assembling accessories for multiple weapon parts through a single touch operation, after the first touch operation ends, the accessories can be assembled on each weapon part selected during the operation period of the first touch operation in a unified manner; alternatively, the accessories can also be assembled for each weapon part immediately after each weapon part is selected.

[0117] In an alternative embodiment, when the fifth operation instruction is triggered by a fifth sub-operation of the first touch operation, the fifth sub-operation of the first touch operation can be a touch operation from the second control area of the weapon assembly control to the first control area of the weapon assembly control, such as a fourth sliding operation from the second control area of the weapon assembly control to the first control area of the weapon assembly control.

[0118] In this embodiment, by performing a sliding operation from the second control area to the first control area, the first accessory can be assembled on the first weapon part of the virtual weapon. When sliding out from the second control area, if the part of the touch position in the second control area corresponds to the first accessory among the accessories to be assembled, then when it is detected that the sliding from the second control area to the first control area is made, the first accessory can be assembled on the first weapon part of the virtual weapon.

[0119] In an alternative embodiment, the step of assembling the first accessory on the first weapon part of the virtual weapon in step S107 can be implemented in the following manner, including:

[0120] Assemble the first accessory on the first weapon part of the virtual weapon, cancel the provision of the weapon part option and the accessory option for the first weapon part in the graphical user interface, and switch the display style of the weapon assembly control from the second control style to the first control style.

[0121] In this embodiment, when the accessory assembly is completed, the weapon part option and the accessory option for the first weapon part can be cancelled in the graphical user interface, and the display style of the weapon assembly control can be switched from the second control style to the first control style.

[0122] In an alternative embodiment, in response to the end of the first touch operation, the weapon part option and the accessory option for the first weapon part can be cancelled in the graphical user interface, and the display style of the weapon assembly control can be switched from the second control style to the first control style. When the first touch operation ends, it means that the player actively ends the current weapon assembly process, regardless of whether the assembly is successful. At this time, the weapon part option and the accessory option for the first weapon part can be cancelled from display, and the display style of the weapon assembly control can be switched back from the second control style to the first control style.

[0123] The player can end the weapon assembly process by ending the first touch operation when encountering an attack, discovering danger, needing to interact with other characters, not wanting to change accessories, etc., so that the player can respond to emergencies in the game at any time.

[0124] In an alternative embodiment, if the accessory assembly for the first weapon part is performed without interruption of the first touch operation, the following steps can be continued, including:

[0125] Respond to the sixth operation instruction triggered by the sixth sub-operation of the first touch operation, and determine the second weapon part from the weapon part options according to the position of the sixth sub-operation in the graphical user interface, where the sixth sub-operation and the second sub-operation are the same operation, for example, both are sliding operations acting on the first control area of the weapon assembly control;

[0126] In response to a seventh operation instruction triggered by a seventh sub-operation of the first touch operation, control is performed to display accessory options for a second weapon part, where the seventh sub-operation is the same as the third sub-operation, for example, both are sliding operations from a first control area of a weapon assembly control to a second control area of the weapon assembly control;

[0127] In response to an eighth operation instruction triggered by an eighth sub-operation of the first touch operation, a second accessory is determined from the accessory options for the second weapon part according to the position where the eighth sub-operation acts in the graphical user interface, where the eighth sub-operation is the same as the fourth sub-operation, for example, both are sliding operations acting on the second control area of the weapon assembly control.

[0128] In this embodiment, a second selection of a weapon part can be achieved by repeating the second sub-operation (i.e., the sixth sub-operation) of the first touch operation, a display of accessory options for the second-selected weapon part can be achieved by repeating the third sub-operation (i.e., the seventh sub-operation) of the first touch operation, and a second selection of an accessory can be achieved by repeating the fourth sub-operation (i.e., the eighth sub-operation) of the first touch operation.

[0129] In an alternative embodiment, the weapon assembly method in this game may further include the following steps:

[0130] In response to the end of the eighth sub-operation of the first touch operation, the second accessory is assembled on the second weapon part of the virtual weapon.

[0131] In this embodiment, if the end position of the eighth sub-operation of the first touch operation is in the part corresponding to the second accessory of the currently selected weapon part (the currently selected weapon part at this time is the second weapon part) in the second control area of the weapon assembly control, the second accessory can be assembled on the second weapon part of the virtual weapon.

[0132] In an alternative embodiment, the weapon assembly method in this game may further include the following steps:

[0133] In response to a ninth operation instruction triggered by a ninth sub-operation of the first touch operation, the second accessory is assembled on the second weapon part of the virtual weapon, where the ninth sub-operation is the same as the fifth sub-operation.

[0134] In this embodiment, the accessory selected for the current weapon part to be assembled (the current weapon part to be assembled at this time is the second weapon part) can be determined by repeating the fifth sub-operation (i.e., the ninth sub-operation) of the first touch operation. In this embodiment, accessory assembly can be continuously performed on the first weapon part and the second weapon part without interruption of the first touch operation. Therefore, subsequently, by repeating each sub-operation of the first touch operation, accessory assembly can continue to be performed on the third weapon part, enabling the player to modify multiple weapon parts through a continuous and uninterrupted single touch operation.

[0135] Among them, the sixth operation instruction, the seventh operation instruction, the eighth operation instruction, and the ninth operation instruction can be operation instructions triggered by a touch operation on the weapon assembly control.

[0136] The sixth operation instruction can be an operation instruction triggered by a touch operation on the first control area of the weapon assembly control.

[0137] The seventh operation instruction can be an operation instruction triggered by a touch operation from the first control area of the weapon assembly control to the second control area of the weapon assembly control.

[0138] The eighth operation instruction can be an operation instruction triggered by a touch operation on the second control area of the weapon assembly control.

[0139] The ninth operation instruction can be an operation instruction triggered by a touch operation from the second control area of the weapon assembly control to the first control area of the weapon assembly control.

[0140] In an alternative embodiment, step S105 can be implemented in the following manner, including:

[0141] In response to the third operation instruction, control is performed to display the accessory options for the first weapon part and the removal option for the first weapon part.

[0142] In this embodiment, the accessory options for the first weapon part and the removal option for the first weapon part can be provided simultaneously. The removal option for the first weapon part can be used to remove the first weapon part of the virtual weapon, thus facilitating the modification of the weapon part other than disassembly / accessory replacement.

[0143] In an alternative embodiment, the weapon assembly method in this game may further include the following steps:

[0144] In response to the tenth operation instruction, remove the first weapon part of the virtual weapon, where the tenth operation instruction is an operation instruction triggered by a touch operation from the second control area of the weapon assembly control to the first control area of the weapon assembly control (for example, a sliding operation from the second control area of the weapon assembly control to the first control area of the weapon assembly control), or an operation instruction triggered by ending a touch operation in the second control area of the weapon assembly control.

[0145] Among them, the tenth operation instruction is an operation instruction triggered by a touch operation on the weapon assembly control.

[0146] In this embodiment, a part of the second control area of the weapon assembly control corresponds to the removal option of the first weapon part. The player can remove the first weapon part by sliding from this part in the second control area to the first control area, or by ending the touch operation (the first touch operation) in this part of the second control area to remove the first weapon part of the virtual weapon.

[0147] In an alternative embodiment, the weapon assembly method in this game may further include the following steps:

[0148] During the operation of the first touch operation, at least some of the interactive controls in the graphical user interface other than the weapon assembly control and the interactive controls triggered by operating the weapon assembly control are cancelled from display or the display parameters are adjusted.

[0149] Among them, the interactive controls triggered by operating the weapon assembly control include the above-mentioned weapon part options, accessory options for the weapon part, and removal options for the weapon part.

[0150] In this embodiment, during the operation of the first touch operation, that is, during the use of the weapon assembly function within a game round, other interactive controls in the graphical user interface other than the weapon assembly control and the interactive controls triggered by operating the weapon assembly control can be cancelled from display or the display parameters are adjusted, so that the player enters a high-immersion transformation state and the immersion is enhanced.

[0151] Optionally, adjusting the display parameters may include increasing transparency, changing to a light color / low-saturation color, etc.

[0152] In an alternative embodiment, the step of assembling the first accessory on the first weapon part of the virtual weapon in step S107 above can be implemented in the following manner, including:

[0153] When the first accessory is an accessory that is adapted to the first weapon part of the virtual weapon and obtained within the game round, assemble the first accessory on the first weapon part of the virtual weapon.

[0154] In this embodiment, if the selected first accessory is not only an accessory that fits the first weapon part of the virtual weapon, but also an accessory that the virtual character has obtained in the game session, the first accessory can be directly assembled.

[0155] In an alternative embodiment, the step of providing the game scene and the weapon assembly control in the graphical user interface in step S101 above can be implemented in the following manner, including:

[0156] Respond to the accessory configuration instruction for the virtual weapon to determine the accessory configuration plan for the virtual weapon, where the accessory configuration plan is used to indicate the first accessory combination configured for the virtual weapon;

[0157] Respond to the game start instruction, provide the game scene and the weapon assembly control in the graphical user interface, and provide the purchase option for the first accessory combination.

[0158] In this embodiment, the player can pre-configure an accessory configuration plan for the virtual weapon before the game starts (i.e., outside the game session), that is, configure an accessory for each of the multiple weapon parts of the virtual weapon, and the multiple configured accessories are the first accessory combination. For example, for the muzzle part of the M4 gun, the A1 muzzle accessory can be configured, for the sight part of the M4 gun, the B2 sight accessory can be configured, for the stock part of the M4 gun, the C2 stock accessory can be configured, and no accessory is configured for the magazine part of the M4 gun. At this time, the first accessory combination includes: A1 muzzle accessory + B2 sight accessory + C2 stock accessory.

[0159] Furthermore, after the game starts, the game scene and the weapon assembly control can be provided in the graphical user interface, and the purchase option for the first accessory combination, that is, the purchase option for an accessory package, can be provided. Optionally, the purchase option for the first accessory combination can be displayed in interfaces available during the game session, such as the store / mall interface, the virtual backpack interface, etc. The present disclosure does not make specific limitations in this regard.

[0160] In this embodiment, the player can first configure an accessory configuration plan for a certain virtual weapon before the game starts (i.e., outside the game session), and then, after the game starts, the purchase option for the accessory combination included in the accessory configuration plan can be provided in the game session. The player can purchase the accessory combination configured outside the game session in the game session, and then modify and adapt the virtual weapon that fits the accessory combination through the purchased accessory combination.

[0161] In this embodiment, optionally, the accessory configuration instruction for the virtual weapon can be triggered by one or more accessory configuration operations for the virtual weapon. The specific accessory configuration operations are related to the interface design and input devices, and the present disclosure does not make specific limitations thereon. Optionally, the game start instruction can be triggered by a game start operation (such as clicking a game start control, clicking a shortcut key for game start, etc.). The specific game start operation is related to the interface design and input devices, and the present disclosure does not make specific limitations thereon.

[0162] In an alternative embodiment, when the accessory option is an accessory adapted to the first weapon part of the virtual weapon, that is, when the accessory option includes an accessory adapted to the first weapon part of the virtual weapon and not obtained in the game, and an accessory adapted to the first weapon part of the virtual weapon and obtained in the game, if the selected first accessory is an accessory adapted to the first weapon part of the virtual weapon, not obtained in the game, and not belonging to the first accessory combination, the first accessory combination can be changed to a second accessory combination including the first accessory, and the purchase option for the first accessory combination can be changed to the purchase option for the second accessory combination.

[0163] In this embodiment, when the player selects an accessory that is adapted to the first weapon part of the virtual weapon, not obtained in the game, and not belonging to the first accessory combination configured outside the game, the first accessory combination configured outside the game can be changed to a second accessory combination including the selected accessory, and the original in-game purchase option for the first accessory combination can be changed to the purchase option for the second accessory combination.

[0164] Optionally, the step of changing the first accessory combination to a second accessory combination including the first accessory in the above embodiment can be implemented in the following manner, including:

[0165] When the first accessory combination includes a third accessory adapted to the same weapon part as the first accessory, replace the third accessory in the first accessory combination with the first accessory to obtain the second accessory combination;

[0166] And / or,

[0167] When the first accessory combination does not include an accessory adapted to the same weapon part as the first accessory, add the first accessory to the first accessory combination to obtain the second accessory combination.

[0168] Among them, when there is a part in the first pre-configured part combination outside the game that is adapted to the same weapon part as the first part selected in the game, the part in the first part combination can be replaced with the first part to ensure that only one adapted part corresponds to one weapon part. When there is no part in the first pre-configured part combination outside the game that is adapted to the same weapon part as the first part selected in the game, the first part can be added to the first part combination, that is, a new part configuration for one weapon part (the weapon part has not been configured with parts outside the game) is added.

[0169] Exemplarily, the player pre-configured the following first part combination for the M4 gun outside the game: A1 muzzle part + B2 sight part + C2 stock part. If the player did not obtain the A2 muzzle part adapted to the M4 gun in the game, but selected the A2 muzzle part when selecting parts for the M4 gun in the game (the A2 muzzle part is not included in the first part combination, but there is already a muzzle part in the first part combination, that is, the A1 muzzle part), then the A1 muzzle part in the first part combination can be replaced with the A2 muzzle part, so as to obtain a second part combination including the A2 muzzle part. The second part combination is: A2 muzzle part + B2 sight part + C2 stock part, and the purchase option for the first part combination in the game is changed to the purchase option for the above second part combination.

[0170] Exemplarily, the player pre-configured the following first part combination for the M4 gun outside the game: A1 muzzle part + B2 sight part + C2 stock part. If the player did not obtain the D4 magazine part adapted to the M4 gun in the game, but selected the D4 magazine part when selecting parts for the M4 gun in the game (no magazine part is included in the first part combination), then the D4 magazine part can be added to the first part combination, so as to obtain a second part combination including the D4 magazine part. The second part combination is: A1 muzzle part + B2 sight part + C2 stock part + D4 magazine part, and the purchase option for the first part combination in the game is changed to the purchase option for the above second part combination.

[0171] In the present disclosure, if the selected first part is a part that is adapted to the first weapon part of the virtual weapon, not obtained in the game, and belongs to the first part combination, the first part combination remains unchanged, and the purchase option for the first part combination also remains unchanged.

[0172] Exemplarily, the player configured the following first accessory combination for the M4 firearm outside the game: A1 muzzle accessory + B2 sight accessory + C2 stock accessory. If the player did not obtain the A1 muzzle accessory that fits the M4 firearm during the game, but selected the A1 muzzle accessory (the A1 muzzle accessory is included in the first accessory combination) when selecting accessories for the M4 firearm during the game, then the first accessory combination remains unchanged, still being: A1 muzzle accessory + B2 sight accessory + C2 stock accessory, and the purchase option for the first accessory combination during the game also remains unchanged, still being the purchase option for A1 muzzle accessory + B2 sight accessory + C2 stock accessory.

[0173] The following provides an example of weapon assembly in conjunction with the accompanying drawings. It can be understood that this example does not constitute a limitation to the non-disclosure.

[0174] As Figure 2 shown, the game scene 01 and the weapon assembly control 02 can be displayed in the graphical user interface. Among them, the display style of the weapon assembly control 02 when not touched is the first control style. The weapon assembly control 02 displayed in the first control style includes a weapon assembly icon 021 and a first control area 022.

[0175] As Figure 3 shown, during the process of the player controlling the virtual character to perform virtual activities in the game scene using the virtual firearm, the player can perform a long-press operation on the weapon assembly control 02, thereby triggering the display of weapon part options 03 in the graphical user interface. The weapon part options 03 can include muzzle part options, sight part options, stock part options, and magazine part options. When the weapon assembly control 02 is in a touched state, the display style can be switched from the first control style to the second control style as Figure 3 shown. Among them, the weapon assembly control 02 displayed in the first control style includes a weapon assembly icon 021, a first control area 022 (inner circle), and a second control area 023 (outer circle).

[0176] Referring to Figure 4 and Figure 5 , when the player keeps holding the weapon assembly control 02, the player can drag the weapon assembly icon 021 to slide in the first control area 022, thereby selecting a weapon part among various weapon components. For example, in Figure 4 , the player slides the weapon assembly icon 021 to the right part corresponding to the stock part in the first control area 022 through a sliding operation, then the selected part is the stock part at this time; in Figure 5 , the player slides the weapon assembly icon 021 to the left part corresponding to the stock part in the first control area 022 through a sliding operation, then the selected part is the muzzle part at this time.

[0177] AsFigure 6 As shown, while the player keeps their finger from lifting, the weapon assembly icon 021 is slid from the left part of the first control area 022 to the second control area 023. At this time, the accessory options 031 for the muzzle part and the removal option 032 for the muzzle part can be displayed in the graphical user interface. Among them, the accessory options 031 for the muzzle part include 3 muzzle accessories, and these 3 muzzle accessories are all muzzle accessories that are adapted to the muzzle part of the current virtual firearm and have been obtained by the player in the game. In Figure 6 If the weapon assembly icon 021 is located at the left of the third muzzle accessory (from left to right in the attached drawing) in the second control area 023 at this time, then the third muzzle accessory is preselected at this time.

[0178] As Figure 7 shown, while the player keeps their finger from lifting, they can continue to drag the weapon assembly icon 021 to slide in the second control area 023, so as to select accessories among the various accessories for the muzzle part. For example, in Figure 7 if the weapon assembly icon 021 is located at the lower part of the second muzzle accessory (from left to right in the attached drawing) in the second control area 023 at this time, then the second muzzle accessory is selected at this time.

[0179] In Figure 7 the situation shown, if the player lifts their finger at this time, the current muzzle accessory of the virtual firearm used by the virtual character at this time can be removed, and then the second muzzle accessory can be assembled on the muzzle part. At the same time, the weapon part option 03, the accessory option 031 for the muzzle part, and the removal option 032 for the muzzle part are cancelled from display, and the display style of the weapon assembly control 02 also returns from the second control style to the first control style, as Figure 2 shown.

[0180] In Figure 7 the situation shown, if the player does not lift their finger at this time and still keeps holding the weapon assembly icon 021, and as Figure 8 shown, the weapon assembly icon 021 is continued to be slid from the lower part of the second control area 023 to the first control area 022, then the second muzzle accessory can be assembled on the muzzle part at this time, or the second muzzle accessory can be assembled on the muzzle part after the player lifts their finger. At this time, the accessory option 031 for the muzzle part and the removal option 032 for the muzzle part can be cancelled from display, and the selection for the next weapon part to be assembled can be continued. In Figure 8 if the weapon assembly icon 021 is located at the lower part of the first control area 022 corresponding to the magazine part at this time, then the magazine part is selected at this time.

[0181] As Figure 9As shown, the player can keep their finger from lifting and continue to drag the weapon assembly icon 021 to slide in the first control area 022. In Figure 9 if the weapon assembly icon 021 is located above the corresponding sight part in the first control area 022 at this time, then the sight part is selected at this time.

[0182] As Figure 10 shown, the player keeps their finger from lifting and slides the weapon assembly icon 021 from the upper part of the first control area 022 to the second control area 023. At this time, the accessory options 033 for the sight part and the removal option 034 for the sight part can be displayed in the graphical user interface. Among them, the accessory options 031 for the sight part include 2 sight accessories, and both of these 2 sight accessories are sight accessories that are adapted to the sight part of the current virtual firearm and have been obtained by the player in the game session. In Figure 10 if the weapon assembly icon 021 is located above the first sight accessory (from top to bottom in the attached drawing) in the second control area 023 at this time, then the first sight accessory is selected at this time.

[0183] As Figure 11 shown, the player can keep their finger from lifting and continue to drag the weapon assembly icon 021 to slide in the second control area 023, so as to select accessories among the various accessories of the sight part. For example, in Figure 11 if the weapon assembly icon 021 is located below the second sight accessory (from top to bottom in the attached drawing) in the second control area 023 at this time, then the second muzzle accessory is selected at this time.

[0184] In Figure 11 the situation shown, if the player lifts their finger at this time and there is no sight accessory assembled on the sight part of the virtual firearm used by the virtual character at this time, then directly assemble the second sight accessory on the sight part of the virtual firearm used by the virtual character at this time. At the same time, cancel the display of the weapon part option 03, the accessory option 033 for the sight part, and the removal option 034 for the sight part, and the display style of the weapon assembly control 02 also returns from the second control style to the first control style.

[0185] In Figure 11 the situation shown, if the player does not lift their finger at this time, then the player can continue to perform the above operations to modify the accessories of the next weapon part until the player lifts their finger and all the selected weapon parts are assembled, then the weapon assembly process ends.

[0186] The method provided by the exemplary embodiment of the present disclosure can provide a weapon assembly control in a graphical user interface. During the process of controlling a virtual character to perform virtual activities in a game scene using a virtual weapon, in response to a first operation instruction for the weapon assembly control, a weapon part option can be provided. The weapon part option includes at least one weapon part to be assembled; in response to a second operation instruction, a first weapon part can be determined from the weapon part option, and the first weapon part is a weapon part among the at least one weapon part to be assembled; in response to a third operation instruction, the accessory option of the first weapon part can be controlled to be displayed, where the accessory option includes at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained in the game session; in response to a fourth operation instruction, a first accessory can be determined from the accessory option of the first weapon part; and then, based on the operation instruction, the first accessory is assembled on the first weapon part of the virtual weapon.

[0187] In the present disclosure, a solution for weapon modification in a game session can be provided. In the game session, a player can, through a series of operation instructions, realize the display of weapon part options, the selection of weapon parts, the display of accessory options, the selection of accessories, and the assembly of accessories, so that the selected accessories can be assembled on the selected weapon parts, thereby realizing weapon accessory modification in the game session.

[0188] In the present disclosure, weapon modification can be performed in a game session, so that free and flexible weapon modification can be carried out according to the real-time situation of the game. Moreover, the present disclosure does not require an additional interface for weapon modification, and the weapon part options and accessory options triggered and displayed during the modification process have less impact on the player's field of view, reducing the impact of the weapon modification process on the player's field of view.

[0189] In the exemplary embodiment of the present disclosure, the assembly of a selected accessory on a selected weapon part can be realized through continuous and uninterrupted first touch operations in a game session. Among them, the display of weapon part options can be triggered by the first sub-operation of the first touch operation, the weapon part can be selected by the second sub-operation of the first touch operation, the display of accessory options of the selected weapon part can be triggered by the third sub-operation of the first touch operation, the accessory can be selected by the fourth sub-operation of the first touch operation, and then, based on the first touch operation, the selected accessory can be assembled on the selected weapon part, so that the assembly of the selected accessory on the selected weapon part can be realized through one touch operation in the game session, and the weapon modification efficiency is improved.

[0190] Corresponding to the weapon assembly method in the game provided by the embodiment of the present disclosure, the embodiment of the present disclosure also provides a weapon assembly device in the game. As Figure 12 shown, the device 700 includes:

[0191] A scene and control display module 701, configured to provide a game scene and weapon assembly controls in a graphical user interface;

[0192] A character control module 702, configured to control the virtual character to perform virtual activities in the game scene using virtual weapons;

[0193] A weapon part option display module 703, configured to respond to a first operation instruction for the weapon assembly control and provide weapon part options, where the weapon part options include at least one weapon part to be assembled;

[0194] A weapon part determination module 704, configured to respond to a second operation instruction and determine a first weapon part from the weapon part options, where the first weapon part is a weapon part among at least one of the weapon parts to be assembled;

[0195] An accessory option display module 705, configured to respond to a third operation instruction and control the display of accessory options for the first weapon part, where the accessory options include at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained in the game session;

[0196] An accessory determination module 706, configured to respond to a fourth operation instruction and determine a first accessory from the accessory options for the first weapon part;

[0197] An accessory assembly module 707, configured to assemble the first accessory on the first weapon part of the virtual weapon based on an operation instruction.

[0198] In an optional embodiment, the responding to the first operation instruction for the weapon assembly control and providing weapon part options includes: responding to a first operation instruction triggered by a first sub-operation of a first touch operation on the weapon assembly control and providing weapon part options;

[0199] The responding to the second operation instruction and determining the first weapon part from the weapon part options includes: responding to a second operation instruction triggered by a second sub-operation of the first touch operation and determining the first weapon part from the weapon part options according to the position of the second sub-operation in the graphical user interface;

[0200] The responding to the third operation instruction and controlling the display of the accessory options for the first weapon part includes: responding to a third operation instruction triggered by a third sub-operation of the first touch operation and controlling the display of the accessory options for the first weapon part;

[0201] Responding to the fourth operation instruction to determine a first accessory from the accessory options of the first weapon part includes: responding to the fourth operation instruction triggered by the fourth sub-operation of the first touch operation, and determining the first accessory from the accessory options of the first weapon part according to the acting position of the fourth sub-operation in the graphical user interface.

[0202] In an alternative embodiment, the assembling the first accessory on the first weapon part of the virtual weapon based on the operation instruction includes:

[0203] Responding to the end of the fourth sub-operation of the first touch operation, assembling the first accessory on the first weapon part of the virtual weapon.

[0204] In an alternative embodiment, the assembling the first accessory on the first weapon part of the virtual weapon based on the operation instruction includes:

[0205] Responding to the fifth operation instruction triggered by the fifth sub-operation of the first touch operation, assembling the first accessory on the first weapon part of the virtual weapon.

[0206] In an alternative embodiment, the device is further configured to:

[0207] Responding to the sixth operation instruction triggered by the sixth sub-operation of the first touch operation, determining a second weapon part from the weapon part options according to the acting position of the sixth sub-operation in the graphical user interface, where the sixth sub-operation is the same operation as the second sub-operation;

[0208] Responding to the seventh operation instruction triggered by the seventh sub-operation of the first touch operation, controlling to display the accessory options of the second weapon part, where the seventh sub-operation is the same operation as the third sub-operation;

[0209] Responding to the eighth operation instruction triggered by the eighth sub-operation of the first touch operation, determining a first accessory from the accessory options of the second weapon part according to the acting position of the eighth sub-operation in the graphical user interface, where the eighth sub-operation is the same operation as the fourth sub-operation.

[0210] In an alternative embodiment, the device is further configured to:

[0211] Responding to the end of the eighth sub-operation of the first touch operation, assembling the second accessory on the second weapon part of the virtual weapon.

[0212] In an alternative embodiment, the device is further configured to:

[0213] In response to a ninth operation instruction triggered by a ninth sub-operation in response to the first touch operation, assemble the second accessory at the second weapon part of the virtual weapon.

[0214] In an optional embodiment, the assembling the first accessory at the first weapon part of the virtual weapon includes:

[0215] When the first accessory is an accessory that is adapted to the first weapon part of the virtual weapon and obtained in the game, assemble the first accessory at the first weapon part of the virtual weapon.

[0216] In an optional embodiment, the providing the game scene and weapon assembly controls in the graphical user interface includes:

[0217] In response to an accessory configuration instruction for the virtual weapon, determine an accessory configuration plan for the virtual weapon, where the accessory configuration plan is used to indicate a first accessory combination configured for the virtual weapon;

[0218] In response to a game start instruction, provide a game scene and weapon assembly controls in the graphical user interface, and provide a purchase option for the first accessory combination.

[0219] In an optional embodiment, when the accessory option is an accessory that is adapted to the first weapon part of the virtual weapon, the device is further configured to:

[0220] When the first accessory is an accessory that is adapted to the first weapon part of the virtual weapon, not obtained in the game, and does not belong to the first accessory combination, change the first accessory combination to a second accessory combination including the first accessory, and change the purchase option for the first accessory combination to a purchase option for the second accessory combination.

[0221] In an optional embodiment, the changing the first accessory combination to a second accessory combination including the first accessory includes:

[0222] When the first accessory combination includes a third accessory that is adapted to the same weapon part as the first accessory, replace the third accessory in the first accessory combination with the first accessory to obtain a second accessory combination;

[0223] And / or,

[0224] When the first accessory combination does not include an accessory that is adapted to the same weapon part as the first accessory, add the first accessory to the first accessory combination to obtain a second accessory combination.

[0225] In an optional embodiment, providing the weapon assembly control in the graphical user interface includes:

[0226] Providing the weapon assembly control in the graphical user interface in a first control style.

[0227] In an optional embodiment, the response to a first operation instruction for the weapon assembly control provides weapon part options, including:

[0228] Responding to a first operation instruction for the weapon assembly control, providing weapon part options, and switching the display style of the weapon assembly control from the first control style to a second control style, such that the weapon assembly control is provided in the graphical user interface in the second control style, wherein the weapon assembly control provided in the second control style includes a first control area and a second control area.

[0229] In an optional embodiment, the second operation instruction is an operation instruction triggered by a touch operation acting on the first control area.

[0230] In an optional embodiment, the third operation instruction is an operation instruction triggered by a touch operation acting from the first control area to the second control area.

[0231] In an optional embodiment, the fourth operation instruction is an operation instruction triggered by a touch operation acting on the second control area.

[0232] In an optional embodiment, the assembling the first accessory on the first weapon part of the virtual weapon based on the operation instruction includes: responding to a fifth operation instruction, and assembling the first accessory on the first weapon part of the virtual weapon;

[0233] The fifth operation instruction is an operation instruction triggered by a touch operation acting from the second control area to the first control area.

[0234] In an optional embodiment, the second control area surrounds the first control area.

[0235] In an optional embodiment, the assembling the first accessory on the first weapon part of the virtual weapon includes:

[0236] Assembling the first accessory on the first weapon part of the virtual weapon, canceling the provision of the weapon part options and the accessory options for the first weapon part in the graphical user interface, and switching the display style of the weapon assembly control from the second control style to the first control style.

[0237] In an alternative embodiment, the controlling, in response to a third operation instruction, the display of accessory options for the first weapon part includes:

[0238] In response to a third operation instruction, controlling the display of accessory options for the first weapon part and removal options for the first weapon part.

[0239] In an alternative embodiment, the apparatus is further configured to:

[0240] In response to a tenth operation instruction, remove the first weapon part of the virtual weapon, where the tenth operation instruction is an operation instruction triggered by a touch operation acting from the second control area to the first control area or an operation instruction triggered by ending a touch operation in the second control area.

[0241] In an alternative embodiment, the assembling the first accessory on the first weapon part of the virtual weapon includes:

[0242] In a case where a fourth accessory is assembled on the first weapon part of the virtual weapon, removing the fourth accessory from the first weapon part of the virtual weapon and assembling the first accessory on the first weapon part of the virtual weapon.

[0243] In an alternative embodiment, the providing weapon part options includes:

[0244] Determining a display position corresponding to an option for each weapon part in the weapon part options according to the position layout of the weapon part on the virtual weapon;

[0245] Providing the weapon part options in the graphical user interface according to the display position.

[0246] The apparatus provided in an exemplary embodiment of the present disclosure can provide weapon assembly controls in a graphical user interface. During the process of controlling a virtual character to perform virtual activities in a game scene using a virtual weapon, in response to a first operation instruction for the weapon assembly controls, weapon part options can be provided, where the weapon part options include at least one weapon part to be assembled; in response to a second operation instruction, a first weapon part can be determined from the weapon part options, and the first weapon part is a weapon part among the at least one weapon part to be assembled; in response to a third operation instruction, accessory options for the first weapon part can be controlled to be displayed, where the accessory options include at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained in the game session; in response to a fourth operation instruction, a first accessory can be determined from the accessory options for the first weapon part; and then the first accessory is assembled on the first weapon part of the virtual weapon based on the operation instruction.

[0247] In the present disclosure, a solution for weapon modification during a game session can be provided. Players can, through a series of operation instructions during the game session, achieve the display of weapon part options, the selection of weapon parts, the display of accessory options, the selection of accessories, and the assembly of accessories, so as to assemble the selected accessories on the selected weapon parts, thereby realizing weapon accessory modification during the game session.

[0248] Next, an electronic device provided by an embodiment of the present disclosure will be introduced. Please refer to Figure 13 , Figure 13 which is a schematic structural diagram of the electronic device provided by an embodiment of the present disclosure. Among them, a weapon assembly device in the game described in the embodiments of the present disclosure can be deployed on the electronic device 800 to implement the functions in the embodiments of the present disclosure. Specifically, the electronic device 800 includes: a receiver 801, a transmitter 802, a processor 803, and a memory 804 (where the number of processors 803 in the electronic device 800 can be one or more, Figure 13 and one processor is taken as an example here). Among them, the processor 803 can include an application processor 8031 and a communication processor 8032. In some embodiments of the present disclosure, the receiver 801, the transmitter 802, the processor 803, and the memory 804 can be connected through a bus or other means.

[0249] The memory 804 can include a read-only memory and a random access memory, and provide instructions and data to the processor 803. A part of the memory 804 can also include a non-volatile random access memory (NVRAM). The memory 804 stores processor and operation instructions, executable modules, or data structures, or subsets thereof, or extended sets thereof, where the operation instructions can include various operation instructions for implementing various operations.

[0250] The processor 803 controls the operation of the execution device. In a specific application, the various components of the execution device are coupled together through a bus system, where the bus system can include a power bus, a control bus, a status signal bus, etc. in addition to a data bus. However, for the sake of clear illustration, all kinds of buses are referred to as a bus system in the figure.

[0251] The method disclosed in the above embodiments of the present disclosure can be applied to or implemented by the processor 803. The processor 803 can be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed by the integrated logic circuit in hardware or instructions in software form in the processor 803. The above-mentioned processor 803 can be a general-purpose processor, a digital signal processor (DSP), a microprocessor or a microcontroller, and can further include an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The processor 803 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present disclosure can be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 804, and the processor 803 reads the information in the memory 804 and combines its hardware to complete the steps of the above method.

[0252] The receiver 801 can be used to receive input digital or character information and generate signal inputs related to the relevant settings and function controls of the execution device. The transmitter 802 can be used to output digital or character information through the first interface; the transmitter 802 can also be used to send instructions to the disk group through the first interface to modify the data in the disk group; the transmitter 802 can also include a display device such as a display screen.

[0253] In the embodiments of the present disclosure, the application processor 8031 in the processor 803 is used to execute the weapon assembly method in the game in the embodiments of the present disclosure. It should be noted that the specific manner in which the application processor 8031 executes each step is based on the same concept as each method embodiment in the present disclosure, and the technical effects brought by it are the same as those of each method embodiment in the present disclosure. For specific content, reference can be made to the description in the method embodiments shown above in the present disclosure, and details will not be repeated here.

[0254] The embodiments of the present disclosure also provide a chip for running instructions, and this chip is used to execute the technical solution of the weapon assembly method in the game in the above embodiments.

[0255] An embodiment of the present disclosure also provides a computer-readable storage medium. Computer instructions are stored in the computer-readable storage medium. When the computer instructions run on a processor, the processor is caused to execute the technical solution of the weapon assembly method in the game in the above embodiment.

[0256] An embodiment of the present disclosure also provides a computer program product, including a computer program, where the computer program is used to execute the technical solution of the weapon assembly method in the game in the above embodiment when being executed by a processor.

[0257] The above computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk. The readable storage medium can be any available medium accessible by a general-purpose or dedicated server.

[0258] It should be understood that the present disclosure is not limited to the exact structure already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

[0259] Although the present disclosure is disclosed above with preferred embodiments, it is not intended to limit the present disclosure. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the scope defined by the claims of the present disclosure.

Claims

1. A weapon assembly method in a game, characterized in that, The method includes: Providing a game scene and weapon assembly controls in a graphical user interface; Controlling the virtual character to perform virtual activities in the game scene using a virtual weapon; Responding to a first operation instruction for the weapon assembly control to provide weapon part options, where the weapon part options include at least one weapon part to be assembled; Responding to a second operation instruction to determine a first weapon part from the weapon part options, where the first weapon part is a weapon part among at least one of the weapon parts to be assembled; Responding to a third operation instruction to control the display of accessory options for the first weapon part, where the accessory options include at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained in the game session; Responding to a fourth operation instruction to determine a first accessory from the accessory options for the first weapon part, where the first accessory is an accessory among at least one of the accessories to be assembled; Based on the operation instruction, assembling the first accessory on the first weapon part of the virtual weapon.

2. The method according to claim 1, wherein The responding to a first operation instruction for the weapon assembly control to provide weapon part options includes: responding to a first operation instruction triggered by a first sub-operation of a first touch operation on the weapon assembly control to provide weapon part options; The responding to a second operation instruction to determine a first weapon part from the weapon part options includes: responding to a second operation instruction triggered by a second sub-operation of the first touch operation, and determining the first weapon part from the weapon part options according to the position of the second sub-operation in the graphical user interface; The responding to a third operation instruction to control the display of accessory options for the first weapon part includes: responding to a third operation instruction triggered by a third sub-operation of the first touch operation to control the display of accessory options for the first weapon part; The responding to a fourth operation instruction to determine a first accessory from the accessory options for the first weapon part includes: responding to a fourth operation instruction triggered by a fourth sub-operation of the first touch operation, and determining the first accessory from the accessory options for the first weapon part according to the position of the fourth sub-operation in the graphical user interface.

3. The method according to claim 2, wherein The assembling the first accessory on the first weapon part of the virtual weapon based on the operation instruction includes: Responding to the end of the fourth sub-operation of the first touch operation, assembling the first accessory on the first weapon part of the virtual weapon.

4. The method according to claim 2, wherein The assembling the first accessory on the first weapon part of the virtual weapon based on the operation instruction includes: Responding to a fifth operation instruction triggered by a fifth sub-operation of the first touch operation, assembling the first accessory on the first weapon part of the virtual weapon.

5. The method according to claim 2, wherein The method further includes: In response to a sixth operation instruction triggered by a sixth sub-operation of the first touch operation, determine a second weapon part from the weapon part options according to the acting position of the sixth sub-operation in the graphical user interface, where the sixth sub-operation is the same operation as the second sub-operation; In response to a seventh operation instruction triggered by a seventh sub-operation of the first touch operation, control to display the accessory options of the second weapon part, where the seventh sub-operation is the same operation as the third sub-operation; In response to an eighth operation instruction triggered by an eighth sub-operation of the first touch operation, determine a second accessory from the accessory options of the second weapon part according to the acting position of the eighth sub-operation in the graphical user interface, where the eighth sub-operation is the same operation as the fourth sub-operation.

6. The method according to claim 5, wherein The method further includes: In response to the end of the eighth sub-operation of the first touch operation, assemble the second accessory on the second weapon part of the virtual weapon.

7. The method according to claim 5, wherein The method further includes: In response to a ninth operation instruction triggered by a ninth sub-operation of the first touch operation, assemble the second accessory on the second weapon part of the virtual weapon.

8. The method according to claim 1, wherein The assembling the first accessory on the first weapon part of the virtual weapon includes: In the case where the first accessory is an accessory that is adapted to the first weapon part of the virtual weapon and obtained in the game, assemble the first accessory on the first weapon part of the virtual weapon.

9. The method according to claim 1, wherein The providing the game scene and the weapon assembly control in the graphical user interface includes: In response to an accessory configuration instruction for the virtual weapon, determine an accessory configuration plan for the virtual weapon, where the accessory configuration plan is used to indicate a first accessory combination configured for the virtual weapon; In response to a game start instruction, provide a game scene and a weapon assembly control in the graphical user interface, and provide a purchase option for the first accessory combination.

10. The method according to claim 9, wherein In the case where the accessory option is an accessory adapted to the first weapon part of the virtual weapon, the method further includes: In the case where the first accessory is an accessory that is adapted to the first weapon part of the virtual weapon, not obtained in the game, and does not belong to the first accessory combination, change the first accessory combination to a second accessory combination including the first accessory, and change the purchase option for the first accessory combination to a purchase option for the second accessory combination.

11. The method according to claim 10, wherein The changing the first accessory combination to a second accessory combination including the first accessory includes: When the first accessory combination includes a third accessory that is adapted to the same weapon part as the first accessory, replace the third accessory in the first accessory combination with the first accessory to obtain a second accessory combination; and / or When the first accessory combination does not include an accessory that is adapted to the same weapon part as the first accessory, add the first accessory to the first accessory combination to obtain a second accessory combination.

12. The method according to claim 1, wherein The providing the weapon assembly control in the graphical user interface includes: Provide the weapon assembly control in a first control style in the graphical user interface.

13. The method according to claim 12, wherein In response to a first operation instruction for the weapon assembly control, provide weapon part options, including: In response to a first operation instruction for the weapon assembly control, provide weapon part options and switch the display style of the weapon assembly control from the first control style to a second control style, so that the weapon assembly control is provided in the second control style in the graphical user interface, wherein the weapon assembly control provided in the second control style includes a first control area and a second control area.

14. The method according to claim 13, wherein The second operation instruction is an operation instruction triggered by a touch operation on the first control area.

15. The method according to claim 13, wherein The third operation instruction is an operation instruction triggered by a touch operation from the first control area to the second control area.

16. The method according to claim 13, wherein The fourth operation instruction is an operation instruction triggered by a touch operation on the second control area.

17. The method according to claim 13, characterized in that, The assembling the first accessory on the first weapon part of the virtual weapon based on the operation instruction includes: in response to a fifth operation instruction, assembling the first accessory on the first weapon part of the virtual weapon; The fifth operation instruction is an operation instruction triggered by a touch operation from the second control area to the first control area.

18. The method according to claim 13, characterized in that, The second control area surrounds the first control area.

19. The method according to claim 13, wherein The assembling the first accessory on the first weapon part of the virtual weapon includes: Assemble the first accessory on the first weapon part of the virtual weapon, cancel the provision of the weapon part options and the accessory options for the first weapon part in the graphical user interface, and switch the display style of the weapon assembly control from the second control style to the first control style.

20. The method according to claim 13, wherein The controlling to display the accessory options for the first weapon part in response to the third operation instruction includes: In response to the third operation instruction, control to display the accessory options for the first weapon part and the removal option for the first weapon part.

21. The method according to claim 21, characterized in that, The method further includes: In response to a tenth operation instruction, remove the first weapon part of the virtual weapon, where the tenth operation instruction is an operation instruction triggered by a touch operation from the second control area to the first control area or an operation instruction triggered by ending a touch operation in the second control area.

22. The method according to claim 1, wherein The assembling the first accessory on the first weapon part of the virtual weapon includes: When a fourth accessory is assembled on the first weapon part of the virtual weapon, remove the fourth accessory from the first weapon part of the virtual weapon and assemble the first accessory on the first weapon part of the virtual weapon.

23. The method according to claim 1, characterized in that, The providing the weapon part options includes: Determine the display position corresponding to each weapon part option in the weapon part options according to the position layout of the weapon part on the virtual weapon; Provide the weapon part options in the graphical user interface according to the display position.

24. A weapon assembly device in a game, characterized in that, The device includes: A scene and control display module, configured to provide a game scene and a weapon assembly control in a graphical user interface; A character control module for controlling the virtual character to perform virtual activities in the game scene using a virtual weapon; A weapon part option display module for providing weapon part options in response to a first operation instruction for the weapon assembly control, where the weapon part options include at least one weapon part to be assembled; A weapon part determination module for determining a first weapon part from the weapon part options in response to a second operation instruction, where the first weapon part is a weapon part among at least one of the weapon parts to be assembled; An accessory option display module for controlling the display of accessory options for the first weapon part in response to a third operation instruction, where the accessory options include at least one accessory to be assembled, and the accessory to be assembled is an accessory adapted to the first weapon part of the virtual weapon or an accessory adapted to the first weapon part of the virtual weapon and obtained in the game; An accessory determination module for determining a first accessory from the accessory options for the first weapon part in response to a fourth operation instruction; An accessory assembly module for assembling the first accessory on the first weapon part of the virtual weapon based on an operation instruction.

25. An electronic device, characterized in that, Comprising: A processor, a memory, and computer program instructions stored on the memory and executable on the processor; When the processor executes the computer program instructions, it implements the weapon assembly method in the game as described in any one of claims 1 to 23 above.

26. A computer-readable storage medium, characterized in that, Computer program instructions are stored in the computer-readable storage medium, and when the computer program instructions are executed by the processor, they are used to implement the weapon assembly method in the game as described in any one of claims 1 to 23 above.