CN110935174A - Method, apparatus, device and medium for controlling virtual object in virtual environment - Google Patents

Method, apparatus, device and medium for controlling virtual object in virtual environment Download PDF

Info

Publication number
CN110935174A
CN110935174A CN201911176286.8A CN201911176286A CN110935174A CN 110935174 A CN110935174 A CN 110935174A CN 201911176286 A CN201911176286 A CN 201911176286A CN 110935174 A CN110935174 A CN 110935174A
Authority
CN
China
Prior art keywords
military
virtual object
virtual
battle
fighting
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.)
Granted
Application number
CN201911176286.8A
Other languages
Chinese (zh)
Other versions
CN110935174B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911176286.8A priority Critical patent/CN110935174B/en
Publication of CN110935174A publication Critical patent/CN110935174A/en
Application granted granted Critical
Publication of CN110935174B publication Critical patent/CN110935174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • 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/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/847Cooperative playing, e.g. requiring coordinated actions from several players to achieve a common goal
    • 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/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • 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/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • A63F2300/556Player lists, e.g. online players, buddy list, black list
    • 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/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8082Virtual reality

Abstract

The application discloses a method, a device, equipment and a medium for controlling a virtual object in a virtual environment, and belongs to the field of computers. The virtual environment comprises at least two military groups, and each military group comprises at least two virtual objects; the method comprises the following steps: determining a first military group to which a main control virtual object controlled by a terminal belongs and a fighting batch i of the main control virtual object in the first military group; the military combat comprises at least two combat stages, wherein a combat batch i corresponds to the ith combat stage in the at least two combat stages; when the fighting batch i is equal to 1, controlling the main control virtual object and the virtual objects in other military groups to carry out the 1 st fighting stage of military group fighting in the virtual environment; and when the fighting batch i is larger than 1, controlling the main control virtual object to be added into the military battle of the participated virtual object in the virtual environment when the first military group and the participated virtual object in other military groups fight to the ith fighting stage in the virtual environment.

Description

