Interaction method, device and computer readable storage medium in game

By acquiring the virtual identity and skills of virtual objects and changing the attributes of virtual items, the problem of monotonous existing game interaction methods is solved, and the interactive effects of the game and the player experience are improved.

CN117046096BActive Publication Date: 2026-11-27GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311108319.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-30
Publication Date
2026-11-27
Estimated Expiration
2043-08-30

AI Technical Summary

Technical Problem

Existing game interaction methods are rather monotonous, resulting in a poor player experience.

Method used

By obtaining the virtual identity of virtual objects in a virtual scene, determining their identity skills, and then changing the attributes of virtual props according to their identity skills, the target prop attributes that match the virtual identity are obtained, so that interaction can be carried out in the virtual scene.

Benefits of technology

It enriches the player's interactive experience in the game, and improves the interactive effects and overall experience of the game.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117046096B_ABST
    Figure CN117046096B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a kind of interactive methods in game, device and computer readable storage medium;By obtaining the virtual identity obtained by virtual object in virtual scene, determine the identity skill equipped by virtual identity obtained by virtual object;According to the virtual prop attribute transformation of virtual prop selected by virtual object according to identity skill, obtain target prop attribute matched with virtual identity;Based on target prop attribute, control virtual object to use virtual prop and interact in virtual scene.This way, according to the virtual identity obtained by virtual object, determine the identity skill obtained by virtual object, so as to transform the target prop matched with current virtual identity according to the virtual prop selected by virtual object according to identity skill, to enrich the interactive effect of player in game based on target prop.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of game technology, and more specifically to an interaction method, device, and computer-readable storage medium in a game. Background Technology

[0002] With the rapid development of life and technology, people often use game applications for entertainment and relaxation. In existing games, players can select virtual items such as stones and branches to interact with other players in battles, cooperation, and other ways, thereby increasing the interactive experience.

[0003] Research and practice on existing technologies have revealed that the interaction methods in existing games are relatively monotonous, resulting in poor player interaction and thus reducing the player's gaming experience. Summary of the Invention

[0004] This application provides an interaction method, apparatus, and computer-readable storage medium in a game, which can improve the interaction effect in the game and thus enhance the player's gaming experience.

[0005] This application provides an interaction method in a game, including:

[0006] Retrieve the virtual identity of a virtual object in a virtual scene;

[0007] Based on the virtual identity obtained by the virtual object, determine the identity skills equipped by the virtual identity obtained by the virtual object through the virtual identity;

[0008] Based on the identity skills, the virtual props selected by the virtual object are transformed to obtain target prop attributes that match the virtual identity;

[0009] Based on the target item's attributes, the virtual object is controlled to interact with the virtual scene using the virtual item.

[0010] Accordingly, embodiments of this application provide an interactive device for games, including:

[0011] An identity determination unit is used to obtain the virtual identity of a virtual object in a virtual scene.

[0012] A skill determination unit is used to determine the identity skills equipped by the virtual identity obtained by the virtual object based on the virtual identity obtained by the virtual object.

[0013] The prop attribute transformation unit is used to transform the prop attributes of the virtual props selected by the virtual object according to the identity skill, so as to obtain the target prop attributes that match the virtual identity;

[0014] The game interaction unit is used to control the virtual object to interact with the virtual scene using the virtual item based on the attributes of the target item.

[0015] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute steps in any of the interactive methods in a game provided in embodiments of this application.

[0016] Furthermore, this application also provides a computer device, including a processor and a memory, wherein the memory stores an application program, and the processor is used to run the application program in the memory to implement the interactive method in the game provided in this application.

[0017] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in the interactive method in the game provided in this application.

[0018] This application embodiment obtains the virtual identity of a virtual object in a virtual scene; based on the virtual identity, it determines the identity skills associated with that virtual identity; it transforms the attributes of a virtual item selected by the virtual object according to the identity skills, obtaining target item attributes that match the virtual identity; and it controls the virtual object to interact in the virtual scene using the virtual item based on the target item attributes. In this way, by obtaining the virtual identity of a virtual object, determining its identity skills, and then transforming the virtual item selected by the virtual object into a target item that matches the current virtual identity, the player's interactive experience in the game is enriched based on the target item, thereby improving the interactive effect in the game. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram illustrating an implementation scenario of an interaction method in a game provided in an embodiment of this application;

[0021] Figure 2This is a flowchart illustrating an interaction method in a game provided in an embodiment of this application;

[0022] Figure 3 This is a schematic diagram of the structure of the interactive device in the game provided in the embodiments of this application;

[0023] Figure 4 This is a schematic diagram of the structure of the computer device provided in the embodiments of this application. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0025] This application provides an interaction method, apparatus, and computer-readable storage medium for games. The interaction apparatus in the game can be integrated into a computer device, which can be a server, a terminal, or other similar device.

[0026] The server can be a standalone physical server, a server cluster or distributed system composed 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 communication, middleware services, domain name services, security services, content delivery network (CDN) acceleration services, and big data and artificial intelligence platforms. The terminal can include, but is not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, vehicle terminals, and aircraft. The terminal and server can be directly or indirectly connected via wired or wireless communication, which is not limited herein.

[0027] Please see Figure 1 Taking the integration of interactive devices in games into computer devices as an example, Figure 1 This is a schematic diagram illustrating an implementation scenario of the game interaction method provided in this application. The computer device can be a terminal, which can acquire the virtual identity obtained by a virtual object in a virtual scene; determine the identity skills equipped by the virtual identity obtained by the virtual object based on the virtual identity; transform the attributes of the virtual props selected by the virtual object based on the identity skills to obtain the target prop attributes that match the virtual identity; and control the virtual object to use the virtual props to interact in the virtual scene based on the target prop attributes.

[0028] It should be noted that, Figure 1 The illustrated scenario of the game interaction method is merely an example. The implementation environment of the game interaction method described in this application is for the purpose of more clearly illustrating the technical solution of this application and does not constitute a limitation on the technical solution provided in this application. Those skilled in the art will recognize that, with the evolution of data processing and the emergence of new business scenarios, the technical solution provided in this application is also applicable to similar technical problems.

