Virtual item synthesis method and apparatus, and device
By allowing users to select and combine multiple target item materials with specific features and methods, the method enhances virtual item synthesis diversity and interaction, addressing the limitations of fixed material combinations.
Patent Information
- Application Number
- JP2025134818
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-15
- Filing Date
- 2025-08-13
- Publication Date
- 2026-02-27
AI Technical Summary
Existing virtual item synthesis methods are limited by the use of fixed materials, resulting in a lack of diversity and uniformity in virtual item combinations.
A method and device for synthesizing virtual items by determining multiple target item materials, obtaining their material features and corresponding synthesis methods, and combining these features to create diverse virtual items, allowing for user-driven selection and adjustment of materials.
Enhances the diversity and effectiveness of virtual item synthesis by enabling user-defined material combinations and interactions, improving the overall virtual scene experience.
Smart Images

Figure 2026034423000001_ABST
Abstract
Description
[Technical Field]
[0001] The present application relates to the technical field of virtualization, and in particular to a method, apparatus, device, storage medium, and program product for synthesizing virtual items. [Background technology]
[0002] With the development of computer technology, electronic devices can realize richer and more vivid virtual scenes. A virtual scene refers to a digitized scene rendered by a computer using digital communication technology, and users can obtain a completely virtualized experience (e.g., virtual reality) or a partially virtualized experience (e.g., augmented reality) in terms of sight, sound, etc. in the virtual scene, and at the same time, they can use virtual items to interact with various objects in the virtual scene or control interactions between various objects in the virtual scene, thereby obtaining feedback.
[0003] In the related art, virtual items can be obtained by combining multiple fixed materials. Since virtual items can only be combined using fixed materials, the combination of virtual items is highly unified. Summary of the Invention [Means for solving the problem]
[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for synthesizing virtual items, which can increase the diversity of virtual item synthesis and improve the effects of virtual item synthesis.
[0005] The technical solution of the present embodiment is realized as follows:
[0006] An embodiment of the present application provides a method for combining virtual items, determining a plurality of target item materials; Obtaining at least one material feature of each of the target item materials, and obtaining a material synthesis method corresponding to each type of the material feature; and combining at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of the material feature to synthesize the plurality of target item materials to obtain a virtual item.
[0007] An embodiment of the present application provides a method for combining virtual items, receiving a selection operation for a plurality of target item materials from the candidate item materials; In response to a synthesis command for a plurality of selected target item materials, acquiring at least one material feature of each of the target item materials, and acquiring a material synthesis method corresponding to each type of the material feature; and combining at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of the material feature to synthesize the plurality of target item materials to obtain a virtual item.
[0008] The present embodiment further provides a virtual item synthesis device, a determination module adapted to determine a plurality of target item materials; an acquisition module, which is used to acquire at least one material feature of each of the target item materials, and acquire a material synthesis method corresponding to each type of the material feature; and a synthesis module used to combine at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of the material feature, and synthesize the multiple target item materials to obtain a virtual item.
[0009] In the above solution, the determination module is further used to display candidate item materials, receive a selection operation for a plurality of target candidate item materials among the candidate item materials, and determine, in response to the selection operation, that the plurality of target candidate item materials are the plurality of target item materials.
[0010] In the above-mentioned solution, the candidate item materials include at least one type of type item material, and the determination module is further used to: in response to a quantity editing operation for a type item material of a target type, receive an edited material quantity for the type item material of the target type, wherein the at least one type includes the target type; and in response to a confirmation operation for the material quantity, receive a selection operation for the type item material of the target type of the material quantity, wherein the type item material of the target type of the material quantity is the plurality of target candidate item materials.
[0011] In the above solution, the virtual item is used for interaction in a virtual scene, and the determination module is further used for acquiring candidate material features of a candidate item material and acquiring scene interaction features of the virtual scene, calling a machine learning model to make a prediction based on the candidate material features and the scene interaction features, and obtaining values of selected indicators of the candidate item material, and determining from the candidate item materials a plurality of target candidate item materials whose selected indicator values satisfy an indicator condition, and determining that the plurality of target candidate item materials are the plurality of target item materials.
[0012] In the above solution, the virtual item is used for interaction in a virtual scene, and the determination module is further used for displaying recommended item materials that match the scene interaction characteristics of the virtual scene, and for determining, in response to a selection operation of an item material, that a plurality of target recommended item materials selected by the selection operation of the item material are the plurality of target item materials.
[0013] In the above solution, the scene interaction features include target attributes of the virtual object to be interacted with using the virtual item, and the determination module is further used for obtaining material attributes of candidate item materials, determining correlations between the material attributes and the target attributes, and determining a target candidate item material from the candidate item materials based on the correlations, whose correlations satisfy a relationship condition, and setting the target candidate item material as the recommended item material.
[0014] In the above-mentioned solution, the material synthesis method includes a feature synthesis method and a feature retention method, and the synthesis module further combines the feature synthesis methods for the material features of each type and performs material synthesis on the material features of each type of the multiple target item materials to obtain an intermediate virtual item, where the intermediate virtual items have the material features of each type and the material features of each type of the intermediate virtual items each include at least one sub-material feature; combines the feature retention methods for the material features of each type and determines the sub-material features to be retained for the material features of each type based on the at least one sub-material feature of the material features of each type; and removes the sub-material features different from the sub-material features to be retained of the intermediate virtual item to obtain the virtual item.
[0015] In the above-mentioned solution, the synthesis module is further used to execute, for each type of material feature, a process of performing an overlay process on the material features of the plurality of target item materials when the feature synthesis method of the material feature is a feature overlay method; a process of performing a cancellation process on the material features of the plurality of target item materials when the feature synthesis method of the material feature is a feature offset method; a process of determining, when the feature synthesis method of the material feature includes a feature overlay method and a feature offset method, a first material feature among the material features that corresponds to the feature overlay method and a second material feature that corresponds to the feature offset method of the material feature; a process of performing an overlay process on the first material feature of the plurality of target item materials and a cancellation process on the second material feature of the plurality of target item materials; and a process of performing an addition process on the feature values of the material features of the plurality of target item materials when the feature synthesis method of the material feature is a feature value addition method.
[0016] In the above-mentioned solution, the synthesis module is further used to execute the following processes for each type of material feature: when the material feature is a basic material feature, determining the value of a basic attack index when the virtual item hits a virtual target based on at least one sub-material feature of the material feature, and setting the value of the basic attack index as the sub-material feature to be held; when the material feature is a physical material feature, determining at least one sub-material feature of the material feature as the sub-material feature to be held by the material feature; and when the material feature is a target material feature, selecting a target sub-material feature from at least one sub-material feature of the material feature as the sub-material feature to be held by the material feature, wherein the target material feature is any one of an attribute material feature, an environmental material feature, and a hidden material feature.
[0017] In the above solving means, when the material feature is a basic material feature, there is one sub-material feature of the material feature, and the sub-material feature is an accumulated material feature obtained by accumulating the basic material features of the multiple target item materials, and the synthesis module is further used for obtaining a first attack parameter, a second attack parameter, and a third attack parameter, where the first attack parameter is determined based on a correlation between an attribute of the virtual item and an attribute of the virtual object, the second attack parameter is determined based on an environmental material feature of the virtual item and a scene feature in which the virtual item is used, and the third attack parameter is determined based on a non-display material feature of the virtual item and a scene feature in which the virtual item is used; obtaining a first mapping relationship among the accumulated material feature, the first attack parameter, the second attack parameter, and the third attack parameter; and combining the first mapping relationship based on the accumulated material feature, the first attack parameter, the second attack parameter, and the third attack parameter to determine a value of a basic attack index when the virtual item hits a virtual object.
[0018] In the above solution, the synthesis module is further used to adjust the plurality of target item materials to obtain a plurality of second item materials when the value of the basic attack index is lower than an attack index threshold, wherein the value of the basic attack index determined based on the plurality of second item materials is higher than the value of the basic attack index determined based on the plurality of target item materials, and to synthesize the plurality of second item materials to obtain a target virtual item.
[0019] In the above-mentioned solution, there are multiple types of material features, and the multiple types of material features include a first type of material feature and a second type of material feature. The synthesis module further combines the multiple types of material features of each of the target item materials and the material synthesis methods corresponding to each type of material feature, and synthesizes the multiple target item materials to obtain an intermediate virtual item. Here, the intermediate virtual item has a first synthesis material feature and a second synthesis material feature, and the first synthesis material feature is obtained by synthesizing the first type of material feature of the multiple target item materials, and the second synthesis material feature is obtained by synthesizing the second type of material feature of the multiple target item materials. The solution is used to determine that the intermediate virtual item is the virtual item when the first synthesis material feature satisfies a first condition and the second synthesis material feature satisfies a second condition.
[0020] In the above solution, the at least one material feature includes a material attribute, and the determination module is further used to, before the step of determining a plurality of target item materials, respond to a relationship explanation command for an attribute correlation and output an explanation content of the attribute correlation, the attribute correlation indicating a correlation between the material attribute and a target attribute of a virtual object to be interacted with using the virtual item, and the determination module is further used to receive a selection operation for a plurality of candidate item materials based on the explanation content, and to set the plurality of candidate item materials as the plurality of target item materials.
[0021] In the above solution, the item level of the virtual item is a first item level, and the synthesis module is further used for the following when there is a first item material used to improve the item level of the virtual item: obtaining at least one first material feature of the first item material and obtaining a first material synthesis method corresponding to each type of first material feature; combining the at least one first material feature of the first item material and the first material synthesis method corresponding to each type of first material feature, and synthesizing the virtual item with the first item material to obtain a target virtual item, wherein the item level of the target virtual item is a second item level, and the second item level is higher than the first item level.
[0022] In the above solution, the synthesis module is further used to respond to a material donation command to a second target when the first target has a first item material, and to send material donation information to the terminal of the second target, and the material donation information is used to donate the first item material to the second target; and the synthesis module is further used to respond to a donation request command to a third target when the first target does not have the second item material, and to send donation request information to the terminal of the third target, and the donation request information is used to request the third target to donate the second item material to the first target.
[0023] In the above solution, the synthesis module is further used to display synthesis prompt information when there are multiple specific item materials used to synthesize a specific virtual item, and the determination module is further used to determine the multiple specific item materials as the multiple target item materials in response to an item synthesis command triggered based on the synthesis prompt information.
[0024] In the above solution, the synthesis module is further used to, after obtaining the virtual item, control a first virtual object to interact with a second virtual object, and display use prompt information for the virtual item when item features of the virtual item match the second virtual object, and the item features include the at least one material feature.
[0025] In the above solution, the synthesis module is further used for displaying at least one of synthesis progress prompt information and synthesis animation effects during the synthesis process of the multiple target item materials, and displaying item characteristics of the virtual item after obtaining the virtual item, where the item characteristics include at least one material characteristic.
[0026] In the above solution, the device further includes a control module, which is used for: acquiring an influence parameter of the virtual item on the virtual object in response to the virtual item hitting the virtual object, where different influence parameters correspond to different attack effects; determining a value of an attack index of the virtual item on the virtual object based on the influence parameter; and determining a result of the attack of the virtual item on the virtual object based on the value of the attack index.
[0027] In the above solution, the control module is further used for: performing a physical simulation of an attack process in which the virtual item is controlled to attack the virtual object; acquiring at least one physical quantity in the physically simulated attack process; and determining an influence parameter of the virtual item on the virtual object based on the at least one physical quantity.
[0028] In the above solution, the control module is further used for obtaining a basic attack index value of the virtual item and a basic attack difficulty value of the virtual object; obtaining a second mapping relationship among the influence parameter, the basic attack index value, the basic attack difficulty value, and the attack index value; and combining the second mapping relationship based on the influence parameter, the basic attack index value, and the basic attack difficulty value to determine the attack index value of the virtual item against the virtual object.
[0029] An embodiment of the present application provides a virtual item synthesis device, a receiving module for receiving a selection operation for a plurality of target item materials among the candidate item materials; a material acquisition module, which is used to respond to synthesis commands for a plurality of selected target item materials, acquire at least one material feature of each of the target item materials, and acquire a material synthesis method corresponding to each type of the material feature; and a material synthesis module used to combine at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of the material feature, and synthesize the multiple target item materials to obtain a virtual item.
[0030] The present embodiment further provides an electronic device, a memory adapted to store computer-executable instructions; and a processor that, when executing the computer-executable instructions stored in the memory, is used to implement the method for synthesizing a virtual item provided by the embodiments of the present application.
[0031] The present embodiment further provides a computer-readable storage medium having stored thereon computer-executable instructions or a computer program, which, when executed by a processor, implements the method of synthesizing a virtual item provided by the present embodiment.
[0032] The present embodiment further provides a computer program product including computer-executable instructions or a computer program, which, when executed by a processor, implements the method for synthesizing a virtual item provided by the present embodiment. [Effects of the Invention]
[0033] The present embodiment has the following beneficial effects.
[0034] Applying the above embodiment of the present application, first determine multiple target item materials to be used to synthesize a virtual item, then obtain at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature, and then combine at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature to synthesize the multiple target item materials to obtain a virtual item.
[0035] Here, it is not specified that fixed item materials for synthesizing virtual items are determined when synthesizing the virtual items, and each target item material has at least one material feature, and each type of material feature has a corresponding material synthesis method. In this way, by combining at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature, the diversity of virtual items synthesized based on multiple target item materials is increased, and the virtual item synthesis effect is improved. [Brief explanation of the drawings]
[0036] [Figure 1A] FIG. 1 is a schematic diagram of a first application mode of the virtual item synthesis method provided by the present embodiment; [Figure 1B] FIG. 2 is a schematic diagram of a second application mode of the virtual item synthesis method provided by the present embodiment; [Figure 2] FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application; [Figure 3A] FIG. 1 is a schematic diagram of a first process of a method for synthesizing virtual items provided by an embodiment of the present application; [Figure 3B] FIG. 2 is a schematic diagram of a second process of the method for synthesizing virtual items provided by an embodiment of the present application; [Figure 3C] FIG. 2 is a schematic diagram of a third process of the virtual item synthesis method provided by the present embodiment; [Figure 4] FIG. 1 is a schematic diagram of a first selection process of a target item material provided by an embodiment of the present application; [Figure 5] FIG. 2 is a schematic diagram of a second selection process of a target item material provided by an embodiment of the present application; [Figure 6] 1 is a schematic diagram showing the correlation of attributes provided by an embodiment of the present invention; [Figure 7] FIG. 1 is a schematic diagram of the process of switching the belonging target of an item material provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0037] It is important to clarify that the terms "first" and "second" are used only to distinguish between different solutions, and do not represent the superiority or inferiority of the solutions or the priority in the implementation process.
[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in more detail below in conjunction with the drawings. The described embodiments should not be regarded as limitations on the present application, and all other embodiments that a person skilled in the art can obtain without requiring creative work will also fall within the scope of protection of the present application.
[0039] In the following description, reference to "some embodiments" describes a subset of all possible embodiments, but it can be understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other under non-conflicting circumstances.
[0040] In the following description, the relative terms "first / second / third" are used only to distinguish between similar objects and do not represent a particular order of arrangement of the objects. It will be understood that "first / second / third" are interchangeable with each other in a particular order or order before and after, where permitted, so that the embodiments of the present application described herein may be performed in an order other than that illustrated or described herein.
[0041] In the present embodiment, the term "module" or "unit" refers to a computer program or a part of a computer program having a certain function, which operates together with other interrelated parts to achieve a certain target, and can be fully or partially implemented using software, hardware (e.g., processing circuitry or memory), or a combination thereof. Similarly, one processor (or multiple processors or memory) can implement one or multiple modules or units. Furthermore, each module or unit may be part of an entire module or unit that includes the module or unit function.
[0042] Unless otherwise defined, all technical and scientific terms used in the examples have the same meaning as commonly understood by one of ordinary skill in the art to which they belong. The terms used in the examples are for the purpose of describing the examples only and are not intended to be limiting of the present application.
[0043] When applied to the examples, the collection and processing of correlation data in the embodiments of this application strictly complies with the requirements of relevant laws and regulations, obtains the informed consent or separate consent of the personal information entity, and carries out subsequent data use and processing actions within the scope permitted by laws and regulations and the personal information entity.
[0044] Before providing a more detailed description of the present embodiment, the nouns and terms related to the present embodiment will be explained. The nouns and terms related to the present embodiment will be interpreted as follows.
[0045] 1) Client terminal: An application program that runs on an electronic device and is used to provide various services, such as a client terminal that supports a virtual scene (for example, a game scene).
[0046] 2) In response to: Used to represent a condition or state on which an operation to be performed depends, and when the dependent condition or state is met, the operation or operations to be performed may be in real time or may have a set delay, and unless otherwise specified, there is no restriction on the order in which the operations are performed.
[0047] 3) A virtual scene is a virtual scene displayed (or provided) when an application program runs on a terminal. The virtual scene may be a simulated environment for the real world, a semi-simulated, semi-fictional virtual environment, or even a purely fictional virtual environment. The virtual scene may be any one of a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene. For example, the virtual scene may include sky, land, or ocean, and the land may include environmental elements such as a desert or a city. A user can control a virtual object to perform activities in the virtual scene, including, but not limited to, adjusting a body position, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. The virtual scene may be displayed from a first-person perspective (e.g., the user plays a virtual object in the game from their own perspective), a third-person perspective (e.g., the user plays the game by chasing a virtual object in the game), or even a bird's-eye view, and the user may switch between these perspectives at will.
[0048] 4) Scene data represents feature data of a virtual scene, such as the location of a virtual object in the virtual scene, the location of a virtual building in the virtual scene, and the area occupied by the virtual building. Naturally, different types of feature data may be included depending on the type of virtual scene. For example, in a virtual scene for a game, the scene data may include the waiting time required for various functions arranged in the game (determined as the number of times the same function can be used within a specific time), and may also represent attribute values of various states of a game character, such as life value (also called the amount of red), magic value (also called the amount of blue), status value, blood amount, etc.
[0049] 5) A virtual object is an image of various people or objects that can interact with a virtual scene, or an object that can move in the virtual scene. The object that can move may be a virtual person, a virtual animal, or a cartoon character, such as a person, an animal, a plant, a drum, a wall, or a stone displayed in the virtual scene. The virtual object may be a virtual image used to represent a virtual user in the virtual scene. A virtual scene may include multiple virtual objects, each of which has its own shape and volume and occupies a portion of the space in the virtual scene.
[0050] 6) Virtual items are used by users to control their virtual objects to interact with other virtual objects in the virtual scene. For example, the virtual items may be throwable virtual items such as grenades, cluster mines, sticky grenades, physical balls, or composite balls, or shooting virtual items such as bows and arrows, machine guns, pistols, or rifles, or may even be virtual items such as swords, knives, or sticks.
[0051] The present embodiment provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for combining virtual items, which can increase the variety of virtual item combinations and improve the effects of combining virtual items. Based on the above explanations of the relevant nouns and terms in the present embodiment, the present embodiment will now be described in detail.
[0052] In order to make it easier to understand the virtual item synthesis method provided by the present embodiment, the following describes an exemplary implementation scene of the virtual item synthesis method provided by the present embodiment, and the virtual scene in the virtual item synthesis method provided by the present embodiment may be output entirely based on the terminal device, or may be output in cooperation with the terminal device and the server.
[0053] In one implementation scenario, refer to FIG. 1A, which is a schematic diagram of a first application mode of the virtual item synthesis method provided by the present embodiment. The method can be applied to several application modes, such as standalone / offline games, where the correlation data calculation for the virtual scene 100 can be completed entirely by relying on the computing capabilities of the terminal 400. The virtual scene output can be completed by the terminal 400, such as a smartphone, tablet computer, or virtual reality / augmented reality device. When forming the visual perception of the virtual scene 100, the terminal 400 uses graphics computing hardware to calculate the data required for display, and completes the loading, analysis, and rendering of the display data. The terminal 400 then outputs video frames to the graphics output hardware, which can form the visual perception of the virtual scene. For example, the terminal 400 can present two-dimensional video frames on the display screen of a smartphone, or project video frames onto the lenses of augmented reality / virtual reality glasses to achieve a three-dimensional display effect. To enhance the sensory experience, the device can also use additional hardware to form one or more of auditory, tactile, motion, and taste perceptions.
[0054] As an example shown, the terminal 400 operates a client terminal (e.g., a standalone game client terminal), and outputs a virtual scene based on scene data of the virtual scene during the operation of the client terminal. The virtual scene may be an environment used for game character interaction. After outputting the virtual scene, it can further perform synthesis of virtual items in the virtual scene. Specifically, in response to a synthesis command for the virtual item, it determines multiple target item materials, obtains at least one material feature of each target item material, and obtains a material synthesis method corresponding to each type of material feature, combines at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature, and synthesizes the multiple target item materials to obtain a virtual item.
[0055] In another implementation scenario, refer to FIG. 1B, which is a schematic diagram of a second application mode of the virtual item synthesis method provided by the present embodiment. This application mode is applied to the terminal 400 and the server 200, and generally relies on the computing power of the server 200 to complete the calculation of the virtual scene and output the virtual scene to the terminal 400. Take the example of forming a visual perception of the virtual scene 100, the server 200 calculates and transmits the associated display data of the virtual scene to the terminal 400, and the terminal 400 relies on graphics computing hardware to complete the calculation of loading, analyzing, and rendering the display data, and relies on graphics output hardware to output the virtual scene to form the visual perception, for example, presenting a 2D video frame on the display screen of a smartphone, or projecting a video frame to achieve a 3D display effect on the lenses of augmented reality / virtual reality glasses. As for the perception of the form of the virtual scene, it is understandable that the corresponding hardware output of the terminal can be used, for example, using a microphone output to form an auditory perception, using an oscillator output to form a tactile perception, etc.
[0056] In the illustrated example, the terminal 400 operates as a client terminal (e.g., a network-based game client terminal), connects to a game server (i.e., the server 200) to acquire scene data for a virtual scene, and outputs the virtual scene based on the acquired scene data. The virtual scene may be an environment used for game character interaction. After outputting the virtual scene, the terminal 400 can further synthesize virtual items in the virtual scene. Specifically, in response to a synthesis command for the virtual items, the terminal 400 determines multiple target item materials, acquires at least one material feature of each target item material, and acquires a material synthesis method corresponding to each type of material feature, combines the at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature, and synthesizes the multiple target item materials to obtain a virtual item.
[0057] In some embodiments, the electronic device implementing the virtual item synthesis method provided by the present embodiment may be various types of terminals or servers. Here, the server (e.g., server 200) may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), big data, and artificial intelligence platforms. The terminal (e.g., terminal 400) may be, but is not limited to, a laptop, tablet computer, desktop computer, smartphone, smart voice interaction device (e.g., smart speaker), smart home appliance (e.g., smart TV), smart watch, in-vehicle terminal, wearable device, virtual reality (VR) device, aircraft, etc. The terminal and server may be directly or indirectly connected via wired or wireless communication, and the present embodiment is not limited thereto.
[0058] In some embodiments, a terminal or server can implement the virtual item synthesis method provided by the present embodiments by running various computer-executable instructions or computer programs. For example, the computer-executable instructions may be microprogram-level commands, device instructions, or software instructions. The computer program may be a native program or software module in an operating system, or a native application program (APP), i.e., a program that needs to be installed in an operating system and can be run by it, such as an APP that supports virtual scenes, or an applet that can be embedded in any APP, i.e., a program that can be run simply by downloading it in a browser environment. In summary, the computer-executable instructions may be instructions in any format, and the computer program may be an application program, module, or plug-in in any format.
[0059] An electronic device implementing a virtual item synthesis method according to an embodiment of the present disclosure will now be described. Referring to FIG. 2, FIG. 2 is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. The electronic device 500 according to an embodiment of the present disclosure may be a terminal or a server. As shown in FIG. 2, the electronic device 500 includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The assemblies in the electronic device 500 are coupled together by a bus system 540. It should be understood that the bus system 540 is used to realize communication between these assemblies. The bus system 540 not only includes a data bus, but also a power bus, a control bus, and a status signal bus. However, for the sake of clarity, all buses in FIG. 2 are marked as the bus system 540.
[0060] The processor 510 may be a type of integrated circuit chip having signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware assembly, etc., where the general-purpose processor may be a microprocessor, or any conventional processor, etc.
[0061] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 further includes one or more input devices 532, including user interface members that facilitate user input, such as a keyboard, mouse, microphone, touchscreen display screen, camera, and other input buttons and controls.
[0062] The memory 550 may be removable, non-removable, or a combination thereof. The memory 550 may include one or more storage devices that are physically separate from the processor 510. The memory 550 may include volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 550 described in the embodiments herein is intended to include any suitable type of memory.
[0063] In some embodiments, memory 550 can store data to support various operations, illustrative examples of which include programs, modules, data structures, or a subset or superset thereof, as illustratively described below.
[0064] The operating system 551 includes system programs used to process various basic system services and perform hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., which are used to realize various basic services and process hardware-based tasks;
[0065] The network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include Bluetooth, Wi-Fi, and Universal Serial Bus (USB), etc.
[0066] a presentation module 553 used to enable presentation of information via one or more output devices 531 (e.g., display screen, speakers, etc.) associated with the user interface 530 (e.g., the user interface used to operate peripheral devices and display content and information);
[0067] The input processing module 554 is used to detect one or more inputs or interactions by one or more users from one of the one or more input devices 532 and interpret the detected inputs or interactions.
[0068] In some embodiments, the virtual item synthesis device provided in the embodiments of the present application can be realized using a software method. Figure 2 shows a virtual item synthesis device 555 stored in memory 550, which may be software in the form of a program, plug-in, etc., and includes the following software modules: a determination module 5551, an acquisition module 5552, and a synthesis module 5553. These modules are logical and can therefore be arbitrarily combined or further divided according to the realized functions. The functions of each module are described below.
[0069] The following describes a method for combining virtual items provided by an embodiment of the present application. As described above, the method for combining virtual items provided by an embodiment of the present application is implemented by an electronic device, for example, by a server or a terminal independently, or by a server and a terminal cooperatively. Therefore, the execution of each step will not be described repeatedly below. Referring to FIG. 3A, FIG. 3A is a process diagram of the method for combining virtual items provided by an embodiment of the present application. The method for combining virtual items provided by an embodiment of the present application includes:
[0070] Step 101: Determine a plurality of target item materials.
[0071] Here, virtual items used in a virtual scene can be obtained by synthesizing item materials. Examples of virtual items include, but are not limited to, virtual ball-shaped items (e.g., physical balls, composite balls, etc.), virtual net-shaped items (e.g., virtual fishing nets, etc.), virtual shooting items (e.g., virtual firearms, virtual bows and arrows, etc.), virtual throwing items (e.g., virtual grenades, virtual bombs, etc.), and virtual swords. In a virtual scene, a user can control a first virtual object corresponding to the user to use the virtual item to interact with a second virtual object. The second virtual object may be a virtual object controlled by another user, a virtual object controlled by artificial intelligence (AI) (e.g., a virtual robot), or even a non-player character (NPC) set in the virtual scene.
[0072] When a user needs to synthesize a virtual item, the user can trigger a synthesis command for the virtual item. For example, a virtual item synthesis control device can be provided, and in response to the user's trigger operation of the virtual item synthesis control device, a synthesis command for the virtual item can be received. At this time, multiple target item materials used to synthesize the virtual item can be determined in response to the synthesis command. Here, the developer of the virtual scene can pre-set multiple candidate item materials in the virtual scene, and the user can acquire the candidate item materials during the process of interacting with the virtual scene. The amount of candidate item materials acquired can be associated with the user's interaction status in the virtual scene. For example, the interaction status can include, but is not limited to, the user's level in the virtual scene, the user's interaction performance in the virtual scene (e.g., win rate and score in a competitive game), the interaction result (e.g., whether or not the user wins a competitive game), the number of second virtual objects defeated, etc. The target item material may be any item material from a plurality of candidate item materials, and the target item material may be manually selected by a user from the plurality of candidate item materials, or automatically determined from the plurality of item materials according to target data (e.g., scene interaction data in the user's virtual scene). Each target item material from the plurality of target item materials may be different, for example, the plurality of target item materials may be item materials A, B, and C, respectively, and item materials A, B, and C may be different, or each target item material from the plurality of target item materials may be the same, for example, the plurality of target item materials may be three item materials A, and some target item materials from the plurality of target item materials may be the same but some target item materials may be different, for example, the plurality of target item materials may be two item materials A and three item materials B.In this way, users can select any candidate item material from multiple candidate item materials according to their needs as a target item material and use it to synthesize virtual items; there is no fixed synthesis formula, and the diversity of virtual item synthesis is improved. In other words, by selecting and synthesizing any multiple target item materials, the combination methods of target item materials used for synthesis are diversified, and therefore the synthesized virtual items are also diverse.
[0073] In some embodiments, the plurality of target item materials can be determined by performing the following steps: displaying candidate item materials, receiving selection operations for a plurality of target candidate item materials among the candidate item materials, and, in response to the selection operations, determining the plurality of target candidate item materials as a plurality of target item materials.
[0074] In this example, a selection control element for candidate item materials can be displayed. When a synthesis command for a virtual item is received, an item synthesis interface can be displayed. Furthermore, a selection control element for candidate item materials can be displayed in the item synthesis interface. Each candidate item material can correspond one-to-one with a selection control element, and all candidate item materials can correspond to one selection control element. Based on the selection control element, a user can select a desired target candidate item material from among the candidate item materials. At this time, a selection operation for a plurality of target candidate item materials from among the candidate item materials is received based on the selection control element. In response to the selection operation, the selected target candidate item materials are determined as a plurality of target item materials. In this way, a user can select any candidate item material from among the plurality of candidate item materials as a target item material according to their needs, thereby allowing them to be used in synthesizing a virtual item. This eliminates the need for a fixed synthesis formula and improves the versatility of virtual item synthesis.
[0075] For example, refer to Figure 4, which is a schematic diagram of a first selection process for target item materials provided by an embodiment of the present application. Here, as shown in (1) in Figure 4, selection control elements for candidate item materials (including item materials 1-3) are displayed in the item synthesis interface, and the candidate item materials and the selection control elements have a one-to-one correspondence relationship. As shown in (2) in Figure 4, selection operations for multiple target candidate item materials (including item materials 1-2) are received based on the selection control elements.
[0076] As an example shown, the selection operation for multiple target candidate item materials may further be triggered based on physical buttons under various game scenes such as a game handheld / host computer (controller), a computer end (mouse + keyboard), etc., such as being triggered based on a controller, being triggered based on a mouse, or being triggered based on a keyboard.
[0077] In some embodiments, the candidate item materials include at least one type of type item material, and based on this, a selection operation can be received for a plurality of target candidate item materials in the candidate item materials by performing the following steps: responsive to a quantity edit operation for the type item material of the target type, receiving a material quantity for the type item material edit of the target type, the at least one type including the target type, responsive to a confirmation operation for the material quantity, receiving a selection operation for the type item material of the target type of material quantity, and the type item material of the target type of material quantity is a plurality of target candidate item materials.
[0078] In some embodiments, the candidate item materials include at least one type of type item material, and selection control elements for the candidate item materials can be displayed in the following manner: displaying selection control elements for each type of type item material, and then receiving selection operations for multiple target candidate item materials among the candidate item materials by performing the following steps based on the selection control elements: receiving a material selection operation for a target type type item material based on the selection control elements, where at least one type includes the target type; displaying a quantity adjustment control element for the target type type item material in response to the material selection operation; receiving a material quantity of the target type type item material based on the quantity adjustment control element; and receiving a selection operation for the type item material of the target type in material quantity in response to a confirmation operation for the material quantity, where the type item material of the target type in material quantity is multiple target candidate item materials.
[0079] Here, the candidate item materials include at least one type of type item material, and therefore, when displaying the selection control elements for the candidate item materials, a selection control element for each type of type item material can be displayed. For illustrative purposes, refer to FIG. 5, which is a schematic diagram of a second selection process for a target item material provided by an embodiment of the present application. As shown in (1) in FIG. 5, the step of displaying the selection control elements for each type of type item material includes selection control elements for type item materials 1-3. Based on this, a material selection operation for the target type of type item material can be received based on the selection control elements. In response to the material selection operation, a quantity adjustment control element for the target type of type item material is displayed. The quantity adjustment control element is used to adjust the material quantity of the target type of type item material. The user can set the material quantity of the target type of type item material based on the quantity adjustment control element according to their needs, and the material quantity for the target type of type item material set by the user is then received based on the material adjustment control element. Continuing to refer to FIG. 5 as an example, as shown in (2) in FIG. 5, in response to a material selection operation for type item material 2, a quantity adjustment control for type item material 2 is displayed, and the user adjusts the material quantity of type item material 2 to three based on the quantity adjustment control. Furthermore, in response to a confirmation operation for the material quantity, a selection operation for a type item material of a target type of material quantity can be received, where the type item material of the target type of material quantity is a plurality of target candidate item materials. In this way, not only can target item materials be randomly selected according to needs, but the material quantity of the target item materials can also be adjusted, further improving the diversity of virtual item composition and thereby improving the scene experience of the virtual scene.
[0080] It is necessary to explain that the above process of selecting multiple target item materials from candidate item materials may be implemented on a terminal, and the virtual item synthesis method provided in the embodiments of the present application, when implemented on a terminal, can directly synthesize the multiple target item materials selected from the terminal to obtain a virtual item; and the virtual item synthesis method provided in the embodiments of the present application, when implemented on a server, can select multiple target item materials, and then send the selected multiple target item materials to the server, and the server can synthesize the multiple target item materials fed back by the terminal, thereby obtaining a virtual item.
[0081] In some embodiments, the virtual item is used for interaction in the virtual scene, and multiple target item materials can be determined by performing the following steps: obtaining candidate material features of the candidate item materials and obtaining scene interaction features of the virtual scene, invoking a machine learning model to make predictions based on the candidate material features and the scene interaction features to obtain values of selected indicators of the candidate item materials, determining multiple target candidate item materials from the candidate item materials, the values of the selected indicators satisfying an indicator condition, and determining the multiple target candidate item materials as multiple target item materials.
[0082] Here, the virtual item obtained by synthesis is used in virtual scene interaction, and thus, scene interaction situations of the virtual scene can be combined to automatically determine multiple target item materials for the user. Specifically, candidate material features of the candidate item materials are first obtained, and the candidate material features may include, but are not limited to, basic material features (e.g., a preset fixed base value), physical material features (e.g., weight, hardness, elasticity, etc.), attribute material features (e.g., electric, water, fire, metal, ice, grass, etc.), environmental material features (e.g., dark environment, humid environment, dry environment, hot environment, cold environment, bright environment, etc.), hidden material features (e.g., crystal material, candy material, etc. provided by the developer), etc. The candidate material features may be preset by the developer of the virtual scene or can be set according to needs. At the same time, scene interaction features of the virtual scene are further acquired, which may include, but are not limited to, the scene features of the virtual scene currently located, the object features of the interaction object currently being interacted with, etc.
[0083] Next, a machine learning model is obtained, which may be obtained by pre-training. The machine learning model is invoked to make a prediction based on the candidate material features and the scene interaction features, and a value of a selected indicator of the candidate item material is obtained. The selected indicator may be a probability (characterized in the form of a probability, a likelihood score, etc.) that the candidate item material will be selected as a target item material. Furthermore, based on the values of the selected indicators of the candidate item materials, multiple target candidate item materials whose selected indicator values satisfy an indicator condition are determined from the candidate item materials, thereby determining the multiple target candidate item materials as multiple target item materials. The selected indicator values satisfying the indicator condition may include the values of the selected indicator reaching a selected indicator threshold, the values of the selected indicators of the multiple target candidate item materials all being higher than the values of the selected indicators of the other candidate item materials, and the other candidate item materials being different from the target candidate item material in the candidate item material.
[0084] In this way, by combining the candidate material features and the scene interaction features, it is possible to automatically determine the target item material to be used to synthesize the virtual item from among the candidate item materials, thereby improving the efficiency of determining the target item material and making the determined target item material more consistent with the interaction situation of the current virtual scene, not only improving the diversity of virtual item synthesis but also improving the suitability for use of the synthesized virtual item, thereby further improving the scene experience of the virtual scene.
[0085] In some embodiments, the virtual item can be used to interact with the virtual scene and determine a plurality of target item materials by performing the following steps: displaying recommended item materials that match scene interaction features of the virtual scene; and, in response to an item material selection operation, determining the plurality of target recommended item materials selected by the item material selection operation as the plurality of target item materials.
[0086] Here, the virtual item obtained by the synthesis is used in virtual scene interactions, so that scene interaction situations of the virtual scene can be combined to automatically recommend selectable recommended item materials for the user, and target item materials are selected from the recommended item materials according to the user's needs. Specifically, recommended item materials that match the scene interaction features of the virtual scene are determined, and the scene interaction features may include, but are not limited to, scene features of the virtual scene currently located or target features of the interaction target currently interacting. Furthermore, recommended item materials that match the scene interaction features of the virtual scene are displayed, and the user can select a target item material from the recommended recommended item materials. When an item material selection operation is received, in response to the item material selection operation, the multiple target recommended item materials selected by the item material selection operation are determined as multiple target item materials. In this way, by combining the candidate material features and the scene interaction features, it is possible to automatically recommend recommended item materials to be used in synthesizing virtual items for the user, making it convenient for the user to select from the recommended item materials, improving the efficiency of determining the target item material, and making the determined target item material more consistent with the interaction situation of the current virtual scene, not only improving the diversity of virtual item synthesis, but also improving the suitability for use of the synthesized virtual item, thereby further improving the scene experience of the virtual scene.
[0087] In some embodiments, the scene interaction features include target attributes of the virtual object to be interacted with using the virtual item, and based on this, the recommended item material can be determined by performing the following steps: obtaining material attributes of the candidate item materials; determining correlations between the material attributes and the target attributes; determining a target candidate item material from the candidate item materials based on the correlations, whose correlations satisfy a relationship condition, and setting the target candidate item material as the recommended item material.
[0088] Here, the target attribute may be preset, such as electricity, water, fire, metal, ice, or grass. The preset target attribute and the preset material attribute may match, i.e., the preset target attribute may include any attribute, and the preset material attribute may include any attribute. When determining the recommended item material, the material attributes of the candidate item materials may be obtained. Then, a correlation between the material attribute and the target attribute of the virtual object is determined. The correlation may also be preset, such as mutual inhibition, mutual resistance, mutual enhancement, mutual cancellation, or balance. For example, water and fire are mutually inhibiting, and water and ice are mutually enhancing. It should be noted that the correlation may refer to a correlation between at least one material attribute and at least one target attribute, such as a correlation between attribute A and attribute B, a correlation between attributes A+B and attributes C+D, or a correlation between attributes A+C and attribute B. Furthermore, based on the correlation, a target candidate item material whose correlation satisfies a relationship condition is determined from among the candidate item materials, and the target candidate item material is set as a recommended item material. Here, the correlation satisfying the relationship condition includes the correlation being mutually suppressive, mutually canceling, or balanced or mutually opposing.
[0089] In this way, recommended item materials can be provided for the user based on the correlation between the target attributes and the material attributes, improving the recommendation accuracy of the recommended item materials, making the recommended item materials more consistent with the interaction situation of the current virtual scene, and further improving the synthesis effect of the virtual items and the suitability for use of the virtual items.
[0090] In some embodiments, the at least one material feature includes a material attribute, and before determining the plurality of target item materials, the method can further perform the following steps: responding to a relationship explanation command for an attribute correlation and outputting an explanation of the attribute correlation, where the attribute correlation indicates a correlation between the material attribute and a target attribute of a virtual object to be interacted with using the virtual item, and based on this, the method can determine the plurality of target item materials by performing the following steps: receiving a selection operation for the plurality of candidate item materials based on the explanation; and determining the plurality of candidate item materials as the plurality of target item materials.
[0091] As an example, a relationship explanation control element can be provided for displaying attribute correlations to a user, where the attribute correlations indicate correlations between material attributes and target attributes of a virtual object to be interacted with using a virtual item. The user can understand the attribute correlations based on the relationship explanation control element. When a trigger operation on the relationship explanation control element is received, an explanation of the attribute correlations is output in response to the trigger operation. The explanation content may include video content, text content, image content, or voice content. Based on this, the user can understand the attribute correlations based on the explanation content, and further, a selection operation for a plurality of candidate item materials is received based on the explanation content, and the plurality of candidate item materials are designated as a plurality of target item materials. In this way, it is convenient for the user to understand the attribute correlations between material attributes and target attributes, and it helps the user select an appropriate target item material. This increases the user's sense of involvement and desire to explore during the virtual item synthesis process, thereby improving the user retention rate of the virtual scene.
[0092] As an example, refer to Figure 6, which is a schematic diagram of the attribute correlation provided by the embodiment of the present application. Here, as shown in (1) in Figure 6, in the interface where the candidate item materials are displayed, the relationship explanation control element "attribute explanation" is displayed, and in response to the trigger operation of the relationship explanation control element "attribute explanation", the explanation content of the attribute correlation is output, as shown in (2) in Figure 6.
[0093] As an example shown, the related description command may also be triggered based on physical buttons under various game scenes such as a game handheld / host computer (controller), a computer terminal (mouse + keyboard), etc., such as triggered based on a controller, triggered based on a mouse, triggered based on a keyboard, etc.
[0094] In some embodiments, when there are multiple specific item materials used to synthesize a specific virtual item, a step of displaying synthesis prompt information can be further performed, and based on this, multiple target item materials can be determined by performing the following steps: determining the multiple specific item materials into multiple target item materials in response to an item synthesis command triggered based on the synthesis prompt information.
[0095] In this case, a plurality of specific item materials can be provided for use in synthesizing a specific virtual item. When a user has a plurality of specific item materials that can be used to synthesize a specific virtual item, synthesis prompt information can be displayed, allowing the user to trigger an item synthesis command for the plurality of specific item materials through the synthesis prompt information. Upon receiving an item synthesis command for the plurality of specific item materials, the device responds to the item synthesis command by determining the plurality of specific item materials as a plurality of target item materials, thereby synthesizing the plurality of specific item materials to obtain a specific virtual item. In this way, the efficiency of synthesizing virtual items can be improved, the human-machine interaction operation during the virtual item synthesis process can be simplified, and the user can focus on interacting with the virtual scene, improving the user's experience of the virtual scene.
[0096] Step 102: Obtain at least one material feature of each target item material, and obtain a material synthesis method corresponding to each type of material feature.
[0097] Here, at least one material feature of each target item material is obtained. The at least one material feature may include, but is not limited to, basic material features (e.g., a preset fixed base value), physical material features (e.g., weight, hardness, or elasticity), attribute material features (e.g., electric, water, fire, metal, ice, or grass), environmental material features (e.g., dark, humid, dry, hot, cold, or bright), and hidden material features (e.g., developer-specified crystal or candy materials). The material features may be preset by the developer of the virtual scene or can be set according to needs. Each of the basic material features, physical material features, attribute material features, environmental material features, and hidden material features is a single material feature. Each target item material may be preset with at least one corresponding material feature. At the same time, a material synthesis method corresponding to each type of material feature is also obtained. The material synthesis method may be set for a corresponding type of material feature, and the material synthesis methods for different types of material features may be the same or different. The material synthesis method includes a feature synthesis method and a feature retention method. For example, the feature synthesis method for an attribute material feature may be superimposing the attribute material features of multiple target item materials, and the feature retention method for an attribute material feature may retain the attribute material features of each target item material, etc.
[0098] Step 103: At least one material feature of each target item material and a material synthesis method corresponding to each material feature are combined to synthesize a plurality of target item materials to obtain a virtual item.
[0099] In this method, at least one material feature of each target item material and the corresponding material synthesis method are obtained, and then the at least one material feature of each target item material and the corresponding material synthesis method are combined to synthesize the multiple target item materials to obtain a virtual item. A detailed explanation will now be given.
[0100] In some embodiments, the material synthesis method includes a feature synthesis method and a feature retention method. See FIG. 3B, which shows that step 103 in FIG. 3A can be implemented by the following steps 1031 to 1033. Step 1031: combine feature synthesis methods for each type of material feature to perform material synthesis on each type of material feature of a plurality of target item materials, respectively, to obtain an intermediate virtual item, where each intermediate virtual item has each type of material feature, and each type of material feature of the intermediate virtual item includes at least one sub-material feature; step 1032: combine feature retention methods for each type of material feature to determine sub-material features to retain for each type of material feature based on the at least one sub-material feature of each type of material feature; and step 1033: remove sub-material features that are different from the sub-material features to retain for the intermediate virtual item, to obtain a virtual item.
[0101] In step 1031, the following process is performed for each type of material feature. The feature synthesis methods for the material features of the type are combined to perform material synthesis on the material features of the type of multiple target item materials. In this way, an intermediate virtual item having the material features of each type is obtained. For example, the material features of target item material 1 include basic material feature A, physical material feature A, and attribute material feature A. The material features of target item material 1 include basic material feature B and attribute material feature B. The material features of the intermediate virtual item obtained by synthesizing target item material 1 and target item material 2 include basic material feature A+B, physical material feature A, and attribute material feature A+B. It should be noted that each type of material feature of the intermediate virtual item includes at least one sub-material feature. For example, the sub-material features that may be included in the physical material feature of the intermediate virtual item include weight, elasticity, or hardness. For example, the sub-material features that may be included in the attribute material feature of the intermediate virtual item include water, ice, or snow.
[0102] In some embodiments, step 1031 can be implemented by the following steps: performing the following processes for each type of material feature: when the feature synthesis method for the material features is the feature overlay method, performing an overlay process on the material features of the multiple target item materials; when the feature synthesis method for the material features is the feature cancellation method, performing an cancellation process on the material features of the multiple target item materials; when the feature synthesis method for the material features includes the feature overlay method and the feature cancellation method, determining a first material feature among the material features that corresponds to the feature overlay method and a second material feature among the material features that corresponds to the feature cancellation method, performing an overlay process on the first material feature of the multiple target item materials and performing an cancellation process on the second material feature of the multiple target item materials; when the feature synthesis method for the material features is the feature value addition method, performing an addition process on the feature values of the material features of the multiple target item materials.
[0103] It is necessary to explain that the feature overlapping method is to perform an overlapping process on the material features of multiple target item materials, and the feature offsetting method is to perform an offsetting process on the material features of multiple target item materials. As an example shown, for physical material features, the numerical values of the physical material features (e.g., weight, hardness, and elasticity) may be overlapped or offset. For example, if the physical material features of target item material 1 are hardness 15 and weight 20, and the physical material features of target item material 2 are hardness -15 and weight 30, when combining the physical material features of target item materials 1 and 2, the hardness 15 and hardness -15 can be offset to obtain a hardness of 0, and the weight 20 and weight 30 can be overlapped to obtain a weight of 50. For attribute material features, attribute material features (e.g., water, fire, or ice) may be overlapped. For example, if the attribute material features of target item material 1 are water and fire, and the attribute material features of target item material 2 are earth and ice, when combining target item materials 1 and 2, the attribute material features of target item materials 1 and 2 can be overlapped to obtain water and fire. , dirt, and ice can be obtained. For environmental material features, environmental material features (e.g., dark, bright, and humid) can be superimposed or offset. For example, if the environmental material features of target item material 1 are dark and humid, and the environmental material features of target item material 2 are bright and hot, when combining the environmental material features of target item materials 1 and 2, dark and bright can be offset and humid and hot can be superimposed to obtain humid + hot. For hidden material features, hidden material features (e.g., candy and crystal) can be superimposed. For example, if the hidden material feature of target item material 1 is candy, and the hidden material feature of target item material 2 is crystal, the hidden material features of target item materials 1 and 2 can be superimposed to obtain candy + crystal.
[0104] It is important to note that the feature value addition method performs an addition process on the feature values of the material features of multiple target item materials. As an example, for basic material features, synthesis can be achieved by adding the feature values of the basic material features. If the feature value of the basic material feature of target item material 1 is 50 and the feature value of the basic material feature of target item material 2 is 40, when synthesizing the basic material features of target item materials 1 and 2, the feature value of the basic material feature of 50 and the feature value of the basic material feature of 40 can be added to obtain a feature value of 90.
[0105] For step 1032, the following process is performed for each type of material feature: combine the feature retention methods for the type of material feature, and determine the sub-material features to be retained for the type of material feature based on at least one sub-material feature of the type of material feature. In some embodiments, the sub-material features to be retained for each type of material feature can be determined by combining the feature retention methods for the type of material feature, and determining the sub-material features to be retained for the type of material feature based on at least one sub-material feature of the type of material feature by performing the following steps: perform the following process for each type of material feature. When the material feature is a basic material feature, a value of a basic attack index when the virtual item hits the virtual target is determined based on at least one sub-material feature of the material feature, and the value of the basic attack index is set as the sub-material feature to be held; when the material feature is a physical material feature, at least one sub-material feature of the material feature is determined as the sub-material feature to be held by the material feature; when the material feature is a target material feature, a target sub-material feature is selected from the at least one sub-material feature of the material feature as the sub-material feature to be held by the material feature, and the target material feature is any one of an attribute material feature, an environmental material feature, and a hidden material feature.
[0106] Here, when the material feature of the intermediate virtual item is a basic material feature, the sub-material feature of the basic material feature is a single sub-material feature, i.e., the sum of the feature values of the basic material features of the multiple target item materials. In this case, the value of a basic attack index when the virtual item hits a virtual object is determined based on the sum of the basic material features, and the value of the basic attack index can be set as a sub-material feature to be retained by the basic material feature. The basic attack index is used to indicate the probability of a successful attack when the virtual item attacks a virtual object (e.g., attack success rate, capture success rate, defeat success rate, etc.). When the material feature of the intermediate virtual item is a physical material feature, at least one sub-material feature of the physical material feature of the intermediate virtual item can include a total sub-material feature obtained by combining or canceling out the sub-material features of the multiple target item materials, such as the sum of the hardnesses of the multiple target item materials, the sum of the weights of the multiple target item materials, or the sum of the elasticities of the multiple target item materials. Therefore, at least one sub-material feature of the physical material feature of the intermediate virtual item is set as a sub-material feature to be retained. When a material feature of an intermediate virtual item is a target material feature, a target sub-material feature can be selected from at least one sub-material feature of the material feature as a sub-material feature to be retained for the material feature, and the target material feature is one of an attribute material feature, an environmental material feature, and a hidden material feature. As shown in the example, all sub-material features of the attribute material feature of the intermediate virtual item can be selected as the sub-material feature to be retained, one sub-material feature of at least one sub-material feature of the environmental material feature of the intermediate virtual item can be selected as the sub-material feature to be retained, and all sub-material features of the hidden material feature of the intermediate virtual item can be selected as the sub-material feature to be retained.
[0107] In step 1033, the sub-material features that are different from the sub-material features to be retained in the intermediate virtual item are removed to obtain the virtual item.
[0108] In some embodiments, when the material feature is a basic material feature, there is one sub-material feature of the material feature, and the sub-material feature is an accumulated material feature obtained by accumulating the basic material features of multiple target item materials. Based on this, referring to FIG. 3C , the value of the basic attack index when the virtual item hits the virtual target can be determined based on at least one sub-material feature of the material feature by the following steps 201 to 203. Step 201: obtain a first attack parameter, a second attack parameter, and a third attack parameter, where the first attack parameter is determined based on a correlation between an attribute of a virtual item and an attribute of a virtual object, the second attack parameter is determined based on an environmental material feature of the virtual item and a scene feature in which the virtual item is used, and the third attack parameter is determined based on a hidden material feature of the virtual item and a scene feature in which the virtual item is used; step 202: obtain a first mapping relationship among the cumulative material feature, the first attack parameter, the second attack parameter, and the third attack parameter; step 203: combine the first mapping relationship based on the cumulative material feature, the first attack parameter, the second attack parameter, and the third attack parameter, and determine a value of a basic attack index when the virtual item hits the virtual object.
[0109] In step 201, the first attack parameter is determined based on the correlation between the attribute of the virtual item and the attribute of the virtual object, and when the correlation is suppression or opposition, the first attack parameter has a gain effect, and when the correlation is increase, the first attack parameter has a debuff effect. The second attack parameter is determined based on the environmental material feature of the virtual item and the scene feature in which the virtual item is used, and when the environmental material feature and the scene feature match, the second attack parameter has a gain effect, and when the environmental material feature and the scene feature do not match, the second attack parameter has a debuff effect. The third attack parameter is determined based on the hidden material feature of the virtual item and the scene feature in which the virtual item is used, and when the hidden material feature and the scene feature match, the third attack parameter has a gain effect, and when the hidden material feature and the scene feature do not match, the third attack parameter has a debuff effect.
[0110] In step 202, a first mapping relationship is obtained between the cumulative material feature, the first attack parameter, the second attack parameter, and the third attack parameter, and the first mapping relationship may be preset according to needs, and is not limited in the present embodiment.
[0111] In step 203, the cumulative material feature, the first attack parameter, the second attack parameter, and the third attack parameter are substituted into the first mapping relationship to perform calculations, and the value of the basic attack index when the virtual item hits the virtual target is obtained.
[0112] In some embodiments, there are multiple types of material features, and the multiple types of material features include a first type of material feature and a second type of material feature. Step 103 shown in FIG. 3A can be implemented by the following steps: combining the multiple types of material features of each target item material and the material synthesis methods corresponding to each type of material feature to synthesize the multiple target item materials to obtain an intermediate virtual item, where the intermediate virtual item has a first synthesis material feature and a second synthesis material feature, the first synthesis material feature being obtained by synthesizing the first type of material features of the multiple target item materials, and the second synthesis material feature being obtained by synthesizing the second type of material features of the multiple target item materials, and determining the intermediate virtual item as a virtual item when the first synthesis material feature satisfies a first condition and the second synthesis material feature satisfies a second condition.
[0113] Here, the first type of material feature is a basic material feature, and the second type of material feature includes a physical material feature, an attribute material feature, and an environmental material feature. The first combined material feature is obtained by combining the first type of material feature of multiple target item materials. That is, the first combined material feature is an added value of the feature values of the basic material features of the multiple target item materials. The first combined material feature satisfying a first condition refers to the added value reaching a threshold value. The second combined material feature is obtained by combining the second type of material feature of multiple target item materials. The second combined material feature satisfying a second condition refers to the second combined material feature including at least one of the physical material feature, the attribute material feature, and the environmental material feature. In this way, virtual item combination can be realized.
[0114] In some embodiments, the item level of the virtual item is a first item level. Based on this, when there is a first item material used to improve the item level of the virtual item, obtain at least one first material feature of the first item material and obtain a first material synthesis method corresponding to each type of first material feature, combine the at least one first material feature of the first item material and the first material synthesis method corresponding to each type of first material feature, and synthesize the virtual item and the first item material to obtain a target virtual item, where the item level of the target virtual item is a second item level, and the second item level is higher than the first item level.
[0115] Here, the synthesized virtual item has a corresponding item level, and the item level classification may be preset, such as a first item level, a second item level, etc., and the values of the basic attack index (e.g., capture success rate, defeat success rate, etc.) for the virtual object of the virtual item of different item levels may be different, and with the improvement of the item level, the value of the basic attack index for the virtual object of the virtual item may also gradually increase. Therefore, the item level of the virtual item can be improved.
[0116] For example, when the item level of a virtual item is a first item level, the method determines whether a first item material exists that can be used to improve the item level of the virtual item, and the first item material can improve the basic attack index value of the virtual object of the virtual item. If a first item material exists that can be used to improve the item level of the virtual item, the method obtains at least one first material feature of the first item material and a first material synthesis method corresponding to each type of first material feature. The at least one first material feature and the at least one material feature may be the same, and the first material synthesis method and the material synthesis method may be the same. The method combines the at least one first material feature of the first item material and the first material synthesis method corresponding to each type of first material feature to synthesize the virtual item and the first item material to obtain a target virtual item. The synthesis method of the target virtual item can refer to the virtual item synthesis method in step 103, and detailed description thereof will be omitted here. The item level of the target virtual item is a second item level, which is higher than the first item level. In this way, by synthesizing more item materials on the basis of the synthesized virtual item, the attack effect of the virtual item can be improved, the synthesis of the virtual item can be made more diverse, and more scenes can be applied, improving the synthesis effect of the virtual item and thereby improving the scene experience of the virtual scene.
[0117] In some embodiments, when the basic attack index value is lower than the attack index threshold, adjustments are made to the plurality of target item materials to obtain a plurality of second item materials, where the basic attack index value determined based on the plurality of second item materials is higher than the basic attack index value determined based on the plurality of target item materials, and the plurality of second item materials are combined to obtain a target virtual item. Here, when making adjustments to the target item materials, some target item materials in the plurality of target item materials are replaced or some second item materials are increased using material features as dimensions. For example, if the material features are physical material features, for example, a second item material with greater weight (which belongs to the physical material features) can be used to replace a target item material with a lower weight, thereby improving the weight of the combined virtual item; a second item material with greater elasticity (which belongs to the physical material features) can be used to replace a target item material with a lower elasticity, thereby improving the elasticity of the combined virtual item; a second item material with a speed feature (which belongs to the physical material features) can be increased, thereby increasing the speed feature for the combined virtual item. In this way, the item materials required for synthesizing virtual items can be adjusted according to the value of the basic attack index, thereby making the synthesized virtual items more practical, and thereby improving the synthesis effect of the virtual items and the scene experience of the virtual scene.
[0118] In some embodiments, when a first target has a first item material, the first target responds to a material donation command to a second target by sending material donation information to the second target's terminal, where the material donation information is used to donate the first item material to the second target. Correspondingly, when the first target does not have a second item material, the first target responds to a donation request command to a third target by sending donation request information to the third target's terminal, where the donation request information is used to request the third target to donate the second item material to the first target. Here, the material donation command and the donation request command may be triggered based on a control member displayed on a device (e.g., a smartphone or a tablet computer), or based on physical buttons in various game scenarios such as a game handheld / host computer (controller) and a computer terminal (mouse + keyboard), for example, triggered based on a controller, a mouse, or a keyboard.
[0119] In some embodiments, when a first target has a first item material, a gift control element for the first item material is displayed, and in response to a material gift command to a second target triggered based on the gift control element, material gift information is sent to a terminal of the second target, where the material gift information is used to gift the first item material to the second target; correspondingly, when the first target does not have a second item material, a gift request control element for the second item material is displayed, and in response to a gift request command to a third target triggered based on the gift request control element, gift request information is sent to a terminal of the third target, where the gift request information is used to request the third target to gift the second item material to the first target.
[0120] Here, users (including a first target, a second target, and a third target) can gift each other the item materials they possess. For example, refer to FIG. 7, which is a schematic diagram of an item material belonging target switching process provided by an embodiment of the present application. Here, as shown in (1)-(2) in FIG. 7, when a first target has a first item material, a gift control element for the first item material is displayed. In response to a material gift command for a second target triggered based on the gift control element, the first item material's belonging target is switched from the first target to the second target. That is, the first target no longer has the first item material, and the first item material shown in (2) in FIG. 7 becomes gray. Users (including a first target, a second target, and a third target) can request item materials from each other that they do not possess. For example, referring to FIG. 7 again, as shown in (1)-(2) in FIG. 7, when the first object does not have the second item material (e.g., the second item material shown in (1) in FIG. 7 is gray), a gift request control element for the second item material is displayed, and in response to a gift request command for a third object triggered based on the gift request control element, the second item material's belonging object for the third object is switched from the third object to the first object. In other words, when the second object has the second item material, the second item material shown in (2) in FIG. 7 changes from gray to non-gray. In this way, the interactivity and sociality between users participating in the virtual scene can be increased, users' willingness to participate in the virtual scene can be improved, and user retention of the virtual scene can be further improved.
[0121] In some embodiments, after obtaining the virtual item, in response to controlling the first virtual object to interact with the second virtual object, when item characteristics of the virtual item match the second virtual object, use prompt information for the virtual item is displayed, and the item characteristics include at least one material characteristic.
[0122] Here, after combining the virtual items, if the item characteristics of the virtual item match the second virtual object during the process of the user controlling the first virtual object to interact with the second virtual object, virtual item use prompt information is displayed, thereby prompting the user to control the first virtual object to use the virtual item to interact with the second virtual object. It should be noted that the item characteristics of the virtual item matching the second virtual object refers to the item characteristics of the virtual item matching the object characteristics of the second virtual object, thereby enabling the value of the basic attack index (e.g., capture success rate, defeat success rate, etc.) of the virtual item attacking the second virtual object to reach the attack index threshold. The item features include at least one material feature of each target item material, that is, the item features may include, but are not limited to, basic item features (same as basic material features, e.g., fixed base values), physical item features (same as physical material features, e.g., weight, hardness, or elasticity), attribute item features (same as attribute material features, e.g., electric, water, fire, metal, ice, or grass), environmental item features (same as environmental material features, e.g., dark, humid, dry, hot, cold, or bright), hidden item features (same as hidden material features, e.g., crystal or candy materials added by the developer), etc. In this way, the use effect of the synthesized virtual item can be improved, and the scene experience of the virtual scene can be further improved.
[0123] In some embodiments, during the synthesis of multiple target item materials, at least one of synthesis progress prompt information and synthesis animation effects is displayed. After a virtual item is obtained, the item characteristics of the virtual item are displayed, including at least one material feature. The synthesis progress prompt information is used to prompt the progress of the current synthesis process and can be displayed in the form of a percentage, a progress bar, etc., and the synthesis animation effect can be preset. In this way, appropriate prompts can be provided to the user, improving the user's virtual item synthesis experience.
[0124] In some embodiments, when a virtual item is controlled to attack a virtual object, if the virtual item is controlled to successfully defeat the virtual object, the target item characteristic of the virtual item can be determined to be the object characteristic of the defeated virtual object. For example, after successfully capturing a virtual object using a virtual item, the target item characteristic of the virtual item can be imparted to the captured virtual object. For example, if the virtual item has an ice / snow attribute, the virtual object captured using the virtual item can also have the ice / snow attribute.
[0125] In some embodiments, the following steps may be further performed: in response to the virtual item hitting the virtual object, obtain an impact parameter of the virtual item on the virtual object, where different impact parameters correspond to different attack effects, determine a value of an attack indicator of the virtual item on the virtual object based on the impact parameter, and determine an attack result of the virtual item on the virtual object based on the value of the attack indicator.
[0126] Here, when controlling a virtual item to attack a virtual object, if the virtual item hits the virtual object, an impact parameter of the virtual item on the virtual object is obtained in response to the virtual item hitting the virtual object. In some embodiments, the impact parameter includes at least one of the force of the attack of the virtual object, the part of the virtual object that is attacked (e.g., head, face, chest, abdomen, or leg, etc.), and a correlation between the attribute of the virtual item and the attribute of the virtual object. It should be noted that the item attribute of the virtual item and the target attribute of the virtual object may both be preset. The preset target attribute and the preset item attribute match, i.e., the preset target attribute may include any attribute, and the preset item attribute may also include any attribute. The attributes (target attribute and item attribute) include, but are not limited to, electricity, water, fire, metal, ice, or grass, etc. There are corresponding attribute mapping relationships between different attributes, which may also be preset, including mutual inhibition, mutual resistance, mutual enhancement, mutual cancellation, or balance, etc. For example, water attribute and fire attribute are mutually inhibiting, water attribute and ice attribute are mutually enhancing, etc. It should be noted that the attribute mapping relationship may refer to an attribute mapping relationship between at least one item attribute and at least one target attribute, such as an attribute mapping relationship between attribute A and attribute B, an attribute mapping relationship between attributes A+B and attributes C+D, or an attribute mapping relationship between attributes A+C and attribute B, etc.
[0127] It should be noted that different influence parameters correspond to different attack effects. The influence parameters here can also be understood as influence parameter values. For example, different attack strengths on the virtual object result in different attack effects on the virtual object; different parts of the virtual object result in different attack effects on the virtual object; different correlations between the attributes of the virtual item and the attributes of the virtual object result in different attack effects on the virtual object. The attack effects can be characterized by the value of an attack damage index, which can include, but is not limited to, the life value of the virtual object, the movement speed of the virtual object, the amount of blue, blood, status value, or attack power of the virtual object.
[0128] Next, after obtaining the influence parameter, a value of an attack indicator of the virtual item against the virtual object is determined based on the influence parameter. The attack indicator value is used to indicate the probability of a successful attack (e.g., attack success rate, capture success rate, defeat success rate, etc.) when the virtual item attacks the virtual object. Different influence parameters correspond to different attack indicator values. Next, a result of the attack by the virtual item against the virtual object is determined based on the value of the attack indicator. As an example shown, when the value of the attack indicator reaches an attack indicator threshold, the attack result is determined to be a successful attack by the virtual item against the virtual object, such as successful capture of the virtual object or successful defeat of the virtual object. When the value of the attack indicator does not reach the attack indicator threshold, the attack result is determined to be a failure of the attack by the virtual item against the virtual object, such as not capturing the virtual object or not defeating the virtual object. Here, a successful attack is characterized by a damage value of the virtual item against the virtual object reaching a damage value threshold, and a failed attack is characterized by a damage value of the virtual item against the virtual object not reaching a damage value threshold.
[0129] In some embodiments, the influence parameter of the virtual item on the virtual object can be obtained by performing the following steps: physically simulating an attack process for controlling the virtual item to attack the virtual object, obtaining at least one physical quantity in the physically simulated attack process, and determining the influence parameter of the virtual item on the virtual object based on the at least one physical quantity.
[0130] In this case, a physics engine is used to perform physical simulation of the attack process in which the virtual item attacks the virtual object. The physical simulation includes simulating the physical properties of the virtual item and the virtual object during the attack process, such as the movement, impact, gravity, or friction, to make the behavior of the virtual item and the virtual object in the virtual scene more realistic and improve the user experience and sense of involvement in the virtual scene. Next, at least one physical quantity is obtained during the physically simulated attack process, including the motion physical quantity (e.g., movement speed and movement direction) of the virtual item and the virtual object during the physically simulated attack process, the control physical quantity (e.g., the magnitude of the initial force applied to the virtual item), the attack physical quantity when the virtual item hits the virtual object (e.g., the impact speed, impact duration, or impact angle when the virtual item hits the virtual object), the physical quantities of the virtual item and the virtual object themselves (e.g., material, hardness, elasticity, weight, etc.), and the scene physical quantity of the simulated virtual scene (e.g., gravity, air resistance, etc.). The at least one physical quantity may include, but is not limited to, the initial moving speed, initial moving direction, or initial force of the virtual object and / or virtual item; the moving speed and moving direction of the virtual object and / or virtual item; the impact speed, impact duration, or impact angle when the virtual item hits the virtual object; the weight, material, hardness, or elasticity of the virtual object and / or virtual item; and air resistance or gravity in the virtual scene. An impact parameter of the virtual item on the virtual object is determined based on the finally obtained at least one physical quantity. By physically simulating the attack process of the virtual item on the virtual object in this way, the impact parameter used to calculate the value of the attack index of the virtual item on the virtual object is further determined based on at least one physical quantity in the physically simulated attack process, allowing the attack of the virtual item on the virtual object to better match the physical scene, thereby improving the sense of substitution and involvement in the virtual scene.
[0131] In some embodiments, based on the influence parameter, the value of the attack index of the virtual item for the virtual object can be determined by performing the following steps: obtaining a basic attack index value of the virtual item and obtaining a basic attack difficulty value of the virtual object; obtaining a second mapping relationship among the influence parameter, the basic attack index value, the basic attack difficulty value, and the attack index value; combining the second mapping relationship based on the influence parameter, the basic attack index value, and the basic attack difficulty value, to determine the value of the attack index of the virtual item for the virtual object.
[0132] Here, a basic attack index value of a virtual item can be obtained, and the basic attack index value of the virtual item may be preset. In some embodiments, a virtual item is obtained by combining multiple item materials, and therefore the basic attack index value of the virtual item can be obtained based on the material characteristics of the multiple item materials. Specifically, a first attack parameter, a second attack parameter, and a third attack parameter are obtained, where the first attack parameter is determined based on a correlation between an attribute of the virtual item and an attribute of a virtual object, the second attack parameter is determined based on an environmental material characteristic of the virtual item and a scene characteristic in which the virtual item is used, and the third attack parameter is determined based on the first material characteristic of the virtual item (which may be preset) and a scene characteristic in which the virtual item is used; an accumulation result of the basic material characteristics of the multiple item materials (which may be preset fixed values) is obtained; a third mapping relationship between the accumulation result, the first attack parameter, the second attack parameter, and the third attack parameter is obtained; and the third mapping relationship is combined based on the accumulation result, the first attack parameter, the second attack parameter, and the third attack parameter to determine the value of the basic attack index when the virtual item hits the virtual object.It is necessary to explain that the first attack parameter is determined based on an attribute mapping relationship between the attribute of the virtual item and the attribute of the virtual object, and when the attribute mapping relationship is suppression or opposition, the first attack parameter has a gain effect, and when the attribute mapping relationship is increase, the first attack parameter has a debuff effect. The second attack parameter is determined based on the environmental material characteristics of the virtual item and the scene characteristics in which the virtual item is used, and when the environmental material characteristics and the scene characteristics match, the second attack parameter has a gain effect, and when the environmental material characteristics and the scene characteristics do not match, the second attack parameter has a debuff effect. The third attack parameter is determined based on the first material characteristics of the virtual item and the scene characteristics in which the virtual item is used, and when the first material characteristics and the scene characteristics match, the third attack parameter has a gain effect, and when the first material characteristics and the scene characteristics do not match, the third attack parameter has a debuff effect. The third mapping relationship may be preset according to needs, and is not limited in the present embodiment.
[0133] Next, a basic attack difficulty value of the virtual object is obtained, and the basic attack difficulty value may also be preset. Based on this, a second mapping relationship between the influence parameter, the basic attack index value, the basic attack difficulty value, and the attack index value is obtained, and the second mapping relationship is combined based on the influence parameter, the basic attack index value, and the basic attack difficulty value to determine the attack index value for the virtual object of the virtual item. As an example shown, the second mapping relationship can be expressed as P=g(P0, D, M), where P is the attack index value, P0 is the basic attack index value, D is the basic attack difficulty value, and M is the influence parameter. The second mapping relationship may be preset according to needs, and is not limited in this embodiment.
[0134] The present embodiment further provides a method for synthesizing a virtual item, including the steps of: receiving a selection operation for a plurality of target item materials among candidate item materials; responding to a synthesis command for the selected plurality of target item materials, obtaining at least one material feature of each target item material and a material synthesis method corresponding to each type of material feature; and combining the at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature to synthesize the plurality of target item materials to obtain a virtual item.
[0135] Here, candidate item materials are displayed, and the user can select multiple target item materials from the candidate item materials. After receiving a selection operation for multiple target item materials from the candidate item materials, the process responds to a synthesis command for the selected target item materials by obtaining at least one material feature of each target item material and obtaining a material synthesis method corresponding to each type of material feature. The process then combines the at least one material feature of each target item material with the material synthesis method corresponding to each type of material feature, and synthesizes the multiple target item materials to obtain a virtual item. It should be noted that the implementation method of "combining at least one material feature of each target item material with the material synthesis method corresponding to each type of material feature, and synthesizing the multiple target item materials to obtain a virtual item" may be the same as the implementation method of step 103, and a detailed description thereof will be omitted here.
[0136] In some embodiments, the following steps may be further performed: in response to an attack command against the virtual object, controlling the virtual item to attack the virtual object; in response to the virtual item hitting the virtual object, determining a value of an attack index of the virtual item against the virtual object based on an influence parameter of the virtual item against the virtual object, where different influence parameters correspond to different attack effects; and, when the value of the attack index reaches an attack index threshold, controlling the virtual item to successfully defeat the virtual object.
[0137] Here, a user can control a virtual item to attack a virtual object in a virtual scene. For example, a user can trigger an attack command against a virtual object in the virtual scene. In response to the attack command against the virtual object, the virtual item is controlled to attack the virtual object. In response to the virtual item hitting the virtual object, an influence parameter of the virtual item against the virtual object is obtained. Based on the influence parameter of the virtual item against the virtual object, an attack index value of the virtual item against the virtual object is determined. When the value of the attack index reaches an attack index threshold, the virtual item is controlled to succeed in defeating the virtual object. When the value of the attack index does not reach the attack index threshold, it is determined that the attack of the virtual item against the virtual object has failed.
[0138] An example will be described in which virtual items are combined (e.g., combined into a ball item) and a virtual object is captured based on the virtual items. Here, candidate item materials can be displayed, and the user can select multiple target item materials from among the candidate item materials. After receiving a selection operation for multiple target item materials from the candidate item materials, if a combination command is received, the user can combine the multiple target item materials to obtain a virtual item. The user can trigger a capture command for the virtual object, for example, using a capture control member or a physical button on a game handheld / host computer (controller) or a computer terminal (mouse + keyboard) in various game scenarios. In response to the capture command for the virtual object, the virtual item is controlled to be thrown toward the virtual object. In response to the virtual item hitting the virtual object, an impact parameter of the virtual item on the virtual object is obtained, and an attack index value of the virtual item on the virtual object is determined based on the impact parameter of the virtual item on the virtual object. The attack index value may be the capture success rate. When the probability of successful capture reaches a threshold value of probability of successful capture, controlling the virtual item to capture the virtual object is successful, and when the probability of successful capture does not reach the threshold value of probability of successful capture, controlling the virtual item to capture the virtual object is unsuccessful.
[0139] It is necessary to explain that the embodiments of the present application can be applied to various scenarios such as mobile games (touch control), game handheld / host computers (controllers), or computers (mouse + keyboard), and the triggered commands or operations mentioned above may be triggered by control members displayed on a device (e.g., a smartphone, a tablet computer, etc.), or may be triggered based on physical buttons on a game handheld / host computer (controller), or a computer terminal (mouse + keyboard), etc.
[0140] Applying the above embodiment of the present application, first, a plurality of target item materials to be used for synthesizing a virtual item are determined, then at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature are obtained, and then at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature are combined to synthesize the plurality of target item materials to obtain a virtual item.
[0141] Here, it is not specified that fixed item materials for synthesizing virtual items are determined when synthesizing virtual items, and each target item material has at least one material feature, and each type of material feature has a corresponding material synthesis method. In this way, by combining at least one material feature of each target item material and the material synthesis method corresponding to each type of material feature, the virtual items synthesized based on multiple target item materials become more diverse, and the virtual item synthesis effect is improved.
[0142] Hereinafter, an exemplary application of the present embodiment in one practical application scenario will be described, taking the virtual scene as a game scene as an example.
[0143] First, we will explain the related nouns, including 1) to 3). 1) Interaction: This collectively refers to the interaction between the player and the mobile device, as well as the player's interaction with the game world by throwing objects in the game. 2) Synthesis system: This refers to a mechanism that allows the player to combine two or more items, materials, or resources to create new, more advanced, or more valuable items (i.e., virtual items). The synthesis system increases the depth and strategic nature of the game and encourages players to explore and collect various resources. 3) Open-world game: A type of game scene, also known as a roaming game, is a type of game scenario in which the player can freely roam within a virtual world and freely choose when and how to complete game tasks.
[0144] Although related technologies support the synthesis of virtual items, they can only synthesize specified types of virtual items using fixed methods, and the types are limited, which does not satisfy the diverse characteristics of players' free synthesis of virtual items, and does not meet the exploration needs specific to open-world games.
[0145] Based on this, the present embodiment provides a method for synthesizing virtual items, thereby solving at least the above-mentioned problems. Specifically, by adding multiple material characteristics to item materials, a set of methods is created that allows players to search for and freely combine virtual items with unique properties (e.g., capture items). The focus of this mechanism is twofold: (1) the synthesized virtual items have rich characteristics. In addition to the basic capture probability, they also have four types of characteristics: physical characteristics (i.e., explicit descriptions of physical material characteristics), attribute characteristics (i.e., explicit descriptions of attribute material characteristics), environmental characteristics (i.e., explicit descriptions of environmental material characteristics), and hidden characteristics (i.e., explicit descriptions of hidden material characteristics). (2) There is no fixed synthesis formula. The characteristics of the synthesized virtual items are determined by the item materials used when synthesizing them. The same item material can simultaneously possess multiple material characteristics, and synthesis itself becomes a search process. Hereinafter, a detailed explanation will be given using a capture item as an example.
[0146] (1) The process of combining and using captured items: Obtaining item materials through game actions, combining captured items based on the obtained item materials, and using the captured items to capture virtual objects. It is important to note that the method of "using captured items to capture" in this case includes, but is not limited to, performing physical curve throwing in the game scene, selecting and using captured items in the game round, etc., and simultaneously accepts multiple operation interaction solutions such as touch control on a mobile terminal, keyboard and mouse operation on a computer terminal, and controller operation on a host computer terminal.
[0147] Furthermore, the present embodiments are primarily "item material design" and "item synthesis design." For clarity, hereinafter, "features" will generally be used to describe materials and "properties" will generally be used to describe the finished product (i.e., the captured item), where "features" are implicit and "properties" are explicit.
[0148] (2) Item Material Design: Item materials are acquired through a variety of methods in game scenes, including through game links such as the plot system, task system, world collection, or monster battles, rewards from various play methods, or rewards from operational activities. Each item material simultaneously possesses the following five characteristics (hereinafter, for ease of reference, A, B, C, D, and E are used interchangeably). The premise for successful synthesis is that after all input item materials have accumulated, a sufficient amount of A is simultaneously possessed, along with any one or more of the characteristics of B, C, and D. The five characteristics include the following:
[0149] Class A feature: base value (i.e., the basic material feature mentioned above). It is a numerical value, a constant that all item materials have. The base values of different materials are preset by the developer. When synthesizing, the base values of all item materials are added together to calculate, and synthesis can be performed when a certain threshold is reached. The higher the value, the higher the overall quality of the finished product and the higher the basic capture probability. Some item materials have relatively high base values, making them suitable for use as a synthesis base and can be packaged according to the specific circumstances of the game scene. This type of item material can be ore, metal, relic fragments, etc.
[0150] Category B features: Physical features (i.e., the physical material features mentioned above). These determine the physical properties (weight, hardness, elasticity, etc.) of the captured item. Physical features are determined by the physical properties of the item's material itself. For example, using "rubber" to synthesize the item can increase the elasticity of the finished product, allowing it to bounce back when hitting the scene and reducing the chance of breakage. For example, using "feathers" to synthesize the item can reduce its weight, allowing it to be thrown farther with the same force. For example, using "ore" can increase the weight and hardness of the captured item, allowing it to have a greater impact force when hitting a target. For example, using "air" or "water droplets" to synthesize the item may result in the finished product lacking physical properties (while also introducing other properties). Here, when using multiple item materials with physical characteristics, the physical properties may overlap or cancel each other out (in game scenes, "weight" may also be canceled out, which is determined by the developer's pre-setting of the physical properties of the item materials; for example, the weight of a feather or balloon may be a negative value), and the finished product will have the final physical properties obtained after the item materials overlap or cancel each other out.
[0151] Category C features: attribute features (i.e., the above-mentioned attribute material features). For example, the attributes of item materials may include batteries, water droplets, flint, ice crystals, or plants, etc., which can give the captured item attributes such as electricity, water, fire, ice, or grass. When multiple different item materials are used for synthesis, the finished product will simultaneously overlap the attribute mapping relationships (i.e., the above-mentioned attribute correlations) of multiple attributes. The effect of the attribute mapping relationships on the capture success rate will be described in detail below.
[0152] Category D features: environmental features (i.e., the environmental material features mentioned above). They affect the probability of capturing a finished product in different environments. Environmental features are all paired categories, such as light-dark, dry-humid, hot-cold, or holy-unclean. The specific categories are set in advance by the developer and relate to the growth or collection environment of the item material. For example, a glowing stone collected in a cave has the "dark" feature, and a mushroom that grows only in rainy weather has the "humid" feature. When using multiple item materials with environmental features, the environmental features may overlap or cancel each other out, and the finished product may only have one environmental characteristic.
[0153] Class E items: hidden features (i.e., the hidden material features mentioned above). A finished product synthesized using item materials with hidden features has a hidden effect. For example, a capture item synthesized using a virtual elf's feather can further increase the probability of capturing a virtual elf. For example, a capture item synthesized using a crystal may give the capture target a "crystal material" after successful capture, affecting its appearance. For example, a capture item synthesized using candy will increase the intimacy with the capture target after successful capture, and will not trigger the capture target to escape after unsuccessful capture. Different item materials may have (or not have) various hidden features. This is specified in advance. When multiple item materials with hidden features are used, the finished product will have multiple hidden properties at the same time.
[0154] (3) Item Synthesis Design: Players synthesize captured items by using two or more item materials. Depending on the item materials, the synthesized captured items have the following two to five properties.
[0155] a) Base Capture Chance: This is a required property, determined by the cumulative base value of all item materials, and will be displayed in the name of the corresponding finished product (e.g., beginner capture item and high-end capture item) when the corresponding range is reached.
[0156] b) Physical properties are properties that must be possessed, including weight, hardness, elasticity, etc., and are formed after being superimposed or offset by the physical properties of all item materials. Under the action of the physics engine, they can affect the throwing feel, initial velocity, flight trajectory, impact force, etc. Furthermore, under certain circumstances (for example, the physical properties of all item materials are mutually offset, or materials with no physical properties are used for synthesis), the finished product does not need to have any physical properties, and when used, it is expressed by the initial physical properties (default weight, hardness, or elasticity) and throwing feel.
[0157] c) Attribute characteristics are properties that may be possessed, which are superimposed by the attribute characteristics of all item materials and affect the capture probability when used against capture targets of different attributes, and the mapping relationship to the targets is explained below:
[0158] d) Environmental characteristics are properties that may be possessed. When synthesizing, the environmental characteristics of each item material will be overlapped or offset, and only one environmental characteristic will be retained in the end (for example, if there are still multiple weighted similar environmental characteristics after overlapping or offsetting, one will be retained randomly), which will be displayed as a prefix of the finished product (for example, a high-quality capture item that is humid, or a low-quality capture item that is dark, etc.), and will affect the capture probability under different environmental conditions.
[0159] e) Invisibility properties are properties that may be possessed, including but not limited to retaining the invisibility characteristics of all item materials when synthesized, affecting the capture probability when certain conditions are met, and affecting the target's stats, state, appearance, or behavior after the capture action is completed, and are not obvious.
[0160] For ease of comparison, the following Table 1 exemplarily describes five characteristics and their expressions. [Table 1]
[0161] (4) Attribute mapping relationships.
[0162] When designing a capture target (i.e., a virtual object), attributes of corresponding concepts (e.g., water / fire / ice / grass / electricity, etc.) are assigned to the capture target, and a set of "attribute mapping relationships" is set based on this and displayed to the player. The attribute mapping relationships can be based on the usual "mutually promoting and mutually inhibiting" relationships in games, or direct equivalent mapping relationships (e.g., light and light, electricity and electricity, etc.). As an example, assume there are a total of four attributes a, b, c, and d, and the attribute mapping relationships between them are as shown in Table 2 below. [Table 2]
[0163] Assuming that the capture item and capture target both have one or two attributes, the following nine situations can occur when mapping (capture item attribute → capture target attribute): 4-attribute suppression: for example, cd → ab; 3-attribute suppression: for example, bc → ab; 2-attribute suppression: for example, bc → a, c → ab; single-attribute suppression: for example, b → a; cancellation: for example, a → a, ab → ab; single-attribute resistance: for example, a → b; 2-attribute resistance: for example, a → bc, ab → c; 3-attribute resistance: for example, ab → bc; 4-attribute resistance: for example, ab → cd.
[0164] When the above nine circumstances occur, the capture success rate will decrease in order. Note that the above are only examples when the capture item and capture target are both one or two attributes. When more attributes overlap, there will be more complex suppression and resistance circumstances, but the principle is the same as the above examples.
[0165] (5) Determining the basic capture probability of a capture item: The basic capture probability of a capture item is comprehensively determined by the following four factors. The formula for the basic capture probability can be expressed as P0 = p(Pr, Mr, Me, Ms), where Pr is the base probability and a constant, which is determined by the A-type material characteristics used in synthesis; M is a multiplier and a variable; in this embodiment, there are three types of multipliers, which are the Mr mapping multiplier (i.e., the first attack parameter) determined by the mapping relationship between the capture item and the capture target attribute; the environment when using the capture item and the environment of the capture item; where P0 is the basic capture probability, and the specific function of the basic capture probability formula p(Pr, Mr, Me, Ms) can be set according to needs, thereby ensuring game balance and rationality.
[0166] (6) Processes and interactions.
[0167] Step 1: Collect item materials. Players can acquire item materials through gameplay and check the list of currently held item materials in the game backpack system. The list only displays the base value of the item material when used as a synthesis material, but other characteristics may not be displayed. Of course, other characteristics may be displayed according to needs.
[0168] Step 2: Selecting item materials. The player enters the synthesis interface and can freely select any number of item materials from the list. The system can calculate the accumulated base value of the selected item materials in real time and display the expected name of the finished product (but not the expected prefix). The system also controls the upper limit of the input material quantity, which can be preset according to needs.
[0169] Step 3: Confirm the synthesis. The player confirms the selected item materials and clicks the "Start synthesis" button. The system will synthesize according to the selected item materials and display the synthesis progress bar and animation effect.
[0170] Step 4: Complete the synthesis. After the synthesis is completed, the system will prompt the player to display the synthesis result, and the player can check the information of the finished captured item, including attributes such as prefix (environmental characteristics), name (basic capture probability), attribute characteristics, and physical characteristics such as weight, hardness, or elasticity.
[0171] The beneficial effects of applying the above embodiments of the present application include the following: 1) providing personalized selection: players can select and combine capture items with different characteristics according to their needs and strategies, improving the strategic and fun aspects of the game; 2) increasing the fun of exploration: players can explore and collect different item materials in the game, and infer and authenticate the characteristics of different materials in the process, allowing them to experience a richer flow of play; 3) improving capture efficiency: using capture items with corresponding attributes for capture targets with specific attributes can significantly improve the capture success rate and reduce the time cost of repeated capture; 4) improving the interactivity of the economic system: players can trade and exchange capture items by combining them, enriching the economic interactivity in the game and strengthening the communication and cooperation between players.
[0172] The following game experiences can be achieved based on the present embodiment.
[0173] 1) The player's goal is to capture a "virtual dog" with the attributes "fire" + "ground". 2) The player knows from his game experience that "rock" suppresses "fire" and "flying" suppresses "ground", so he hopes to be able to synthesize a captured item with both "rock" and "flying" attributes. 3) The player consciously searches for item materials during game exploration, while also guessing the attribute characteristics that different item materials may have. Finally, he selects "glowing stone" and "feather" as item materials and tries them out. 4) The player puts "glowing stone" *1 + "feather" *2 into the synthesis system (to reduce the weight and increase the throwing distance), and in the process discovers that the base value only reaches the threshold of the "beginner captured item". In order to increase the base probability, he adds several "pretty crystals" as item materials. 5) confirm the synthesis, and the name of the finished product after synthesis is "Dark Guruball". When the player clicks on the confirmation data, he knows that the finished product has the appropriate weight and hardness, and also has the "rock" and "flying" attributes, which meets his expectations. 6) Because it has the prefix "dark" (given by the glowing stone), the player selects night to carry out the capture, thereby making the most of the increased environmental characteristics. 7) After accurately hitting the target, he calculates the probability and finally succeeds in capturing it. The player unexpectedly discovers that he has obtained an ultra-rare "virtual dog" with crystal material attached to its skin. When confirming his strategy, he realizes that this is an invisible effect brought about by the "beautiful crystal", and that there is a small probability that the appearance of the captured target will change after successful capture.
[0174] The following continues to describe an exemplary structure implemented as a software module of the virtual item synthesis device 555 provided in the embodiments of the present application. In some embodiments, as shown in FIG. 2, the software modules stored in the virtual item synthesis device 555 in the memory 550 may include: a determination module 5551 used to determine multiple target item materials; an acquisition module 5552 used to acquire at least one material feature of each of the target item materials and acquire a material synthesis method corresponding to each type of the material feature; and a synthesis module 5553 used to combine at least one material feature of each of the target item materials and the material synthesis method corresponding to each type of the material feature, and synthesize the multiple target item materials to obtain a virtual item.
[0175] In some embodiments, the determination module 5551 is further used for displaying candidate item materials, receiving a selection operation for a plurality of target candidate item materials among the candidate item materials, and determining, in response to the selection operation, that the plurality of target candidate item materials are the plurality of target item materials.
[0176] In some embodiments, the candidate item materials include at least one type of type item material, and the determination module 5551 is further used to: in response to a quantity edit operation for a target type type item material, receive an edited material quantity for the target type type item material, wherein the at least one type includes the target type; and in response to a confirmation operation for the material quantity, receive a selection operation for the target type type item material of the material quantity, wherein the target type type item material of the material quantity is the plurality of target candidate item materials.
[0177] In some embodiments, the virtual item is used for interaction in a virtual scene, and the determination module 5551 is further used for: acquiring candidate material features of a candidate item material; and acquiring scene interaction features of the virtual scene; invoking a machine learning model to make a prediction based on the candidate material features and the scene interaction features to obtain values of selected indicators of the candidate item material; determining, from the candidate item materials, a plurality of target candidate item materials whose values of the selected indicators satisfy an indicator condition, and determining that the plurality of target candidate item materials are the plurality of target item materials.
[0178] In some embodiments, the virtual item is used for interaction in a virtual scene, and the determination module 5551 is further used for displaying recommended item materials that match scene interaction features of the virtual scene, and in response to a selection operation of an item material, determining that a plurality of target recommended item materials selected by the selection operation of the item material are the plurality of target item materials.
[0179] In some embodiments, the scene interaction features include target attributes of a virtual object to be interacted with using the virtual item, and the determination module 5551 is further used for: obtaining material attributes of candidate item materials; determining a correlation between the material attributes and the target attributes; and, based on the correlation, determining a target candidate item material from the candidate item materials whose correlation satisfies a relationship condition, and setting the target candidate item material as the recommended item material.
[0180] In some embodiments, the material synthesis method includes a feature synthesis method and a feature retention method, and the synthesis module 5553 is further used for: combining the feature synthesis methods of the material features of each type, and performing material synthesis on the material features of each type of the plurality of target item materials, respectively, to obtain an intermediate virtual item, where the intermediate virtual item has the material features of each type, and the material features of each type of the intermediate virtual item each include at least one sub-material feature; combining the feature retention methods of the material features of each type, and determining sub-material features to retain for each type of the material features based on the at least one sub-material feature of the material features of each type; and removing sub-material features that are different from the sub-material features to retain of the intermediate virtual item, to obtain the virtual item.
[0181] In some embodiments, the synthesis module 5553 is further used to perform, for each type of material feature, a process of performing an overlay process on the material features of the plurality of target item materials when the feature synthesis method of the material feature is a feature overlay method; a process of performing a cancellation process on the material features of the plurality of target item materials when the feature synthesis method of the material feature is a feature offset method; a process of determining a first material feature among the material features corresponding to the feature overlay method and a second material feature among the material features corresponding to the feature offset method in the material features when the feature synthesis method of the material feature includes a feature overlay method and a feature offset method; a process of performing an overlay process on the first material feature of the plurality of target item materials and a cancellation process on the second material feature of the plurality of target item materials; and a process of performing an addition process on the feature values of the material features of the plurality of target item materials when the feature synthesis method of the material feature is a feature value addition method.
[0182] In some embodiments, the synthesis module 5553 is further configured to perform, for each type of material feature, when the material feature is a basic material feature, a process of determining a value of a basic attack index when the virtual item hits a virtual target based on at least one sub-material feature of the material feature, and setting the value of the basic attack index as the sub-material feature to be retained; when the material feature is a physical material feature, a process of determining at least one sub-material feature of the material feature as a sub-material feature to be retained for the material feature; and when the material feature is a target material feature, a process of selecting a target sub-material feature from the at least one sub-material feature of the material feature as a sub-material feature to be retained for the material feature, wherein the target material feature is one of an attribute material feature, an environment material feature, and a hidden material feature.
[0183] In some embodiments, when the material feature is a basic material feature, there is one sub-material feature of the material feature, and the sub-material feature is an accumulated material feature obtained by accumulating the basic material features of the plurality of target item materials; and the synthesis module 5553 is further used for: obtaining a first attack parameter, a second attack parameter, and a third attack parameter, where the first attack parameter is determined based on a correlation between an attribute of the virtual item and an attribute of the virtual object; the second attack parameter is determined based on an environmental material feature of the virtual item and a scene feature in which the virtual item is used; and the third attack parameter is determined based on a non-display material feature of the virtual item and a scene feature in which the virtual item is used; obtaining a first mapping relationship among the accumulated material feature, the first attack parameter, the second attack parameter, and the third attack parameter; and combining the first mapping relationship based on the accumulated material feature, the first attack parameter, the second attack parameter, and the third attack parameter to determine a value of a basic attack index when the virtual item hits a virtual object.
[0184] In some embodiments, the synthesis module 5553 is further used for: adjusting the plurality of target item materials to obtain a plurality of second item materials when the value of the basic attack metric is lower than an attack metric threshold, wherein the value of the basic attack metric determined based on the plurality of second item materials is higher than the value of the basic attack metric determined based on the plurality of target item materials; and synthesizing the plurality of second item materials to obtain a target virtual item.
[0185] In some embodiments, the material features may be of multiple types, including a first type of material feature and a second type of material feature; the synthesis module 5553 may further combine the multiple types of material features of each of the target item materials and the corresponding material synthesis methods of the material features of each type to synthesize the multiple target item materials to obtain an intermediate virtual item, wherein the intermediate virtual item has a first synthesis material feature and a second synthesis material feature, the first synthesis material feature being obtained by synthesizing the first type of material feature of the multiple target item materials, and the second synthesis material feature being obtained by synthesizing the second type of material feature of the multiple target item materials; and determining that the intermediate virtual item is the virtual item when the first synthesis material feature satisfies a first condition and the second synthesis material feature satisfies a second condition.
[0186] In some embodiments, the at least one material feature includes a material attribute, and the determination module 5551 is further used for, before the step of determining a plurality of target item materials, responding to a relationship explanation command for an attribute correlation and outputting an explanation content of the attribute correlation, the attribute correlation indicating a correlation between the material attribute and a target attribute of a virtual object to be interacted with using the virtual item, and the determination module 5551 is further used for receiving a selection operation for a plurality of candidate item materials based on the explanation content, and selecting the plurality of candidate item materials as the plurality of target item materials.
[0187] In some embodiments, the item level of the virtual item is a first item level, and the synthesis module 5553 is further used, when there is a first item material used to improve the item level of the virtual item, to obtain at least one first material feature of the first item material and obtain a first material synthesis method corresponding to each type of first material feature; and combine the at least one first material feature of the first item material and the first material synthesis method corresponding to each type of first material feature to synthesize the virtual item and the first item material to obtain a target virtual item, wherein the item level of the target virtual item is a second item level, and the second item level is higher than the first item level.
[0188] In some embodiments, the synthesis module 5553 is further used to respond to a material donation command to a second target when the first target has a first item material, and to send material donation information to the terminal of the second target, where the material donation information is used to donate the first item material to the second target; and the synthesis module 5553 is further used to respond to a donation request command to a third target when the first target does not have a second item material, and to send donation request information to the terminal of the third target, where the donation request information is used to request the third target to donate the second item material to the first target.
[0189] In some embodiments, the synthesis module 5553 is further used to display synthesis prompt information when there are multiple specific item materials used to synthesize a specific virtual item, and the determination module 5551 is further used to determine the multiple specific item materials into the multiple target item materials in response to an item synthesis command triggered based on the synthesis prompt information.
[0190] In some embodiments, the synthesis module 5553 is further used for, after obtaining the virtual item, in response to controlling a first virtual object to interact with a second virtual object, displaying usage prompt information for the virtual item when item features of the virtual item match the second virtual object, wherein the item features include the at least one material feature.
[0191] In some embodiments, the synthesis module 5553 is further used for: displaying at least one of synthesis progress prompt information and synthesis animation effects during the synthesis process of the plurality of target item materials; and displaying item characteristics of the virtual item after obtaining the virtual item, where the item characteristics include the at least one material characteristic.
[0192] In some embodiments, the device further includes a control module used for: in response to the virtual item hitting a virtual object, obtaining an impact parameter of the virtual item on the virtual object, where different impact parameters correspond to different attack effects; determining a value of an attack indicator of the virtual item on the virtual object based on the impact parameter; and determining a result of the attack of the virtual item on the virtual object based on the value of the attack indicator.
[0193] In some embodiments, the control module is further used for: performing a physical simulation of an attack process of controlling the virtual item to attack the virtual object; obtaining at least one physical quantity in the physically simulated attack process; and determining an influence parameter of the virtual item on the virtual object based on the at least one physical quantity.
[0194] In some embodiments, the control module is further used for: obtaining a basic attack index value of the virtual item; and obtaining a basic attack difficulty value of the virtual object; obtaining a second mapping relationship among the impact parameter, the basic attack index value, the basic attack difficulty value, and the attack index value; and combining the second mapping relationship based on the impact parameter, the basic attack index value, and the basic attack difficulty value to determine the attack index value of the virtual item against the virtual object.
[0195] An embodiment of the present application provides a virtual item synthesis device, a receiving module for receiving a selection operation for a plurality of target item materials among the candidate item materials; a material acquisition module, which is used to respond to synthesis commands for a plurality of selected target item materials, acquire at least one material feature of each of the target item materials, and acquire a material synthesis method corresponding to each type of the material feature; and a material synthesis module used to combine at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of the material feature, and synthesize the multiple target item materials to obtain a virtual item.
[0196] It should be noted that the description of the device embodiment in this application is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment, so it will not be repeated here. The technical details not explained in detail in the virtual item synthesis device provided in the embodiment of this application can be understood based on the description of the technical details in the above method embodiment.
[0197] The present embodiment further provides a computer program product, the computer program product including computer-executable instructions or a computer program stored in a computer-readable storage medium, a processor of an electronic device reading the computer-executable instructions or the computer program from the computer-readable storage medium, and the processor executing the computer-executable instructions or the computer program to cause the electronic device to perform the method for synthesizing a virtual item provided by the present embodiment.
[0198] The present embodiment further provides a computer-readable storage medium having stored thereon computer-executable instructions or a computer program, which, when executed by a processor, causes the processor to perform the method of synthesizing a virtual item provided by the present embodiment.
[0199] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM, or may be any device including one or any combination of the above memories.
[0200] In some embodiments, the computer-executable instructions may take the form of a program, software, software module, script, or code, may be written in any type of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, assembly, subroutine, or other unit suitable for use in a computing environment.
[0201] As an example given, the computer-executable instructions may, but do not necessarily, correspond to a file in a file system and may be stored as part of a file that stores other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program under consideration, or in multiple cooperating files (e.g., files in which one or more modules, subroutines, or code portions are stored).
[0202] As an example given, the computer-executable instructions may be deployed to execute on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and connected to each other by a communications network.
[0203] The above is merely an example of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present application are included within the scope of protection of the present application. [Explanation of symbols]
[0204] 100 Virtual Scenes 200 servers 400 terminals 500 Electronic equipment 510 processor 520 network interface 530 User Interface 531 Output Device 532 Input Device 540 Bus System 550 memory 551 Operating Systems 552 Network Communication Module 553 Presentation Module 554 Input Processing Module 555 Synthesizer 5551 Decision Module 5552 Acquisition Module 5553 Synthesis Module
Claims
1. 1. A method for combining virtual items, the method comprising: determining a plurality of target item materials; Obtaining at least one material feature of each of the target item materials, and obtaining a material synthesis method corresponding to each type of the material feature; a step of combining at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of material feature, and synthesizing the plurality of target item materials to obtain a virtual item, the method comprising:
2. The step of determining a plurality of target item materials comprises: displaying candidate item materials; receiving a selection operation for a plurality of target candidate item materials from the candidate item materials; and determining, in response to the selection operation, that the plurality of target candidate item ingredients are the plurality of target item ingredients.
3. The candidate item materials include at least one type of type item material, and the step of receiving a selection operation for a plurality of target candidate item materials among the candidate item materials includes: receiving an edited material quantity for a type item material of a target type in response to a quantity editing operation for the type item material of the target type, wherein the at least one type includes the target type; 3. The method of claim 2, further comprising: a step of receiving a selection operation for a type item material of a target type of the material quantity in response to a confirmation operation for the material quantity, wherein the type item material of the target type of the material quantity is one of the plurality of target candidate item materials.
4. The virtual items are used in virtual scene interaction, and the step of determining a plurality of target item materials includes: obtaining candidate material features of candidate item materials and obtaining scene interaction features of the virtual scene; Invoking a machine learning model to make a prediction based on the candidate material features and the scene interaction features to obtain values of selected indicators of the candidate item materials; 2. The method of claim 1, further comprising: determining, from among the candidate item materials, a plurality of target candidate item materials whose selected index values satisfy an index condition, and determining that the plurality of target candidate item materials are the plurality of target item materials.
5. the virtual item is used to interact with the virtual scene; The step of determining a plurality of target item materials comprises: displaying recommended item materials that match scene interaction characteristics of the virtual scene; 2. The method of claim 1, further comprising: in response to an item material selection operation, determining that a plurality of target recommended item materials selected by the item material selection operation are the plurality of target item materials.
6. The scene interaction features include object attributes of a virtual object to be interacted with using the virtual item, and the method includes: obtaining material attributes of candidate item materials; determining a correlation between the material attribute and the target attribute; The method according to claim 5, further comprising a step of determining a target candidate item material from among the candidate item materials based on the correlation, the target candidate item material satisfying a correlation condition, and setting the target candidate item material as the recommended item material.
7. The material synthesis method includes a feature synthesis method and a feature preservation method, The step of combining at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of the material feature, and synthesizing the target item materials to obtain a virtual item includes: A step of combining feature synthesis methods of the material features of each type and performing material synthesis on the material features of each type of the plurality of target item materials to obtain an intermediate virtual item, wherein the intermediate virtual items have the material features of each type, and the material features of each type of the intermediate virtual items each include at least one sub-material feature; combining feature retention methods of the material features of each type, and determining sub-material features to be retained for the material features of each type based on at least one sub-material feature of the material features of each type; 2. The method of claim 1, further comprising the step of: removing sub-material features of the intermediate virtual item that are different from the sub-material features to be retained to obtain the virtual item.
8. The step of combining feature synthesis methods for the material features of each type and performing material synthesis on the material features of each type of the plurality of target item materials includes: Regarding the material characteristics of each type, a process of performing an overlay process on the material features of the plurality of target item materials when the feature synthesis method of the material features is a feature overlay method; a process of performing an offsetting process on the material features of the plurality of target item materials when the feature synthesis method of the material features is a feature offsetting method; When the feature synthesis method of the material features includes a feature superimposition method and a feature offset method, a process of determining a first material feature corresponding to the feature superimposition method among the material features and a second material feature corresponding to the feature offset method among the material features, and performing a superimposition process on the first material features of the plurality of target item materials and a offset process on the second material features of the plurality of target item materials; The method according to claim 7, further comprising the step of: when the feature synthesis method of the material features is a feature value addition method, performing an addition process on the feature values of the material features of the plurality of target item materials.
9. the step of combining feature retention methods for the material features of each type and determining sub-material features to be retained for the material features of each type based on at least one sub-material feature of the material features of each type, Regarding the material characteristics of each type, When the material feature is a basic material feature, a process of determining a value of a basic attack index when the virtual item hits a virtual target based on at least one sub-material feature of the material feature, and setting the value of the basic attack index as the sub-material feature to be held; a process of determining, when the material feature is a physical material feature, at least one sub-material feature of the material feature as a sub-material feature to be retained of the material feature; 8. The method of claim 7, further comprising: when the material feature is a target material feature, selecting a target sub-material feature from at least one sub-material feature of the material feature as a sub-material feature to be retained of the material feature, the target material feature being one of an attribute material feature, an environmental material feature, and a non-display material feature.
10. When the material feature is a basic material feature, there is one sub-material feature of the material feature, and the sub-material feature is an accumulated material feature obtained by accumulating the basic material features of the plurality of target item materials; The step of determining a value of a basic attack index when the virtual item hits a virtual target based on at least one sub-material feature of the material feature includes: obtaining a first attack parameter, a second attack parameter, and a third attack parameter, wherein the first attack parameter is determined based on a correlation between an attribute of the virtual item and an attribute of the virtual object, the second attack parameter is determined based on an environmental material feature of the virtual item and a scene feature in which the virtual item is used, and the third attack parameter is determined based on a non-display material feature of the virtual item and a scene feature in which the virtual item is used; obtaining a first mapping relationship among the cumulative material feature, the first attack parameter, the second attack parameter, and the third attack parameter; and combining the first mapping relationship based on the cumulative material feature, the first attack parameter, the second attack parameter, and the third attack parameter to determine a value of a basic attack index when the virtual item hits a virtual target.
11. The method comprises: When the value of the basic attack index is lower than an attack index threshold, adjusting the plurality of target item materials to obtain a plurality of second item materials; wherein a value of a basic attack index determined based on the plurality of second item materials is higher than a value of a basic attack index determined based on the plurality of target item materials; 10. The method of claim 9, further comprising: combining the plurality of second item materials to obtain a target virtual item.
12. There are a plurality of types of the material features, and the plurality of types of the material features include a first type of material feature and a second type of material feature; The step of combining at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of the material feature, and synthesizing the target item materials to obtain a virtual item includes: A step of combining multiple types of material features of each of the target item materials and material synthesis methods corresponding to the material features of each type, and synthesizing the multiple target item materials to obtain an intermediate virtual item, wherein the intermediate virtual item has a first composite material feature and a second composite material feature, the first composite material feature being obtained by performing a composite process on a first type of material feature of the plurality of target item materials, and the second composite material feature being obtained by performing a composite process on a second type of material feature of the plurality of target item materials; and determining that the intermediate virtual item is the virtual item when the first synthetic material feature satisfies a first condition and the second synthetic material feature satisfies a second condition.
13. the at least one material characteristic includes a material attribute; Prior to the step of determining a plurality of target item materials, the method further comprises: The method further includes the step of: outputting an explanation of an attribute correlation in response to a relationship explanation command for the attribute correlation, the attribute correlation indicating a correlation between the material attribute and a target attribute of a virtual object to be interacted with using the virtual item; The step of determining a plurality of target item materials comprises: receiving a selection operation for a plurality of candidate item materials based on the description; and selecting the plurality of candidate item materials as the plurality of target item materials.
14. the item level of the virtual item is a first item level, and the method includes: When there are first item materials used to improve the item level of the virtual item, acquiring at least one first material feature of the first item material, and acquiring a first material synthesis method corresponding to each type of first material feature; and combining at least one type of first material feature of the first item material and a first material synthesis method corresponding to each type of first material feature to synthesize the virtual item and the first item material to obtain a target virtual item; 2. The method of claim 1, wherein the item level of the target virtual item is a second item level, the second item level being higher than the first item level.
15. The method comprises: The method further includes a step of transmitting material donation information to a terminal of a second target in response to a material donation command for a first target when the first target has a first item material, the material donation information being used to donate the first item material to the second target; The method comprises: The method of claim 1, further comprising a step of, when the first target does not have the second item material, responding to a gift request command for a third target and sending gift request information to the terminal of the third target, wherein the gift request information is used to request the third target to gift the second item material to the first target.
16. The method comprises: The method further includes a step of displaying synthesis prompt information when there are multiple specific item materials that can be used to synthesize a specific virtual item; The step of determining a plurality of target item materials comprises: The method of claim 1, further comprising determining the plurality of specific item materials as the plurality of target item materials in response to an item synthesis command triggered based on the synthesis prompt information.
17. The method comprises: acquiring an impact parameter of the virtual item on the virtual object in response to the virtual item hitting the virtual object, wherein different impact parameters correspond to different attack effects; determining a value of an attack index of the virtual item against the virtual object based on the influence parameter; The method of claim 1 , further comprising: determining an attack result of the virtual item against the virtual target based on the value of the attack indicator.
18. The step of acquiring an influence parameter of the virtual item on the virtual object includes: performing a physical simulation of an attack process in which the virtual item is controlled to attack the virtual object; obtaining at least one physical quantity in the physically simulated attack process; and determining an influence parameter of the virtual item on the virtual subject based on the at least one physical quantity.
19. determining a value of an attack index of the virtual item against the virtual object based on the influence parameter, obtaining a basic attack index value of the virtual item and a basic attack difficulty value of the virtual object; obtaining a second mapping relationship between the influence parameter, the basic attack index value, the basic attack difficulty value, and the attack index value; and combining the second mapping relationship based on the influence parameter, the basic attack index value, and the basic attack difficulty value to determine an attack index value of the virtual item against the virtual target.
20. 1. A method for combining virtual items, the method comprising: receiving a selection operation for a plurality of target item materials from the candidate item materials; In response to synthesis commands for a plurality of selected target item materials, acquiring at least one material feature of each of the target item materials, and acquiring a material synthesis method corresponding to each type of the material feature; a step of combining at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of material feature, and synthesizing the plurality of target item materials to obtain a virtual item, the method comprising:
21. The method comprises: Responding to an attack command to a virtual object, controlling the virtual item to attack the virtual object; determining a value of an attack index of the virtual item against the virtual object based on an influence parameter of the virtual item against the virtual object in response to the virtual item hitting the virtual object, wherein different influence parameters correspond to different attack effects; 21. The method of claim 20, further comprising: controlling the virtual item to successfully defeat the virtual object when the value of the attack indicator reaches an attack indicator threshold.
22. 1. A device for synthesizing a virtual item, the device comprising: a determination module adapted to determine a plurality of target item materials; an acquisition module, which is used to acquire at least one material feature of each of the target item materials, and acquire a material synthesis method corresponding to each type of the material feature; and a synthesis module used to combine at least one material feature of each of the target item materials and a material synthesis method corresponding to each type of material feature, and synthesize the plurality of target item materials to obtain a virtual item.
23. An electronic device, the electronic device comprising: a memory adapted to store computer-executable instructions; A processor used to implement the method for synthesizing a virtual item according to any one of claims 1 to 21 when executing computer-executable instructions stored in the memory.
24. A computer-readable storage medium having stored thereon computer-executable instructions or a computer program, the computer-executable instructions or the computer program being characterized in that, when executed by a processor, the computer-readable storage medium implements the method for synthesizing virtual items according to any one of claims 1 to 21.
25. 22. A computer program product comprising computer executable instructions or a computer program, which, when executed by a processor, implements the method for synthesizing virtual items according to any one of claims 1 to 21.