Method, apparatus, device and medium for controlling virtual object in virtual environment
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a device, and a medium for controlling a virtual object in a virtual environment.
Background
In applications based on three-dimensional virtual environments, such as tactical competitive games, a user may control a virtual object to create his own team, i.e., a military or military band. The user-controlled virtual objects are members of a military, and the user creating the military is called the captain (or administrator) of the military and is responsible for managing the matters of the military about the battle and development. An independent communication chat channel is arranged in the military, and is used for communication among members in the military. Members in the army can obtain corresponding army rewards after completing the tasks, each army has a corresponding team task, and after completing the team tasks, the obtained rewards can improve the grade of the army, attract more members and further enlarge the size of the army.
In the related art, at least two military groups can fight in the same virtual environment, the military group to which the last virtual object living in the virtual environment belongs is a winning military group, for example, when the A military group, the B military group and the C military group fight, the virtual object living in the virtual environment belongs to a member of the B military group, and the B military group is the winning military group of the military group fight at this time.
Based on the above situation, the number of users participating in the military battle is large, which is likely to cause congestion of the server and slow data transmission.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a medium for controlling a virtual object in a virtual environment, and can solve the problems that the number of users participating in military battles is large, a server is crowded easily, and data transmission is slow in the related art. The technical scheme is as follows:
according to one aspect of the application, a method for controlling virtual objects in a virtual environment is provided, and the method is applied to a terminal, wherein the terminal runs an application program supporting the virtual environment, the virtual environment comprises at least two military groups, each military group comprises at least two virtual objects, and the at least two military groups are used for military battle in the virtual environment; the method comprises the following steps:
determining a first military band to which a main control virtual object controlled by the terminal belongs and a fighting batch i of the main control virtual object in the first military band; the military combat comprises at least two combat stages, the outbreak batch i corresponds to the ith combat stage in the at least two combat stages, and i is an integer larger than zero;
when the fighting batch i is equal to 1, controlling the main control virtual object and virtual objects in other military groups to carry out the 1 st fighting stage of the military group fighting in the virtual environment;
when the out-of-war batch i is larger than 1, and when the first army and the participated virtual objects in other armies fight to the ith fighting stage in the virtual environment, controlling the main control virtual object to be added into the army fighting of the participated virtual objects in the virtual environment.
According to another aspect of the present application, there is provided an apparatus for controlling virtual objects in a virtual environment, the apparatus being provided in a terminal running an application program supporting the virtual environment, the virtual environment including at least two military groups, each of the military groups including at least two virtual objects, the at least two military groups being used for military battles in the virtual environment, the apparatus comprising:
the processing module is used for determining a first military band to which the main control virtual object controlled by the terminal belongs and a fighting batch i of the main control virtual object in the first military band; the military combat comprises at least two combat stages, the outbreak batch i corresponds to the ith combat stage in the at least two combat stages, and i is an integer larger than zero;
the control module is used for controlling the main control virtual object and the virtual objects in other military groups to carry out the 1 st fighting stage of the military group fighting in the virtual environment when the fighting batch i is equal to 1;
the control module is used for controlling the main control virtual object to be added into the military battle of the participated virtual object in the virtual environment when the first military and the participated virtual object in other military battles are in the military battle to the ith battle stage in the virtual environment when the fighting batch i is larger than 1.
According to another aspect of the present application, there is provided a computer device comprising: a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the method of controlling a virtual object in a virtual environment as described above.
According to another aspect of the application, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the method of controlling virtual objects in a virtual environment as described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the first army to which the main control virtual object belongs and the fighting batch in the first army are determined, so that the virtual objects in the army are added into the army fighting in the virtual environment in batches, and under the condition of a plurality of group fighting, the problems that the transmission speed is reduced and a user uses an application program supporting the virtual environment to cause blocking due to the fact that a server receives a large amount of data at the same time are solved. And the main control virtual object selects different fighting batches to influence the situation of the military battle, so that the military battle is more fierce, and the user has richer interactive experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an interface provided in an exemplary embodiment of the present application for controlling a virtual object in a virtual environment to determine a war batch;
FIG. 2 is a block diagram of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for controlling virtual objects in a virtual environment, as provided by an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a method for controlling virtual objects in a virtual environment, as provided by another exemplary embodiment of the present application;
FIG. 5 is a schematic illustration of an interface for controlling a virtual object to determine a war batch in a virtual environment according to another exemplary embodiment of the present application;
FIG. 6 is a flowchart of a method for controlling a virtual object selection target location to land in a virtual environment according to an exemplary embodiment of the present application;
FIG. 7 is a schematic illustration of a map corresponding to a virtual environment provided by an exemplary embodiment of the present application;
FIG. 8 is a schematic illustration of an interface provided by an exemplary embodiment of the present application for controlling the landing of a virtual object in a virtual environment;
FIG. 9 is a schematic illustration of a viewing user interface displayed in a virtual environment as provided by an exemplary embodiment of the present application;
FIG. 10 is a flowchart of a method for controlling participation of virtual object entries in a military combat in a virtual environment, as provided by an exemplary embodiment of the present application;
FIG. 11 is a schematic illustration of an interface provided by an exemplary embodiment of the present application for controlling the entry of a virtual object into a virtual environment for engagement in a military combat;
FIG. 12 is a flowchart of a method for controlling a virtual object to replace another virtual object in a virtual environment according to an exemplary embodiment of the present application;
FIG. 13 is a schematic illustration of an interface provided by an exemplary embodiment of the present application for controlling a virtual object to replace another virtual object in a virtual environment;
FIG. 14 is a flow chart of a method for settling a military combat in a virtual environment provided by an exemplary embodiment of the present application;
FIG. 15 is a schematic illustration of an interface for settling a military combat in a virtual environment provided by an exemplary embodiment of the present application;
FIG. 16 is a flowchart of a method for controlling participation of a virtual object entry in a military combat in a virtual environment according to another exemplary embodiment of the present application;
FIG. 17 is a schematic illustration of an interface for controlling entry of a virtual object into a virtual environment for engagement in a military combat, as provided by another exemplary embodiment of the present application;
FIG. 18 is a flowchart of a method for controlling virtual objects to determine a war batch in a virtual environment according to an exemplary embodiment of the present application;
FIG. 19 is a flowchart of a method for controlling virtual objects in a virtual environment for military combat, as provided in an exemplary embodiment of the present application;
FIG. 20 is a schematic illustration of an interface provided by an exemplary embodiment of the present application for a virtual object participating in a legionella battle in a virtual environment;
FIG. 21 is a flow chart of a method for settling a military combat in a virtual environment as provided in another exemplary embodiment of the present application;
FIG. 22 is a block diagram of an apparatus for controlling virtual objects in a virtual environment provided by an exemplary embodiment of the present application;
fig. 23 is a schematic device structure diagram of a computer apparatus according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are described:
virtual environment: is a virtual environment that is displayed (or provided) when an application is run on the terminal. The virtual environment may be a simulation environment of a real world, a semi-simulation semi-fictional environment, or a pure fictional environment. The virtual environment may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, which is not limited in this application. The following embodiments are illustrated with the virtual environment being a three-dimensional virtual environment. The virtual environment related to the embodiment of the application comprises a virtual environment when the military battle is not carried out and a virtual environment when the military battle is carried out, schematically, the virtual environment corresponds to the air where the virtual object carries out the parachute jumping action, and the virtual environment corresponds to the land where the virtual object carries out the military battle.
Virtual object: refers to a movable object in a virtual environment. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as: a person or an animal displayed in a three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional volumetric model created based on animated skeletal techniques. Each virtual object has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment. The virtual object in the embodiment of the application is a virtual object in a military group.
Tactical competitive game: the game is a game in which at least two virtual objects compete in a single-play battle mode in a virtual environment. The virtual object achieves the purpose of survival in the virtual environment by avoiding attacks initiated by other virtual objects and dangers (such as a poison gas circle, a marshland and the like) existing in the virtual environment, when the life value of the virtual object in the virtual environment is zero, the life of the virtual object in the virtual environment is ended, and finally the virtual object which survives in the virtual environment is a winner. Optionally, each client may control one or more virtual objects in the virtual environment, with the time when the first client joins the battle as a starting time and the time when the last client exits the battle as an ending time. Optionally, the competitive mode of the battle may include a single battle mode, a double group battle mode or a multi-person group battle mode, and the battle mode is not limited in the embodiment of the present application.
Military groups: the method refers to a group created in a virtual environment by a user control virtual object, and is named as a army. The group comprises at least one virtual object, the virtual object for creating the group is the group leader of the group, and the virtual object is responsible for managing the affairs of the group or organizing the group to fight with other groups in a virtual environment. Alternatively, the clique may select at least one virtual object in the community to be designated as a secondary clique. The military mission is set in the game and needs the virtual objects in the military to complete cooperatively, when the military mission is completed, the military obtains the military reward, and each virtual object in the military also obtains the reward. The military colony can attract more members by improving the grade, and the size of the military colony is further enlarged.
The "equipping", "carrying" or "fitting" of the weapon in the embodiment of the present application means that the virtual object owns the weapon, the weapon is stored in a virtual object backpack, or the weapon is directly carried by the virtual object, such as the virtual object carries a sniping gun, and a bullet of the sniping gun is stored in the virtual object backpack.
The method provided in the present application may be applied to a virtual reality application program, a three-dimensional map program, a military simulation program, a First-person shooter game (FPS), a Multiplayer Online Battle sports game (MOBA), and the like, and the following embodiments are exemplified by the application in Games.
The game based on the virtual environment is often composed of one or more maps of game world, the virtual environment in the game simulates the scene of the real world, a user can control a virtual object in the game to perform actions such as walking, running, jumping, shooting, fighting, driving, parachuting and the like in the virtual environment, the interactivity is strong, and a plurality of users can form a team on line to perform competitive game. The user can control the virtual object to create a military and can also control the virtual object to join a specific military, and the military comprises at least two virtual objects. Optionally, each legionella is provided with a rating, and higher legionella may solicit more virtual objects to join the legionella.
The method includes the steps that the armies can be in fight, at least two armies are included in the virtual environment, and virtual objects in the armies attack virtual objects in other armies through the use of weapons. A toxic gas ring is arranged in the virtual environment, and the toxic gas ring is expanded in a specific time, so that the safety area where the virtual object can survive is reduced. When only one virtual object of the army in the virtual environment survives, the army in which the virtual object is positioned wins the battle, and all the virtual objects in the army can obtain the reward. When a plurality of military groups carry out battle, virtual objects of all the military groups need to be added into the military groups of the round for battle at the same time, so that the data transmission of the server is slow, and the application programs used by users are blocked.
The embodiment of the application provides a method for controlling virtual objects in a virtual environment, wherein the virtual objects are added into batches in a military battle, so that the virtual objects enter the virtual environment in batches, and the problem of slow data transmission caused by simultaneous reception of a large number of requests by a server is solved.
As shown in fig. 1, a plan list of the military battle is displayed on the user interface 20, the plan list includes a first military component camp 201 and an airborne component camp 202, the first military component camp 201 and the airborne component camp 202 correspond to three groups respectively, and the three groups represent the number of times the first military component carries out the military battle. The user can select the fighting batch, the fighting sequence and the fighting field number of the military battle. In one example, the first legislation to which the virtual object belongs is engaged in three plays, which correspond to 1, 2 and 3 sets, respectively, in the list shown in fig. 1. Illustratively, the first-generation formation corresponds to a first fighting batch, the airborne formation corresponds to a second fighting batch, the first batch corresponds to the time when the safety zone in the virtual environment starts to shrink for the first time, and the second batch corresponds to the time when the safety zone in the virtual environment starts to shrink for the fourth time, so that in one army battle, the members of the first-generation formation need to be added into the army battle before the members of the airborne formation. And if the user B selects the second vacancy of the first group corresponding to the lower part of the group 1, the virtual object B controlled by the user B is indicated to be in the first army battle and is added into the army battle as a second member in the first army battle. And if the user D selects the second vacancy of the corresponding airborne group battle below the 2 groups, the virtual object D controlled by the user D is indicated to be in the second army battle and is added to the army battle as a second member in the airborne group battle.
The virtual object is controlled to be added into the military battle in batches by selecting the fighting batch, the fighting sequence and the fighting field number by the user, so that the data transmission pressure generated when a server needs to receive members of a plurality of military groups and simultaneously add the members into the same military battle in the related technology is relieved.
Fig. 2 shows a block diagram of a computer system provided in an exemplary embodiment of the present application. The computer system 100 includes: a first terminal 120, a server 140, and a second terminal 160.
The first terminal 120 is installed and operated with an application program supporting a virtual environment. The application program can be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, an FPS game, an MOBA game and a multi-player gun battle type survival game. The first terminal 120 is a terminal used by a first user who uses the first terminal 120 to control a first virtual object located in a virtual environment to perform activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, shooting, parachuting, building a military, joining a military. Illustratively, the first virtual object is a first virtual character, such as a simulated character object or an animated character object. Optionally, the first virtual object is a clique, or a parachuting, or a common member of the military. Optionally, the first virtual object is rated to declare participation in, or non-compliance with, a legislative engagement requirement. Illustratively, the first virtual object declares that the participation in the military battle is successful, the military group in which the first virtual object is located is a winner in the military battle, and members in the military group obtain corresponding rewards.
The first terminal 120 is connected to the server 140 through a wireless network or a wired network.
The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. Illustratively, the server 140 includes a processor 144 and a memory 142, the memory 142 in turn including a display module 1421, a control module 1422, and a receiving module 1423. The server 140 is used to provide background services for applications that support a three-dimensional virtual environment. Alternatively, the server 140 undertakes primary computational work and the first and second terminals 120, 160 undertake secondary computational work; alternatively, the server 140 undertakes the secondary computing work and the first terminal 120 and the second terminal 160 undertakes the primary computing work; alternatively, the server 140, the first terminal 120, and the second terminal 160 perform cooperative computing by using a distributed computing architecture.
The second terminal 160 is installed and operated with an application program supporting a virtual environment. The application program can be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, an FPS game, an MOBA game and a multi-player gun battle type survival game. The second terminal 160 is a terminal used by a second user who uses the second terminal 160 to control a second virtual object located in the virtual environment to perform activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, shooting, parachuting, creating a military, joining a military. Illustratively, the second virtual object is a second virtual character, such as a simulated character object or an animated character object. Optionally, the second virtual object is a captain, or a paraconque, or a common member of the military. Optionally, the second virtual object is a member of the same legislation as the first virtual object, or a member of a different legislation. Optionally, the second virtual object is rated to declare participation in, or non-compliance with, the legislative engagement requirements. Illustratively, the second virtual object is a member of a different legislation than the first virtual object, the second virtual object declares successful engagement with the legislation, the legislation in which the second virtual object is located is a loser in a one-round engagement, and the member of the legislation receives a corresponding reward that is less than the reward received by the member of the winning legislation.
Optionally, the first virtual character and the second virtual character are in the same virtual environment. Alternatively, the first avatar and the second avatar may belong to the same team, the same organization, have a friend relationship, or have temporary communication rights.
Alternatively, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of application of different control system platforms. The first terminal 120 may generally refer to one of a plurality of terminals, and the second terminal 160 may generally refer to one of a plurality of terminals, and this embodiment is only illustrated by the first terminal 120 and the second terminal 160. The device types of the first terminal 120 and the second terminal 160 are the same or different, and include: at least one of a smartphone, a tablet, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer. The following embodiments are illustrated with the terminal comprising a smartphone.
Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be only one, or several tens or hundreds of the terminals, or more. The number of terminals and the type of the device are not limited in the embodiments of the present application.
Fig. 3 is a flowchart illustrating a method for controlling a virtual object in a virtual environment according to an exemplary embodiment of the present application, which may be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. An application program supporting a virtual environment is run in a terminal, the virtual environment comprises at least two military groups, each military group comprises at least two virtual objects, and the at least two military groups are used for carrying out military group fight in the virtual environment, and the method comprises the following steps:
step 301, determining a first legionella to which a master control virtual object controlled by a terminal belongs and a fighting batch i of the master control virtual object in the first legionella; the military combat comprises at least two combat stages, wherein the outbreak batch n corresponds to the ith combat stage in the at least two combat stages, and i is an integer larger than zero.
Optionally, the virtual environment includes: at least one element selected from the group consisting of mountains, flat ground, rivers, lakes, oceans, deserts, sky, plants, buildings, and vehicles. At least two military groups have engaged in the virtual environment.
The main control virtual object refers to a virtual object controlled by a user through a terminal, optionally, the user controls one or more virtual objects through the terminal. Optionally, the virtual object is a clique, or a parachute, or a common member of the first legislation. Optionally, the virtual object creates a first legislation, or the virtual object is invited or applied to join the first legislation.
Optionally, the master control virtual object selects the fighting batch i in the first military band for unlimited times, or the master control virtual object selects the fighting batch i in the first military band for limited times, or the master control virtual object may select the fighting batch n in the first military band within a certain time, or the master control virtual object selects the fighting batch i in the first military band for unlimited times. Illustratively, i is 3, and the fighting batch of the master control virtual object in the first army is 3, which corresponds to the 3 rd fighting stage of the at least two army fighting stages. At least two military groups fight in the virtual environment, and optionally, the fighting stage is divided in a manner of at least one of the following manners: by time period, by situation in the virtual environment, by remaining number of people, by remaining military.
Illustratively, the first fighting stage is within 3 minutes after the beginning of the military battle, the second fighting stage is within 6 minutes after the beginning of the military battle, the third fighting stage is within 11 minutes after the beginning of the military battle, and the like, and the military battle stages are divided by time periods.
Illustratively, a toxic balloon is set in the virtual environment, the life value of the virtual object in the toxic balloon will decrease, and when the life value decreases to zero, the life of the virtual object in the virtual environment ends. The poison gas circle in the virtual environment can be continuously enlarged, so that the safety area where the virtual object is located is reduced, and the virtual object needs to escape from the area where the poison gas circle is located when being prevented from being attacked by other virtual objects. When the first time of the safe area is reduced, the military combat enters the first combat stage, when the second time of the safe area is reduced, the military combat enters the second stage, or after the military combat is started, when the first time of the safe area is reduced for three times, the military combat enters the first combat stage, and when the fourth time to the sixth time of the safe area is reduced, the military combat enters the second combat stage. And by analogy, the military battle stage is divided by the condition in the virtual environment.
Illustratively, two army groups, namely a first army group and a second army group, exist in the virtual environment for army battle, each army group comprises five virtual objects, when eight virtual objects remain in the virtual environment, the army battle enters a first battle stage, and when four virtual objects remain in the virtual environment, the army battle enters a second battle stage. And by analogy, dividing the military combat phase by the number of the residual virtual objects in the virtual environment. It is understood that the remaining virtual objects in the virtual environment do not belong to the same legionella, and the local military battle is ended when the remaining virtual objects in the virtual environment belong to the same legionella.
Illustratively, the virtual environment comprises five army groups for carrying out army battles, when four army groups remain in the virtual environment, the army battles enter a first battle stage, when three army groups remain in the virtual environment, the army battles enter a second battle stage, and the rest army groups are used for dividing the army battle stage.
Step 302a, when the fighting batch i is equal to 1, controlling the main control virtual object and the virtual objects in other military groups to carry out the first fighting stage of military group fighting in the virtual environment.
When the main control virtual object goes out of war in the first batch, namely enters the virtual environment corresponding to the military battle in the first batch, the military battle does not start yet, and when the virtual object in at least one other military battle also enters the military battle in the first batch, the military battle starts, namely the military battle enters the first fighting stage. It can be understood that when other virtual objects in other military groups and the master control virtual object enter the virtual environment corresponding to the military battle in the same batch, the other virtual objects and the master control virtual object have chronological order when joining the military battle. For example, the fighting batch of the master virtual object in the first legislation is the first batch, the master virtual object is the virtual object which is added into the legislation fight from the third in the first batch, the fighting batches of the other virtual objects in the other legislations are the first batch, the other virtual objects are the virtual object which is added into the legislation fight from the first in the first batch, that is, the other virtual objects are added into the legislation fight before the master virtual object, and the other virtual objects and the master virtual object belong to the same fighting batch.
Optionally, the virtual object enters the virtual environment corresponding to the military battle by walking, or enters the virtual environment corresponding to the military battle by riding a vehicle. Illustratively, the virtual object flies above a virtual environment corresponding to the military battle by an airplane, and the virtual object falls on the land of the virtual environment in a parachute jumping manner, so as to join the military battle.
And step 302b, when the out-of-war batch i is larger than 1, and when the first army and the participated virtual objects in other armies are in the army battle in the virtual environment to the ith battle stage, controlling the main control virtual object to be added into the army battle of the participated virtual object in the virtual environment.
Illustratively, i is 2, the number of the fighting batches selected by the master virtual object in the first army is 2, and at this time, the virtual object selected in the first fighting batch is added to the army fighting, and the virtual object in the first fighting batch includes at least two virtual objects of the army, that is, the virtual object in the first fighting batch performs the first fighting stage of the army fighting in the virtual environment. Optionally, the master virtual object is engaged in a second war batch of military troops, where the first combat phase of the military troops is over or not over. The user controls the main control virtual object to be added into the military battle which participates in the virtual object in the virtual environment, namely the user controls the main control virtual object to enter the virtual environment corresponding to the military battle.
In summary, in the method provided in this embodiment, the first legionella to which the master control virtual object belongs and the fighting batch in the first legionella are determined, so that the virtual objects in the legionella are added to the legionella fighting in the virtual environment in batches, and under the condition of a plurality of team fighting, the problems that the transmission speed is reduced and the user is stuck by using the application program supporting the virtual environment due to the fact that the server receives a large amount of data at the same time are solved. And the main control virtual object selects different fighting batches to influence the situation of the military battle, so that the military battle is more fierce, and the user has richer interactive experience.
Fig. 4 illustrates a method for controlling a virtual object in a virtual environment according to another exemplary embodiment of the present application, which may be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The terminal runs an application program supporting a virtual environment, the virtual environment comprises at least two military groups, each military group comprises at least two virtual objects, and the at least two military groups are used for carrying out military group battle in the virtual environment, and the method comprises the following steps:
step 401, displaying a user interface, where the user interface includes: the first army participates in the setting positions of at least two out-of-war batches of the military battle, and each setting position corresponds to a corresponding battle stage.
As shown in fig. 5, two out-of-war lot setting bits for a first legionella to participate in a legionella match are included in the user interface 10: an initial burst group setting bit 101 and an idle burst group setting bit 102. Optionally, the first group setting bit 101 corresponds to a first fighting stage, and the airborne setting bit 102 corresponds to a second fighting stage. Optionally, the war batch setting bits may further include a back-up setting bit, a dare team setting bit, and the like corresponding to a final stage of the military battle.
Step 402, in response to a first selection instruction, determining an ith setting bit from setting bits of at least two fighting batches.
When the terminal is a terminal with a touch display screen, such as a smart phone or a tablet computer, the first selection instruction comprises an instruction generated by at least one of clicking operation, double-clicking operation, long-pressing operation, sliding operation and dragging operation. When the terminal is a terminal such as a notebook computer, a desktop computer, or the like, the first selection instruction is generated by an external device, such as a single-machine operation of a left button of a mouse, a double-click operation, a drag operation, and an operation corresponding to a right button, or a selection instruction is generated by a button on a keyboard.
Illustratively, the terminal is a smartphone. As shown in fig. 5, the user a determines that the master virtual object selects the 1 st setting bit in the first-sending-group setting bit 101 by clicking the 1 st setting bit (the first blank column in the list shown in fig. 5) in the user interface 10, that is, the position of "1 → player a" is displayed below the 1 st group in fig. 5, and the virtual object controlled by the user a is the first virtual object in the first-sending-group to join the military battle.
And 403, determining the fighting batch i corresponding to the ith setting position as the fighting batch i of the main control virtual object in the first army.
Illustratively, the 1 st setting position corresponds to a first fighting batch, and the fighting batch of the main control virtual object in the first legislation is determined to be the first fighting batch.
The user interface also comprises at least two setting positions of the military battle participated in by the first military group.
Step 4031, in response to the second selection instruction, a kth setting bit is determined from the setting bits of the at least two war batches.
When the terminal is a terminal with a touch display screen, such as a smart phone or a tablet computer, the second selection instruction comprises an instruction generated by at least one of clicking operation, double-clicking operation, long-pressing operation, sliding operation and dragging operation. When the terminal is a terminal such as a notebook computer, a desktop computer, or the like, the second selection instruction is generated by an external device, such as a single-machine operation of a left button of a mouse, a double-click operation, a drag operation, and an operation corresponding to a right button, or a key on a keyboard.
Illustratively, the terminal is a smartphone. As shown in fig. 5, the user C determines that the master virtual object selects the 1 st setting bit in the airborne group setting bits 102 by clicking the 1 st setting bit in the first column in the airborne group setting bits 102 in the user interface 10, that is, the position of "1 → player C" is displayed below the group 1 in fig. 5, and then the virtual object controlled by the user C is the first virtual object in the airborne group to join in the military battle.
Step 4032, the kth legionella battle corresponding to the kth setting position is determined as the legionella battle participated in the first legionella by the main control virtual object, k is larger than or equal to 2, and k is an integer.
Illustratively, as shown in fig. 5, the virtual object controlled by the user C determines that the 1 st setting position below the 1 st group in the airborne group setting positions 102 corresponds to the 1 st military battle in which the virtual object participates in the first military band. The virtual object controlled by the user B determines that the 1 st setting position below the 3 groups in the first-sending group setting position 101 corresponds to the virtual object to participate in the 3 rd military battle in the first military. Namely, 1 group, 2 groups and 3 groups respectively correspond to the first army battle, the second army battle and the third army battle of the first army.
And step 404a, when the fighting batch i is equal to 1, controlling the main control virtual object and the virtual objects in other military groups to carry out the first fighting stage of military group fighting in the virtual environment.
And step 404b, when the fighting batch i is larger than 1, and when the first army and the participated virtual objects in other armies fight against the army in the virtual environment to the ith fighting stage, controlling the main control virtual object to be added into the army fighting of the participated virtual object in the virtual environment.
Step 404a and step 404b are identical to step 303a and step 303b shown in fig. 3, and are not described herein again.
In summary, in the method provided in this embodiment, the main control virtual object may determine the corresponding fighting batch from the setting positions of the at least two fighting batches through the first selection instruction, for example, the 1 st setting position corresponds to the first fighting batch of the main control virtual object in the first army, and the main control virtual object may also determine the number of times of carrying out the military battle from the setting positions of the at least two fighting batches through the second selection instruction, for example, the 3 rd setting position corresponds to the 3 rd military battle of the main control virtual object, so that, according to the selection of the main control virtual object, the main control virtual object joins the 3 rd military battle of the first army, and joins the first fighting batch into the military battle. The virtual object can be controlled by the user to autonomously select the field and the fighting batch for participating in the military battle by the selection instruction, so that the user can control the virtual object to join the military battle by combining with own time arrangement, and the virtual object joins the military battle in batch, thereby relieving the problems that the transmission speed is reduced and the application program used by the user is blocked due to the transmission of a large amount of data by the server.
In the embodiment of the present application, taking the virtual object flying by airplane to pass through the space above the virtual environment corresponding to the military battle as an example, the user may select the location where the virtual object lands by viewing the map of the virtual environment, as shown in fig. 6, and the method may be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 601, displaying a map corresponding to the virtual environment, wherein the map comprises at least two candidate places.
As shown in fig. 7, a straight line with an arrow in the figure represents a flight path of an airplane on which the virtual object rides, the arrow represents an end point of airplane flight, the circle represents a start point of airplane flight, and a user can display a map corresponding to the virtual environment through a trigger operation while the virtual object rides the airplane. Optionally, the triggering operation includes at least one of a single machine operation, a double-click operation, a sliding operation, a dragging operation, and a long-press operation, and the application does not limit the triggering mode of the map corresponding to the virtual environment. Optionally, each of the military forces involved in the military battle is flying in a different flight path.
Step 602, in response to a third selection instruction, selecting a target location from at least two candidate locations.
When the terminal is a terminal with a touch display screen, such as a smart phone or a tablet computer, the third selection instruction comprises an instruction generated by at least one of clicking operation, double-clicking operation, long-pressing operation, sliding operation and dragging operation. When the terminal is a terminal such as a notebook computer, a desktop computer, or the like, the third selection instruction is generated by an external device, such as a single-machine operation of a left button of a mouse, a double-click operation, a drag operation, and an operation corresponding to a right button, or a key on a keyboard. Optionally, the master virtual object selects a target location for landing along the flight path.
And 603, controlling the main control virtual object to land to a target place and adding the main control virtual object into the military battle of the participated virtual object in the virtual environment.
As shown in fig. 8, the user controls the master virtual object 111 to jump off the airplane in a seated state, and causes the master virtual object 111 to land on a target spot by using a parachute, and when the master virtual object 111 is in the air, the user can control the virtual object to perform directional movement by using the movement control 112, and optionally, the altitude at which the virtual object is located and the descending speed are displayed on the user interface 11.
Optionally, a thumbnail of a map corresponding to the virtual environment is displayed on the user interface 11, the thumbnail displays a flight path of an airplane on which the master virtual object sits, and the flight path is marked with a serial number 2, a serial number 3, and a serial number 4, where the serial number indicates the order of parachute jumping and the position of parachute jumping of the virtual objects in the same group as the master virtual object.
Alternatively, a virtual object that is a parachute may view the parachuted virtual object for military combat in the virtual environment. And when the first army and the involved virtual objects in other army fight to the 1 st to the i-1 st fighting stages in the virtual environment, displaying a fighting user interface, wherein the fighting user interface comprises a picture for observing the virtual environment by taking the visual angle of the main control virtual object as the visual angle of the audience.
Illustratively, the fighting batch i of the master virtual object is greater than 1, and the user can trigger to display the fighting user interface, as shown in fig. 9, the fighting user interface 13 is displayed, and the fighting user interface 13 includes a picture for observing the virtual environment with the viewing angle of the master virtual object as the viewing angle of the spectator, and the other virtual objects 113 are displayed in the picture. Optionally, the other virtual objects 113 belong to the same military as the master virtual object. The spectator user interface 13 displays a battle screen corresponding to a virtual object that joins the military battle earlier than the master virtual object, and optionally displays the user interface 11 shown in fig. 8 when the master virtual object selects the prepare-for-parachuting control 114. The user may also opt out of the spectator control 115, and opt out of the spectator user interface 13; the user can also select the switching control 116 to switch and display the pictures of other virtual objects in the same military group for military battle in the virtual environment.
Alternatively, in the embodiment of the present application, the user needs to control the virtual object to register to participate in the military battle, as shown in fig. 10, and the method may be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 1001, displaying an entry interface of the first legislation.
As shown in fig. 11, members within the legislation are displayed on the entry interface 14 of the first legislation, and entry information of the members within the legislation is displayed. Optionally, information such as the remaining time of the registration, the number of registered people, the ending time of the military battle, etc. is also displayed on the registration interface 14, which is not limited in the present application.
Step 1002, in response to an entry instruction generated on an entry interface, sending an entry request to a server, where the entry request carries object attribute information of a virtual object.
Optionally, an entry control 117 is displayed on the entry interface 14, and in some embodiments, the entry control 117 is named as a declaration control, a participation control, and a joining control, and the application does not limit the names of the controls. Optionally, when the terminal is a terminal with a touch display screen, such as a smartphone or a tablet computer, the entry instruction includes an instruction generated by at least one of a single-click operation, a double-click operation, a long-press operation, a sliding operation, and a dragging operation. When the terminal is a terminal such as a notebook computer, a desktop computer, or the like, the entry instruction is generated by an external device, such as an entry instruction generated by a single-computer operation of a left key of a mouse, a double-click operation, a drag operation, and an operation corresponding to a right key, or an entry instruction generated by a key on a keyboard.
Optionally, the object property information of the virtual object includes at least one of: the corresponding user account of the virtual object, the level of the virtual object in the virtual environment (or the level of the user account), and the entry status of the virtual object.
And 1003, when receiving registration success information sent by the server, controlling the virtual object to enter a preparation period of military battle, wherein the registration success information is sent by the server when verifying that the object attribute information of the virtual object meets the registration condition.
Optionally, the entry condition comprises at least one of the following conditions: the level of the virtual objects in the virtual environment (or the level of the user account) reaches a target level, the number of the registered virtual objects reaches a target number, and the activeness of the virtual objects in the military community reaches a target value.
In one example, the entry condition includes that the level of the virtual object in the virtual environment reaches 30 levels, the number of the entered virtual objects is 20, the server verifies whether the object attribute information of the virtual object carried in the entry request sent by the terminal meets the entry condition, when the level of the virtual object reaches 30 levels and the number of the entered virtual objects is less than 20, the virtual object meets the entry condition, and the server sends entry success information to the terminal, and the virtual object is successfully entered and enters a preparation period of military combat.
Optionally, in this embodiment of the present application, if the registered virtual object fails to participate in the military battle on time, the manager of the military has a management authority to replace the virtual object that fails to participate in with other virtual objects in the military as a replacement object. As shown in fig. 12, the method can be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 1201, when the master control virtual object has a management right for the first military band, displaying a fight start interface of the first military band, wherein the fight start interface comprises a first virtual object which is successfully registered and in an off-line state and a second virtual object which is not successfully registered and in an on-line state.
Alternatively, the administrative authority may be unique to the captain of the military band, or common to both the captain of the military band and the captain of the ancillary band, as exemplified by the administrative authority being unique to the captain of the military band. Optionally, the administrative authority includes at least one of recruiting a member of a military group, arranging a battle field of the military group, arranging a battle time of the military group, selecting a replacement member.
Illustratively, the master virtual object is a group leader of a first army, and as shown in fig. 13 (a), a battle opening interface 15 of the first army is displayed on a terminal corresponding to the master virtual object. Optionally, the combat opening interface 15 includes at least one of the following information: the system comprises a first virtual object which is successfully registered and in an offline state, a second virtual object which is not successfully registered and in an online state, and a virtual object which is successfully registered and in an online state. The online state is a state corresponding to the terminal when the user account corresponding to the control virtual object is logged in, and the offline state is a state corresponding to the terminal when the user account corresponding to the control virtual object is not logged in. For example, a user with a username called "Bigrock 11" is in an offline state, and a user with a username called "77 MU" is in an online state. It should be noted that the object attribute information of the second virtual object in the online state and without registration success meets the registration condition, and the second virtual object may not be registered successfully because the registration amount of the second virtual object reaches the target amount when the second virtual object is registered.
Step 1202, replacing the first virtual object which cannot participate in the military battle on time with the second virtual object in response to the replacement instruction generated on the battle opening interface.
Optionally, when the terminal is a terminal with a touch display screen, such as a smartphone or a tablet computer, the replacement instruction includes an instruction generated by at least one of a single-click operation, a double-click operation, a long-press operation, a sliding operation, and a dragging operation. When the terminal is a terminal such as a notebook computer, a desktop computer, or the like, the replacement instruction is generated by an external device, such as a replacement instruction generated by a single-machine operation of a left key of a mouse, a double-click operation, a drag operation, and an operation corresponding to a right key, or a replacement instruction generated by a key on a keyboard. Step 12021, responding to the replacement instruction generated on the fight opening interface, sending a replacement request to the server, where the replacement request carries the object attribute information of the first virtual object and the second virtual object.
Step 12022, when the replacement success information sent by the server is received, replacing the first virtual object which cannot participate in the military battle on time with the second virtual object, wherein the replacement success information is information sent by the server when the object attributes of the first virtual object and the second virtual object meet the replacement condition.
As shown in fig. 13 (a), the master virtual object is a group leader of a first army, a user having a management authority for the first army and having a user name "Bigrock 11" is in an offline state, the user cannot control the corresponding virtual object to participate in the army battle on time, and the user controlling the master virtual object can replace the virtual object controlled by the user "Bigrock 11" with another virtual object. If the user with the user name "77 MU" is in an online state, the user controlling the main control virtual object clicks the corresponding position of the user "77 MU" on the fight opening interface 15, a menu is displayed on the fight opening interface 15, a replacement control 122 is displayed on the menu, the user controlling the main control virtual object clicks the replacement control 122, and the prompt information is displayed on the user interface controlling the main control virtual object: is the contestant Bigrock11 replaced with 77 MU? As shown in fig. 13 (b), by selecting the control corresponding to "yes", a replacement request is sent to the server. Optionally, a prompt message is displayed on the user interface of user "77 MU": do you like to participate in the military battle instead of the member Bigrock 11? As shown in fig. 13 (c), if the user "77 MU" clicks "yes" the corresponding control, the replacement operation is successful; otherwise the master virtual object would need to reselect another online user to replace the user "progress 11" who failed to play on time. Alternatively, the number of times the master virtual object selects a replacement member is limited, or the number of times the master virtual object selects a replacement member is unlimited. In some embodiments, the user having the administrative authority for the military group can replace the virtual object which cannot participate in the military battle on time with the virtual object controlled by the selected user without the user's consent, which is not limited in the present application. In some embodiments, the "yes" or "no" corresponding control is also named as "willing" or "unwilling" corresponding control, which is not limited by this application.
Optionally, in this embodiment of the present application, after the military battle is over, the scores of each military group during the battle are settled. As shown in fig. 14, the method can be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 1401, sending a settlement request to the server, where the settlement request carries group information of the first military and information of the outcome of the military battle.
A terminal running an application supporting a virtual environment transmits a settlement request to a server. Optionally, the military information of the first military group includes at least one of a name of the first military group, a grade of the first military group, a logo of the first military group, member information of the first military group, a creation time of the first military group, and a number of members of the first military group, and the win-loss information includes at least one of the following information: the military group competition win rate, the loss rate, the winning field, the losing field, the number of virtual objects surviving the first military group during winning, and the time when the last team member of the first military group is eliminated during losing.
Step 1402, receiving settlement information sent by the server, wherein the settlement information comprises ranking and points of the military battle.
And the server settles the account according to the military information of the first military and the information of the outcome of the military battle to obtain the total battle score of the first military and the rank of the first military. The fighting total integral of the first army comprises a knockout integral and a survival integral, and the fighting total integral of the first army is obtained according to the weight sum of the knockout integral and the survival integral. The elimination integral is the integral obtained when any virtual object in the first army defeats one virtual object in other army correspondingly, the defeat is the reduction of the life value of the virtual object to zero, and the virtual object can not participate in the army battle of the current round again; the survival score is a score corresponding to the survival condition of the virtual object of the first army in the army battle. Illustratively, the elimination integral corresponds to a weight of 40% and the survival integral corresponds to a weight of 60%. For example, if the first army rejects the virtual objects of five other army groups in a local army battle to obtain a 500 rejection score, and the first army survives four virtual objects in the local army battle to obtain a 400 survival score, the total score obtained by the first army in the local army battle is 440(500 × 40% +400 × 60%).
And step 1403, displaying the rank of the military battle and the integral of the military battle according to the settlement information.
As shown in fig. 15, the ranking list interface 16 displays the information of the first army, the ranking of the first army on the ranking list, and the total score, the culling score, and the survival score of the first army in the army battle.
Step 1404, obtaining a reward corresponding to the military battle according to the rank of the military battle.
The higher the rank order of the military battle, the more prizes are earned. Alternatively, each entry in the military may receive a reward, e.g., virtual object a may receive a reward for not participating in a military combat because it exceeds the entry denomination, which is less than the reward received by virtual objects participating in a military combat.
It is to be understood that the respective processes of "selecting a target point to land from a map corresponding to a virtual environment", "viewing a virtual object that has entered a military battle", "registering participation in a military battle", "replacing a virtual object that has not participated in a military battle on time", and "settling the results of the military battle" in the above embodiments may be performed individually, in any combination, or in all.
The process of the virtual object participating in the military battle is explained by combining a game application program, and the process comprises registration date, preparation date, fighting date and settlement date.
Fig. 16 is a flowchart illustrating a method for controlling participation of a virtual object entry in a military combat in a virtual environment according to an exemplary embodiment of the present application. The method may be applied in the first terminal 120 or the second terminal 160 in a computer system as shown in fig. 2 or in other terminals in the computer system. The method comprises the following steps:
step 1601, the entry date begins.
The entry date refers to the time when the virtual object declares to participate in the military battle. After the entry date begins, the user can control the virtual object to declare participation in the military battle. Alternatively, the entry date is initiated internally by the military, or initiated by the gaming application.
As shown in fig. 17, a user-controllable virtual object 131, an entry prompt message 132 for a military battle, and a military control 133 are displayed on the user interface 17. From the perspective of user control, the virtual object 131 is also the master virtual object. Alternatively, the user may display the entry prompt 132 by clicking on the legionella interaction control 133 or may automatically display the entry prompt 132.
At step 1602, whether the virtual object is still within the entry date time period.
The entry date continues for a period of time, optionally 3 days, and the remaining time of the entry date, 1 day 12 hours, is displayed in the user interface 16, and entry can continue if the virtual object is not entered, as shown in FIG. 17.
Step 1603a, whether the virtual object level is greater than 25.
Illustratively, if the virtual object is within the time period of the entry day, the gaming application determines whether the level of the virtual object controlled by the user is greater than 25, and may set the level that the declared virtual object needs to satisfy based on the actual circumstances of the members joining the military, e.g., the user controlling the virtual object in the military a is a novice user, so the entry level requirement may be set to 20 levels, or lower. This is not limited in this application.
Step 1603b, the next time period is entered.
If the virtual object is not within the entry date time period, the game application controls the virtual object to enter the next time period, such as a preparation date or a battle date.
And 1604a, judging whether the number of registered people in the military group is less than 12.
Alternatively, the number of virtual objects participating in the military battle may be set, and if the B army is a strong and large-scale army, the B army declares that the number of virtual objects participating in the military battle is 30 (the B army actually has 100 members).
And 1604b, entering the observation seat if the registration can not be successfully reported.
If the virtual object reporting participation in the military battle does not reach 25 grades, the user cannot control the virtual object to report participation in the military battle. The game application assigns the user-controlled virtual object to a spectator seat, and the user-controlled virtual object is viewed while the military battle is in progress.
Step 1605a, the registration is successful.
If the number of the reported virtual objects participating in the military battle is less than 12, the user can control the virtual objects to report and report successfully.
And 1605b, entering the observation and fighting seat if the registration can not be successfully reported.
If the number of the virtual objects reporting participation in the military battle is 12, the user cannot control the virtual objects to report participation in the military battle. The game application assigns the user-controlled virtual object to a spectator seat, and the user-controlled virtual object is viewed while the military battle is in progress. And after the registration date is finished, the virtual object which is successfully declared enters a preparation date stage.
Fig. 18 illustrates a flowchart of a method for controlling virtual objects in a virtual environment in preparation for a military combat, according to an exemplary embodiment of the present application. The method may be applied in the first terminal 120 or the second terminal 160 in a computer system as shown in fig. 2 or in other terminals in the computer system. The method comprises the following steps:
at step 1801, a preparation day begins.
The preparation day refers to a time period in which virtual objects participating in the military battle have been successfully declared to need to be selected for camping. After the preparation day begins, the user controls the virtual object to select the camp within a limited number of times, for example, each user has two chances to control the virtual object to select to join the camp. Optionally, the battle comprises a first-sending group and an airborne group, the first-sending group is a group formed by at least two virtual objects entering the military battle in the first batch before the military battle begins, the airborne group is a group formed by at least two virtual objects added into the military battle in the fighting process after the military battle begins, and each military is provided with the first-sending group and the airborne group. Optionally, the virtual objects in the first group of each legislation carry out the first combat phase of a legislation combat, and the virtual objects in the airborne group of each legislation carry out the fourth combat phase or the fifth combat phase or the last combat phase of a legislation combat.
Step 1802, whether the virtual object is still within the preparation time period.
Illustratively, the preparation day lasts for a period of time, optionally two days, and the remaining time of the preparation day is displayed on the user interface 10, as shown in FIG. 5.
At step 1803a, the number of times of user's valid use is greater than zero.
Optionally, each user account has two opportunities to select marketing during the preparation day, and when the selection times of the user account are used up, the user cannot control the virtual object to select marketing.
At step 1804a, a head-off group is selected.
Step 1804b, selecting the airborne group.
Illustratively, the user controls the virtual object to select the first generation of the battle or the airborne battle. Optionally, after the user controls the virtual object to select the camp, the user may also control the sequence of the camp in which the virtual object is selected, for example, the virtual object a controlled by the user a selects the second party to join in the camp in the first party camp, and the virtual object B controlled by the user B selects the third party to join in the camp in the airborne party camp. Schematically, in the embodiment of the present application, an example is described in which a virtual object rides an airplane to pass through the air above a virtual environment corresponding to a military battle, and the virtual object lands on the land of the virtual environment in a parachute jumping manner, and the order in which the virtual object is selectively added to the military battle is the order in which the virtual object parachutes.
At step 1804c, the valid number of times has been used.
If the remaining effective times of the user account are zero, the user cannot control the virtual object to select marketing.
At step 1805, whether the number of times of effective use by the user is greater than zero is determined.
Step 1806a, select a head-off group or a null-drop group.
If the effective times of the virtual object controlled by the user after one selection is not zero, the user can control the virtual object to continue the next selection.
At step 1806b, selection cannot continue.
If the user controls the virtual object to be selected once, the remaining effective times of the user account are zero, and the user cannot continue to select marketing.
Step 1807, the preparation phase is completed.
Optionally, the virtual object is during the preparation day, the user may control the virtual object to select camp at any time, and after completing the camp selection, the preparation phase of the virtual object is completed. After the preparation stage is finished, the virtual object enters the stage of the fighting day, or after the preparation day time is finished, the virtual object enters the stage of the fighting day.
Fig. 19 shows a flowchart of a method for military combat in a virtual environment according to an exemplary embodiment of the present application. The method may be applied in the first terminal 120 or the second terminal 160 in a computer system as shown in fig. 2 or in other terminals in the computer system. The method comprises the following steps:
at step 1901, the battle day begins.
The battle day refers to a time period in which a virtual object that has successfully declared participation in a military combat joins the military combat. After the beginning of the fighting day, each army battles with other army groups according to the selected formation. Optionally, each virtual object in the military during the battle date has two opportunities to join the military fight. The combat day lasts for a period of time, optionally, three days. The remaining time of the battle day and the number of times the user participated in the military battle are displayed on the interface of the game application, as shown in fig. 13.
Step 1902, whether a swap card is used.
When the virtual object is not added into the military battle according to the rule, the manager (such as a captain) of the military group has the management authority of appointing other virtual objects to replace the virtual object which is not added into the military battle, and the rotating card means that the manager of the military group has the authority of replacing the virtual object. Optionally, the manager of the military uses the virtual object that has been successfully declared as a replacement virtual object to replace the virtual object that is not added to the military according to the rule, or uses the virtual object that has not been successfully declared as a replacement object to replace the virtual object that is not added to the military according to the rule. Illustratively, the manager of the military group takes the successfully declared virtual object as a replacement virtual object to replace the virtual object which is not added to the military group according to the rule, in one example, the number of the successfully declared virtual objects of the military group a is 10, one of the virtual objects cannot be added to the military group for fighting, no other successfully declared virtual object exists in the military group a, and the manager of the military group a cannot designate other virtual object as the replacement virtual object, so that the game application program judges that the military group a automatically abandons the addition of the military group a into the military group for fighting, that is, the military group a is a loser.
Step 1903a, enter combat.
If there is no absent virtual object in the military, the military can carry out military battle according to the battle selected on the preparation day. As shown in fig. 20, the user enters a military combat by clicking on the user interface 18 to initiate a combat control 135.
At step 1903b, a replacement team member is selected.
If an absent virtual object exists in the military and the manager of the military can use the swap card, a replacement virtual object is selected. Alternatively, the rotation card may be owned by a manager (captain) of the military, or owned by a captain of the military, or owned by a common member of the military, and the embodiment of the present application does not limit the owners of the exchange cards and the representation of the rotation card.
At step 1904a, the virtual object is an originating group member.
Step 1905a, enter the birth island.
When the virtual object is a member of the first group, the virtual object enters a virtual environment corresponding to the birth island, the birth island refers to the virtual environment in which the virtual object is in a quasi-game (or battle) state, the user controls the virtual object to start a round of game, the virtual object enters the birth island, the game starts a countdown phase, the user can control the virtual object to perform any activities on the birth island, such as running, jumping, throwing and the like, and the virtual object on the birth island enters the same round of game after the countdown phase is finished. Illustratively, the first group member waits for taking an airplane in the island of birth, the airplane flies above the virtual environment corresponding to the military battle, and the user can control the virtual object to select the landing target location according to the location displayed on the map.
At step 1904b, the virtual object is an airborne group member.
At step 1905b, the teammates view the perspective.
Optionally, when the virtual object is a member of an airborne group, the virtual object may also enter a virtual environment corresponding to the island of birth, ride on the same airplane as the member of the first group, and do not parachute in the same batch as the member of the first group. After the first group member parachutes, the airborne group member may select a teammate spectator view to watch the first group member to fight the military in the virtual environment, as shown in fig. 9. Optionally, the members of the airborne group can also switch to watch different first-sending members to carry out the war situation of the military party versus the wartime.
Step 1906, determine whether it is time to parachute jump.
Illustratively, the virtual object a controlled by the user a is a member of the airborne group, and the virtual object a is a virtual object for third round of parachuting among the members of the airborne group, so that the terminal used by the user a obtains the parachuting rounds of all the virtual objects, and when the parachuting rounds are the third round selected by the virtual object a, information prompting the user a to parachute for the current round is displayed on the interface of the game application program, as shown in fig. 9.
Step 1907, whether to select parachute jumping.
Optionally, the virtual object may select whether to parachute in the current round, or to parachute when the round of virtual object selection is reached. The parachuting round of the virtual object cannot exceed the time period corresponding to the formation selected by the virtual object, if the virtual object is a member of the first sending group, the first sending group member parachutes during the period from the first reduction to the third reduction of the toxic gas ring in the virtual environment, the parachuting cannot be performed in the time period corresponding to the airborne group member, and the airborne group member parachutes during the period from the fourth reduction to the sixth reduction of the toxic gas ring in the virtual environment.
Step 1908, parachute jumping and landing combat.
The members of the first sending group and the airborne group land in a parachute jumping mode to land in a virtual environment, and the virtual environment is a virtual environment corresponding to the military battle. Optionally, the weapons of the airborne group member equipment are ranked lower than the weapons of the first group member equipment as compared to the weapons of the first group member equipment.
In step 1909, the battle ends.
When the virtual objects remaining in the virtual environment are members of the same legislation, the legislation in which the virtual objects reside is the winner.
Fig. 21 shows a flowchart of a method for settling a legionella battle in a virtual environment according to an exemplary embodiment of the present application. The method may be applied in the first terminal 120 or the second terminal 160 in a computer system as shown in fig. 2 or in other terminals in the computer system. The method comprises the following steps:
at step 2101, the settlement date begins.
The settlement day refers to a time period for settling the battle achievement of each army after the army battle is finished. In a time period corresponding to a settlement day, the game application program scores different performances of each military group, and the total score (namely the score) of the military group comprises a removal score and a survival score. The military was ranked by score as shown in fig. 15.
Step 2102, whether it is still within the settlement period.
When the military is not in the settlement time period, the settlement cannot be carried out on the military, and the military needs to wait for a settlement day.
In step 2103a, the scores of the various military groups are counted.
When the military is settled within the settlement period, illustratively, the settlement day for the first military remains 1 day for 06 hours, as shown in fig. 15.
Step 2103b, wait for a settlement day.
At step 2104a, elimination integrals are calculated.
At step 2104b, a survival integral is calculated.
At step 2105, a total integral is calculated based on the weights.
Optionally, the weight corresponding to the culling integral is 45% and the weight corresponding to the survival integral is 55%.
At step 2106, the total score for each legionella is calculated.
And calculating a first product of the elimination product and the corresponding weight, calculating a second product of the survival product and the corresponding weight, and calculating the total integral of the military band as the sum of the first product and the second product.
At step 2107, all the military is ranked and awarded.
Step 2108, the user receives the season award in the interface of the military battle.
Optionally, a drawing control is displayed on the military battle interface and used for drawing rewards corresponding to the military battle, or the server automatically issues the rewards to user accounts corresponding to members of the military.
The above embodiments describe the above method based on the application scenario of the game, and the following describes the above method by way of example in the application scenario of military simulation.
The simulation technology is a model technology which reflects system behaviors or processes by applying software and hardware through an experiment of simulating a real environment.
The military simulation program is a program specially constructed for military application by using a simulation technology, and is used for carrying out quantitative analysis on sea, land, air and other operational elements, weapon equipment performance, operational actions and the like, further accurately simulating a battlefield environment, presenting a battlefield situation and realizing the evaluation of an operational system and the assistance of decision making.
In one example, soldiers establish a virtual battlefield at a terminal where military simulation programs are located, and fight against the soldiers in the form of teams, wherein each group of soldiers corresponds to a military group. The soldier controls a virtual object in the virtual battlefield environment to walk, run, climb, drive, shoot, throw, reconnaissance, close combat and parachute jumping actions under the virtual battlefield environment. The battlefield virtual environment comprises: at least one natural form of flat ground, mountains, plateaus, basins, deserts, rivers, lakes, oceans and vegetation, and site forms of buildings, vehicles, ruins, training fields and the like. The virtual object includes: virtual characters, virtual animals, cartoon characters, etc., each virtual object having its own shape and volume in the three-dimensional virtual environment occupies a part of the space in the three-dimensional virtual environment.
Optionally, each soldier controls one virtual object, each army is composed of at least two soldier-controlled virtual objects, and at least two armies exist for carrying out army battle in the virtual environment.
In one example, there are a, B and C military groups that engage in a military battle in a virtual environment, and during the registration of the military groups, the virtual objects involved in the military battle need to be registered on a military simulation program before joining the military battle. After the registration day is finished, the army enters a preparation day, during the preparation day, soldiers can freely select a fighting batch i, the sequence of adding army combat is selected from the fighting batch i, and simultaneously the soldiers select a field k participating in the army combat, for example, the soldier a selects first-generation group formation, selects the third of the first-generation group formation to add the army combat, and selects the soldier a to participate in the first-field army combat; soldier b selects airborne group battles, selects the first one of the airborne group battles to join in the military battles, and soldier b selects to participate in the third military battles. After the preparation day is finished, the army enters a fighting day, the army carries out fighting according to a fighting batch and a fighting sequence selected by the soldiers and the number of fields added into the army for fighting, when the virtual object controlled by the soldiers cannot participate in the army for fighting on time, the army captain has the authority to replace the virtual object which cannot participate in on time with the virtual object controlled by other soldiers for carrying out the army for fighting, for example, the virtual object M controlled by the soldier M cannot participate in the army for fighting on time, the virtual object N controlled by the soldier N can participate in the army for fighting on time, the army captain replaces the virtual object M controlled by the soldier M with the virtual object N controlled by the soldier N, and the virtual object N controlled by the soldier N replaces the virtual object M with the virtual object M to participate in the army for fighting on time. And after the fighting day is finished, the military groups enter a settlement day, the military simulation program scores according to the performance of the military groups in the fighting day period, calculates the total score of the military groups, ranks each military group according to the total score, and issues corresponding rewards according to the ranking of the military groups.
In summary, the method provided in this embodiment applies the method for controlling a virtual object in a virtual environment to a military simulation program, and can arrange a battle plan by selecting a battle batch, a battle sequence and a military battle field number by a soldier, thereby improving the degree of default cooperation between soldiers.
The following are embodiments of the apparatus of the present application, and for details that are not described in detail in the embodiments of the apparatus, reference may be made to corresponding descriptions in the above method embodiments, and details are not described herein again.
Fig. 22 illustrates a schematic structural diagram of an apparatus for controlling a virtual object in a virtual environment according to an exemplary embodiment of the present application. The device can be realized by software, hardware or a combination of the two to become all or a part of a terminal, the device is arranged in the terminal, the terminal runs an application program supporting a virtual environment, the virtual environment comprises at least two military groups, each military group comprises at least two virtual objects, and the at least two military groups are used for carrying out military group battle in the virtual environment, and the device comprises: a processing module 2210, and a control module 2220.
A processing module 2210, configured to determine a first legislation to which the terminal-controlled master virtual object belongs, and a fighting batch i of the master virtual object in the first legislation; the military combat comprises at least two combat stages, wherein a combat batch i corresponds to the ith combat stage in the at least two combat stages, and i is an integer larger than zero;
the control module 2220 is configured to, when the fighting batch i is equal to 1, control the main control virtual object and the virtual objects in other military groups to perform the 1 st fighting stage of the military group fighting in the virtual environment;
the control module 2220 is configured to, when the fighting batch i is greater than 1, control the main control virtual object to join in the military battle of the participated virtual object in the virtual environment when the first military group and the participated virtual object in other military groups fight in the virtual environment until the ith fighting stage.
In an alternative embodiment, the apparatus includes a display module 2230 and a receiving module 2240, the display module 2230 and the receiving module 2240 being optional modules;
the display module 2230 is configured to display a user interface, where the user interface includes: the first army participates in the setting positions of at least two out-of-war batches of the military team battle, and each setting position corresponds to a corresponding battle stage;
the receiving module 2240 is configured to, in response to the first selection instruction, determine an ith setting bit from the setting bits of the at least two war batches;
the processing module 2210 is configured to determine the fighting batch i corresponding to the ith setting bit as the fighting batch i of the master control virtual object in the first legislation.
In an optional embodiment, the user interface further includes: setting positions of at least two military battles participated in by a first military;
the receiving module 2240 is configured to, in response to the second selection instruction, determine a kth setting bit from the setting bits of the at least two war batches;
the processing module 2210 is configured to determine the kth military battle corresponding to the kth setting position as the military battle participated in by the main control virtual object in the first military, where k is greater than or equal to 2, and k is an integer.
In an optional embodiment, the display module 2230 is configured to display a map corresponding to the virtual environment, where the map includes at least two candidate locations;
the receiving module 2240 is configured to, in response to a third selection instruction, select a target location from at least two candidate locations;
the control module 2220 is configured to control the main control virtual object to land to the target location, and join in the military battle of the participating virtual object in the virtual environment.
In an optional embodiment, the display module 2230 is configured to display a viewing user interface when the first military group and the participating virtual objects in the other military groups compete with each other in the virtual environment from the military group to the 1 st to the i-1 st battle stages, where the viewing user interface includes a picture for viewing the virtual environment from a viewing angle of the main control virtual object as a viewing angle of the audience.
In an optional embodiment, the display module 2230 is configured to display an entry interface of a first military;
the receiving module 2240 is configured to send an entry request to the server in response to an entry instruction generated on the entry interface, where the entry request carries object attribute information of the virtual object;
the receiving module 2240 is configured to control the virtual object to enter a preparation period of a military combat when receiving registration success information sent by the server, where the registration success information is sent by the server when verifying that the object attribute information of the virtual object satisfies the registration condition.
In an optional embodiment, the display module 2230 is configured to display a combat starting interface of the first military band when the master control virtual object has a management right for the first military band, where the combat starting interface includes a first virtual object that is successfully registered and in an offline state and a second virtual object that is not successfully registered and in an online state;
the receiving module 2240 is configured to, in response to a replacement instruction generated on the battle starting interface, replace the first virtual object that cannot participate in the military battle on time with the second virtual object.
In an alternative embodiment, the apparatus includes a sending module 2250;
the sending module 2250 is configured to send a settlement request to the server, where the settlement request carries group information of the first military and information of the outcome of the military battle;
the receiving module 2240 is configured to receive settlement information sent by the server, where the settlement information includes ranking and score of the military battle;
the display module 2230 is used for displaying the rank of the military battle and the integral of the military battle according to the settlement information;
the control module 2220 is configured to obtain a reward corresponding to the military battle according to the rank of the military battle.
Referring to fig. 23, a block diagram of a computer device 2300 according to an exemplary embodiment of the present application is shown. The computer device 2300 may be a portable mobile terminal such as: smart phones, tablet computers, MP3 players (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4). Computer device 2300 may also be referred to by other names such as user equipment, portable terminal, and the like.
Generally, computer device 2300 includes: a processor 2301 and a memory 2302.
The processor 2301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 2301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 2301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 2301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 2301 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 2302 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 2302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 2302 is used to store at least one instruction for execution by the processor 2301 to implement the methods for controlling virtual objects in a virtual environment provided herein.
In some embodiments, computer device 2300 may also optionally include: a peripheral interface 2303 and at least one peripheral. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2304, a touch display 2305, a camera 2306, an audio circuit 2307, a positioning component 2308, and a power supply 2309.
The peripheral interface 2303 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 2301 and the memory 2302. In some embodiments, the processor 2301, memory 2302, and peripheral interface 2303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2301, the memory 2302, and the peripheral device interface 2303 can be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 2304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 2304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 2304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 2304 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 2304 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display 2305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. Touch display 2305 also has the ability to capture touch signals on or over the surface of touch display 2305. The touch signal may be input to the processor 2301 as a control signal for processing. The touch screen display 2305 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display screen 2305 may be one, providing the front panel of the computer device 2300; in other embodiments, the touch screen display 2305 can be at least two, each disposed on a different surface of the computer device 2300 or in a folded design; in still other embodiments, the touch display 2305 may be a flexible display disposed on a curved surface or on a folded surface of the computer device 2300. Even more, the touch screen 2305 can be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The touch Display 2305 can be made of LCD (Liquid Crystal Display), OLED (organic light-Emitting Diode), and other materials.
The camera assembly 2306 is used to capture images or video. Optionally, camera assembly 2306 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 2306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 2307 is used to provide an audio interface between a user and the computer device 2300. The audio circuit 2307 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals into the processor 2301 for processing or inputting the electric signals into the radio frequency circuit 2304 to realize voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location on computer device 2300. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 2301 or the radio frequency circuit 2304 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 2307 may also include a headphone jack.
The Location component 2308 is used to locate the current geographic Location of the computer device 2300 for navigation or LBS (Location Based Service). The Positioning component 2308 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 2309 is used to supply power to various components in the computer device 2300. The power source 2309 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power supply 2309 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, computer device 2300 also includes one or more sensors 2310. The one or more sensors 2310 include, but are not limited to: acceleration sensor 2311, gyro sensor 2312, pressure sensor 2313, fingerprint sensor 2314, optical sensor 2315, and proximity sensor 2316.
The acceleration sensor 2311 detects the magnitude of acceleration in three coordinate axes of a coordinate system established with the computer device 2300. For example, the acceleration sensor 2311 is used for detecting the components of the gravitational acceleration in three coordinate axes. The processor 2301 may control the touch display 2305 to display a user interface in a landscape view or a portrait view according to a gravitational acceleration signal of the acceleration sensor 2311 set. The acceleration sensor 2311 may be used for game or user's motion data acquisition.
The gyro sensor 2312 can detect the body direction and the rotation angle of the computer device 2300, and the gyro sensor 2312 can collect 3D actions of the user on the computer device 2300 together with the acceleration sensor 2311. The processor 2301 may implement the following functions according to the data collected by the gyro sensor 2312: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 2313 can be disposed on the side bezel of computer device 2300 and/or on the lower layers of touch display screen 2305. When the pressure sensor 2313 is provided on the side frame of the computer device 2300, a user's grip signal on the computer device 2300 can be detected, and left-right hand recognition or shortcut operation can be performed based on the grip signal. When the pressure sensor 2313 is arranged at the lower layer of the touch display screen 2305, the operability control on the UI interface can be controlled according to the pressure operation of the user on the touch display screen 2305. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 2314 is used for collecting a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 2301 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 2314 may be provided on the front, back or side of the computer device 2300. When a physical key or vendor Logo is provided on the computer device 2300, the fingerprint sensor 2314 may be integrated with the physical key or vendor Logo.
The optical sensor 2315 is used to collect ambient light intensity. In one embodiment, the processor 2301 may control the display brightness of the touch display screen 2305 based on the ambient light intensity collected by the optical sensor 2315. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 2305 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 2305 is turned down. In another embodiment, the processor 2301 may also dynamically adjust the shooting parameters of the camera assembly 2306 according to the intensity of ambient light collected by the optical sensor 2315.
A proximity sensor 2316, also known as a distance sensor, is typically provided on the front side of the computer device 2300. The proximity sensor 2316 is used to capture the distance between the user and the front of the computer device 2300. In one embodiment, the processor 2301 controls the touch display screen 2305 to switch from a bright screen state to a dark screen state when the proximity sensor 2316 detects that the distance between the user and the front surface of the computer device 2300 is gradually decreased; when the proximity sensor 2316 detects that the distance between the user and the front surface of the computer device 2300 is gradually increased, the touch display screen 2305 is controlled by the processor 2301 to switch from a breath screen state to a bright screen state.
Those skilled in the art will appreciate that the architecture shown in FIG. 23 is not intended to be limiting of the computer device 2300, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
The present application further provides a computer device, comprising: a processor and a memory, the storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the method of controlling virtual objects in a virtual environment provided by the above-described method embodiments.
The present application further provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the method for controlling a virtual object in a virtual environment provided by the above method embodiments.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method for controlling virtual objects in a virtual environment, characterized in that said method is applied to a terminal running an application program supporting a virtual environment, said virtual environment comprising at least two military clusters, each of said military clusters comprising at least two virtual objects, said at least two military clusters being used for military battle in said virtual environment; the method comprises the following steps:
determining a first military band to which a main control virtual object controlled by the terminal belongs and a fighting batch i of the main control virtual object in the first military band; the military combat comprises at least two combat stages, the outbreak batch i corresponds to the ith combat stage in the at least two combat stages, and i is an integer larger than zero;
when the fighting batch i is equal to 1, controlling the main control virtual object and virtual objects in other military groups to carry out the 1 st fighting stage of the military group fighting in the virtual environment;
when the out-of-war batch i is larger than 1, and when the first army and the participated virtual objects in other armies fight to the ith fighting stage in the virtual environment, controlling the main control virtual object to be added into the army fighting of the participated virtual objects in the virtual environment.
2. The method of claim 1, wherein said determining a war batch i of said master virtual object in said first legislation comprises:
displaying a user interface, wherein the user interface comprises: the first army participates in the setting positions of at least two out-of-war batches of the army battle, and each setting position corresponds to the battle stage;
in response to a first selection instruction, determining an ith setting bit from the setting bits of the at least two fighting batches;
and determining the fighting batch i corresponding to the ith setting position as the fighting batch i of the main control virtual object in the first military.
3. The method of claim 2, wherein the user interface further comprises: setting positions of at least two military battles participated in by the first military; the method further comprises the following steps:
responding to a second selection instruction, and determining a kth setting bit from the setting bits of the at least two fighting batches;
and determining the kth military battle corresponding to the kth setting position as the military battle participated in by the main control virtual object in the first military, wherein k is more than or equal to 2, and k is an integer.
4. The method of any of claims 1 to 3, wherein said controlling said master virtual object to join said participating virtual object in a military battle in said virtual environment comprises:
displaying a map corresponding to the virtual environment, wherein the map comprises at least two candidate places;
selecting a target location from the at least two candidate locations in response to a third selection instruction;
and controlling the main control virtual object to land to the target place and adding the main control virtual object into the military battle of the participated virtual object in the virtual environment.
5. The method of any of claims 1 to 3, wherein when the war batch i is greater than one, the method further comprises:
and when the first military group and the participated virtual objects in other military groups fight to the 1 st to the i-1 st fighting stages in the virtual environment, displaying a fighting user interface, wherein the fighting user interface comprises a picture for observing the virtual environment by taking the visual angle of the main control virtual object as the visual angle of the audience.
6. The method of any of claims 1 to 3, further comprising:
displaying an entry interface of the first military;
responding to an entry instruction generated on the entry interface, and sending an entry request to a server, wherein the entry request carries object attribute information of the virtual object;
and when receiving registration success information sent by the server, controlling the virtual object to enter a preparation period of the military battle, wherein the registration success information is information sent by the server when verifying that the object attribute information of the virtual object meets registration conditions.
7. The method of claim 6, further comprising:
when the master control virtual object has management authority on the first military, displaying a fight starting interface of the first military, wherein the fight starting interface comprises a first virtual object which is successfully registered and in an off-line state and a second virtual object which is not successfully registered and in an on-line state;
and replacing the first virtual object which cannot participate in the military battle on time with the second virtual object in response to a replacement instruction generated on the battle opening interface.
8. The method of any of claims 1 to 3, further comprising:
sending a settlement request to a server, wherein the settlement request carries group information of the first army and the information of the outcome of the army battle;
receiving settlement information sent by the server, wherein the settlement information comprises ranking and integral of the military battle;
displaying the ranking of the military battles and the scores of the military battles according to the settlement information;
and obtaining the reward corresponding to the military battle according to the rank of the military battle.
9. An apparatus for controlling virtual objects in a virtual environment, said apparatus being provided in a terminal, said terminal running an application program supporting a virtual environment, said virtual environment comprising at least two military clusters, each of said military clusters comprising at least two virtual objects, said at least two military clusters being adapted to perform a military battle in said virtual environment, said apparatus comprising:
the processing module is used for determining a first military band to which the main control virtual object controlled by the terminal belongs and a fighting batch i of the main control virtual object in the first military band; the military combat comprises at least two combat stages, the outbreak batch i corresponds to the ith combat stage in the at least two combat stages, and i is an integer larger than zero;
the control module is used for controlling the main control virtual object and the virtual objects in other military groups to carry out the 1 st fighting stage of the military group fighting in the virtual environment when the fighting batch i is equal to 1;
the control module is used for controlling the main control virtual object to be added into the military battle of the participated virtual object in the virtual environment when the first military and the participated virtual object in other military battles are in the military battle to the ith battle stage in the virtual environment when the fighting batch i is larger than 1.
10. A computer device comprising a processor and a memory, said memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, said at least one instruction, said at least one end program, said set of codes, or said set of instructions being loaded and executed by said processor to implement a method of controlling a virtual object in a virtual environment according to any one of claims 1 to 8.
11. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of controlling a virtual object in a virtual environment according to any one of claims 1 to 8.
CN201911176286.8A 2019-11-26 2019-11-26 Method, apparatus, device and medium for controlling virtual object in virtual environment Active CN110935174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911176286.8A CN110935174B (en) 2019-11-26 2019-11-26 Method, apparatus, device and medium for controlling virtual object in virtual environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911176286.8A CN110935174B (en) 2019-11-26 2019-11-26 Method, apparatus, device and medium for controlling virtual object in virtual environment