[0029] The solutions provided in this application are specifically illustrated through the following embodiments. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0030] This embodiment will be described from the perspective of the interactive device in the game. The interactive device in the game can be integrated into a computer device, which can be a terminal and / or a server. This application does not limit this.

[0031] Please see Figure 2 , Figure 2 This is a flowchart illustrating the interaction method in a game provided in this application embodiment. The interaction method in the game includes:

[0032] In step 101, the virtual identity of the virtual object in the virtual scene is obtained.

[0033] The virtual scene (or game scene) can be a virtual scene displayed (or provided) by the game application when it runs on a terminal or server. Optionally, the virtual scene can be a simulation environment of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be either a two-dimensional or three-dimensional virtual scene, and the virtual environment can be sky, land, ocean, etc., where the land includes environmental elements such as deserts and cities. The virtual object (or game object, game character) can refer to a controllable dynamic object in the virtual scene. Optionally, the dynamic object can be a virtual character, virtual animal, anime character, etc. The virtual identity can be a character identity in the game, such as a chef, shopkeeper, assassin, doctor, etc.

[0034] There are several ways to obtain the virtual identity of a virtual object in a virtual scene. For example, one can obtain the clothing information of a virtual object in a virtual scene and determine the virtual identity of the virtual object based on the clothing information.

[0035] The clothing information can describe the clothing worn by the virtual object. The clothing worn by the virtual object can include clothing such as tops, coats, pants, aprons, shoes, hats, masks, earrings, and crowns. The clothing information can also include tag information for the clothing worn by the virtual object. The tag information can describe the appearance, function, and characteristics of the clothing worn by the virtual object. For example, if the virtual object is wearing night clothes, the tags for the night clothes can include tags such as black, fitted, and masked. Optionally, the tag information can describe the virtual identity matched by the clothing worn by the virtual object. The virtual identity can be the identity of a character in the game, such as a chef, shopkeeper, assassin, doctor, or physician in the game.

[0036] There are several ways to determine the virtual identity of a virtual object based on clothing information. For example, the clothing information may include clothing tag information. The identity tag information corresponding to the candidate virtual identity can be obtained, the tag matching degree between the clothing tag information and the identity tag information can be calculated, and the virtual identity that matches the virtual object can be selected from the candidate virtual identities based on the tag matching degree.

[0037] The clothing tag information can describe the characteristics of the clothing worn by the virtual object. For example, it can describe the appearance, function, and features of the clothing worn by the virtual object. For instance, when a virtual object wears night clothes, its corresponding clothing tag information could be tags such as black, fitted, and masked. The candidate virtual identity can be one of multiple virtual identities provided in the game. The identity tag information can describe the characteristics of the candidate virtual identity. For example, it can describe the appearance, skills, and traits of the candidate virtual identity. For instance, for the candidate virtual identity "assassin," its corresponding identity tag information could be tags such as fitted, black, and masked. The tag matching degree can measure the degree of matching between the clothing tag information and the identity tag information.

[0038] There are several ways to calculate the tag matching degree between clothing tag information and identity tag information. For example, the clothing tag information corresponding to each garment can include multiple tags describing the current garment, and the identity tag information corresponding to each candidate virtual identity can include multiple tags describing the current candidate virtual identity. Specifically, the clothing tag information can include at least one first tag, and the identity tag information can include at least one second tag. The tag similarity between the second tag in the identity tag information and the first tag in the clothing tag information can be calculated. The tag similarities corresponding to the second tags are accumulated to obtain the total tag similarity between each second tag and the clothing tag information. The total tag similarities corresponding to the identity tag information are then accumulated to obtain the tag matching degree between the identity tag information and the clothing tag information.

[0039] The first tag can be a tag from the clothing tag information of the clothing worn by the virtual object. For example, when the virtual object wears night clothes, the clothing tag information corresponding to the night clothes can be tags such as black, fitted, and masked. Therefore, the first tag can be the tag "black", the tag "fitted", or the tag "masked". The second tag can be a tag from the identity tag information of the candidate virtual identity. For example, for the candidate virtual identity assassin, its corresponding identity tag information can be tags such as fitted, black, and masked. Therefore, the second tag can be the tag "fitted", the tag "black", or the tag "masked". The tag similarity can be information describing the degree of similarity between a first tag corresponding to a piece of clothing worn by the virtual object and a second tag corresponding to a candidate virtual identity. The total tag similarity can be information measuring the total degree of similarity between a second tag in a candidate virtual identity and the first tags of all clothing worn by the virtual object.

[0040] There are several ways to calculate the label similarity between the second label in the identity label information and the first label in the clothing label information. For example, features can be extracted from the second label in the identity label information and the first label in the clothing label information to obtain the second label features representing the second label and the first label features representing the first label. Then, the cosine similarity between the second label features and the first label features can be calculated to obtain the label similarity between the second label and the first label. For example, suppose a virtual object is wearing night clothes and a chef's hat. The clothing tag information corresponding to the night clothes may include first tags such as "slim fit" and "black". The clothing tag information corresponding to the hat may include first tags such as "white" and "tall hat". The candidate virtual identity includes assassin, chef, etc. The identity tag information corresponding to the assassin may include second tags such as "slim fit", "black" and "masked". The identity tag information corresponding to the chef may include second tags such as "white", "wearing an apron", and "wearing a tall hat". In this way, the similarity between each first tag ("slim fit", "black", "white", "tall hat") and each second tag ("slim fit", "black", "masked", "white", "wearing an apron", "wearing a tall hat") can be calculated to obtain the tag similarity corresponding to each second tag.

