Method, device and storage medium for modifying virtual equipment model appearance attribute
By acquiring equipment appearance signals and using appearance modifiers and signal receivers to synchronously modify the appearance attributes of virtual equipment models, the problems of high cost and poor flexibility in existing technologies are solved, achieving a more economical and flexible appearance linkage effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2023-04-14
- Publication Date
- 2026-07-21
AI Technical Summary
The existing technology for implementing the appearance linkage function of virtual equipment models through appearance attribute data tags is costly and lacks flexibility, making it difficult to apply to scenarios with complex requirements.
By acquiring equipment appearance signals, the appearance attributes of virtual equipment models are modified according to the signal type and content. The appearance modifier and signal receiver are used to achieve synchronous modification between equipment models.
It reduces the development cost of implementing the model appearance linkage function, improves flexibility and scalability, and realizes the economy and flexibility of virtual equipment model appearance linkage.
Smart Images

Figure CN116570922B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, and storage medium for modifying the appearance attributes of a virtual equipment model. Background Technology
[0002] In video game development, there are often visual effects that interact between multiple parts of a virtual equipment model. For example, when a virtual character wears gloves, the cuffs will retract into the gloves to avoid clipping. Another example is when a virtual character equips both a primary and secondary weapon, both weapons will display special particle effects.
[0003] To address this, one method for implementing appearance linkage functionality for virtual equipment models involves assigning labels to the appearance attribute data of multiple parts of the virtual equipment model. These labels mark the actions to be performed when the current part is worn simultaneously with other parts. For example, labels A and B are set. When only the part corresponding to label A or only the part corresponding to label B is worn, there is no special behavior. However, when both the parts corresponding to label A and label B are worn simultaneously, the part corresponding to label B is dyed red. After removing the part corresponding to label A, the part corresponding to label B returns to its original color. However, this method has drawbacks: the amount of information that labels can represent is limited, and the complex appearance linkage functionality of virtual equipment models requires a large number of labels. A large number of labels leads to significant maintenance costs. Therefore, the above method is costly, inflexible, and unsuitable for scenarios with complex requirements for appearance linkage of virtual equipment models.
[0004] There is currently no effective solution to the above problems.
[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] At least some embodiments of this application provide a method, apparatus, and storage medium for modifying the appearance attributes of a virtual equipment model, so as to at least solve the technical problems of high cost and poor flexibility of the method for realizing the appearance linkage function of a virtual equipment model through appearance attribute data tags in the related art.
[0007] According to one embodiment of this application, a method for modifying the appearance attributes of a virtual equipment model is provided, comprising: acquiring a first equipment appearance signal, wherein the first equipment appearance signal is triggered and generated by a first virtual equipment model corresponding to a first part of a virtual character model, and the first equipment appearance signal is used to instruct a second virtual equipment model corresponding to a second part of the virtual character model to synchronously modify the appearance attributes with the first virtual equipment model; modifying the appearance attributes of the second virtual equipment model according to the signal type and signal content of the first equipment appearance signal to obtain a modification result, wherein the signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method.
[0008] According to one embodiment of this application, an apparatus for modifying the appearance attributes of a virtual equipment model is also provided, comprising: an acquisition module, configured to acquire a first equipment appearance signal, wherein the first equipment appearance signal is generated by a first virtual equipment model corresponding to a first part of a virtual character model, and the first equipment appearance signal is used to instruct a second virtual equipment model corresponding to a second part of the virtual character model to synchronously modify the appearance attributes with the first virtual equipment model; and a modification module, configured to modify the appearance attributes of the second virtual equipment model according to the signal type and signal content of the first equipment appearance signal to obtain a modification result, wherein the signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method.
[0009] According to one embodiment of this application, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to execute, at runtime, the method for modifying the appearance attributes of a virtual equipment model as described above.
[0010] According to one embodiment of this application, an electronic device is also provided, comprising: a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the method of modifying the appearance attributes of a virtual equipment model as described above.
[0011] In at least some embodiments of this application, a first equipment appearance signal is obtained. This first equipment appearance signal is triggered and generated by a first virtual equipment model corresponding to a first part of a virtual character model. The first equipment appearance signal is used to instruct a second virtual equipment model corresponding to a second part of the virtual character model to synchronously modify its appearance attributes with the first virtual equipment model. Based on the signal type and signal content of the first equipment appearance signal, the appearance attributes of the second virtual equipment model are modified to obtain a modification result. The signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method. Therefore, the method provided by this application achieves the purpose of synchronously modifying the appearance attributes between the first and second virtual equipment models through equipment appearance signals. This improves the economy and flexibility of virtual equipment model appearance linkage, and solves the technical problems of high cost and poor flexibility in related technologies that use appearance attribute data tags to achieve virtual equipment model appearance linkage. Attached Figure Description
[0012] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0013] Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of modifying the appearance attributes of a virtual equipment model according to one embodiment of this application.
[0014] Figure 2 This is a flowchart of a method for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application;
[0015] Figure 3 This is a schematic diagram of a modification scheme for the appearance attributes of a virtual equipment model according to one embodiment of this application;
[0016] Figure 4 This is a schematic diagram of an optional virtual character model according to one embodiment of this application;
[0017] Figure 5 This is a schematic diagram of another optional virtual character model according to one embodiment of this application;
[0018] Figure 6 This is a schematic diagram of another optional virtual character model according to one embodiment of this application;
[0019] Figure 7 This is a structural block diagram of a device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application;
[0020] Figure 8 This is a structural block diagram of an optional device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application;
[0021] Figure 9 This is a structural block diagram of another optional device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application;
[0022] Figure 10 This is a structural block diagram of another optional device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application;
[0023] Figure 11 This is a schematic diagram of an electronic device according to one embodiment of the present application. Detailed Implementation
[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] It should be noted that, in the specification of this application, the word "for example" is used to mean "used as an example, illustration, or description." Any embodiment described as "for example" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. In the following description, details are set forth for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid unnecessarily obscuring the description of this application. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0027] The methods described in this application can be executed in a terminal device (e.g., a mobile terminal, a computer terminal, or a similar computing device). Taking a mobile terminal as an example, the mobile terminal can be a smartphone, tablet computer, PDA, mobile internet device, game console, or other terminal device.
[0028] Figure 1 This is a hardware structure block diagram of a mobile terminal illustrating a method for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 (Only one is shown) Processor 102, memory 104, transmission device 106, input / output device 108, and display device 110. Taking the method of modifying the appearance attributes of a virtual equipment model applied to a video game scene via this mobile terminal as an example, processor 102 calls and runs the computer program stored in memory 104 to execute the method of modifying the appearance attributes of the virtual equipment model. The modification result corresponding to the appearance attributes of the virtual equipment model in the generated video game scene is transmitted to input / output device 108 and / or display device 110 through transmission device 106, thereby providing the modification result corresponding to the appearance attributes of the virtual equipment model to the player.
[0029] Still as Figure 1As shown, the processor 102 may include, but is not limited to, processing devices such as: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Digital Signal Processing (DSP) chip, Microcontroller Unit (MCU), Field Programmable Gate Array (FPGA), Neural-Network Processing Unit (NPU), Tensor Processing Unit (TPU), Artificial Intelligence (AI) type processor, etc.
[0030] Those skilled in the art will understand that Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0031] In some optional embodiments primarily focused on gaming scenarios, the aforementioned terminal device may also provide a human-computer interaction interface with a touch-sensitive surface. This interface can sense finger contact and / or gestures to interact with a graphical user interface (GUI). The human-computer interaction functions may include the following: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music, and / or web browsing, etc. Executable instructions for performing the aforementioned human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0032] The methods described in this application can also be executed on a server. 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 networks (CDNs), and big data and artificial intelligence platforms. Taking the method of modifying the appearance attributes of a virtual equipment model applied to a video game scene via a video game server as an example, the video game server can generate modification results corresponding to the appearance attributes of the virtual equipment model in the video game scene based on this method, and provide these modification results to the player (e.g., by rendering and displaying them on the player's terminal screen, or by providing them to the player through holographic projection, etc.).
[0033] According to one embodiment of this application, an embodiment of a method for modifying the appearance attributes of a virtual equipment model is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0034] This embodiment provides a method for modifying the appearance attributes of a virtual equipment model, which runs on the aforementioned mobile terminal. Figure 2 This is a flowchart illustrating a method for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application, such as... Figure 2 As shown, the method includes the following steps:
[0035] Step S21: Obtain the first equipment appearance signal. The first equipment appearance signal is generated by the first virtual equipment model corresponding to the first part of the virtual character model. The first equipment appearance signal is used to instruct the second virtual equipment model corresponding to the second part of the virtual character model to modify the appearance attributes synchronously with the first virtual equipment model.
[0036] Step S22: Modify the appearance attributes of the second virtual equipment model according to the signal type and signal content of the first equipment appearance signal to obtain the modification result. The signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method.
[0037] The virtual character models mentioned above are game character models in virtual game scenes. The game types corresponding to virtual game scenes can be: action games (e.g., first-person or third-person shooter games, 2D or 3D fighting games, war action games, and sports action games), adventure games (e.g., exploration games, collection games, puzzle games), simulation games (e.g., simulation sandbox games, simulation management games, strategy simulation games, city building simulation games, business simulation games), role-playing games, and casual games (e.g., board games, casual competitive games, music rhythm games, dress-up and simulation games), etc.
[0038] The aforementioned virtual character model can include multiple body parts, such as the head, torso, legs, feet, arms, and hands. Each of these body parts can be equipped with virtual equipment models, such as clothing and weapons. The appearance of these virtual equipment models can include color, shape, and special effects particles, and these appearance attributes are determined by these characteristics.
[0039] The signal type corresponding to the aforementioned first equipment appearance signal is used to match the signal receiving object. For example, if the signal type of the first equipment appearance signal is a "deformation signal", then the matched signal receiving object is a deformation receiver; if the signal type of the first equipment appearance signal is a "dyeing signal", then the matched signal receiving object is a dyeing receiver.
[0040] The signal content corresponding to the aforementioned first equipment appearance signal is used to determine the method of modifying the appearance attributes. For example, if the signal content of the first equipment appearance signal is "tuck the cuffs into the gloves", then according to this signal content, the cuffs of the virtual character model's upper garment are deformed and modified so that there is a shrinkage effect at the connection between the cuffs and the gloves to avoid clipping.
[0041] The aforementioned first equipment appearance signal is generated by the virtual character model's first part wearing the corresponding first virtual equipment model. The first virtual equipment model is the virtual equipment model currently worn by the first part of the virtual character model. When the first part of the virtual character model wears the first virtual equipment model, the corresponding appearance modifier is triggered to generate the aforementioned first equipment appearance signal.
[0042] The aforementioned second virtual equipment model is the virtual equipment model currently worn by the second part of the aforementioned virtual character model. In a virtual game scene, the first and second parts of the virtual character model are related; in other words, there is an appearance linkage between the first and second virtual equipment models. The aforementioned first equipment appearance signal is used to instruct the second virtual equipment model corresponding to the second part of the virtual character model to synchronously modify its appearance attributes in accordance with the first virtual equipment model.
[0043] Furthermore, the appearance receiver corresponding to the second virtual equipment model can respond to the first equipment appearance signal, modify the appearance attributes of the second virtual equipment model according to the appearance modification information carried by the first equipment appearance signal, and obtain the modification result. The modification result may include the virtual character model with modified appearance.
[0044] Optionally, the above method also includes: displaying the modification results.
[0045] The method described in this application can run on the terminal device corresponding to the game client. The game client can obtain the appearance modification requirements of the virtual equipment model input by the game designer or player, and the modification results obtained by the above method based on the appearance modification requirements can be displayed on the output device (such as a display) of the terminal device to provide to the game designer or player.
[0046] For example, the virtual character model is a virtual character model in a virtual game scene. The first part mentioned above is the hand, and the first virtual equipment model corresponding to the first part is the virtual glove model. The second part mentioned above is the upper body, and the second virtual equipment model corresponding to the second part is the virtual top model. When the virtual character model puts on the gloves, it triggers the appearance modifier corresponding to the virtual character model to generate a first equipment appearance signal. This first equipment appearance signal is used to instruct the virtual top model and the virtual glove model to synchronously modify their appearance attributes. For example, when the gloves are put on, the cuffs of the top tighten, or when the color of the gloves changes to blue, the color of the top changes to blue synchronously.
[0047] In at least some embodiments of this application, a first equipment appearance signal is obtained. This first equipment appearance signal is triggered and generated by a first virtual equipment model corresponding to a first part of a virtual character model. The first equipment appearance signal is used to instruct a second virtual equipment model corresponding to a second part of the virtual character model to synchronously modify its appearance attributes with the first virtual equipment model. Based on the signal type and signal content of the first equipment appearance signal, the appearance attributes of the second virtual equipment model are modified to obtain a modification result. The signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method. Therefore, the method provided by this application achieves the purpose of synchronously modifying the appearance attributes between the first and second virtual equipment models through equipment appearance signals. This improves the economy and flexibility of virtual equipment model appearance linkage, and solves the technical problems of high cost and poor flexibility in related technologies that use appearance attribute data tags to achieve virtual equipment model appearance linkage.
[0048] The methods described in the embodiments of this application will be further described below.
[0049] Optionally, in step S22, the appearance attributes of the second virtual equipment model are modified according to the signal type and signal content of the first equipment appearance signal to obtain the modification result, which may include the following execution steps:
[0050] Step S221: Obtain the signal type and signal content of the first equipment appearance signal;
[0051] Step S222: Determine the second virtual equipment model as the signal receiving object based on the signal type, and modify the appearance attributes of the signal receiving object based on the signal content to obtain the modification result.
[0052] The aforementioned first equipment appearance signal can be generated by an appearance modifier corresponding to the virtual character model. Furthermore, the signal type and signal content of the aforementioned first equipment appearance signal can also be obtained from this appearance modifier.
[0053] Based on the aforementioned signal type, the second virtual equipment model can be identified as the signal receiving object. Optionally, the second virtual equipment model can be any virtual equipment model associated with the first virtual equipment model corresponding to the virtual character model. That is, the second virtual equipment model can be one or more virtual equipment models of the same modification type matched by the signal type. For example, when the gloves change color, the corresponding shirt, pants, shoes, and hat are all dyed. It can also be said that the shirt, pants, shoes, and hat are all virtual equipment models of the dyeing modification type.
[0054] Based on the above signal content, the appearance attributes of the signal receiving object are modified to obtain the modification result. For example, when the glove color changes to red, according to the signal content "dye the color red", the main material color of the corresponding shirt, pants, shoes and hat are all dyed red.
[0055] Optionally, in step S222, determining the second virtual equipment model as the signal receiving object based on the signal type may include the following execution steps:
[0056] Step S2221: Detect whether the signal type matches the predefined signal type of the second virtual equipment model;
[0057] Step S2222: In response to the signal type matching the predefined signal type of the second virtual equipment model, the second virtual equipment model is identified as the signal receiving object.
[0058] When determining the matching second virtual equipment model as the signal receiving object based on the signal type of the first equipment appearance signal, firstly, the multiple second virtual equipment models corresponding to the virtual character model are traversed to check whether the signal type matches the predefined signal type of the second virtual equipment model; then, if it is determined that the signal type matches the predefined signal type of the second virtual equipment model, the second virtual equipment model is determined as the signal receiving object.
[0059] For example, the virtual character model corresponds to multiple second virtual equipment models, including: hat, top, pants, shoes, and weapon; the signal type is "color signal". By traversing the above multiple second virtual equipment models, it is determined whether the second virtual equipment model is equipped with a "color receiver". The second virtual equipment model equipped with a "color receiver" is identified as the signal receiving object.
[0060] Optionally, the above method for modifying the appearance attributes of virtual equipment models may also include the following execution steps:
[0061] Step S241: Detect whether the signal type matches the predefined signal type of the second virtual equipment model;
[0062] Step S242: In response to the signal type not matching the predefined signal type of the second virtual equipment model, the first equipment appearance signal is rejected.
[0063] Furthermore, during the process of traversing multiple second virtual equipment models corresponding to the virtual character model and checking whether the signal type matches the predefined signal type of the second virtual equipment model, if the signal type does not match the predefined signal type of the second virtual equipment model, it means that the second virtual equipment model cannot respond to the first equipment appearance signal. For example, when the signal type of the aforementioned first equipment appearance signal is a "dyeing signal", if the top is equipped with a "deformation receiver" but not a "dyeing receiver", then the top will not respond to the aforementioned first equipment appearance signal, that is, the top will not perform a dyeing operation.
[0064] According to the method provided in the embodiments of this application, in the application scenario, multiple equipment appearance signals of different signal types can be generated simultaneously. Each virtual equipment model in the multiple virtual equipment models corresponding to the virtual character model responds to the matching equipment appearance signal, thereby realizing the accurate and efficient virtual equipment model appearance linkage function.
[0065] Optionally, in step S222, modifying the appearance attributes of the signal receiving object based on the signal content to obtain the modification result may include the following execution steps:
[0066] Step S2223: Determine the appearance attributes to be modified of the signal receiving object and the corresponding parameter values to be modified based on the signal content.
[0067] Step S2224: Modify the historical parameter values of the appearance attribute to be modified according to the parameter values to be modified, and obtain the modification result.
[0068] Based on the signal content of the aforementioned equipment appearance signals, the appearance attribute to be modified and the corresponding parameter value to be modified for the signal receiving object can be determined. For example, the appearance attribute to be modified could be the equipment color attribute, and the parameter value to be modified could be red.
[0069] The historical parameter values of the appearance attributes to be modified are the appearance attribute parameter values before the appearance modification. For example, in response to the gloves turning red, the top of the virtual character model is dyed from black to red. In this process, the appearance attribute to be modified is the color of the top, the historical parameter value is black, and the parameter value to be modified is red.
[0070] Optionally, the above method for modifying the appearance attributes of virtual equipment models may also include the following execution steps:
[0071] Step S251: Determine whether there is a second equipment appearance signal to be sent. The second equipment appearance signal is generated by the second virtual equipment model. The second equipment appearance signal is used to indicate that the third virtual equipment model corresponding to the third part of the virtual character model and the second virtual equipment model should modify their appearance attributes synchronously.
[0072] Step S252: Send a second equipment appearance signal so that the third virtual equipment model responds to the second equipment appearance signal.
[0073] In application scenarios, it is common to encounter relationships between multiple virtual equipment models. That is, a second virtual equipment model may synchronously modify its appearance attributes following a first virtual equipment model, and a third virtual equipment model may synchronously modify its appearance attributes following a second virtual equipment model. According to the method provided in this application embodiment, after modifying the appearance attributes of the second virtual equipment model in response to a first equipment appearance signal, it is checked whether the second virtual equipment model has triggered the generation of a second equipment appearance signal. The second equipment appearance signal is used to instruct the third virtual equipment model corresponding to the third part of the virtual character model to synchronously modify its appearance attributes with the second virtual equipment model. If a second equipment appearance signal is to be sent, it is sent so that the third virtual equipment model responds to the second equipment appearance signal.
[0074] Optionally, the above method for modifying the appearance attributes of virtual equipment models may also include the following execution steps:
[0075] Step S251: Determine the signal type and signal content of the second equipment appearance signal based on the appearance linkage rules corresponding to the second virtual equipment model;
[0076] Step S252: Generate the second equipment appearance signal using the signal type and signal content of the second equipment appearance signal.
[0077] Specifically, the appearance linkage rules corresponding to the aforementioned second virtual equipment model are used to determine the appearance linkage content between the second virtual equipment model and the third virtual equipment model. In other words, based on these appearance linkage rules, it is possible to determine the other virtual equipment models (i.e., the third virtual equipment model) whose appearance attributes will change when the appearance attributes of the second virtual equipment model change, as well as the corresponding linkage content. Based on this, and in response to the existence of a second equipment appearance signal to be sent corresponding to the second virtual equipment model, the signal type and signal content of the second equipment appearance signal are determined according to the appearance linkage rules.
[0078] For example, if the first virtual equipment model is a glove model, the second virtual equipment model is a top model, and the third virtual equipment model is a scarf model, when the top model is deformed at the cuff in response to the deformation signal corresponding to the glove model, according to the appearance linkage rules preset by the technicians, "dye the scarf when the top cuff is deformed" and "if the top cuff deformation is triggered by the glove model, then dye the scarf white", it can be determined that the signal type of the second equipment appearance signal to be sent corresponding to the top model is a "dyeing signal", and the signal content of the second equipment appearance signal is "dye the color white".
[0079] Furthermore, the signal content of the aforementioned first equipment appearance signal may include "when the first virtual equipment model is separated from the virtual character model, restore the appearance attributes of the second virtual equipment model and cancel the current appearance attribute modification." Similarly, the signal content of the aforementioned second equipment appearance signal may include "when the second virtual equipment model is separated from the virtual character model, restore the appearance attributes of the third virtual equipment model and cancel the current appearance attribute modification."
[0080] It is readily apparent that, compared to methods in related technologies that rely on appearance attribute data tags for appearance linkage between virtual equipment models, the method provided in this application is more modular, easier to use, and more easily extensible. For example, in the method provided in this application, color linkage modification or deformation linkage modification between the appearances of virtual equipment models can each be treated as a single-function module, with parameters for the single-function module being color parameters or shape parameters. Multiple single-function modules can be combined to achieve more complex functions. Therefore, this application can reduce the development cost required to implement model appearance linkage functionality and facilitate maintenance and expansion.
[0081] The method provided in this application can be applied, but is not limited to, to scenarios in role-playing games where players customize virtual character models. The following uses this scenario as an example to further illustrate the technical solution of this application.
[0082] In the above application scenarios, the appearance modification function of virtual character models is realized through appearance modifier, signal receiver, and appearance manager.
[0083] Specifically, a virtual equipment model's appearance modifier generates an equipment appearance signal and sends it to other virtual equipment models, causing eligible virtual equipment models to modify their appearance attributes in response to the equipment appearance signal. This appearance modifier can carry appearance attribute parameters; for example, the appearance attribute parameter carried by the color modifier in the appearance modifier is the equipment color.
[0084] Specifically, a signal receiver for a virtual equipment model is used to receive and respond to equipment appearance signals sent by the appearance modifier. A signal receiver can receive one or more specific types of signals, but will not respond to incompatible signals. The signal receiver can carry appearance attribute parameters; for example, the appearance attribute parameter carried by the color modifier in the signal receiver is a color transparency coefficient. After receiving the equipment appearance signal sent by the color modifier, the color modifier obtains the equipment color carried by the color modifier, modifies the color transparency coefficient according to the equipment color, and obtains the modified result.
[0085] Specifically, the appearance manager of the virtual character model is used to manage the appearance of multiple virtual equipment models corresponding to multiple parts of the virtual character model, providing interfaces for adding and deleting appearances, and is also used to create appearance modifiers and signal receivers, and to match appearance modifiers and signal receivers.
[0086] In other words, the appearance manager mentioned above is configured for virtual character models, while the appearance modifier and signal receiver mentioned above are configured for virtual equipment models.
[0087] Figure 3 This is a schematic diagram illustrating a modification scheme for the appearance attributes of a virtual equipment model according to one embodiment of this application, such as... Figure 3 As shown, in a scenario where a player customizes a virtual character model in a role-playing game, the process of modifying the appearance attributes of the virtual character model after receiving the player's input of modification to the first virtual equipment model through the game client includes the following steps S301 to S308.
[0088] Step S301: Initialize the appearance manager.
[0089] The essence of the appearance attributes of virtual equipment models is the mapping between virtual character model parts and model information. The appearance manager initializes the first data container to record this mapping information, and then provides virtual equipment model appearance modification functions based on this mapping information. In addition, since the appearance manager can create and match appearance modifiers and signal receivers, it initializes the second data container to store appearance modifier data and the third data container to store signal receiver data.
[0090] Step S302: Add or delete appearances. Specifically, appearances are added or deleted using the appearance add or delete interface provided by the appearance manager. For example, when a player adds a glove appearance to a virtual character model through the game client, the appearance manager corresponding to that virtual character model is called to add the glove appearance.
[0091] Step S303: Determine whether appearance modifier data is configured on the appearance. If yes, proceed to step S304; otherwise, proceed to step S306.
[0092] It should be noted that, in order to achieve real-time linkage between the appearances of virtual equipment models, each time the appearance manager is called to add or delete an appearance, it is checked whether the added or deleted appearance is configured with an appearance modifier or a signal receiver.
[0093] Step S304: The appearance modifier creates and triggers the equipment appearance signal.
[0094] Since the appearance modifier itself does not contain signals for modifying appearance, it is used to create equipment appearance signals. Equipment appearance signals contain signal type and signal parameters. The signal type is used to determine the receiver to be matched, and the signal parameters are the appearance attribute parameters corresponding to the appearance modification behavior to be performed.
[0095] Figure 4 This is a schematic diagram of an optional virtual character model according to one embodiment of this application, such as... Figure 4 As shown, the appearance manager is called to add a glove appearance. The added glove appearance is configured with a dye modifier (not shown in the figure). Correspondingly, the signal type in the generated modifier object is "dye signal" and the signal parameter is red. Red indicates that the color of the glove appearance will be changed to red.
[0096] It should be noted that if a virtual equipment model is configured with appearance modifier data, it means that the virtual equipment model needs to create an equipment appearance signal, also known as the virtual equipment model being configured with a modifier. Conversely, if a virtual equipment model is not configured with appearance modifier data, it means that the virtual equipment model does not currently need to create an equipment appearance signal, also known as the virtual equipment model not being configured with a modifier.
[0097] Step S305: Iterate through all matching signal receivers on the appearance manager and respond to the signal. Signal receivers that match the equipment appearance signal will respond to that equipment appearance signal.
[0098] Step S306: Determine whether the appearance is equipped with signal receiver data. If yes, proceed to step S307. If no, end the virtual equipment model appearance attribute modification process.
[0099] Figure 5 This is a schematic diagram of another optional virtual character model according to one embodiment of this application. Figure 5 As shown, the appearance manager is called to add a top appearance to the virtual character model (the color of the top appearance is the preset default color), and the top appearance has a color receiver (not shown in the figure). Figure 6 This is a schematic diagram of another optional virtual character model according to one embodiment of this application. Figure 6 The virtual character model shown has a red top (the part highlighted by bold lines in the image indicates the top is red). Specifically, when... Figure 5 The virtual character model shown wears, for example Figure 4 As shown, after the gloves, according to the model appearance linkage relationship in the application scenario, the dyeing modifier on the gloves will send a dyeing signal. When the top receives the dyeing signal, the dyeing receiver carried by the top responds to the dyeing signal and dyes the top red.
[0100] Still as Figure 5 and Figure 6 As shown, the glove model has a dye modifier, and the clothing model has a dye receiver. If the virtual character model puts on the clothing first and then the gloves, steps S304 and S305 are executed, and the process ends. This is because the glove model is not configured with a dye receiver. If the virtual character model puts on the gloves first and then the clothing model, steps S306 and S307 are executed, and the process ends. This is because the clothing model is not configured with a modifier.
[0101] Step S307: Create a signal receiver.
[0102] Step S308: Iterate through all matching appearance modifiers on the appearance manager and respond to the signal. Appearance modifiers that match the signal receiver respond to the equipment appearance signal.
[0103] In summary, the method provided in this application embodiment enables the coordinated modification of the appearance of virtual equipment models through a sending module and a receiving module for equipment appearance signals. Compared with related technologies that rely on appearance attribute data tags for appearance coordination between virtual equipment models, the method provided in this application embodiment can reduce the development cost required to implement the model appearance coordination function and facilitates maintenance and expansion.
[0104] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a magnetic disk or optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0105] This embodiment also provides an apparatus for modifying the appearance attributes of a virtual equipment model. This apparatus is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0106] Figure 7 This is a structural block diagram of a device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application, such as... Figure 7 As shown, the device includes: an acquisition module 701, used to acquire a first equipment appearance signal, wherein the first equipment appearance signal is generated by a first virtual equipment model corresponding to the first part of the virtual character model, and the first equipment appearance signal is used to instruct a second virtual equipment model corresponding to the second part of the virtual character model to synchronously modify the appearance attributes with the first virtual equipment model; and a modification module 702, used to modify the appearance attributes of the second virtual equipment model according to the signal type and signal content of the first equipment appearance signal, and obtain a modification result, wherein the signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method.
[0107] Optionally, the modification module 702 is further configured to: obtain the signal type and signal content of the first equipment appearance signal; determine the second virtual equipment model as the signal receiving object based on the signal type; and modify the appearance attributes of the signal receiving object based on the signal content to obtain the modification result.
[0108] Optionally, the modified module 702 is further configured to: detect whether the signal type matches the predefined signal type of the second virtual equipment model; and, in response to the signal type matching the predefined signal type of the second virtual equipment model, determine the second virtual equipment model as the signal receiving object.
[0109] Optionally, Figure 8 This is a structural block diagram of an optional device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application, such as... Figure 8 As shown, the device includes Figure 7 In addition to all the modules shown, it also includes: a detection module 704, used to detect whether the signal type matches the predefined signal type of the second virtual equipment model; and to refuse to respond to the first equipment appearance signal if the signal type does not match the predefined signal type of the second virtual equipment model.
[0110] Optionally, the modification module is further configured to: determine the appearance attribute to be modified of the signal receiving object and the parameter value to be modified corresponding to the appearance attribute to be modified based on the signal content; modify the historical parameter value of the appearance attribute to be modified according to the parameter value to be modified, and obtain the modification result.
[0111] Optionally, Figure 9 This is a structural block diagram of another optional device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application, such as... Figure 9 As shown, the device includes Figure 8 In addition to all the modules shown, it also includes: a determination module 705, used to determine whether there is a second equipment appearance signal to be sent, wherein the second equipment appearance signal is generated by the second virtual equipment model, and the second equipment appearance signal is used to instruct the third virtual equipment model corresponding to the third part of the virtual character model to synchronously modify the appearance attributes with the second virtual equipment model; and to send the second equipment appearance signal so that the third virtual equipment model responds to the second equipment appearance signal.
[0112] Optionally, Figure 10 This is a structural block diagram of another optional device for modifying the appearance attributes of a virtual equipment model according to one embodiment of this application, such as... Figure 10 As shown, the device includes Figure 9In addition to all the modules shown, it also includes: a generation module 706, used to determine the signal type and signal content of the second equipment appearance signal based on the appearance linkage rules corresponding to the second virtual equipment model; and to generate the second equipment appearance signal using the signal type and signal content of the second equipment appearance signal.
[0113] Optionally, the device for modifying the appearance attributes of the virtual equipment model further includes a display module (not shown in the figure) for displaying the modification results.
[0114] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0115] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.
[0116] Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0117] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0118] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0119] S1, Obtain the first equipment appearance signal, wherein the first equipment appearance signal is generated by the first virtual equipment model corresponding to the first part of the virtual character model, and the first equipment appearance signal is used to instruct the second virtual equipment model corresponding to the second part of the virtual character model to synchronously modify the appearance attributes with the first virtual equipment model.
[0120] S2, based on the signal type and signal content of the first equipment appearance signal, modify the appearance attributes of the second virtual equipment model to obtain the modification result. The signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method.
[0121] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: acquiring the signal type and signal content of the first equipment appearance signal; determining the second virtual equipment model as the signal receiving object based on the signal type; and modifying the appearance attributes of the signal receiving object based on the signal content to obtain the modification result.
[0122] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: detecting whether the signal type matches a predefined signal type of the second virtual equipment model; and, in response to the signal type matching the predefined signal type of the second virtual equipment model, identifying the second virtual equipment model as the signal receiving object.
[0123] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: detecting whether the signal type matches a predefined signal type of the second virtual equipment model; and refusing to respond to the first equipment appearance signal in response to a mismatch between the signal type and the predefined signal type of the second virtual equipment model.
[0124] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining the appearance attribute to be modified of the signal receiving object and the parameter value to be modified corresponding to the appearance attribute to be modified based on the signal content; modifying the historical parameter value of the appearance attribute to be modified according to the parameter value to be modified, and obtaining the modification result.
[0125] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining whether there is a second equipment appearance signal to be sent, wherein the second equipment appearance signal is generated by a second virtual equipment model, and the second equipment appearance signal is used to instruct a third virtual equipment model corresponding to a third part of a virtual character model to synchronously modify the appearance attributes with the second virtual equipment model; and sending the second equipment appearance signal so that the third virtual equipment model responds to the second equipment appearance signal.
[0126] Optionally, the aforementioned computer-readable storage medium is further configured to store program code for performing the following steps: determining the signal type and signal content of the second equipment appearance signal based on the appearance linkage rules corresponding to the second virtual equipment model; and generating the second equipment appearance signal using the signal type and signal content of the second equipment appearance signal.
[0127] In the computer-readable storage medium of the above embodiments, a technical solution is provided for implementing a method for modifying the appearance attributes of a virtual equipment model. A first equipment appearance signal is acquired, wherein the first equipment appearance signal is triggered and generated by a first virtual equipment model corresponding to a first part of a virtual character model, and the first equipment appearance signal is used to instruct a second virtual equipment model corresponding to a second part of the virtual character model to synchronously modify its appearance attributes with the first virtual equipment model; according to the signal type and signal content of the first equipment appearance signal, the appearance attributes of the second virtual equipment model are modified to obtain a modification result, wherein the signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method. Therefore, the above method provided by this application achieves the purpose of synchronously modifying the appearance attributes between the first and second virtual equipment models through equipment appearance signals, thereby realizing the technical effect of improving the economy and flexibility of virtual equipment model appearance linkage, and solving the technical problems of high cost and poor flexibility of related technologies that implement virtual equipment model appearance linkage functions through appearance attribute data tags.
[0128] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this application.
[0129] In exemplary embodiments of this application, a computer-readable storage medium stores a program product capable of implementing the methods described above in this embodiment. In some possible implementations, various aspects of the embodiments of this application may also be implemented as a program product including program code, which, when the program product is run on a terminal device, causes the terminal device to perform the steps described in the "Exemplary Methods" section of this embodiment according to various exemplary embodiments of this application.
[0130] The program product for implementing the above-described method according to embodiments of this application may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the embodiments of this application is not limited thereto. In the embodiments of this application, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0131] The aforementioned program product may take the form of any combination of one or more computer-readable media. Such computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples (not exhaustive) of computer-readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0132] It should be noted that the program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0133] Embodiments of this application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0134] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0135] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0136] S1, Obtain the first equipment appearance signal, wherein the first equipment appearance signal is generated by the first virtual equipment model corresponding to the first part of the virtual character model, and the first equipment appearance signal is used to instruct the second virtual equipment model corresponding to the second part of the virtual character model to synchronously modify the appearance attributes with the first virtual equipment model.
[0137] S2, based on the signal type and signal content of the first equipment appearance signal, modify the appearance attributes of the second virtual equipment model to obtain the modification result. The signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method.
[0138] Optionally, the processor may also be configured to perform the following steps via a computer program: acquiring the signal type and signal content of the first equipment appearance signal; determining the second virtual equipment model as the signal receiving object based on the signal type; and modifying the appearance attributes of the signal receiving object based on the signal content to obtain the modification result.
[0139] Optionally, the processor may also be configured to perform the following steps via a computer program: detecting whether the signal type matches a predefined signal type of the second virtual equipment model; and, in response to the signal type matching the predefined signal type of the second virtual equipment model, identifying the second virtual equipment model as the signal receiving object.
[0140] Optionally, the processor may also be configured to perform the following steps via a computer program: detecting whether the signal type matches a predefined signal type of the second virtual equipment model; and refusing to respond to the first equipment appearance signal in response to a mismatch between the signal type and the predefined signal type of the second virtual equipment model.
[0141] Optionally, the processor may also be configured to perform the following steps via a computer program: determining the appearance attribute to be modified of the signal receiving object and the parameter value to be modified corresponding to the appearance attribute to be modified based on the signal content; modifying the historical parameter value of the appearance attribute to be modified according to the parameter value to be modified, and obtaining the modification result.
[0142] Optionally, the processor may also be configured to perform the following steps via a computer program: determining whether there is a second equipment appearance signal to be sent, wherein the second equipment appearance signal is generated by the second virtual equipment model, and the second equipment appearance signal is used to instruct the third virtual equipment model corresponding to the third part of the virtual character model to synchronously modify the appearance attributes with the second virtual equipment model; and sending the second equipment appearance signal so that the third virtual equipment model responds to the second equipment appearance signal.
[0143] Optionally, the processor may also be configured to perform the following steps via a computer program: determine the signal type and signal content of the second equipment appearance signal based on the appearance linkage rules corresponding to the second virtual equipment model; and generate the second equipment appearance signal using the signal type and signal content of the second equipment appearance signal.
[0144] In the electronic device described in the above embodiments, a technical solution is provided for implementing a method for modifying the appearance attributes of a virtual equipment model. A first equipment appearance signal is acquired, wherein the first equipment appearance signal is triggered and generated by a first virtual equipment model corresponding to a first part of a virtual character model, and the first equipment appearance signal is used to instruct a second virtual equipment model corresponding to a second part of the virtual character model to synchronously modify its appearance attributes with the first virtual equipment model; based on the signal type and signal content of the first equipment appearance signal, the appearance attributes of the second virtual equipment model are modified to obtain a modification result, wherein the signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method. Therefore, the method provided by this application achieves the purpose of synchronously modifying the appearance attributes between the first and second virtual equipment models through equipment appearance signals, thereby realizing the technical effect of improving the economy and flexibility of virtual equipment model appearance linkage, and solving the technical problems of high cost and poor flexibility of related technologies that use appearance attribute data tags to realize the appearance linkage function of virtual equipment models.
[0145] Figure 11 This is a schematic diagram of an electronic device according to one embodiment of this application. Figure 11 As shown, the electronic device 1100 is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0146] like Figure 11 As shown, the electronic device 1100 is presented in the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one processor 1110, at least one memory 1120, a bus 1130 connecting different system components (including memory 1120 and processor 1110), and a display 1140.
[0147] The memory 1120 stores program code that can be executed by the processor 1110, causing the processor 1110 to perform the steps described in the method section of the embodiments of this application according to various exemplary implementations of this application.
[0148] The memory 1120 may include a readable medium in the form of volatile memory cells, such as random access memory (RAM) 11201 and / or cache memory 11202, and may further include read-only memory (ROM) 11203, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0149] In some instances, memory 1120 may also include programs / utilities 11204 having a set (at least one) of program modules 11205, including but not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Memory 1120 may further include memory remotely located relative to processor 1110, which can be connected to electronic device 1100 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0150] Bus 1130 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, peripheral bus, graphics acceleration port, processor 1110, or a local bus using any of the various bus structures.
[0151] The display 1140 may be, for example, a touch-screen liquid crystal display (LCD) that allows a user to interact with the user interface of the electronic device 1100.
[0152] Optionally, the electronic device 1100 can also communicate with one or more external devices 1200 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1100, and / or any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via the input / output (I / O) interface 1150. Furthermore, the electronic device 1100 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via the network adapter 1160. Figure 11 As shown, network adapter 1160 communicates with other modules of electronic device 1100 via bus 1130. It should be understood that, although... Figure 11 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Disks (RAID) systems, tape drives, and data backup storage systems.
[0153] The aforementioned electronic device 1100 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply, and / or a camera.
[0154] Those skilled in the art will understand that Figure 11 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, electronic device 1100 may also include components that are more... Figure 11 The more or fewer components shown, or having the same Figure 11 Different configurations are shown. The memory 1120 can be used to store computer programs and corresponding data, such as the computer program and corresponding data corresponding to the method for modifying the appearance attributes of a virtual equipment model in this embodiment. The processor 1110 executes various functional applications and data processing by running the computer program stored in the memory 1120, thereby implementing the aforementioned method for modifying the appearance attributes of a virtual equipment model.
[0155] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0156] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0157] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0158] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0159] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0160] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0161] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for modifying the appearance attributes of a virtual equipment model, characterized in that, include: Acquire a first equipment appearance signal, wherein the first equipment appearance signal is triggered and generated by the first virtual equipment model corresponding to the first part of the virtual character model, and the first equipment appearance signal is used to instruct the second virtual equipment model corresponding to the second part of the virtual character model to synchronously modify the appearance attributes with the first virtual equipment model, and the virtual character model is a game character model in a virtual game scene. Based on the signal type and signal content of the first equipment appearance signal, the appearance attributes of the second virtual equipment model are modified to obtain the modification result. The signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method. Determine whether there is a second equipment appearance signal to be sent, wherein the second equipment appearance signal is generated by the second virtual equipment model and is used to instruct the third virtual equipment model corresponding to the third part of the virtual character model to synchronously modify the appearance attributes with the second virtual equipment model. In response to the presence of the second equipment appearance signal, the second equipment appearance signal is emitted so that the third virtual equipment model responds to the second equipment appearance signal.
2. The method according to claim 1, characterized in that, Based on the signal type and signal content of the first equipment appearance signal, the appearance attributes of the second virtual equipment model are modified to obtain the following modification results: Acquire the signal type and signal content of the first equipment appearance signal; Based on the signal type, the second virtual equipment model is determined to be the signal receiving object, and the appearance attributes of the signal receiving object are modified based on the signal content to obtain the modification result.
3. The method according to claim 2, characterized in that, Determining the second virtual equipment model as the signal receiving object based on the signal type includes: Detect whether the signal type matches the predefined signal type of the second virtual equipment model; In response to the signal type matching a predefined signal type of the second virtual equipment model, the second virtual equipment model is identified as the signal receiving object.
4. The method according to claim 2, characterized in that, The method further includes: Detect whether the signal type matches the predefined signal type of the second virtual equipment model; In response to the signal type not matching the predefined signal type of the second virtual equipment model, the first equipment appearance signal is rejected.
5. The method according to claim 2, characterized in that, Modifying the appearance attributes of the signal receiving object based on the signal content to obtain the modification result includes: Based on the signal content, determine the appearance attributes to be modified of the signal receiving object and the parameter values to be modified corresponding to the appearance attributes to be modified; The historical parameter values of the appearance attribute to be modified are modified according to the parameter values to be modified, and the modification result is obtained.
6. The method according to claim 1, characterized in that, The method further includes: The signal type and signal content of the second equipment appearance signal are determined based on the appearance linkage rules corresponding to the second virtual equipment model. The second equipment appearance signal is generated using the signal type and signal content of the second equipment appearance signal.
7. A device for modifying the appearance attributes of a virtual equipment model, characterized in that, include: The acquisition module is used to acquire a first equipment appearance signal, wherein the first equipment appearance signal is generated by the first virtual equipment model corresponding to the first part of the virtual character model being worn, and the first equipment appearance signal is used to instruct the second virtual equipment model corresponding to the second part of the virtual character model to synchronously modify the appearance attributes with the first virtual equipment model, wherein the virtual character model is a game character model in a virtual game scene. The modification module is used to modify the appearance attributes of the second virtual equipment model according to the signal type and signal content of the first equipment appearance signal to obtain a modification result, wherein the signal type is used to match the signal receiving object, and the signal content is used to determine the appearance attribute modification method; determine whether there is a second equipment appearance signal to be sent, wherein the second equipment appearance signal is triggered and generated by the second virtual equipment model, and the second equipment appearance signal is used to instruct the third virtual equipment model corresponding to the third part of the virtual character model to synchronously modify the appearance attributes with the second virtual equipment model; and in response to the existence of the second equipment appearance signal, send the second equipment appearance signal so that the third virtual equipment model responds to the second equipment appearance signal.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute, when run by a processor, the method for modifying the appearance attributes of a virtual equipment model as described in any one of claims 1 to 6.
9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method for modifying the appearance attributes of a virtual equipment model as described in any one of claims 1 to 6.