Publications (2)

Publication Number Publication Date
CN110935174A true CN110935174A (en) 2020-03-31
CN110935174B CN110935174B (en) 2022-05-17

Family

ID=69908859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911176286.8A Active CN110935174B (en) 2019-11-26 2019-11-26 Method, apparatus, device and medium for controlling virtual object in virtual environment

Country Status (1)

Country Link
CN (1) CN110935174B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112717399A (en) * 2021-01-20 2021-04-30 上海莉莉丝网络科技有限公司 Game object combat control method, computer readable storage medium and intelligent terminal
CN113546429A (en) * 2021-08-12 2021-10-26 网易(杭州)网络有限公司 Virtual object landing method and device, computer equipment and storage medium
CN113786606A (en) * 2021-09-29 2021-12-14 腾讯科技(深圳)有限公司 Information display method, device, equipment and medium based on virtual inter-organization countermeasure
CN113975824A (en) * 2021-10-19 2022-01-28 腾讯科技(深圳)有限公司 Game fighting reminding method and related equipment
WO2022222417A1 (en) * 2021-04-22 2022-10-27 网易(杭州)网络有限公司 Event execution method and apparatus in game, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011045504A (en) * 2009-08-26 2011-03-10 Namco Bandai Games Inc Program, information storage medium, and game device
CN102682196A (en) * 2012-04-13 2012-09-19 青岛美天网络科技有限公司 Method and system for graphical display
CN104063574A (en) * 2013-06-03 2014-09-24 腾讯科技(深圳)有限公司 Team battle matching method and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011045504A (en) * 2009-08-26 2011-03-10 Namco Bandai Games Inc Program, information storage medium, and game device
CN102682196A (en) * 2012-04-13 2012-09-19 青岛美天网络科技有限公司 Method and system for graphical display
CN104063574A (en) * 2013-06-03 2014-09-24 腾讯科技(深圳)有限公司 Team battle matching method and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
手游巴士: "《网易》", 26 June 2018 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112717399A (en) * 2021-01-20 2021-04-30 上海莉莉丝网络科技有限公司 Game object combat control method, computer readable storage medium and intelligent terminal
WO2022222417A1 (en) * 2021-04-22 2022-10-27 网易(杭州)网络有限公司 Event execution method and apparatus in game, electronic device and storage medium
CN113546429A (en) * 2021-08-12 2021-10-26 网易(杭州)网络有限公司 Virtual object landing method and device, computer equipment and storage medium
CN113786606A (en) * 2021-09-29 2021-12-14 腾讯科技(深圳)有限公司 Information display method, device, equipment and medium based on virtual inter-organization countermeasure
CN113786606B (en) * 2021-09-29 2023-07-25 腾讯科技(深圳)有限公司 Information display method, device, equipment and medium based on antagonism between virtual tissues
CN113975824A (en) * 2021-10-19 2022-01-28 腾讯科技(深圳)有限公司 Game fighting reminding method and related equipment
CN113975824B (en) * 2021-10-19 2023-06-16 腾讯科技(深圳)有限公司 Reminding method for game sightseeing and related equipment