[0041] After calculating the label similarity between the second label in the identity label information and the first label in the clothing label information, the label similarity corresponding to the second label can be accumulated to obtain the total label similarity between each second label and the clothing label information. The total label similarity corresponding to the identity label information is then accumulated to obtain the label matching degree between the identity label information and the clothing label information. The process involves summing the similarity scores of the second tags to obtain the total tag similarity between each second tag and the clothing tag information. There are multiple ways to sum the total tag similarity scores of the identity tag information to obtain the tag matching degree between the identity tag information and the clothing tag information. For example, suppose a virtual object wears night clothes and a chef's hat. The clothing tag information corresponding to the night clothes may include first tags such as "slim fit" and "black," and the clothing tag information corresponding to the hat may include first tags such as "white" and "tall hat." The candidate virtual identities include assassins and chefs. The identity tag information corresponding to an assassin may include second tags such as "slim fit," "black," and "masked," and the identity tag information corresponding to a chef may include second tags such as "white," "wearing an apron," and "wearing a tall hat." After calculating the tag similarity between the second tags and the first tags, a second tag ("slim fit," "black," "masked," "white") can be... The similarity scores of the second label ("wearing an apron" or "wearing a top hat") with each first label ("slim fit", "black", "white", and "top hat") are summed to obtain the total label similarity score for each second label ("slim fit", "black", "masked", "white", "wearing an apron" or "wearing a top hat"). Then, the total label similarity scores for each second label ("white", "wearing an apron", and "wearing a top hat") in the chef's identity label information are summed to obtain the label matching degree between the chef's identity label information and the clothing label information of the night outfit, as well as the label matching degree between the chef's identity label information and the clothing label information of the hat. Similarly, the total label similarity scores for each second label ("slim fit", "black", and "masked") in the assassin's identity label information are summed to obtain the label matching degree between the assassin's identity label information and the clothing label information of the night outfit, as well as the label matching degree between the assassin's identity label information and the clothing label information of the hat.

[0042] After calculating the tag matching degree between clothing tag information and identity tag information, virtual identities that match the virtual object can be filtered from candidate virtual identities based on the tag matching degree. There are several ways to filter virtual identities that match the virtual object based on tag matching degree. For example, a matching degree threshold can be obtained and compared with the tag matching degree. Candidate virtual identities with tag matching degrees greater than the threshold can be identified as matching virtual identities. This matching degree threshold can be a set critical value for matching degree. When the tag matching degree is greater than the critical value, the candidate virtual identity corresponding to that tag matching degree can be considered a matching virtual identity; when the tag matching degree is not greater than the critical value, the candidate virtual identity corresponding to that tag matching degree can be considered not a matching virtual identity. Therefore, by calculating the tag matching degree between the clothing tag information of each garment worn by the virtual object and the identity tag information of each candidate virtual identity, the matching degree between the clothing worn by the virtual object and each candidate virtual identity can be measured. Thus, the candidate virtual identity with a higher matching degree can be determined as the virtual identity that best matches the virtual object based on the current clothing. In this way, players can acquire the corresponding clothing and wear it to transform their current virtual identity into the desired virtual identity, thereby gaining the corresponding abilities or permissions, enriching the player's game interaction experience, and thus improving the interactive effect in the game.

[0043] Optionally, there are several other ways to determine the virtual identity corresponding to a virtual object based on clothing information. For example, the clothing information includes a virtual identity tag corresponding to the clothing. The size information of each piece of clothing worn by the virtual object can be obtained. The size ratio of each piece of clothing can be determined based on the size information. The target clothing can be selected from the clothing based on the size ratio. The virtual identity matching the virtual object can be selected from the candidate virtual identities based on the virtual identity tag corresponding to the target clothing.

[0044] The virtual identity tag can be a tag describing identity information corresponding to each garment. For example, different hats can correspond to different virtual identity tags. For instance, a chef's hat can be labeled as a chef, a doctor's hat as a doctor, and a night outfit as an assassin. The garment size information can be the size information of the garment worn by the virtual object. For example, it can be information describing the size of the garment worn by the virtual object, such as the area of ​​the garment. The size ratio can be the proportion of the size of the garment worn by the virtual object among all the garments worn by the virtual object. The target garment can be the garment selected from the garments worn by the virtual object that can represent the virtual identity of the current virtual object.

[0045] There are several ways to filter target clothing based on size ratio. For example, one can obtain clothing attribute information for each garment, determine the identity influence parameters corresponding to each garment based on size ratio and clothing attribute information, and then filter target clothing based on the identity influence parameters.

[0046] The clothing attribute information can be attribute information about the clothing worn by the virtual object, including information describing the nature and relationship of the clothing. This can include the clothing's level, the degree of attribute enhancement to the virtual object, etc. A higher clothing level has a greater influence on determining the virtual identity matched by the virtual object, and vice versa. A higher clothing level has a smaller influence, and a greater degree of attribute enhancement to the virtual object has a greater influence. The clothing attribute information can also include the clothing's identity influence weight. This identity influence weight can be a preset weight assigned to the clothing based on business conditions. A larger weight indicates a greater influence on determining the virtual identity of the virtual object, while a smaller weight indicates a smaller influence. The identity influence parameter can be a parameter used to determine the result of determining the virtual identity matching the virtual object from among the candidate virtual identities for each type of clothing.

[0047] There are several ways to determine the identity influence parameters corresponding to each garment based on size ratio and clothing attribute information. For example, the size ratio and clothing attribute information can be weighted and summed to obtain the identity influence parameters corresponding to each garment. The specific weighted summation method can be set according to actual business needs, and this application does not limit it here.

[0048] After determining the identity influence parameters for each garment based on size proportions and clothing attribute information, target garments can be selected from among the garments according to these parameters. There are several ways to select target garments based on identity influence parameters. For example, an identity influence parameter threshold can be obtained. This threshold can be a pre-set cutoff value. When the identity influence parameter of a garment exceeds this cutoff value, the garment can be identified as the target garment. Thus, the identity influence parameters of each garment can be compared with this threshold, and garments with identity influence parameters exceeding the threshold can be identified as target garments. In this case, the virtual object can simultaneously acquire multiple virtual identities. Optionally, the garment with the highest identity influence parameter among all garments can be identified as the target garment. In this case, the virtual object can acquire only one virtual identity.

[0049] Alternatively, there are several other ways to obtain the virtual identity of a virtual object in a virtual scene. For example, the virtual identity of a virtual object can be determined based on the skills it has learned or the tasks it has completed.

[0050] There are several ways to determine the virtual identity of a virtual object based on the skills it has learned. For example, one can set the skills required to acquire each virtual identity, and then count the skills learned by the virtual object. When the skills learned by the virtual object meet the requirements for acquiring a virtual identity, the virtual object can be determined to have acquired that virtual identity. For instance, suppose acquiring the virtual identity "chef" requires learning the skills of chopping vegetables and combining ingredients. When the virtual object learns the skills of chopping vegetables and combining ingredients, it can acquire the virtual identity "chef".

