CN113457158B - Virtual character configuration method and device, storage medium and electronic device - Google Patents

Virtual character configuration method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113457158B
CN113457158B CN202110725310.XA CN202110725310A CN113457158B CN 113457158 B CN113457158 B CN 113457158B CN 202110725310 A CN202110725310 A CN 202110725310A CN 113457158 B CN113457158 B CN 113457158B
Authority
CN
China
Prior art keywords
virtual
attribute
checkpoint
event
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110725310.XA
Other languages
Chinese (zh)
Other versions
CN113457158A (en
Inventor
董鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Perfect World Chongqing Interactive Technology Co ltd
Original Assignee
Perfect World Chongqing Interactive Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Perfect World Chongqing Interactive Technology Co ltd filed Critical Perfect World Chongqing Interactive Technology Co ltd
Priority to CN202110725310.XA priority Critical patent/CN113457158B/en
Publication of CN113457158A publication Critical patent/CN113457158A/en
Application granted granted Critical
Publication of CN113457158B publication Critical patent/CN113457158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/65Methods for processing data by generating or executing the game program for computing the condition of a game character

Abstract

The invention provides a configuration method and device of virtual roles, a storage medium and an electronic device, wherein the method comprises the following steps: detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of the first checkpoint; updating the intra-office attribute of the virtual character according to a first virtual event; when the virtual character exits the first gateway, generating an out-of-office growth resource of the virtual character according to the in-office attribute, the first virtual event and the second virtual event, updating the out-of-office attribute of the virtual character according to the growth data, and restoring the in-office attribute of the virtual character to a preset initial value; and when the virtual character enters the virtual scene of the second gateway, configuring the virtual character by adopting the updated preset initial values of the external attribute and the internal attribute. The technical problem of low efficiency of configuring the virtual roles in the virtual scene in the related technology is solved, flexibility and diversity of configuring the virtual roles are improved, and game playability and user experience are improved.

Description

Virtual character configuration method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a virtual character configuration method and apparatus, a storage medium, and an electronic apparatus.
Background
In the related art, in a virtual scene such as a virtual game, a growing mode of a virtual character in the scene generally continuously grows, and according to accumulation of experience and enhancement of player properties, a common card game adopts such a mode in combination with properties of a weapon. The continuous growth approach does not allow the player to embody the local operational achievements within a certain checkpoint.
In view of the above problems in the related art, no effective solution has been found yet.
Disclosure of Invention
The embodiment of the invention provides a virtual character configuration method and device, a storage medium and an electronic device.
According to an embodiment of the present invention, there is provided a configuration method of a virtual character, including: detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of the first checkpoint; updating the intra-office attribute of the virtual character according to the first virtual event; when the virtual character exits the first checkpoint, generating an out-of-office growth resource of the virtual character according to the in-office attribute, the first virtual event and the second virtual event, updating the out-of-office attribute of the virtual character according to the out-of-office growth resource, and restoring the in-office attribute of the virtual character to a preset initial value; and when the virtual character enters the virtual scene of the second gateway, the updated external attribute and the updated preset initial value of the internal attribute are adopted to configure the virtual character.
Optionally, detecting the first virtual event and the second virtual event performed by the virtual character in the virtual scene of the first checkpoint includes one of: detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of N sub-checkpoints converted according to a preset sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1; and detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of N sub-checkpoints converted according to a random sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1.
Optionally, detecting the first virtual event and the second virtual event executed by the virtual character in the virtual scene of the N sub-checkpoints converted according to the random order includes: detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of the initial sub-gate after the virtual character enters the initial sub-gate of the first gate; and detecting a first virtual event and a second virtual event executed by the virtual character in virtual scenes of the M random sub-checkpoints and the terminator checkpoints from the start sub-checkpoints to the M random sub-checkpoints until the M random sub-checkpoints enter the terminator checkpoints of the first checkpoint, wherein M+2 is more than or equal to N, M is an integer, the M random sub-checkpoints are a checkpoint sequence consisting of N-2 sub-checkpoints, and each sub-checkpoint occurs for a plurality of times in the checkpoint sequence.
Optionally, when the virtual character exits the first checkpoint, generating the out-of-office growth resource of the virtual character according to the in-office attribute, the first virtual event, and the second virtual event includes: when the virtual character exits the first checkpoint, counting a plurality of first virtual events and a plurality of second virtual events accumulated by the virtual character in a virtual scene of the first checkpoint; analyzing first virtual resources corresponding to the plurality of first virtual events, second virtual resources corresponding to the plurality of second virtual events, and third virtual resources corresponding to the in-office attribute; and converting the first virtual resource, the second virtual resource and the third virtual resource into the out-of-position growth resource of the virtual character.
Optionally, updating the intra-office attribute of the virtual character according to the first virtual event includes: before the virtual character exits the first checkpoint, analyzing a first virtual resource amount and/or a virtual prop corresponding to the first virtual event; and updating the character attribute value of the virtual character in real time based on the first virtual resource amount and/or the virtual prop attribute value.
Optionally, configuring the virtual character using the updated preset initial values of the external attribute and the internal attribute includes: respectively configuring a first attribute item and a second attribute item of the virtual character by adopting the updated preset initial values of the external attribute and the internal attribute; and configuring the growth rate of the second attribute item by adopting the first attribute value, wherein the growth rate is used for representing the attribute value of each growth unit gain of the second attribute item, the growth rate is positively correlated with the first attribute value, and the first attribute value is the updated attribute value of the external attribute.
Optionally, before detecting the first virtual event and the second virtual event executed by the virtual character in the virtual scene of the first checkpoint, the method further includes: before the virtual character enters the first checkpoint, determining a value interval to which an extrinsic attribute inherited from a third checkpoint belongs, wherein the third checkpoint is a previous checkpoint of the first checkpoint; searching a random range matched with the value interval by adopting a preset mapping table; and configuring a value range of random values of the first checkpoint by adopting the random range, wherein each random value corresponds to one random event in the first checkpoint.
Optionally, updating the outsource attribute of the virtual character according to the outsource growth data includes: when the virtual character exits the first checkpoint, counting the outgrowth resources accumulated by the virtual character in the virtual scene of the first checkpoint; updating the configuration value of the target account in the configuration item based on the out-of-office growth resource, wherein the target account is associated with a plurality of virtual roles; and updating the value of the external attribute of the virtual character in the third attribute item based on the configuration value aiming at all virtual characters or at least one selected virtual character associated with the target account.
According to another embodiment of the present invention, there is provided a configuration apparatus of a virtual character, including: the detection module is used for detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of the first checkpoint; the updating module is used for updating the intra-office attribute of the virtual role according to the first virtual event; the processing module is used for generating an extrasituation growth resource of the virtual role according to the intra-office attribute, the first virtual event and the second virtual event when the virtual role exits the first gateway, updating the extrasituation attribute of the virtual role according to the extrasituation growth data and restoring the intra-office attribute of the virtual role to a preset initial value; and the first configuration module is used for configuring the virtual role by adopting the updated preset initial values of the external attribute and the local attribute when the virtual role enters the virtual scene of the second checkpoint.
Optionally, the detection module includes one of: the first detection unit is used for detecting a first virtual event and a second virtual event which are executed by the virtual character in a virtual scene of N sub-checkpoints converted according to a preset sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer larger than 1; and the second detection unit is used for detecting a first virtual event and a second virtual event which are executed by the virtual character in the virtual scene of N sub-checkpoints converted according to the random sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer larger than 1.
Optionally, the second detection unit includes: the first detection subunit is used for detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of the initial sub-checkpoint after the virtual character enters the initial sub-checkpoint of the first checkpoint; and the second detection subunit is used for detecting a first virtual event and a second virtual event executed by the virtual character in virtual scenes of the M random sub-checkpoints and the terminator sub-checkpoints from the virtual character to the M random sub-checkpoints from the initial sub-checkpoints until the M random sub-checkpoints enter the terminator sub-checkpoints of the first checkpoint, wherein M+2 is more than or equal to N, M is an integer, the M random sub-checkpoints are a checkpoint sequence consisting of N-2 sub-checkpoints, and each sub-checkpoint appears for a plurality of times in the checkpoint sequence.
Optionally, the processing module includes: a statistics unit, configured to, when the virtual character exits the first checkpoint, count a plurality of first virtual events and a plurality of second virtual events accumulated by the virtual character in a virtual scene of the first checkpoint; the analyzing unit is used for analyzing the first virtual resources corresponding to the plurality of first virtual events, the second virtual resources corresponding to the plurality of second virtual events and the third virtual resources corresponding to the in-office attribute; and the conversion unit is used for converting the first virtual resource, the second virtual resource and the third virtual resource into the outgrowth resource of the virtual character.
Optionally, the updating module includes: the analyzing unit is used for analyzing the first virtual resource quantity and/or the virtual prop corresponding to the first virtual event before the virtual character exits the first checkpoint; and the first updating unit is used for updating the character attribute value of the virtual character in real time based on the first virtual resource amount and/or the virtual prop attribute value.
Optionally, the first configuration module includes: a first configuration unit, configured to configure the first attribute item and the second attribute item of the virtual character by using the updated preset initial values of the external attribute and the internal attribute, respectively; and the second configuration unit is used for configuring the growth rate of the second attribute item by adopting the first attribute value, wherein the growth rate is used for representing the attribute value of each growth unit gain of the second attribute item, the growth rate is positively correlated with the first attribute value, and the first attribute value is the updated attribute value of the outsider attribute.
Optionally, the apparatus further includes: a determining module, configured to determine, before the detecting module detects a first virtual event and a second virtual event executed by a virtual character in a virtual scene of a first checkpoint, a value interval to which an extrinsic attribute inherited from a third checkpoint belongs before the virtual character enters the first checkpoint, where the third checkpoint is a previous checkpoint of the first checkpoint; the searching module is used for searching a random range matched with the value interval by adopting a preset mapping table; and the second configuration module is used for configuring the value range of the random value of the first checkpoint by adopting the random range, wherein each random value corresponds to one random event in the first checkpoint.
Optionally, the updating module includes: the statistics unit is used for counting the outgrowth resources accumulated by the virtual character in the virtual scene of the first checkpoint when the virtual character exits the first checkpoint; a second updating unit, configured to update a configuration value of a target account in a configuration item based on the outgrowth resource, where the target account is associated with a plurality of virtual roles; and a third updating unit, configured to update, for all virtual roles or at least one selected virtual role associated with the target account, an out-of-office attribute value of the virtual role in a third attribute item based on the configuration value.
According to a further embodiment of the invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the method and the device, the first virtual event and the second virtual event executed by the virtual character in the virtual scene of the first gate are detected, the in-office attribute of the virtual character is updated according to the first virtual event, the out-of-office growth resource of the virtual character is generated according to the in-office attribute, the first virtual event and the second virtual event when the virtual character exits the first gate, the out-of-office attribute of the virtual character is updated according to the out-of-office growth data, the in-office attribute of the virtual character is restored to the preset initial value, the virtual character is configured by adopting the updated out-of-office attribute and the preset initial value of the in-office attribute when the virtual character enters the virtual scene of the second gate, the in-office attribute of the gate and the out-of-office attribute of the gate are updated by adopting two different updating modes, and the in-office attribute and the out-office attribute are adopted to configure the virtual character, the technical problem that the efficiency of configuring the virtual character in the virtual scene is low in related technology is solved, the flexibility and the diversity of configuring the virtual character are improved, and the game playability and the user experience are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a block diagram of the hardware architecture of a configuration computer for a virtual character according to an embodiment of the present invention;
fig. 2 is a flow chart illustrating a method for configuring a virtual character according to an embodiment of the present invention;
FIG. 3 is a schematic diagram showing the growth of the in-office attribute and the out-of-office attribute according to the embodiment of the present invention;
FIG. 4 is a schematic diagram of switching sub-checkpoints according to a predetermined order and a random order in an embodiment of the present invention;
fig. 5 is a block diagram of a configuration apparatus of a virtual character according to an embodiment of the present invention;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The method embodiment provided in the first embodiment of the present application may be performed in a mobile phone, a tablet, a server, a computer, or a similar electronic terminal. Taking the example of running on a computer, fig. 1 is a block diagram of the hardware structure of a virtual character configuration computer according to an embodiment of the present invention. As shown in fig. 1, the computer may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those of ordinary skill in the art that the configuration shown in FIG. 1 is merely illustrative and is not intended to limit the configuration of the computer described above. For example, the computer may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for configuring a virtual character in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to the computer 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. In this embodiment, the processor 104 is configured to control the target virtual character to perform a specified operation to complete the game task in response to the man-machine interaction instruction and the game policy. The memory 104 is used to store program scripts for the electronic game, configuration information, attribute information for the virtual character, and the like.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communications provider of a computer. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
Optionally, the input/output device 108 further includes a man-machine interaction screen, configured to obtain a man-machine interaction instruction through a man-machine interaction interface, and further configured to present a picture in the virtual scene;
in this embodiment, a method for configuring a virtual character is provided, and fig. 2 is a schematic flow chart of a method for configuring a virtual character according to an embodiment of the present invention, as shown in fig. 2, where the flow chart includes the following steps:
step S202, detecting a first virtual event and a second virtual event executed by a virtual character in a virtual scene of a first checkpoint;
alternatively, the virtual scene applied in the present embodiment may be a virtual game scene, a virtual teaching scene, a virtual demonstration scene, or the like, in which a plurality of virtual characters are included, and the virtual characters may be controlled by a user operation or a system AI, where the virtual characters may be controlled by a user, such as PCC (Player-Controlled Character, player character or Player control character) in a virtual game controlled by a master Player. In this embodiment, a virtual scene is described as an example of a virtual game scene.
The first virtual event and the second virtual event in this embodiment are game events in which the virtual Character participates in the virtual game scene, such as a game event of killing a hostile Character, a game event of killing a Non-Player Character (NPC), opening a box, picking up an item or the like, which may occur in the game, and executing corresponding different virtual events when the virtual Character executes different decision selections in the virtual scene.
Step S204, the in-office attribute of the virtual role is updated according to the first virtual event;
in this embodiment, the virtual roles in the checkpoints include two types of role attributes, namely an intra-office attribute and an extra-office attribute, wherein the intra-office attribute is a role attribute valid only in the current checkpoint, and the extra-office attribute is a role attribute valid in all the checkpoints, and the intra-office attribute and the extra-office attribute of the virtual roles are mutually influenced and associated;
in this embodiment, the in-office attribute of the virtual character only takes effect in the checkpoint, such as the character grade and the picked virtual equipment, the corresponding data is only stored in the currently played checkpoint, the player only uses in the current checkpoint, and the in-office attribute will fail or return to the initial state of the checkpoint initiation after the clearance or jump out of the checkpoint; for the out-of-office attribute of the virtual character, such as the star attribute of the virtual character (an attribute for determining the growth rate of the virtual character), the potential attribute (an attribute for determining the growth maximum value of the virtual character) can be brought out of the game stage, and the virtual character can be accumulated along with the progress of the game stage.
Step S206, when the virtual character exits the first gateway, generating an extrasituation growth resource of the virtual character according to the extrasituation attribute, the first virtual event and the second virtual event, updating the extrasituation attribute of the virtual character according to the extrasituation growth data, and restoring the extrasituation attribute of the virtual character to a preset initial value;
Fig. 3 is a schematic diagram showing the growth of the intra-office attribute and the extra-office attribute, wherein the intra-office attribute is restored after each checkpoint is finished, and the extra-office attribute is accumulated and updated as the checkpoint progresses.
After the virtual character exits the current first checkpoint, such as after a pass, the in-office attribute of the virtual character is restored to a preset initial value, such as to 0, and the in-office attribute is accumulated from 0 when entering the first checkpoint or other checkpoints next time. The level of the embodiment refers to a game link with a specific purpose set in the virtual game, and after the purpose is achieved, the game logic or game elements (such as scenes, roles, etc.) in different levels may be different, and in the virtual teaching scene, courses, grades, subjects, etc. can be skipped from the level to the next level.
Step S208, when the virtual character enters the virtual scene of the second checkpoint, the virtual character is configured by adopting the updated preset initial values of the external attribute and the internal attribute;
through the steps, the first virtual event and the second virtual event executed by the virtual character in the virtual scene of the first gate are detected, the in-office attribute of the virtual character is updated according to the first virtual event, the out-of-office growth resource of the virtual character is generated according to the in-office attribute, the first virtual event and the second virtual event when the virtual character exits the first gate, the out-of-office attribute of the virtual character is updated according to the out-of-office growth data, the in-office attribute of the virtual character is restored to the preset initial value, the virtual character is configured by adopting the updated out-of-office attribute and the preset initial value of the in-office attribute when the virtual character enters the virtual scene of the second gate, the in-office attribute of the gate and the out-of-office attribute of the gate are updated by adopting two different updating modes, and the in-office attribute and the out-of-office attribute are adopted to configure the virtual character, the technical problem that the efficiency of configuring the virtual character in the virtual scene is low in related technology is solved, the flexibility and diversification of configuring the virtual character are improved, and the game playability and user experience are improved.
In one implementation scenario of this embodiment, each level corresponds to multiple sub-levels, which may be in a preset order or a random order, where game logic may be installed or a user selects a transition order. Correspondingly, detecting the first virtual event and the second virtual event executed by the virtual character in the virtual scene of the first checkpoint includes the following two ways:
the first detection mode is as follows: detecting a first virtual event and a second virtual event executed by a virtual character in a virtual scene of N sub-checkpoints converted according to a preset sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1;
in one example, the first checkpoint includes three sub-checkpoints, namely, a checkpoint a, a checkpoint b and a checkpoint c, and after entering the virtual scene according to a preset sequence, the first enters the checkpoint a, then enters the checkpoint b, and finally enters the checkpoint c to complete the checkpoint c.
And a second detection mode is as follows: and detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of N sub-checkpoints converted according to a random sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1.
In one example, the first checkpoint includes three sub-checkpoints, namely, checkpoint a, checkpoint b, and checkpoint c, and the switching sequence of the three checkpoints is random, and it is possible to enter the checkpoint a first, then enter the checkpoint c and the checkpoint b, and also enter the checkpoint c first, and then enter the checkpoint a and the checkpoint b.
Fig. 4 is a schematic diagram of switching sub-checkpoints according to a preset sequence and a random sequence in the embodiment of the present invention, where in the preset sequence, the checkpoints are executed according to the sequence of checkpoints a→checkpoints b→checkpoints c, and in the random sequence, the checkpoint x is one selected randomly from checkpoints a, b and c, the checkpoint y is one selected randomly from checkpoints a, b and c, and the checkpoint i is a plurality of selected randomly from checkpoints a, b and c.
In some implementations based on detection mode two, detecting the first virtual event and the second virtual event performed by the virtual character in the virtual scene of the N sub-checkpoints that transition in random order includes: after the virtual character enters an initial sub-checkpoint of the first checkpoint, detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of the initial sub-checkpoint; and detecting a first virtual event and a second virtual event executed by the virtual character in virtual scenes of the M random sub-checkpoints and the terminator checkpoints from the start sub-checkpoints to the stop sub-checkpoints of the M random sub-checkpoints until the virtual character enters the M random sub-checkpoints, wherein M+2 is more than or equal to N, M is an integer, the M random sub-checkpoints are a checkpoint sequence consisting of N-2 sub-checkpoints, and each sub-checkpoint occurs for a plurality of times in the checkpoint sequence.
In one example, N sub-checkpoints of the first checkpoint are acquired for switching the endless mode, the number of times and the sequence of occurrence of each sub-checkpoint are random, the system presets the termination condition of the endless mode, and only when any sub-checkpoint triggers the termination condition, the endless mode is ended, and the first checkpoint is exited. Optionally, the sorting order of the gate sequences may be generated according to random numbers in advance, or may be adjusted and generated in real time in the process of the first gate, and based on some action actions of the virtual character at the current sub-gate, or the executed first virtual event and second virtual event, player decisions and the like, the gate sequences are generated at the next gate of the current sub-gate or a terminator is generated, and the terminator is used for ending the first gate and indicating the last sub-gate of the first gate when the current sub-gate.
In one implementation of this embodiment, generating the out-of-office growth resource for the virtual character based on the in-office attribute, the first virtual event, and the second virtual event when the virtual character exits the first checkpoint comprises: when the virtual character exits the first checkpoint, counting a plurality of first virtual events and a plurality of second virtual events accumulated by the virtual character in a virtual scene of the first checkpoint; analyzing first virtual resources corresponding to a plurality of first virtual events, second virtual resources corresponding to a plurality of second virtual events, and third virtual resources corresponding to in-office attributes; the first virtual resource, the second virtual resource, and the third virtual resource are converted into outsourced growth resources of the virtual character.
In this embodiment, the outgrowth resource is related to a first virtual event and a second virtual event executed in a virtual scene of the first checkpoint, where the first virtual event may include a plurality of types of events, the second virtual event may also include a plurality of types of events, and a type of virtual resource or an amount of virtual resources corresponding to a time of each type is different, and optionally, the outgrowth resource includes a plurality of types of outgrowth sub-resources, and each type of outgrowth sub-resource is used to update a class of outattribute of the virtual character.
The in-office attributes in the gate will determine rewards obtained by the first gate, and although the in-office attributes growing in the gate will be cleared when exiting the gate or going through the gate, these rewards will be converted into the results of the gate, into the first virtual resources, i.e. the in-house growth will be converted into the materials needed by the out-of-office growth, such as resources, materials, etc., and then consume the out-of-office growth resources to conduct out-cultivation on the virtual characters, increasing the out-of-office attributes of the virtual characters. During the gate process, a part of the events (first virtual event) affects in-office growth, a part of the events (first virtual event and second virtual event) affects out-of-office growth, the speed of in-office growth and out-of-office growth, and the growth direction depends on the decision and the fortune of the player in the gate, namely, whether the first virtual event and the second virtual event are executed, the time and the frequency of executing the first virtual event and the second virtual event, and the like.
In some instances of this embodiment, updating the in-office attribute of the virtual character based on the first virtual event includes: before the virtual character exits the first gateway, analyzing a first virtual resource amount and/or a virtual prop corresponding to the first virtual event; and updating the character attribute value of the virtual character in real time based on the first virtual resource amount and/or the virtual prop attribute value.
The virtual prop attribute value may be a virtual prop attribute value of a designated virtual prop currently assembled by the virtual character, or may be a sum of virtual prop attribute values of all virtual characters held by the virtual character (the virtual character has 10 props in the virtual game, but only can assemble and use one prop at a time), and when the virtual prop attribute value selects the virtual prop attribute value of the designated virtual prop currently assembled by the virtual character, if the virtual character unloads or updates the virtual prop in real time, the character attribute value is also adjusted.
In the virtual scene of the embodiment, if the game player has poor chance of occurrence of an event or decision-making randomness of a user in a certain level, the game player cannot acquire (or acquires less) the combat attribute growing in the game, or can use the attribute growing in the outside (namely the outside attribute) to combat, so that the virtual character has certain combat capability, the experience of each game in the level is ensured, and if the game player has good chance of occurrence in the game, the game player grows fast in the game and walks far in the game, thereby reflecting the difference of each game.
In one implementation of this embodiment, configuring the virtual character with the updated default initial values of the out-of-office attribute and the in-office attribute includes: respectively configuring a first attribute item and a second attribute item of the virtual character by adopting the updated preset initial values of the external attribute and the internal attribute; and configuring the growth rate of the second attribute item by adopting the first attribute value, wherein the growth rate is used for representing the attribute value of the second attribute item in each growth unit gain, the growth rate is positively correlated with the first attribute value, and the first attribute value is the updated attribute value of the external attribute.
Optionally, the first attribute item and the second attribute item may be the same attribute item, for example, both are attack attributes, for example, one is attack attribute, and one is defense attribute, in one example, the first attribute item is attack attribute, the second attribute item is defense attribute, the first attribute value of the updated external attribute is 100, the preset initial value of the local attribute is 0, after configuration, the attack attribute of the virtual character is 100, the defense attribute is 0, and meanwhile, the first attribute value is adopted to configure the growth rate of the defense attribute, for example, 100 corresponds to a defense value of 10 growth per minute.
In the virtual scenario of this embodiment, the configuration of the external attribute to the virtual character determines the starting point and the upper limit of the character attribute in the checkpoint, if the external cultivation of the external attribute to the virtual character does not reach the standard, the second checkpoint may not be started or the second is dead after entering the second checkpoint, and the other part is configured to the growth efficiency of the attribute in the office, such as the size of the attack value (the basic value plus the percentage gain) increased by one step for the character. Optionally, the range of the random event can be corresponding to the better external culture, the larger the random range of the random event is, the better playability of the checkpoint is, and meanwhile, the random event in the checkpoint can influence the update of the attribute and the extravehicular attribute of the virtual character in the checkpoint.
In some implementation scenarios of this embodiment, before detecting the first virtual event and the second virtual event performed by the virtual character in the virtual scenario of the first checkpoint, further includes: before the virtual character enters the first checkpoint, determining a value interval to which the extrinsic attribute inherited from a third checkpoint belongs, wherein the third checkpoint is the previous checkpoint of the first checkpoint; searching a random range matched with the value interval by adopting a preset mapping table; and configuring a value range of random values of the first checkpoint by adopting the random range, wherein each random value corresponds to one random event in the first checkpoint.
In this implementation scenario, the external attribute of the previous level may also affect the occurrence range of the game event in the next level, where the game event in each level occurs randomly, the larger the random range is, the greater the randomness of occurrence of the event is, that is, the more events may occur, in the preset mapping table, each value interval corresponds to a random range, for example, interval 1 corresponds to event 1 to event 3, interval 2 corresponds to event 1 to event 5, and interval 4 corresponds to event 1 to event 10.
Optionally, updating the outsource attribute of the avatar based on the outsource growth data includes: when the virtual character exits the first checkpoint, counting the accumulated out-of-position growth resources of the virtual character in the virtual scene of the first checkpoint; updating the configuration value of the target account in the configuration item based on the out-of-position growth resource, wherein the target account is associated with a plurality of virtual roles; and updating the outsource attribute value of the virtual character in the third attribute item based on the configuration value for all virtual characters or at least one selected virtual character associated with the target account.
In this embodiment, there are two addition methods for the growth update of the out-of-office attribute, one is to participate in the addition of the virtual character for the gate, and the other is to add the game account (a plurality of virtual characters associated therewith). Some randomness factors can be added, such as selecting a plurality of virtual characters randomly in a character library of a game account to perform attribute addition, selecting a plurality of attribute items randomly in all attribute items of the selected virtual characters to perform addition, or adding the virtual characters or the attribute items appointed by a player, or recommending the attribute items based on the level attribute of the second level by the system so that the virtual characters are more suitable for the battle of the next level.
The intra-office attribute of the game is restored, so that the limit of the value of part of the growing attribute is removed, the playing mechanism of the game is conveniently expanded, and each time of game experience of a player is different and is closer to that of a single game.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
The embodiment also provides a configuration device of the virtual character, which is used for implementing the foregoing embodiments and preferred embodiments, and the description is omitted herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a block diagram of a configuration apparatus of a virtual character according to an embodiment of the present invention, as shown in fig. 5, the apparatus including: a detection module 50, an update module 52, a processing module 54, a first configuration module 56, wherein,
a detection module 50, configured to detect a first virtual event and a second virtual event executed by a virtual character in a virtual scene of a first checkpoint;
an updating module 52, configured to update the intra-office attribute of the virtual character according to the first virtual event;
the processing module 54 is configured to generate an extrasituation growth resource of the virtual character according to the intra-office attribute, the first virtual event, and the second virtual event when the virtual character exits the first checkpoint, update the extrasituation attribute of the virtual character according to the extrasituation growth data, and restore the intra-office attribute of the virtual character to a preset initial value;
A first configuration module 56, configured to configure the virtual character with the updated external attribute and the preset initial value of the internal attribute when the virtual character enters the virtual scene of the second checkpoint.
Optionally, the detection module includes one of: the first detection unit is used for detecting a first virtual event and a second virtual event which are executed by the virtual character in a virtual scene of N sub-checkpoints converted according to a preset sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer larger than 1; and the second detection unit is used for detecting a first virtual event and a second virtual event which are executed by the virtual character in the virtual scene of N sub-checkpoints converted according to the random sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer larger than 1.
Optionally, the second detection unit includes: the first detection subunit is used for detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of the initial sub-checkpoint after the virtual character enters the initial sub-checkpoint of the first checkpoint; and the second detection subunit is used for detecting a first virtual event and a second virtual event executed by the virtual character in virtual scenes of the M random sub-checkpoints and the terminator sub-checkpoints from the virtual character to the M random sub-checkpoints from the initial sub-checkpoints until the M random sub-checkpoints enter the terminator sub-checkpoints of the first checkpoint, wherein M+2 is more than or equal to N, M is an integer, the M random sub-checkpoints are a checkpoint sequence consisting of N-2 sub-checkpoints, and each sub-checkpoint appears for a plurality of times in the checkpoint sequence.
Optionally, the processing module includes: a statistics unit, configured to, when the virtual character exits the first checkpoint, count a plurality of first virtual events and a plurality of second virtual events accumulated by the virtual character in a virtual scene of the first checkpoint; the analyzing unit is used for analyzing the first virtual resources corresponding to the plurality of first virtual events, the second virtual resources corresponding to the plurality of second virtual events and the third virtual resources corresponding to the in-office attribute; and the conversion unit is used for converting the first virtual resource, the second virtual resource and the third virtual resource into the outgrowth resource of the virtual character.
Optionally, the updating module includes: the analyzing unit is used for analyzing the first virtual resource quantity and/or the virtual prop corresponding to the first virtual event before the virtual character exits the first checkpoint; and the first updating unit is used for updating the character attribute value of the virtual character in real time based on the first virtual resource amount and/or the virtual prop attribute value.
Optionally, the first configuration module includes: a first configuration unit, configured to configure the first attribute item and the second attribute item of the virtual character by using the updated preset initial values of the external attribute and the internal attribute, respectively; and the second configuration unit is used for configuring the growth rate of the second attribute item by adopting the first attribute value, wherein the growth rate is used for representing the attribute value of each growth unit gain of the second attribute item, the growth rate is positively correlated with the first attribute value, and the first attribute value is the updated attribute value of the outsider attribute.
Optionally, the apparatus further includes: a determining module, configured to determine, before the detecting module detects a first virtual event and a second virtual event executed by a virtual character in a virtual scene of a first checkpoint, a value interval to which an extrinsic attribute inherited from a third checkpoint belongs before the virtual character enters the first checkpoint, where the third checkpoint is a previous checkpoint of the first checkpoint; the searching module is used for searching a random range matched with the value interval by adopting a preset mapping table; and the second configuration module is used for configuring the value range of the random value of the first checkpoint by adopting the random range, wherein each random value corresponds to one random event in the first checkpoint.
Optionally, the updating module includes: the statistics unit is used for counting the outgrowth resources accumulated by the virtual character in the virtual scene of the first checkpoint when the virtual character exits the first checkpoint; a second updating unit, configured to update a configuration value of a target account in a configuration item based on the outgrowth resource, where the target account is associated with a plurality of virtual roles; and a third updating unit, configured to update, for all virtual roles or at least one selected virtual role associated with the target account, an out-of-office attribute value of the virtual role in a third attribute item based on the configuration value.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 3
The embodiment of the present application further provides an electronic device, and fig. 6 is a structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 6, including a processor 61, a communication interface 62, a memory 63, and a communication bus 64, where the processor 61, the communication interface 62, and the memory 63 complete communication with each other through the communication bus 64, and the memory 63 is used for storing a computer program;
the processor 61 is configured to execute the program stored in the memory 63, and implement the following steps: detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of the first checkpoint; updating the intra-office attribute of the virtual character according to the first virtual event; when the virtual character exits the first checkpoint, generating an out-of-office growth resource of the virtual character according to the in-office attribute, the first virtual event and the second virtual event, updating the out-of-office attribute of the virtual character according to the out-of-office growth resource, and restoring the in-office attribute of the virtual character to a preset initial value; and when the virtual character enters the virtual scene of the second gateway, the updated external attribute and the updated preset initial value of the internal attribute are adopted to configure the virtual character.
Optionally, detecting the first virtual event and the second virtual event performed by the virtual character in the virtual scene of the first checkpoint includes one of: detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of N sub-checkpoints converted according to a preset sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1; and detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of N sub-checkpoints converted according to a random sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1.
Optionally, detecting the first virtual event and the second virtual event executed by the virtual character in the virtual scene of the N sub-checkpoints converted according to the random order includes: detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of the initial sub-gate after the virtual character enters the initial sub-gate of the first gate; and detecting a first virtual event and a second virtual event executed by the virtual character in virtual scenes of the M random sub-checkpoints and the terminator checkpoints from the start sub-checkpoints to the M random sub-checkpoints until the M random sub-checkpoints enter the terminator checkpoints of the first checkpoint, wherein M+2 is more than or equal to N, M is an integer, the M random sub-checkpoints are a checkpoint sequence consisting of N-2 sub-checkpoints, and each sub-checkpoint occurs for a plurality of times in the checkpoint sequence.
Optionally, when the virtual character exits the first checkpoint, generating the out-of-office growth resource of the virtual character according to the in-office attribute, the first virtual event, and the second virtual event includes: when the virtual character exits the first checkpoint, counting a plurality of first virtual events and a plurality of second virtual events accumulated by the virtual character in a virtual scene of the first checkpoint; analyzing first virtual resources corresponding to the plurality of first virtual events, second virtual resources corresponding to the plurality of second virtual events, and third virtual resources corresponding to the in-office attribute; and converting the first virtual resource, the second virtual resource and the third virtual resource into the out-of-position growth resource of the virtual character.
Optionally, updating the intra-office attribute of the virtual character according to the first virtual event includes: before the virtual character exits the first checkpoint, analyzing a first virtual resource amount and/or a virtual prop corresponding to the first virtual event; and updating the character attribute value of the virtual character in real time based on the first virtual resource amount and/or the virtual prop attribute value.
Optionally, configuring the virtual character using the updated preset initial values of the external attribute and the internal attribute includes: respectively configuring a first attribute item and a second attribute item of the virtual character by adopting the updated preset initial values of the external attribute and the internal attribute; and configuring the growth rate of the second attribute item by adopting the first attribute value, wherein the growth rate is used for representing the attribute value of each growth unit gain of the second attribute item, the growth rate is positively correlated with the first attribute value, and the first attribute value is the updated attribute value of the external attribute.
Optionally, before detecting the first virtual event and the second virtual event executed by the virtual character in the virtual scene of the first checkpoint, the method further includes: before the virtual character enters the first checkpoint, determining a value interval to which an extrinsic attribute inherited from a third checkpoint belongs, wherein the third checkpoint is a previous checkpoint of the first checkpoint; searching a random range matched with the value interval by adopting a preset mapping table; and configuring a value range of random values of the first checkpoint by adopting the random range, wherein each random value corresponds to one random event in the first checkpoint.
Optionally, updating the outsource attribute of the virtual character according to the outsource growth data includes: when the virtual character exits the first checkpoint, counting the outgrowth resources accumulated by the virtual character in the virtual scene of the first checkpoint; updating the configuration value of the target account in the configuration item based on the out-of-office growth resource, wherein the target account is associated with a plurality of virtual roles; and updating the value of the external attribute of the virtual character in the third attribute item based on the configuration value aiming at all virtual characters or at least one selected virtual character associated with the target account.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided herein, a computer readable storage medium is provided, in which instructions are stored, which when run on a computer, cause the computer to perform the method for configuring a virtual character according to any one of the above embodiments.
In yet another embodiment provided herein, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the method of configuring a virtual character as described in any of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for configuring a virtual character, comprising:
detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of the first checkpoint;
updating the intra-office attribute of the virtual character according to the first virtual event;
when the virtual character exits the first checkpoint, generating an out-of-office growth resource of the virtual character according to the in-office attribute, the first virtual event and the second virtual event, updating the out-of-office attribute of the virtual character according to the out-of-office growth resource, and restoring the in-office attribute of the virtual character to a preset initial value;
when the virtual character enters the virtual scene of the second checkpoint, the updated external attribute and the updated preset initial value of the internal attribute are adopted to configure the virtual character;
wherein generating the out-of-office growth resource for the virtual character according to the in-office attribute, the first virtual event, and the second virtual event, when the virtual character exits the first checkpoint, comprises: when the virtual character exits the first checkpoint, counting a plurality of first virtual events and a plurality of second virtual events accumulated by the virtual character in a virtual scene of the first checkpoint; analyzing first virtual resources corresponding to the plurality of first virtual events, second virtual resources corresponding to the plurality of second virtual events, and third virtual resources corresponding to the in-office attribute; and converting the first virtual resource, the second virtual resource and the third virtual resource into the out-of-position growth resource of the virtual character.
2. The method of claim 1, wherein detecting the first virtual event and the second virtual event performed by the virtual character in the virtual scene of the first checkpoint comprises one of:
detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of N sub-checkpoints converted according to a preset sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1;
and detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of N sub-checkpoints converted according to a random sequence, wherein the first checkpoint comprises N sub-checkpoints, and N is an integer greater than 1.
3. The method of claim 2, wherein detecting the first virtual event and the second virtual event performed by the virtual character in the virtual scene of the N sub-checkpoints that transition in random order comprises:
detecting a first virtual event and a second virtual event executed by the virtual character in a virtual scene of the initial sub-gate after the virtual character enters the initial sub-gate of the first gate;
and detecting a first virtual event and a second virtual event executed by the virtual character in virtual scenes of the M random sub-checkpoints and the terminator checkpoints from the start sub-checkpoints to the M random sub-checkpoints until the M random sub-checkpoints enter the terminator checkpoints of the first checkpoint, wherein M+2 is more than or equal to N, M is an integer, the M random sub-checkpoints are a checkpoint sequence consisting of N-2 sub-checkpoints, and each sub-checkpoint occurs for a plurality of times in the checkpoint sequence.
4. The method of claim 1, wherein updating the in-office attributes of the virtual character based on the first virtual event comprises:
before the virtual character exits the first checkpoint, analyzing a first virtual resource amount and/or a virtual prop corresponding to the first virtual event;
and updating the character attribute value of the virtual character in real time based on the first virtual resource amount and/or the virtual prop attribute value.
5. The method of claim 1, wherein configuring the virtual character with the updated pre-set initial values of the extravehicular attribute and the intra-vehicular attribute comprises:
respectively configuring a first attribute item and a second attribute item of the virtual character by adopting the updated preset initial values of the external attribute and the internal attribute;
and configuring the growth rate of the second attribute item by adopting the first attribute item, wherein the growth rate is used for representing the attribute value of each growth unit gain of the second attribute item, the growth rate is positively correlated with the first attribute item, and the first attribute item is the updated attribute value of the outsider attribute.
6. The method of claim 1, wherein prior to detecting the first virtual event and the second virtual event performed by the virtual character in the virtual scene of the first checkpoint, the method further comprises:
Before the virtual character enters the first checkpoint, determining a value interval to which an extrinsic attribute inherited from a third checkpoint belongs, wherein the third checkpoint is a previous checkpoint of the first checkpoint;
searching a random range matched with the value interval by adopting a preset mapping table;
and configuring a value range of random values of the first checkpoint by adopting the random range, wherein each random value corresponds to one random event in the first checkpoint.
7. The method of claim 1, wherein updating the outsource attributes of the avatar in accordance with the outsource growth source comprises:
when the virtual character exits the first checkpoint, counting the outgrowth resources accumulated by the virtual character in the virtual scene of the first checkpoint;
updating the configuration value of the target account in the configuration item based on the out-of-office growth resource, wherein the target account is associated with a plurality of virtual roles;
and updating the value of the external attribute of the virtual character in the third attribute item based on the configuration value aiming at all virtual characters or at least one selected virtual character associated with the target account.
8. A virtual character configuration apparatus, comprising:
The detection module is used for detecting a first virtual event and a second virtual event executed by the virtual character in the virtual scene of the first checkpoint;
the updating module is used for updating the intra-office attribute of the virtual role according to the first virtual event;
the processing module is used for generating an out-of-office growth resource of the virtual role according to the in-office attribute, the first virtual event and the second virtual event when the virtual role exits the first gateway, updating the out-of-office attribute of the virtual role according to the out-of-office growth resource and restoring the in-office attribute of the virtual role to a preset initial value;
the first configuration module is used for configuring the virtual role by adopting the updated preset initial values of the external attribute and the internal attribute when the virtual role enters the virtual scene of the second checkpoint;
wherein the processing module comprises: a statistics unit, configured to, when the virtual character exits the first checkpoint, count a plurality of first virtual events and a plurality of second virtual events accumulated by the virtual character in a virtual scene of the first checkpoint; the analyzing unit is used for analyzing the first virtual resources corresponding to the plurality of first virtual events, the second virtual resources corresponding to the plurality of second virtual events and the third virtual resources corresponding to the in-office attribute; and the conversion unit is used for converting the first virtual resource, the second virtual resource and the third virtual resource into the outgrowth resource of the virtual character.
9. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when run.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of claims 1 to 7.
CN202110725310.XA 2021-06-29 2021-06-29 Virtual character configuration method and device, storage medium and electronic device Active CN113457158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110725310.XA CN113457158B (en) 2021-06-29 2021-06-29 Virtual character configuration method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110725310.XA CN113457158B (en) 2021-06-29 2021-06-29 Virtual character configuration method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113457158A CN113457158A (en) 2021-10-01
CN113457158B true CN113457158B (en) 2024-01-26

Family

ID=77873917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110725310.XA Active CN113457158B (en) 2021-06-29 2021-06-29 Virtual character configuration method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113457158B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114832378A (en) * 2022-04-22 2022-08-02 北京字跳网络技术有限公司 Virtual scene control method, virtual scene release method, virtual scene control device, virtual scene release device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112295230A (en) * 2020-10-30 2021-02-02 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for activating virtual props in virtual scene
CN112370782A (en) * 2020-11-30 2021-02-19 腾讯科技(深圳)有限公司 Auxiliary resource display method and device, storage medium and electronic equipment
CN112619158A (en) * 2020-12-30 2021-04-09 完美世界(重庆)互动科技有限公司 Matching method and device of virtual event, storage medium and electronic device
CN112619145A (en) * 2020-12-30 2021-04-09 完美世界(重庆)互动科技有限公司 Control method and device of virtual role, storage medium and electronic device
CN112675543A (en) * 2020-12-28 2021-04-20 完美世界(重庆)互动科技有限公司 Role attribute configuration method and device, storage medium and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302418B (en) * 2016-08-05 2018-09-18 腾讯科技(深圳)有限公司 The update method and device of virtual application attribute

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112295230A (en) * 2020-10-30 2021-02-02 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for activating virtual props in virtual scene
CN112370782A (en) * 2020-11-30 2021-02-19 腾讯科技(深圳)有限公司 Auxiliary resource display method and device, storage medium and electronic equipment
CN112675543A (en) * 2020-12-28 2021-04-20 完美世界(重庆)互动科技有限公司 Role attribute configuration method and device, storage medium and electronic device
CN112619158A (en) * 2020-12-30 2021-04-09 完美世界(重庆)互动科技有限公司 Matching method and device of virtual event, storage medium and electronic device
CN112619145A (en) * 2020-12-30 2021-04-09 完美世界(重庆)互动科技有限公司 Control method and device of virtual role, storage medium and electronic device

Also Published As

Publication number Publication date
CN113457158A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US20200384364A1 (en) Incentivizing players to engage in competitive gameplay
CN105630587A (en) Method, device and system for migrating application program data between terminals
CN112418580A (en) Risk control method, computer equipment and readable storage medium
CN108970116A (en) Virtual role control method and device
CN112337090A (en) Event message broadcasting method and device, storage medium and electronic device
CN107684720A (en) Game skill generation method and device
CN112619145A (en) Control method and device of virtual role, storage medium and electronic device
CN111298430A (en) Virtual item control method and device, storage medium and electronic device
CN113457158B (en) Virtual character configuration method and device, storage medium and electronic device
CN107678804B (en) Behavior execution method and apparatus, storage medium, and electronic apparatus
CN108144301B (en) Virtual object information display method and device, storage medium and electronic device
CN112675543A (en) Role attribute configuration method and device, storage medium and electronic device
CN108771869B (en) Performance test method and device, storage medium and electronic device
CN112704873B (en) Event processing method and device, storage medium and electronic equipment
CN112619146B (en) Virtual resource allocation method and device, storage medium and electronic device
CN111701240B (en) Virtual article prompting method and device, storage medium and electronic device
CN109847340B (en) Information processing method, device, equipment and medium
KR20210071227A (en) Computer program for providing a method for deciding matches
CN111359214B (en) Virtual item control method and device, storage medium and electronic device
CN114428921A (en) Resource preloading method and device, storage medium and electronic equipment
JP6704017B2 (en) Video game processing program and video game processing system
CN113797542B (en) Task data generation method and device, storage medium and electronic device
CN112473139A (en) Object form switching method and device, storage medium and electronic device
CN106953756A (en) The simulation time-delay method and server of a kind of business datum
CN112402970A (en) Virtual object information adjusting method and device, storage medium and electronic device

Legal Events

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