Also Published As

Publication number Publication date
CN110935174B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN110935174B (en) Method, apparatus, device and medium for controlling virtual object in virtual environment
CN111408133B (en) Interactive property display method, device, terminal and storage medium
CN110585710B (en) Interactive property control method, device, terminal and storage medium
CN111589140B (en) Virtual object control method, device, terminal and storage medium
CN110507990B (en) Interaction method, device, terminal and storage medium based on virtual aircraft
CN113289331B (en) Display method and device of virtual prop, electronic equipment and storage medium
CN111462307A (en) Virtual image display method, device, equipment and storage medium of virtual object
CN110801628B (en) Method, device, equipment and medium for controlling virtual object to restore life value
CN111330274B (en) Virtual object control method, device, equipment and storage medium
CN112076469A (en) Virtual object control method and device, storage medium and computer equipment
WO2021244243A1 (en) Virtual scenario display method and device, terminal, and storage medium
CN111494937B (en) Virtual object control method, virtual object information synchronization device, virtual object information synchronization equipment and virtual object information synchronization medium
CN111659119B (en) Virtual object control method, device, equipment and storage medium
CN111338534A (en) Virtual object game method, device, equipment and medium
CN111596838B (en) Service processing method and device, computer equipment and computer readable storage medium
CN110585706B (en) Interactive property control method, device, terminal and storage medium
CN112973117B (en) Interaction method of virtual objects, reward issuing method, device, equipment and medium
CN111672114B (en) Target virtual object determination method, device, terminal and storage medium
CN112755527A (en) Virtual character display method, device, equipment and storage medium
CN113521731A (en) Information processing method and device, electronic equipment and storage medium
CN113144597A (en) Virtual vehicle display method, device, equipment and storage medium
CN113181645A (en) Special effect display method and device, electronic equipment and storage medium
CN111672108A (en) Virtual object display method, device, terminal and storage medium
CN112569607A (en) Display method, device, equipment and medium for pre-purchased prop
CN114344914A (en) Interaction method and device based on virtual scene, electronic equipment and storage medium

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