[0051] There are several ways to determine the virtual identity of a virtual object based on the tasks it completes. For example, one can set the tasks required to obtain each virtual identity, and then count the tasks completed by the virtual objects. When a virtual object completes the tasks required to obtain a virtual identity, it can be determined that the virtual object has obtained that virtual identity. For instance, suppose obtaining the virtual identity "Assassin" requires completing the tasks of escaping from a locked room and finding a treasure chest in a maze. Therefore, the virtual object can obtain the virtual identity "Assassin" when it completes these two tasks.

[0052] In step 102, based on the virtual identity obtained by the virtual object, the identity skills equipped by the virtual identity obtained by the virtual object are determined.

[0053] Among them, the identity skill can be the skills equipped by the virtual identity. For example, an assassin can be equipped with skills such as throwing weapons and stealth skills, while a chef can be equipped with skills such as cooking skills and vegetable cutting skills.

[0054] When a virtual character acquires a virtual identity, they simultaneously gain the skills associated with that identity. Players can then acquire and wear clothing matching the skills they need within the game, thereby obtaining the corresponding virtual identity. Based on this virtual identity, they can then acquire the required skills, enriching the gameplay experience, enhancing game interaction, and ultimately improving the overall gaming experience.

[0055] In step 103, the virtual props selected by the virtual object are transformed according to the identity skills to obtain the target prop attributes that match the virtual identity.

[0056] The virtual prop can be an item in the game, such as items owned by the player, or items existing in the virtual scene, such as branches, leaves, stones, needles, ropes, etc. The target prop attribute can be the attribute obtained after transforming the virtual prop based on the currently equipped identity skill. This attribute can be the effect produced when the virtual object uses the virtual prop. For example, if the identity skill is a throwing weapon skill and the virtual prop is a knife, the target prop attribute could be increased damage; if the identity skill is a vegetable-cutting skill and the virtual prop is a knife, the target prop attribute could be increased vegetable-cutting speed; if the identity skill is a concealment skill and the virtual prop is a leaf, the target prop attribute could be increased concealment depth, etc.

[0057] In one embodiment, there are several ways to transform the item attributes of a selected virtual item based on the identity skill to obtain a target item attribute that matches the virtual identity. For example, one can obtain the virtual object's proficiency in the identity skill under the virtual identity; determine the applicable candidate identity skills corresponding to the convertible item attributes of the virtual item; select the target identity skill from the candidate identity skills based on the proficiency corresponding to the identity skill; and convert the item attribute of the virtual item into a target item attribute that matches the target identity skill.

[0058] The proficiency level refers to the level of skill the virtual object possesses when using the virtual identity's skills. The convertible item attribute refers to the changeable attribute of the virtual item. Specific convertible items can be pre-configured based on the nature of the virtual item and business settings. For example, for the virtual item "knife," convertible item attributes such as increased cutting speed and increased damage depth can be configured; for the virtual item "stone," convertible item attributes such as increased damage range and increased damage intensity can be configured; and for the virtual item "leaf," convertible item attributes such as increased message transmission speed and increased concealment depth can be configured. The candidate identity skill can be the identity skill corresponding to the convertible item attribute, or the identity skill required to use the convertible item attribute. For example, when the convertible item attribute is increased concealment depth, the candidate identity skill could be skills such as concealment or transformation. The target identity skill can be the identity skill with the highest proficiency among the candidate identity skills.

[0059] Optionally, when measuring a virtual object's proficiency in the skills of its virtual identity, proficiency can be measured by the number of times the virtual object uses the skill or a skill of the same type as the virtual identity and the effect of using it. Alternatively, proficiency can be determined based on the virtual object's own abilities. For example, when the identity skill is a hidden weapon skill, if the virtual object has greater wrist strength, strength, or throwing accuracy, it can be considered that the virtual object has a higher proficiency in the hidden weapon skill of the virtual identity "assassin".

[0060] There are several ways to select a target identity skill from among the candidate identity skills based on the proficiency level of the identity skill, and convert the item attributes of the virtual item into the target item attributes that match the target identity skill. For example, the candidate identity skills can be sorted from high to low based on the proficiency level of the identity skill, so that the candidate identity skill with the highest proficiency level can be determined as the target identity skill, and then the convertible item attributes corresponding to the target identity skill can be determined as the target item attributes of the virtual item.

[0061] In one embodiment, the virtual object can be transformed based on its identity skills to obtain a target item that matches the virtual identity, thereby enabling the virtual object to interact in the virtual scene based on the target item.

[0062] The target item can be an item obtained by transforming a virtual item.

[0063] There are several ways to transform virtual items selected by virtual objects based on identity skills to obtain target items that match the virtual identity. For example, one can obtain the attribute information of virtual items, display candidate transformation items based on the attribute information and identity skills, and transform the virtual items into the selected target items in response to the item selection operation of the candidate transformation items.

[0064] The attribute information describes the properties and relationships of virtual items, including material properties such as weight, volume, shape, and hardness. Material properties can include those of stone, wood, metal, and liquid. The candidate transformation item is a list of items that can be transformed from the virtual item. These items are selected based on the virtual item's attribute information and the virtual object's acquired skills, and then displayed to the player for selection. The item selection operation allows the player to choose the target item from the candidate transformation items.

[0065] Based on attribute information and identity skills, there can be multiple ways to display candidate transformation props. For example, when the material property of the virtual prop is stone and the virtual identity is a chef, candidate transformation props such as stone pot, stone spatula, and stone chopsticks can be displayed. When the virtual prop is a tree branch, the virtual identity is an assassin, and the identity skill is hidden weapon skill, candidate transformation props such as hidden weapon and throwing dart can be displayed. The specific settings can be made according to actual business needs, and this application does not limit them here.

[0066] In one embodiment, there are several ways to transform the virtual props selected by the virtual object according to the identity skills to obtain the target props that match the virtual identity. For example, the proficiency of the virtual object with the identity skills under the virtual identity can be obtained, the applicable candidate identity skills corresponding to the convertible props of the virtual props can be determined, and the target identity skill can be selected from the candidate identity skills according to the proficiency of the identity skills, and the virtual props can be transformed into target props that match the target identity skills.

[0067] The "proficiency" refers to the level of skill a virtual object possesses when using its virtual identity. The "convertible prop" refers to the transformable props corresponding to the virtual prop. Specific convertible props can be pre-set based on the nature of the virtual prop and business settings. For example, for the virtual prop "tree branch," convertible props such as a cane, sword, fork, and chopsticks can be configured; for the virtual prop "stone," convertible props such as bombs, tables, and sofas can be configured. The "candidate identity skill" can be the identity skill corresponding to the convertible prop, or the identity skill required to use the convertible prop. The "target identity skill" can be the identity skill with the highest proficiency among the candidate identity skills.

[0068] Optionally, when measuring a virtual object's proficiency in the skills of its virtual identity, proficiency can be measured by the number of times the virtual object uses the skill or a skill of the same type as the virtual identity and the effect of using it. Alternatively, proficiency can be determined based on the virtual object's own abilities. For example, when the identity skill is a hidden weapon skill, if the virtual object has greater wrist strength, strength, or throwing accuracy, it can be considered that the virtual object has a higher proficiency in the hidden weapon skill of the virtual identity "assassin".

[0069] Among them, there are several ways to select the target identity skill from the candidate identity skills based on the proficiency of the identity skill and convert the virtual item into the target item that matches the target identity skill. For example, the candidate identity skills can be sorted from high to low according to the proficiency of the identity skill, so that the candidate identity skill with the highest proficiency can be determined as the target identity skill. Then, the convertible item corresponding to the target identity skill can be determined as the target item corresponding to the virtual item, and the virtual item can be transformed into the target item.

[0070] In step 104, the virtual object is controlled to use the virtual prop to interact in the virtual scene based on the target prop's attributes.

[0071] There are various ways to control virtual objects to interact with virtual objects in a virtual scene based on the attributes of the target item. For example, virtual objects based on the attributes of the target item can be used to fight against other virtual objects, or virtual objects based on the attributes of the target item can be used to renovate houses in a virtual scene, or virtual objects based on the attributes of the target item can be used to remove obstacles, etc.

[0072] Optionally, the virtual item can also be configured with usage effects that match the material properties of the virtual item. For example, when the virtual identity is an assassin, if the virtual item is a "needle," the virtual assassin can use the virtual item "needle" based on the concealed weapon skill, thereby making the virtual item "needle" faster and more piercing, thus increasing the chance of a one-hit kill. If the virtual item is a stone, the virtual assassin can use the virtual item "stone" based on the concealed weapon skill, thereby making the virtual item "stone" have a wider attack range and greater attack power, thus increasing the chance of serious injury to the attacked target, etc.

[0073] In one embodiment, a virtual object can acquire at least two virtual identities, allowing it to switch between them during game interactions to change its skills. This enriches the diversity of interaction methods in the game, enhances the interactive effects, and improves the player's gaming experience. Specifically, it can receive identity switching requests for virtual objects, switch the virtual object's current virtual identity to the target virtual identity corresponding to the switching request, and transform the attributes of virtual items according to the target virtual identity to obtain updated item attributes that match the target virtual identity.

[0074] The identity switching request can be an instruction to request a change in the current virtual identity of a virtual object. The target virtual identity can be the virtual identity to be switched to. The updated item attributes can be the item attributes obtained by changing the item attributes of the virtual item after switching the virtual identity.

[0075] There are several ways to change the attributes of virtual items based on the target virtual identity to obtain updated item attributes that match the target virtual identity. For example, assuming the virtual object's original identity was an assassin, the virtual item was a knife, and the target item's attribute was increased damage, switching the virtual identity to the target virtual identity "chef" allows the player to change the virtual item's attributes using the "chef's" identity skills, resulting in updated item attributes that match the target virtual identity. For example, this could increase vegetable-cutting speed. Specific item attribute change rules can be set according to actual business needs. In this way, players can switch their current virtual identity to acquire corresponding identity skills when encountering problems or obstacles in the game. They can then use these acquired identity skills to change the attributes of virtual items, thereby resolving problems or obstacles encountered in the game, improving the interactive effect, and ultimately enhancing the player's gaming experience.

[0076] As described above, this application embodiment obtains the virtual identity of a virtual object in a virtual scene; determines the identity skills associated with that virtual identity based on the virtual identity; transforms the attributes of the virtual items selected by the virtual object according to the identity skills to obtain target item attributes that match the virtual identity; and controls the virtual object to interact in the virtual scene using the virtual items based on the target item attributes. In this way, by obtaining the virtual identity of a virtual object and determining its identity skills, the virtual items selected by the virtual object are transformed into target items that match the current virtual identity, thereby enriching the player's interactive experience in the game and enhancing the interactive effect of the game.

[0077] To better implement the above methods, embodiments of the present invention also provide an interactive device in a game, which can be integrated into a computer device, which can be a terminal.

[0078] For example, such as Figure 3 The diagram shown is a structural schematic of an interactive device in a game provided in this application embodiment. This interactive device may include an identity determination unit 201, a skill determination unit 202, an item attribute transformation unit 203, and a game interaction unit 204, as follows:

[0079] The identity determination unit 201 is used to obtain the virtual identity of a virtual object in a virtual scene.

[0080] The skill determination unit 202 is used to determine the identity skills equipped by the virtual identity obtained by the virtual object based on the virtual identity obtained by the virtual object.

[0081] The prop attribute transformation unit 203 is used to transform the prop attributes of the selected virtual props of the virtual object according to the identity skills, so as to obtain the target prop attributes that match the virtual identity.

[0082] The game interaction unit 204 is used to control virtual objects to interact with virtual objects in a virtual scene based on the attributes of the target prop.

[0083] In some embodiments, the prop attribute transformation unit 203 is used for:

[0084] To obtain the proficiency of a virtual object in the skills required for that virtual identity;

[0085] Determine the applicable candidate identity skills corresponding to the convertible item attributes of virtual items, and select the target identity skill from the candidate identity skills based on the proficiency level of the identity skills.

[0086] Convert the attributes of virtual items to match the attributes of the target's identity and skills.

[0087] In some embodiments, virtual props are also configured with usage effects that match the material properties of the virtual props.

[0088] In some embodiments, the identity determination unit 201 includes:

[0089] The clothing information acquisition subunit is used to acquire clothing information of virtual objects in the virtual scene;

[0090] The virtual identity determination subunit is used to determine the virtual identity obtained by a virtual object based on clothing information.

[0091] In some embodiments, the clothing information includes clothing tag information, and the virtual identity determination subunit includes:

[0092] The identity tag information acquisition subunit is used to acquire the identity tag information corresponding to the candidate virtual identity;

[0093] The tag matching degree calculation subunit is used to calculate the tag matching degree between clothing tag information and identity tag information;

[0094] The virtual identity filtering subunit is used to filter out virtual identities that match the virtual object from the candidate virtual identities based on the tag matching degree.

[0095] In some embodiments, the clothing label information includes at least one first label, and the identity label information includes at least one second label. The label matching calculation subunit is used for:

[0096] Calculate the label similarity between the second label in the identity label information and the first label in the clothing label information;

[0097] The tag similarity scores corresponding to the second tag are summed to obtain the total tag similarity between each second tag and the clothing tag information.

[0098] The total similarity of the identity tag information is accumulated to obtain the tag matching degree between the identity tag information and the clothing tag information.

[0099] In some embodiments, the clothing information includes a virtual identity tag corresponding to the clothing, and a virtual identity determination subunit, including:

[0100] The size ratio determination subunit is used to obtain the clothing size information corresponding to each garment worn by the virtual object, and determine the size ratio corresponding to each garment based on the clothing size information;

[0101] The target clothing filtering subunit is used to filter out target clothing based on size proportions.

[0102] The virtual identity filtering subunit is used to filter out virtual identities that match the virtual object from the candidate virtual identities based on the virtual identity tag corresponding to the target clothing.

[0103] In some embodiments, the target clothing filtering subunit is used for:

[0104] Obtain the clothing attribute information for each garment;

[0105] Determine the identity impact parameters for each garment based on size proportions and clothing attribute information;

[0106] Target clothing items are selected from clothing items based on the influence parameters of identity.

[0107] In some embodiments, the virtual object acquires at least two virtual identities, and the interactive device in the game further includes an identity switching unit for:

[0108] Receive identity switching requests for virtual objects;

[0109] Based on the identity switching request, the current virtual identity of the virtual object is switched to the target virtual identity corresponding to the identity switching request;

[0110] Based on the target virtual identity, the target item attributes of the virtual item are transformed to obtain updated item attributes that match the target virtual identity.

[0111] In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.

[0112] As described above, this embodiment of the application obtains the virtual identity of a virtual object in a virtual scene through the identity determination unit 201; the skill determination unit 202 determines the identity skills equipped by the virtual identity obtained by the virtual object based on the virtual identity; the item attribute transformation unit 203 transforms the item attributes of the virtual item selected by the virtual object according to the identity skills to obtain the target item attributes that match the virtual identity; and the game interaction unit 204 controls the virtual object to use the virtual item to interact in the virtual scene based on the target item attributes. Thus, by obtaining the virtual identity of the virtual object and determining the identity skills obtained by the virtual object, the virtual item selected by the virtual object is transformed into a target item that matches the current virtual identity based on the identity skills, thereby enriching the player's interactive experience in the game based on the target item and improving the interactive effect in the game.

[0113] This application also provides a computer device, such as... Figure 4 The diagram illustrates the structure of a computer device according to an embodiment of this application. This computer device can be a terminal; specifically:

[0114] The computer device 300 includes a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will understand that the computer device structure shown in the figures does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0115] The processor 301 is the control center of the computer device 300. It connects various parts of the computer device 300 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, it performs various functions of the computer device 300 and processes data, thereby monitoring the computer device 300 as a whole.

[0116] In this embodiment, the processor 301 in the computer device 300 loads the instructions corresponding to the processes of one or more applications into the memory 302 according to the following steps, and the processor 301 runs the applications stored in the memory 302 to achieve various functions:

[0117] Retrieve the virtual identity of a virtual object in a virtual scene;

[0118] Based on the virtual identity obtained by the virtual object, determine the identity skills equipped by the virtual identity obtained by the virtual object through the virtual identity;

[0119] Based on the identity skills, the virtual object's selected virtual item attributes are transformed to obtain the target item attributes that match the virtual identity;

[0120] Based on the attributes of the target prop, control the virtual object to use the virtual prop to interact in the virtual scene.

[0121] In some embodiments, the virtual object's selected virtual item is modified according to the identity skill to obtain the target item attribute matching the virtual identity, including:

[0122] To obtain the proficiency of a virtual object in the skills required for that virtual identity;

[0123] Determine the applicable candidate identity skills corresponding to the convertible item attributes of virtual items, and select the target identity skill from the candidate identity skills based on the proficiency level of the identity skills.

[0124] Convert the attributes of virtual items to match the attributes of the target's identity and skills.

[0125] In some embodiments, virtual props are also configured with usage effects that match the material properties of the virtual props.

[0126] In some embodiments, obtaining the virtual identity of a virtual object in a virtual scene includes:

[0127] Retrieve clothing information of virtual objects in a virtual scene;

[0128] The virtual identity of a virtual object is determined based on its clothing information.

[0129] In some embodiments, clothing information includes clothing tag information. Determining the virtual identity of a virtual object based on clothing information includes:

[0130] Obtain the identity tag information corresponding to the candidate virtual identity;

[0131] Calculate the tag matching degree between clothing tag information and identity tag information;

[0132] Virtual identities that match the virtual object are selected from the candidate virtual identities based on tag matching.

[0133] In some embodiments, the clothing label information includes at least one first label, and the identity label information includes at least one second label. Calculating the label matching degree between the clothing label information and the identity label information includes:

[0134] Calculate the label similarity between the second label in the identity label information and the first label in the clothing label information;

[0135] The tag similarity scores corresponding to the second tag are summed to obtain the total tag similarity between each second tag and the clothing tag information.

[0136] The total similarity of the identity tag information is accumulated to obtain the tag matching degree between the identity tag information and the clothing tag information.

[0137] In some embodiments, the clothing information includes a virtual identity tag corresponding to the clothing. Determining the virtual identity corresponding to a virtual object based on the clothing information includes:

[0138] Obtain the clothing size information corresponding to each garment worn by the virtual object, and determine the size ratio of each garment based on the clothing size information;

[0139] Target clothing items are selected based on size proportions;

[0140] Based on the virtual identity tag corresponding to the target clothing, select the virtual identity that matches the virtual object from the candidate virtual identities.

[0141] In some embodiments, selecting target garments from the garments based on size proportions includes:

[0142] Obtain the clothing attribute information for each garment;

[0143] Determine the identity impact parameters for each garment based on size proportions and clothing attribute information;

[0144] Target clothing items are selected from clothing items based on the influence parameters of identity.

[0145] In some embodiments, a virtual object acquires at least two virtual identities. The game interaction method provided in this application embodiment further includes:

[0146] Receive identity switching requests for virtual objects;

[0147] Based on the identity switching request, the current virtual identity of the virtual object is switched to the target virtual identity corresponding to the identity switching request;

[0148] Based on the target virtual identity, the target item attributes of the virtual item are transformed to obtain updated item attributes that match the target virtual identity.

[0149] This solution involves acquiring the virtual identity of a virtual object within a virtual scene; determining the virtual skills associated with that identity; transforming the attributes of selected virtual items based on those skills to obtain target item attributes that match the virtual identity; and then controlling the virtual object's interaction within the virtual scene using those target item attributes. In this way, by acquiring the virtual identity and determining the acquired skills, the solution transforms the selected virtual items into target items that match the current virtual identity, enriching the player's interactive experience and enhancing the game's overall interactive effects.

[0150] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0151] Optional, such as Figure 4 As shown, the computer device 300 also includes: a touch screen display 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch screen display 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307. Those skilled in the art will understand that... Figure 4 The computer device structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0152] The touch display screen 303 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 303 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the computer device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 301. It can also receive and execute commands from the processor 301. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 301 to determine the type of touch event. Subsequently, the processor 301 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 303 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 303 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 303 can also be used as part of the input unit 306 to achieve input functions.

[0153] The radio frequency circuit 304 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other computer devices, and to transmit and receive signals with network devices or other computer devices.

[0154] Audio circuitry 305 can be used to provide an audio interface between a user and a computer device via a speaker and a microphone. Audio circuitry 305 converts received audio data into electrical signals, transmits them to the speaker, and the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 305, converted back into audio data, and output to processor 301 for processing. The audio data is then transmitted via radio frequency circuitry 304 to, for example, another computer device, or output to memory 302 for further processing. Audio circuitry 305 may also include an earphone jack to facilitate communication between peripheral headphones and the computer device.

[0155] The input unit 306 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

[0156] Power supply 307 is used to supply power to various components of computer device 300. Optionally, power supply 307 can be logically connected to processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 307 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0157] although Figure 4 As not shown in the diagram, the computer device 300 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

[0158] In the above embodiments, the descriptions of each embodiment have their own emphasis. Parts not described in detail in a particular embodiment can be found in the relevant descriptions of other embodiments. It should be noted that the computer device provided in this application embodiment and the interactive method applicable to games in the above embodiments belong to the same concept. The specific implementation process is detailed in the above method embodiments and will not be repeated here.

[0159] As can be seen from the above, the computer device provided in this application embodiment can obtain the virtual identity of a virtual object in a virtual scene; determine the identity skills equipped by the virtual identity obtained by the virtual object; transform the attributes of the virtual props selected by the virtual object according to the identity skills to obtain the target prop attributes that match the virtual identity; and control the virtual object to use the virtual props to interact in the virtual scene based on the target prop attributes. In this way, by obtaining the virtual identity of the virtual object, determining the identity skills obtained by the virtual object, and then transforming the virtual props selected by the virtual object into target props that match the current virtual identity, the interactive experience of the player in the game is enriched based on the target props, thereby improving the interactive effect in the game.

[0160] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0161] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the interactive methods in a game provided in embodiments of this application. For example, the instructions can execute the following steps:

[0162] Retrieve the virtual identity of a virtual object in a virtual scene;

[0163] Based on the virtual identity obtained by the virtual object, determine the identity skills equipped by the virtual identity obtained by the virtual object through the virtual identity;

[0164] Based on the identity skills, the virtual object's selected virtual item attributes are transformed to obtain the target item attributes that match the virtual identity;

[0165] Based on the attributes of the target prop, control the virtual object to use the virtual prop to interact in the virtual scene.

[0166] In some embodiments, the virtual object's selected virtual item is modified according to the identity skill to obtain the target item attribute matching the virtual identity, including:

[0167] To obtain the proficiency of a virtual object in the skills required for that virtual identity;

[0168] Determine the applicable candidate identity skills corresponding to the convertible item attributes of virtual items, and select the target identity skill from the candidate identity skills based on the proficiency level of the identity skills.

[0169] Convert the attributes of virtual items to match the attributes of the target's identity and skills.

[0170] In some embodiments, virtual props are also configured with usage effects that match the material properties of the virtual props.

[0171] In some embodiments, obtaining the virtual identity of a virtual object in a virtual scene includes:

[0172] Retrieve clothing information of virtual objects in a virtual scene;

[0173] The virtual identity of a virtual object is determined based on its clothing information.

[0174] In some embodiments, clothing information includes clothing tag information. Determining the virtual identity of a virtual object based on clothing information includes:

[0175] Obtain the identity tag information corresponding to the candidate virtual identity;

[0176] Calculate the tag matching degree between clothing tag information and identity tag information;

[0177] Virtual identities that match the virtual object are selected from the candidate virtual identities based on tag matching.

[0178] In some embodiments, the clothing label information includes at least one first label, and the identity label information includes at least one second label. Calculating the label matching degree between the clothing label information and the identity label information includes:

[0179] Calculate the label similarity between the second label in the identity label information and the first label in the clothing label information;

[0180] The tag similarity scores corresponding to the second tag are summed to obtain the total tag similarity between each second tag and the clothing tag information.

[0181] The total similarity of the identity tag information is accumulated to obtain the tag matching degree between the identity tag information and the clothing tag information.

[0182] In some embodiments, the clothing information includes a virtual identity tag corresponding to the clothing. Determining the virtual identity corresponding to a virtual object based on the clothing information includes:

[0183] Obtain the clothing size information corresponding to each garment worn by the virtual object, and determine the size ratio of each garment based on the clothing size information;

[0184] Target clothing items are selected based on size proportions;

[0185] Based on the virtual identity tag corresponding to the target clothing, select the virtual identity that matches the virtual object from the candidate virtual identities.

[0186] In some embodiments, selecting target garments from the garments based on size proportions includes:

[0187] Obtain the clothing attribute information for each garment;

[0188] Determine the identity impact parameters for each garment based on size proportions and clothing attribute information;

[0189] Target clothing items are selected from clothing items based on the influence parameters of identity.

[0190] In some embodiments, a virtual object acquires at least two virtual identities. The game interaction method provided in this application embodiment further includes:

[0191] Receive identity switching requests for virtual objects;

[0192] Based on the identity switching request, the current virtual identity of the virtual object is switched to the target virtual identity corresponding to the identity switching request;

[0193] Based on the target virtual identity, the target item attributes of the virtual item are transformed to obtain updated item attributes that match the target virtual identity.

[0194] This solution involves acquiring the virtual identity of a virtual object within a virtual scene; determining the virtual skills associated with that identity; transforming the attributes of selected virtual items based on those skills to obtain target item attributes that match the virtual identity; and then controlling the virtual object's interaction within the virtual scene using those target item attributes. In this way, by acquiring the virtual identity and determining the acquired skills, the solution transforms the selected virtual items into target items that match the current virtual identity, enriching the player's interactive experience and enhancing the game's overall interactive effects.

[0195] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0196] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0197] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the interactive methods in the game provided in the embodiments of this application, the beneficial effects that the interactive methods in the game provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0198] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations of the above embodiments.

[0199] The foregoing has provided a detailed description of an interactive method, apparatus, and computer-readable storage medium in a game, as provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An interaction method in a game, characterized in that, include: Retrieve the virtual identity of a virtual object in a virtual scene; Based on the virtual identity obtained by the virtual object, determine the identity skills equipped by the virtual identity obtained by the virtual object through the virtual identity; Based on the identity skills, the virtual props selected by the virtual object are transformed to obtain target prop attributes that match the virtual identity; Based on the target item's attributes, the virtual object is controlled to interact with the virtual scene using the virtual item; The step of transforming the virtual item attributes of the selected virtual item based on the identity skill to obtain target item attributes matching the virtual identity includes: Obtain the virtual object's proficiency in the skills required for the virtual identity; Determine the applicable candidate identity skills corresponding to the convertible item attributes of the virtual item, and select the target identity skill from the candidate identity skills based on the proficiency corresponding to the identity skill; The attributes of the virtual items are converted to target item attributes that match the target's identity and skills.

2. The game interaction method as described in claim 1, characterized in that, The virtual props are also configured with usage effects that match the material properties of the virtual props.

3. The game interaction method as described in claim 1, characterized in that, The process of obtaining the virtual identity of a virtual object in a virtual scene includes: Retrieve clothing information of virtual objects in a virtual scene; The virtual identity of the virtual object is determined based on the clothing information.

4. The game interaction method as described in claim 3, characterized in that, The clothing information includes clothing tag information, and determining the virtual identity of the virtual object based on the clothing information includes: Obtain the identity tag information corresponding to the candidate virtual identity; Calculate the tag matching degree between the clothing tag information and the identity tag information; Based on the tag matching degree, virtual identities that match the virtual object are selected from the candidate virtual identities.

5. The game interaction method as described in claim 4, characterized in that, The clothing label information includes at least one first label, and the identity label information includes at least one second label. Calculating the label matching degree between the clothing label information and the identity label information includes: Calculate the tag similarity between the second tag in the identity tag information and the first tag in the clothing tag information; The tag similarities corresponding to the second tag are summed to obtain the total tag similarity between each second tag and the clothing tag information; The total tag similarity corresponding to the identity tag information is accumulated to obtain the tag matching degree between the identity tag information and the clothing tag information.

6. The game interaction method as described in claim 3, characterized in that, The clothing information includes a virtual identity tag corresponding to the clothing, and determining the virtual identity corresponding to the virtual object based on the clothing information includes: Obtain the clothing size information corresponding to each garment worn by the virtual object, and determine the size ratio corresponding to each garment based on the clothing size information; Based on the stated size ratio, target garments are selected from the garments; Based on the virtual identity tag corresponding to the target clothing, a virtual identity matching the virtual object is selected from the candidate virtual identities.

7. The game interaction method as described in claim 6, characterized in that, The process of selecting target garments from the garments based on the size ratio includes: Obtain the clothing attribute information for each garment; Based on the size ratio and the clothing attribute information, determine the identity influence parameters corresponding to each garment; The target clothing is selected from the clothing based on the identity influence parameters.

8. The interaction method in a game as described in any one of claims 1 to 7, characterized in that, The virtual object acquires at least two virtual identities, and the method further includes: Receive an identity switching request for the virtual object; Based on the identity switching request, the current virtual identity of the virtual object is switched to the target virtual identity corresponding to the identity switching request; Based on the target virtual identity, the target item attributes of the virtual item are transformed to obtain updated item attributes that match the target virtual identity.

9. An interactive device for a game, characterized in that, include: An identity determination unit is used to obtain the virtual identity of a virtual object in a virtual scene. A skill determination unit is used to determine the identity skills equipped by the virtual identity obtained by the virtual object based on the virtual identity obtained by the virtual object. The prop attribute transformation unit is used to obtain the proficiency of the virtual object with the identity skills under the virtual identity, determine the applicable candidate identity skills corresponding to the convertible prop attributes of the virtual prop, select the target identity skill from the candidate identity skills according to the proficiency of the identity skills, and transform the prop attributes of the virtual prop into the target prop attributes that match the target identity skill. The game interaction unit is used to control the virtual object to interact with the virtual scene using the virtual item based on the attributes of the target item.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to perform steps in the interactive method in a game according to any one of claims 1 to 8.

11. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the interactive method in the game according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Virtual item pickup method and device, computer equipment and storage medium

    CN115040870A

  • Game skill processing method and device, computer equipment and storage medium

    CN116099199A