CN116585708A - Virtual carrier control method, device and program product - Google Patents

Virtual carrier control method, device and program product Download PDF

Info

Publication number
CN116585708A
CN116585708A CN202310605444.7A CN202310605444A CN116585708A CN 116585708 A CN116585708 A CN 116585708A CN 202310605444 A CN202310605444 A CN 202310605444A CN 116585708 A CN116585708 A CN 116585708A
Authority
CN
China
Prior art keywords
virtual
control
carrier
vehicle
virtual character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310605444.7A
Other languages
Chinese (zh)
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.)
Wuming Technology Hangzhou Co ltd
Original Assignee
Wuming Technology Hangzhou 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 Wuming Technology Hangzhou Co ltd filed Critical Wuming Technology Hangzhou Co ltd
Priority to CN202310605444.7A priority Critical patent/CN116585708A/en
Publication of CN116585708A publication Critical patent/CN116585708A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • 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/837Shooting of targets
    • 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/807Role playing or strategy games
    • 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/8076Shooting
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a control method, a device and a program product of a virtual carrier, and belongs to the field of man-machine interaction. The method is executed by a first terminal, the virtual carrier comprises at least two carrier components, the at least two carrier components respectively correspond to different control positions of the virtual carrier, and the different carrier components of the at least two carrier components are controlled by different virtual roles; the method comprises the following steps: displaying the virtual carrier and the first virtual character; controlling a first virtual character to be located at a first position of the at least two control positions in response to the interactive operation on the virtual vehicle; receiving second operation information corresponding to second control operation sent by a server; and responding to a second control operation corresponding to the second control information, and displaying a first control picture of the first virtual character. The scheme can enable a plurality of virtual roles to control the virtual vehicles simultaneously.

Description

Virtual carrier control method, device and program product
Technical Field
The present application relates to the field of man-machine interaction, and in particular, to a method, an apparatus, and a program product for controlling a virtual carrier.
Background
In an application supporting a virtual environment, for example: shooting-type games, players can control virtual vehicles by controlling virtual characters, such as: and driving the automobile carrier and the tank carrier.
In the related art, the virtual vehicle is regarded as a whole, and thus, the virtual vehicle can only be controlled by one virtual character at the same time. Such as: one virtual character drives the tank carrier, and the other virtual characters can only be located as passengers in the tank carrier.
However, the virtual vehicles in the related art are regarded as a whole, so that it is impossible to realize simultaneous cooperative control of the virtual vehicles by a plurality of virtual roles.
Disclosure of Invention
The application provides a control method, a control device, a control medium and a control program product of a virtual carrier. The technical scheme is as follows:
according to an aspect of the present application, there is provided a control method of a virtual vehicle, the method being performed by a first terminal, the virtual vehicle comprising at least two vehicle parts, each of the at least two vehicle parts corresponding to a different control position of the virtual vehicle, different vehicle parts of the at least two vehicle parts being controlled by different virtual roles; the method comprises the following steps:
displaying the virtual carrier and the first virtual character;
controlling the first virtual character to be located in a first position of the at least two control positions in response to an interactive operation on the virtual vehicle;
Receiving second operation information corresponding to second control operation sent by a server; the second control operation is a control operation of a second virtual character for a vehicle component corresponding to a second position of the at least two control positions, the second virtual character being located at the second position;
responding to the second control operation corresponding to the second control information, and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual role when the virtual carrier executes a control function corresponding to the second control operation.
According to another aspect of the present application, there is provided a control system for a virtual vehicle, the virtual vehicle comprising at least two vehicle parts, each of the at least two vehicle parts corresponding to a different control position of the virtual vehicle, different vehicle parts of the at least two vehicle parts being controlled by different virtual characters; the system comprises a first terminal and a server;
the first terminal is used for displaying the virtual carrier and a first virtual role; controlling the first virtual character to be located in a first position of the at least two control positions in response to an interactive operation on the virtual vehicle; receiving second operation information corresponding to second control operation sent by the server; the second control operation is a control operation of a second virtual character for a vehicle component corresponding to a second position of the at least two control positions, the second virtual character being located at the second position; responding to the second control operation corresponding to the second operation information, and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual role when the virtual carrier executes a control function corresponding to the second control operation;
The server is configured to receive the second operation information corresponding to the second control operation sent by the second terminal, and send the second operation information of the second control operation to the first terminal.
According to another aspect of the present application, there is provided a control device for a virtual vehicle, the virtual vehicle comprising at least two vehicle parts, each of the at least two vehicle parts corresponding to a different control position of the virtual vehicle, different vehicle parts of the at least two vehicle parts being controlled by different virtual characters; the device comprises:
the display module is used for displaying the virtual carrier and the first virtual character;
a control module for controlling the first virtual character to be located at a first position of the at least two control positions in response to an interactive operation on the virtual vehicle;
the receiving module is used for receiving second operation information corresponding to second control operation sent by the server; the second control operation is a control operation of a second virtual character for a vehicle component corresponding to a second position of the at least two control positions, the second virtual character being located at the second position;
The display module is used for responding to the second control operation corresponding to the second control information and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual role when the virtual carrier executes a control function corresponding to the second control operation.
According to another aspect of the present application, there is provided a computer apparatus including: a processor and a memory storing a computer program that is loaded and executed by the processor to implement the control method of the virtual vehicle as described above.
According to another aspect of the present application, there is provided a computer-readable storage medium storing a computer program loaded and executed by a processor to implement the control method of a virtual carrier as described above.
According to another aspect of the present application, there is provided a computer program product comprising computer instructions stored in a computer readable storage medium, from which a processor retrieves the computer instructions, causing the processor to load and execute to implement a method of controlling a virtual carrier as described above.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
according to the control method of the virtual carrier, provided by the embodiment of the application, one virtual carrier is split into the plurality of carrier components, so that the plurality of carrier components form a whole, different carrier components can be controlled by different virtual roles, and the fact that the whole virtual carrier can be controlled by the plurality of virtual roles at the same time is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a block diagram of a computer system provided by an exemplary embodiment;
FIG. 2 is a schematic diagram of a method for controlling a virtual vehicle according to an exemplary embodiment;
FIG. 3 illustrates a flow chart of a method of controlling a virtual vehicle provided by an exemplary embodiment;
FIG. 4 illustrates a flow chart of a method of controlling a virtual vehicle provided by an exemplary embodiment;
FIG. 5 illustrates a flow chart of a method of controlling a virtual vehicle provided by an exemplary embodiment;
FIG. 6 illustrates a schematic diagram of a virtual carrier provided by an exemplary embodiment;
FIG. 7 illustrates a flow chart of a method of controlling a virtual vehicle provided by an exemplary embodiment;
FIG. 8 illustrates an interface diagram of a method of controlling a virtual vehicle provided by an exemplary embodiment;
FIG. 9 illustrates an interface diagram of a method of controlling a virtual vehicle provided by an exemplary embodiment;
FIG. 10 illustrates a perspective schematic view of a virtual character provided by an exemplary embodiment;
FIG. 11 illustrates a perspective schematic view of a virtual character provided by an exemplary embodiment;
FIG. 12 illustrates a perspective schematic view of a virtual character provided by an exemplary embodiment;
fig. 13 is a block diagram showing a control apparatus of a virtual vehicle according to an exemplary embodiment;
fig. 14 shows a block diagram of a computer device provided by an exemplary embodiment.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be noted that, before collecting relevant data of a user (such as information of interaction operation, control operation, position switching operation, character attribute of a virtual character, etc.) and during collecting relevant data of a user, the application can display a prompt interface, a popup window or output voice prompt information, where the prompt interface, popup window or voice prompt information is used to prompt the user to collect relevant data currently, so that the application only starts to execute relevant steps of obtaining relevant data of the user after obtaining confirmation operation of the user on the prompt interface or popup window, otherwise (i.e. when no confirmation operation of the user on the prompt interface or popup window is obtained), ends relevant steps of obtaining relevant data of the user, i.e. no relevant data of the user is obtained. In other words, all user data collected by the present application is collected with the consent and authorization of the user, and the collection, use and processing of relevant user data requires compliance with relevant laws and regulations and standards of the relevant country and region.
It should be understood that, although the terms first, second, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter, without departing from the scope of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
First, the terms involved in the embodiments of the present application will be briefly described:
virtual environment: is a virtual environment that a client displays or provides while running on a terminal. The virtual environment may be a simulated world of a real world, a semi-simulated and semi-fictional three-dimensional world, or a purely fictional three-dimensional world. 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. Optionally, the virtual environment is further used for virtual environment combat between at least two virtual roles, in which virtual environment there are virtual resources available for use by the at least two virtual roles. Optionally, the virtual environment includes a symmetric lower left corner region and upper right corner region, and the virtual characters belonging to two hostile camps occupy one of the regions respectively.
Virtual roles: refers to movable objects in a virtual environment. The movable object may be at least one of a virtual character, a virtual animal, and a cartoon character. Alternatively, when the virtual environment is a three-dimensional virtual environment, the virtual characters may be three-dimensional virtual models, each having its own shape and volume in the three-dimensional virtual environment, occupying a part of the space in the three-dimensional virtual environment. Optionally, the virtual character is a three-dimensional character constructed based on three-dimensional human skeleton technology, which implements different external figures by wearing different skins. In some implementations, the avatar may also be implemented using a 2.5-dimensional or 2-dimensional model, as embodiments of the application are not limited in this regard.
Virtual carrier: is a virtual prop for loading a virtual character in a virtual environment. Illustratively, the virtual vehicle of the present embodiment includes at least two vehicle components, and the virtual character can control the vehicle components in the virtual vehicle. Different carrier components correspond to different control positions on the virtual carrier. The virtual vehicle may be at least one of an automobile vehicle, a tank vehicle, and an aircraft vehicle. Taking a tank carrier as an example, carrier components of the tank carrier include a driving carrier component and a shooting carrier component. The virtual character controls the driving vehicle part in the driving position and controls the shooting vehicle part in the shooting position. The shooting carrier member comprises at least one of a turret, a machine gun, a pistol, a rifle, a sniper, a crossbow.
Virtual component: is a consumable part used on a virtual carrier. The number of virtual components decreases with increasing number of uses. Illustratively, virtual components in the present application refer to virtual ammunition. Virtual ammunition includes bullets, shells, missiles, crossbows, electric energy, fuel, and the like. Illustratively, when the virtual component hits the virtual character, the life value of the virtual character is reduced.
Controllable object (down): is a type of action class (Actor), which is a basic type of game object that can be placed in a game virtual scene in a illusion Engine (UE) for representing an object that is available for control, such as: at least one of a virtual character and a virtual carrier.
First person shooter game (FPS): the present application relates to a shooting game in which a user can play at a first-person perspective, and a screen of a virtual environment in the game is a screen of a virtual environment observed at a perspective of a master virtual character. In the game, at least two virtual characters perform a single-play mode in the virtual environment, the virtual characters achieve the purpose of survival in the virtual environment by avoiding attacks initiated by other virtual characters and dangers (such as poison gas rings, marshes and the like) existing in the virtual environment, when the life value of the virtual characters in the virtual environment is zero, the life of the virtual characters in the virtual environment is ended, and finally the virtual characters surviving in the virtual environment are winners. Optionally, the fight may take a moment when the first client joins the fight as a start moment and a moment when the last client exits the fight as an end moment, and each client may control one or more virtual characters in the virtual environment. Alternatively, the competitive mode of the fight may include a single fight mode, a two-person team fight mode, or a multi-person team fight mode, which is not limited by the embodiment of the present application.
In response to: for representing a condition or state upon which an operation is performed, one or more operations performed may be in real-time or with a set delay when the condition or state upon which the operation is dependent is satisfied; without being specifically described, there is no limitation in the execution sequence of the plurality of operations performed.
The method provided by the application can be applied to application programs supporting virtual environments. By way of example, applications supporting a virtual environment are applications in which a user can control movement of a virtual character within the virtual environment, including but not limited to: any one of a large fleeing shooting Game, a Virtual Reality (VR) application, an augmented Reality (Augmented Reality, AR) program, a three-dimensional map program, a Virtual Reality Game, an augmented Reality Game, a first person shooting Game, a Third person shooting Game (TPS), a multiplayer online tactical Game (Multiplayer Online Battle Arena Games, MOBA), a strategy Game (SLG). The following embodiments are illustrated with application in a game.
Fig. 1 is a block diagram of a computer system according to an exemplary embodiment of the present application, which may be a system architecture for implementing a control method of a virtual carrier. 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 provided with a supporting virtual environment. By way of example, the application may be any one of a fleeing game, a virtual reality application, an augmented reality application, a three-dimensional map application, a virtual reality game, an augmented reality game, a first person shooter game, a third person shooter game, a multiplayer online tactical game, a strategy game.
The first terminal 120 is a terminal used by a first user to control a first avatar located in a virtual environment using the first terminal 120, including but not limited to: at least one of body posture adjustment, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, building a virtual building. The first user may also use the first terminal 120 to release virtual combat skills and control virtual vehicles during combat.
Optionally, the virtual combat skill includes at least one of a firing operation, a mirror operation, a position adjustment operation, a posture adjustment operation, a virtual combat prop switching operation. Optionally, controlling the virtual carrier includes controlling the virtual carrier to perform at least one of moving, steering, and shooting. Alternatively, in the case where the first user performs a game operation using peripheral equipment at the first terminal 120, the first terminal 120 may freeze the virtual combat skill.
The first terminal 120 is connected to the server 140 through a wireless network or a wired network.
The server 140 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server providing cloud computing services, a cloud database, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content delivery network (Content Delivery Network, CDN), and cloud servers of basic cloud computing services such as big data and an artificial intelligent platform. Server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center.
The server 140 includes a processor 144 and a memory 142, where the memory 142 includes a receiving module 1421, a control module 1422, and a transmitting module 1423, and the receiving module 1421 is configured to receive a request sent by a client, such as a first viewing request for viewing at least one of a number, a location, and an attribute of an enemy virtual character, or a second viewing request for viewing at least one of a map and a backpack; the control module 1422 is used for controlling the rendering of the virtual environment picture; the sending module 1423 is configured to send a response to the client, such as sending at least one of the number, location, and attribute value of the adversary avatar to the client. The server 140 is used to provide background services for the application programs of the first terminal 120 and the second terminal 160.
Optionally, the server 140 takes on primary computing work, and the first terminal 120 and the second terminal 160 take on secondary computing work; alternatively, the server 140 performs a secondary computing job, and the first terminal 120 and the second terminal 160 perform a primary computing job; 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 installs and runs an application supporting a virtual environment. By way of example, the application may be any one of a fleeing game, a virtual reality application, an augmented reality application, a three-dimensional map application, a virtual reality game, an augmented reality game, a first person shooter game, a third person shooter game, a multiplayer online tactical game, a strategy game.
The second terminal 160 is a terminal used by a second user to control a second avatar located in the virtual environment using the second terminal 160, including but not limited to: at least one of body posture adjustment, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, building a virtual building. The second user may also use the second terminal 160 to release virtual combat skills and control the virtual vehicles during combat.
Optionally, the virtual combat skill includes at least one of a firing operation, a mirror operation, a position adjustment operation, a posture adjustment operation, a virtual combat prop switching operation. Optionally, controlling the virtual carrier includes controlling the virtual carrier to perform at least one of moving, steering, and shooting. Alternatively, the second terminal 160 may freeze the virtual combat skills in case the second user performs a game operation using the peripheral equipment at the first terminal 120.
Alternatively, the virtual roles controlled by the first user through the first terminal 120 and the second user through the second terminal 160 are located at different positions in the same virtual environment, i.e., the first user and the second user are in the same field of fight.
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 form of the Application program installed on the first terminal 120 and the second terminal 160 is not limited in the embodiment of the present application, and the Application program includes but is not limited to an App (Application), an applet, etc. installed in the first terminal 120 and the second terminal 160, and may also be in the form of a web page. The first terminal 120 may refer broadly to one of a plurality of terminals, and the second terminal 160 may refer broadly to one of a plurality of terminals, the present embodiment being illustrated with only 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, and the device models may be different. The device types include: at least one of a smart phone, a tablet computer, a wearable device, a PC (Personal Computer ), a laptop portable computer, and a desktop computer. The following embodiments are illustrated with the terminal comprising a smart phone.
Those skilled in the art will recognize that the number of terminals may be greater or lesser. For example, the terminal may be only one (i.e., the user is engaged in a game with artificial intelligence), or the terminal may be 8 (1 v1,8 users are cycled between and out of the game, and the winner is eventually resolved), or more. The embodiment of the application does not limit the number of terminals and the equipment type.
In an application supporting a virtual environment, for example: shooting-type games, players can control virtual vehicles by controlling virtual characters, such as: and driving the automobile carrier and the tank carrier. In the related art, the virtual vehicle is regarded as a whole, and thus, the virtual vehicle can only be controlled by one virtual character at the same time. Such as: one virtual character drives the tank carrier, and the other virtual characters can only be located as passengers in the tank carrier. However, this approach does not allow simultaneous cooperative control of virtual vehicles by multiple virtual roles.
Fig. 2 is a schematic diagram illustrating a control method of a virtual carrier according to an exemplary embodiment of the present application. An example of the first terminal 120 used by the first user in this way will be described.
The virtual carrier in this embodiment includes at least two carrier members, where the at least two carrier members may be mounted on each other, and the at least two carrier members respectively correspond to different control positions of the virtual carrier, and different carrier members of the at least two carrier members are controlled by different virtual roles. As shown in a schematic diagram 121 in fig. 2, the virtual carrier 10 includes a carrier member 11 and a carrier member 12 mounted on the carrier member 11, and the carrier member 11 and the carrier member 12 each correspond to a different control position of the virtual carrier 10. As an example, the carrier member 11 refers to a driving carrier member (vehicle body) corresponding to a driving position, and the carrier member 12 refers to a shooting carrier member (turret and/or gun) mounted on the driving carrier member corresponding to a shooting position. The steps of the first terminal 120 for performing the method are briefly described as follows:
1. and displaying the virtual carrier and the first virtual character.
The first avatar refers to an avatar controlled by the first user through the first terminal 120. As shown in a schematic diagram 122 in fig. 2, the first terminal 120 displays the virtual vehicle 10 and the first virtual character 20.
2. In response to an interactive operation on the virtual vehicle, a first virtual character is controlled to be located in a first position of the at least two control positions.
As shown in the schematic diagram 122 in fig. 2, the virtual carrier 10 includes a first position 13, i.e. a driving position, and a second position 14, i.e. a shooting position. The first terminal 120 controls the first virtual character 20 to be located at a first position 13, i.e., a driving position, among at least two control positions of the virtual vehicle 10 in response to the interactive operation of the virtual vehicle 10 by the first virtual character. The first avatar 20 may control the virtual vehicle 10 to move through the first control operation.
3. Receiving second operation information corresponding to second control operation sent by a server; the second control operation is a control operation of the second virtual character for the vehicle part corresponding to a second position of the at least two control positions, the second virtual character being located at the second position.
As shown in a schematic diagram 122 in fig. 2, the second terminal controls the second virtual character 30 to be located at the second position 14 of the at least two control positions of the virtual vehicle 10, and then the second virtual character may control the virtual vehicle 10 to shoot through the second control operation. The second terminal needs to send the second operation information corresponding to the second control operation to the server, and the server sends the second operation information to the first terminal 120, that is, the first terminal 120 may receive the second operation information corresponding to the second control operation sent by the server.
4. Responding to a second control operation corresponding to the second control information, and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual character when the virtual carrier executes a control function corresponding to the second control operation.
As shown in the schematic diagram 123 in fig. 2, the virtual vehicle 10 includes the first virtual character 20 located at the first position 13 and the second virtual character 30 located at the second position 14, and the virtual vehicle 10 may be controlled by the first virtual character 20 and the second virtual character 30 at the same time.
When only the first virtual character 20 issues the first control operation, the first terminal 120 controls the movement of the virtual vehicle 10 in response to the first control operation, and the first control screen displayed on the first terminal 120 at this time is the view angle screen of the first virtual character when the virtual vehicle 10 moves.
When only the second control operation is issued by the second virtual character 30, the first terminal 120 controls the virtual vehicle 10 to shoot in response to the second control operation corresponding to the second control information, and the first control screen displayed on the first terminal 120 for the first virtual character 20 is the view angle screen of the first virtual character when the virtual vehicle 10 shoots.
When the first virtual character 20 issues the first control operation and the second virtual character 30 issues the second control operation, the first terminal 120 controls the virtual vehicle 10 to move and shoot in response to the first control operation and the second control operation corresponding to the second control information, and at this time, the first control screen displayed on the first terminal 120 is the view angle screen of the first virtual character when the virtual vehicle 10 moves and shoots.
In summary, the virtual carrier in this embodiment includes at least two carrier components, which is equivalent to splitting an overall virtual carrier into multiple carrier components, so that different carrier components of the virtual carrier can be controlled by different virtual roles, and the first terminal can also respond to the control of another virtual role on the virtual carrier by receiving the second control information corresponding to the second control operation sent by the server, so as to realize that one virtual carrier is controlled by multiple virtual roles, enrich game playing methods, and make the first control picture displayed on the first terminal more accurate.
Fig. 3 is a flowchart illustrating a method for controlling a virtual vehicle according to an exemplary embodiment of the present application, which is applied to an application program supporting a virtual environment installed on the first terminal 120 shown in fig. 1, and includes:
Step 220, displaying the virtual carrier and the first virtual character.
A virtual carrier is a virtual prop used to load a virtual character in a virtual environment.
The first virtual character is a virtual character controlled by the first player using the first terminal.
Optionally, the virtual vehicle comprises at least one of an automobile vehicle, a tank vehicle, and an aircraft vehicle. The virtual vehicle of the embodiment includes at least two vehicle components, at least two vehicle components respectively corresponding to different control positions of the virtual vehicle, and different vehicle components of the at least two vehicle components are controlled by different virtual roles.
Optionally, the virtual carrier comprises at least two carrier parts mounted to each other. Such as: the virtual carrier comprises two carrier components which are mutually mounted, namely a driving carrier component and a shooting carrier component which is mounted on the driving carrier component. The control position corresponding to the driving carrier part is a driving position, and the control position corresponding to the shooting carrier part is a shooting position.
The virtual vehicle of the present embodiment may be a virtual vehicle provided in a virtual environment, or a virtual vehicle provided by a first virtual character.
Optionally, in the case that the virtual carrier is a virtual carrier provided by the first virtual character, the first virtual character performs an initialization process on the virtual carrier. The initialization process includes setting at least one of an outline of the virtual carrier, a type, model, and attribute of a carrier component on the virtual carrier, and an outline of the carrier component.
Such as: the first virtual character sets up the virtual carrier and is the tank carrier, sets up the skin image of tank carrier, sets up the altitude, adjustable angle, range, the skin image of the big gun on the tank carrier, sets up at least one of type, model, the biggest ammunition quantity that holds, range, the skin image of the rifle on the tank carrier.
Illustratively, the virtual environment of the present embodiment includes at least two virtual characters. The at least two virtual roles include a first virtual role and a second virtual role.
The second virtual character is a virtual character controlled by the second player using the second terminal.
Alternatively, the virtual vehicle of the present embodiment may be controlled by at least two virtual characters. Each virtual character may individually control one vehicle component of the virtual vehicle at a time. Such as: the first virtual character controls the driving vehicle part of the virtual vehicle, while the second virtual character controls the shooting vehicle part of the virtual vehicle.
In response to the interactive operation on the virtual vehicle, the first virtual character is controlled to be located in a first position of the at least two control positions, step 240.
The interaction is an interaction of the virtual carrier by the first virtual character.
Optionally, the interactive operation includes at least one of a click operation and a selection operation. Such as: and clicking a get-on control of the virtual carrier or clicking a get-on button corresponding to the virtual carrier to get on one position of the virtual carrier. Or, by selecting a virtual carrier within the current field of view, up to a location of the virtual carrier.
The first location refers to a control location allocated by the first terminal for the first virtual character, or the first location is a location selected by the first virtual character itself.
Optionally, the virtual carrier includes at least two control positions, and the first terminal determines a first position corresponding to the interaction operation in response to the interaction operation on the virtual carrier, and controls the first virtual character to be located at the first position. The interaction operation carries position information of the first position.
Optionally, the virtual vehicle includes at least two control positions, and the first terminal assigns one of the at least two control positions (i.e., a first position) to the first virtual character in response to the interaction with the virtual vehicle, and controls the first virtual character to be located in the first position.
In some embodiments, the first terminal determines the first location of the first virtual character according to the sequential priority of the control locations, or using a pre-trained neural network model, or according to the character attribute of the first virtual character and the respective part attribute of the vehicle part.
Step 260, receiving second operation information corresponding to the second control operation sent by the server; the second control operation is a control operation of the second virtual character for the vehicle part corresponding to a second position of the at least two control positions, the second virtual character being located at the second position.
The second control operation is a control operation of the second virtual character for the vehicle part corresponding to a second position of the at least two control positions, the second virtual character being located at the second position.
The second operation information is operation information corresponding to the second control operation.
For example, when the first virtual character is located at the first position and the second virtual character is located at the second position of the virtual carrier, the second virtual character may control the carrier component corresponding to the second position where the second virtual character is located, and at this time, data synchronization needs to be performed between the first terminal and the second terminal.
Optionally, the second terminal sends second operation information corresponding to the second control operation to the server, the server forwards the second operation information corresponding to the second control operation to the first terminal, and the first terminal receives the second operation information corresponding to the second control operation sent by the server.
Step 280, responding to a second control operation corresponding to the second control information, and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual character when the virtual carrier executes a control function corresponding to the second control operation.
The control function is a function executed after the vehicle parts corresponding to the positions of the first virtual character and the second virtual character are controlled.
The first control picture is a view angle picture of the first virtual character when the virtual carrier executes a control function corresponding to the second control operation.
Optionally, the perspective of the first virtual character is one of a first person perspective and a third person perspective.
Optionally, the control function includes at least one of moving, steering, launching the virtual component.
In an exemplary embodiment, the second virtual character is located at a second position, where the second position corresponds to the carrier component, and the first terminal controls the virtual carrier to move in response to a second control operation of the second virtual character on the carrier component corresponding to the second position, and then displays a view angle picture of the movement of the virtual carrier at the view angle of the first virtual character on the first terminal.
The first terminal responds to the control operation of the second virtual character on the carrier component corresponding to the second position, controls the carrier component to execute the control function corresponding to the control operation, and displays a first control picture of the first virtual character on the first terminal.
Optionally, in the case that the virtual vehicle is simultaneously controlled by the first virtual character and the second virtual character, the first terminal also simultaneously responds to the first control operation and the second control operation corresponding to the second control information, and controls the vehicle component to simultaneously execute the control functions corresponding to the first control operation and the second control operation, and a first control screen of the first virtual character is displayed on the first terminal.
The first control operation is a control operation of the first virtual character on the vehicle component corresponding to the position of the first virtual character.
In summary, in the control method for a virtual carrier according to the embodiment of the present application, the virtual carrier includes at least two carrier components, the at least two carrier components respectively correspond to different control positions of the virtual carrier, and different carrier components of the at least two carrier components are controlled by different virtual roles; the method comprises the following steps: displaying the virtual carrier and the first virtual character; controlling a first virtual character to be located at a first position of the at least two control positions in response to the interactive operation on the virtual vehicle; receiving second operation information corresponding to second control operation sent by a server; the second control operation is a control operation of the second virtual character for a vehicle part corresponding to a second position of the at least two control positions, the second virtual character being located at the second position; responding to a second control operation corresponding to the second control information, and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual character when the virtual carrier executes a control function corresponding to the second control operation. According to the scheme, one virtual carrier is split into the plurality of carrier components, so that the plurality of carrier components form a whole, each carrier component can be controlled by the virtual role respectively, and the fact that the whole virtual carrier can be controlled by the plurality of virtual roles simultaneously is achieved.
Fig. 4 is a flowchart illustrating a method for controlling a virtual carrier according to an exemplary embodiment of the present application. The following embodiments provide a number of ways of determining the first position of the first virtual character, each of which is described below.
Mode one: the step 240 may optionally include the following steps 320 and 360:
in response to the interaction with the virtual vehicle, a first position of the first virtual character is determined in accordance with the sequential priority of the at least two vehicle components, step 320.
Sequential priority refers to the priority of at least two carrier components of a virtual carrier.
Optionally, the sequential priority of at least two carrier parts is preset and fixed. For all virtual roles, a fixed order priority is set.
Such as: the at least two carrier parts include a driving carrier part and a shooting carrier part, and the order priority of the driving carrier part is set higher than the order priority of the shooting carrier part.
Optionally, the order priority of at least two carrier components may be adjustable, and the order priority of the carrier components corresponding to the virtual character may be different for different virtual characters. Specifically, the order priority may be set according to the degree of matching between the component attribute of the vehicle component and the character attribute of the virtual character. The higher the matching degree of the carrier parts, the higher the order priority thereof.
Exemplary character attributes include at least one of a total driving duration, a driving duration on a current map, a shooting accuracy, a number and type of virtual equipment, a device type of a held first terminal; the component attributes include at least one of a driving component attribute and a shooting component attribute.
Such as: the at least two vehicle components include a steering vehicle component and a shooting vehicle component. For example, for a first virtual character, the total driving duration of the first virtual character far exceeds the total driving duration of other virtual characters in the virtual environment, and for the first virtual character, the order priority corresponding to the driving carrier component is higher than the order priority corresponding to the shooting carrier component. For example, for another first virtual character, the shooting accuracy of the first virtual character is greater than the shooting accuracy of other virtual characters in the virtual environment, and for the first virtual character, the corresponding order priority of the shooting carrier components is greater than the corresponding order priority of the driving carrier components. For example, the first terminal held by the first virtual character is a tablet computer, and when the tablet computer is used, the driving speed and the moving direction are easier to control than those of the smart phone, so that the order priority corresponding to the driving carrier component is higher than the order priority corresponding to the shooting carrier component for the first virtual character.
Step 360, controlling the first avatar to be in a first position of the at least two control positions.
Optionally, after the first terminal allocates the first position to the first virtual character, the first terminal controls the first virtual character to be located in a first position of the at least two control positions.
With continued reference to fig. 4, in this example, the at least two carrier members include a first carrier member and a second carrier member, the second carrier member being mounted on the first carrier member. Taking the example that the order priority of the first carrier component of the virtual carrier is greater than the order priority of the second carrier component, step 320 may optionally include the following steps 322 and/or 324:
in step 322, in response to the interaction with the virtual vehicle, in a case where the position of the first vehicle part is empty, the control position corresponding to the first vehicle part is determined as the first position of the first virtual character.
For example, the first terminal determines the control position corresponding to the first carrier part as the first position of the first virtual character in response to the interaction operation on the virtual carrier when the position of the first carrier part is empty, that is, the position is unoccupied.
In step 324, in response to the interaction with the virtual vehicle, in a case where the position of the first vehicle part is not empty and the position of the second vehicle part is empty, the control position corresponding to the second vehicle part is determined as the first position of the first virtual character.
In an exemplary embodiment, the first terminal is configured to determine, in response to an interaction with the virtual vehicle, whether the position of the first vehicle part is empty or not when the position of the first vehicle part is not empty, that is, the position is occupied, and determine, in the case that the position of the second vehicle part is not empty, the control position corresponding to the second vehicle part as the first position of the first virtual character.
In some embodiments, the virtual carrier includes a third carrier component in addition to the first carrier component and the second carrier component. The sequential priority of the second carrier component is greater than the sequential priority of the third carrier component.
Optionally, the first terminal further determines, in response to the interaction with the virtual vehicle, a control position corresponding to the third vehicle part as the first position of the first virtual character in a case where neither the first vehicle part nor the second vehicle part is empty and the position of the third vehicle part is empty.
Mode two: step 240 above optionally includes step 340 and step 360:
step 340, in response to the interaction with the virtual vehicle, determining a first location assigned to the first virtual character in accordance with the character attribute of the first virtual character and the component attributes of each of the at least two vehicle components of the virtual vehicle.
The character attribute refers to an attribute of the first virtual character.
Optionally, different virtual roles correspond to different role attributes. The character attributes include at least one of a total driving duration, a driving duration on a current map, a shooting accuracy, a number and type of virtual equipment, and a device type of the held first terminal.
Component properties refer to properties of the carrier component.
Optionally, different carrier components correspond to different component properties. The vehicle components include a driving vehicle component and a shooting vehicle component, and the component attribute includes at least one of a driving component attribute corresponding to the driving vehicle component and a shooting component attribute corresponding to the shooting vehicle component.
Optionally, the driving part attribute includes at least one of a driving position (left driving position or right driving position), a driving manner (manual driving or automatic driving), a moving speed, an acceleration, a weight, a guard force. The firing component attributes include at least one of component type (turret or gun), component position, penetration, weight, steering speed, aiming speed, firing accuracy.
Optionally, the first terminal calculates the matching degree of the first virtual character and at least two carrier components according to the character attribute of the first virtual character and the component attribute of each of the at least two carrier components of the virtual carrier, and determines the control position corresponding to the carrier component with the highest matching degree as the first position corresponding to the first virtual character.
In some embodiments, the first terminal comprises a pre-trained neural network model for calculating a degree of matching between the first virtual character and each of the at least two vehicle components based on the character attribute according to the first virtual character and the component attribute of each of the at least two vehicle components of the virtual vehicle.
The neural network model may be one of the following models: a feed-forward neural network model (Multilayer Feedforward Neural Network, MFNN), a convolutional neural network model (Convolutional Neural Networks, CNN), a recurrent neural network (Recurrent Neural Network, RNN).
Illustratively, the training samples of the neural network model include: the sample character attribute of the sample virtual character, the sample part attribute of each of at least two sample carrier parts of the sample virtual carrier, and the actual degree of matching between the pre-labeled sample virtual character and each sample carrier part. The neural network model is trained based on the training samples, and the prediction matching degree between the sample virtual roles and each sample carrier component is calculated. And determining training loss based on the actual matching degree and the predicted matching degree, and obtaining a trained neural network model when the training loss is minimum. The neural network model is capable of calculating a degree of matching between the first virtual character and each of the at least two vehicle components.
Step 360, controlling the first virtual character to be located at a first position of the at least two control positions;
the character attribute comprises at least one of total driving duration, driving duration on a current map, shooting accuracy, number and type of virtual equipment and equipment type of a held first terminal; the component attributes include at least one of a driving component attribute and a shooting component attribute.
Optionally, after the first terminal assigns the first position to the first virtual character, the first terminal controls the first virtual character to be located in a first position of the at least two control positions.
In the above embodiment, a plurality of ways of determining the first position of the first virtual character by the first terminal are provided, which can be flexibly selected according to actual technical needs, and the accuracy of position allocation for the first virtual character can be improved.
Please continue to refer to fig. 4. The at least two carrier components of the virtual carrier in this embodiment include a first carrier component and a second carrier component mounted on each other, the second carrier component being mounted on the first carrier component, the second carrier component moving along with the movement of the first carrier component; the control function includes at least one of moving, steering, launching the virtual component.
Illustratively, in the case where the first terminal responds to only the second control operation, the above step 260 may optionally include the following step 382 and/or step 384, and in the case where the first terminal responds to both the first control operation and the second control operation, the above step 260 may optionally be replaced with the following step 386:
in step 382, a view angle screen of the virtual vehicle moving is displayed in response to a second control operation of the second virtual character on the second vehicle component corresponding to the second position.
The first vehicle component refers to a driving vehicle component of the virtual vehicle.
In an exemplary embodiment, the second virtual character is located at a second position, where the second position corresponds to the second carrier component, and the first terminal controls the virtual carrier to move in response to a second control operation of the second virtual character on the second carrier component corresponding to the second position, and displays a view angle picture of the movement of the virtual carrier on the first terminal according to a view angle of the first virtual character.
In step 384, in response to the second control operation of the second virtual character for the second vehicle component corresponding to the second position, the second vehicle component of the virtual vehicle is displayed to steer and/or emit the view angle picture of the virtual component.
The second carrier part refers to a shooting carrier part of the virtual carrier.
The first terminal responds to a first control operation of the first virtual character for the first carrier component corresponding to the first position, and controls the first carrier component of the virtual carrier to turn and/or emit the virtual component, and then displays a visual angle picture of the first carrier component of the virtual carrier on the first terminal according to a visual angle of the first virtual character.
Step 386, in response to the first control operation and a second control operation corresponding to the second control information, displaying a second control screen corresponding to the first virtual character;
the first control operation is a control operation of the first virtual character on the vehicle component corresponding to the first position, and the second control picture is a view picture of the first virtual character when the virtual vehicle simultaneously executes control functions corresponding to the first control operation and the second control operation.
In an exemplary embodiment, the first virtual character is located at a first position, the first position corresponds to the first carrier component, the second virtual character is located at a second position, the second position corresponds to the second carrier component, and the first terminal controls the virtual carrier to move in response to the first control operation and the second control operation corresponding to the second control information, and controls the second carrier component of the virtual carrier to turn and/or emit the virtual component, and then displays, on the first terminal, a visual angle picture of the virtual carrier to move and the second carrier component to turn and/or emit the virtual component in a visual angle of the first virtual character.
In this embodiment, the first terminal may respond to the control operation of the virtual character on the carrier component corresponding to the position of the virtual character, and control the corresponding carrier component to execute the corresponding control function, so as to implement accurate control on each carrier component of the virtual carrier, support to implement control on different carrier components by multiple virtual characters, and perform image display on the first terminal with the view angle of the first virtual character, thereby improving accuracy of image display and user experience.
Fig. 5 is a flowchart illustrating a method for controlling a virtual carrier according to an exemplary embodiment of the present application. In some embodiments, after step 260, the method may further include the following step 420:
in step 420, in response to the position switching operation on the virtual carrier, the first position where the first virtual character is located is switched.
The position switching operation is an operation of switching the current position of the first virtual character.
The first terminal responds to the position switching operation of the first virtual character on the virtual carrier, and switches the first position where the first virtual character is located.
In this embodiment, the first terminal switches the first position where the first virtual character is located by responding to the position switching operation on the virtual carrier, so that the position switching of the virtual character can be realized, and the game playing method is enriched.
The following embodiments provide a plurality of ways of position switching, each of which is described below.
Mode one: the above step 420 is optionally implemented as the following steps 440 and 442:
in step 440, in response to the position switching operation on the virtual carrier, a switching position corresponding to the position switching operation is determined.
The switching position refers to a control position of the first virtual character to be switched.
Optionally, the switching position is different from the first position where the first virtual character is currently located. That is, the carrier member corresponding to the switching position is different from the carrier member corresponding to the first position.
Illustratively, the first virtual character issues a position switch operation by clicking or selecting a control or button corresponding to the switch position. And the first terminal responds to the position switching operation of the first virtual character on the virtual carrier, and determines a switching position corresponding to the position switching operation.
Step 442, switching the first virtual character to the switching position if the switching position is empty;
wherein the carrier component corresponding to the switching position is different from the carrier component corresponding to the first position.
The first terminal, for example, switches the first virtual character to the switch position if it is determined that the switch position is empty, i.e., the switch position is unoccupied.
Mode two: the above step 420 is optionally implemented as the following steps 440 and 444:
in step 440, in response to the position switching operation on the virtual carrier, a switching position corresponding to the position switching operation is determined.
The switching position refers to a control position of the first virtual character to be switched.
Optionally, the switching position is different from the first position where the first virtual character is currently located. That is, the carrier member corresponding to the switching position is different from the carrier member corresponding to the first position.
Illustratively, the first virtual character issues a position switch operation by clicking or selecting a control or button corresponding to the switch position. And the first terminal responds to the position switching operation of the first virtual character on the virtual carrier, and determines a switching position corresponding to the position switching operation.
Step 444, switching the first virtual character to the switching position when the switching position is not empty and the switching is allowed by the third virtual character located at the switching position;
wherein the carrier component corresponding to the switching position is different from the carrier component corresponding to the first position.
The third virtual character is the virtual character located at the switching position. It is understood that the third virtual character is a different virtual character than the first virtual character, and the second virtual character may also be the third virtual character.
In an exemplary embodiment, when the first terminal determines that the switching position is not empty, that is, the switching position is occupied, the first terminal sends a switching prompt message to a third virtual character located at the switching position, and the server synchronizes the switching prompt message to the third terminal so as to display the switching prompt message to the third virtual character. In case the third virtual character located at the switching position allows switching, the server synchronizes the switching permission information to the first terminal, which switches the first virtual character to the switching position.
Meanwhile, the third terminal reallocates the position for the second virtual character. The method for allocating the position for the third virtual role by the third terminal may refer to the method for allocating the position for the first virtual role by the first terminal, which is not described herein.
Mode three: the above step 420 is optionally implemented as the following steps 460 and 462:
step 460, in response to the position switching operation on the virtual vehicle, determining a third position allocated for the first virtual character according to the character attribute of the first virtual character and the component attribute of each of the at least two vehicle components of the virtual vehicle.
The third position is a control position where the first virtual character is reassigned by the first terminal after the first virtual character issues the position switching operation.
Optionally, the third location is a different location than the first location where the first avatar is currently located. That is, the carrier member corresponding to the third position is different from the carrier member corresponding to the first position. It will be appreciated that the third position, which is different from the first position, may also be the second position in which the second avatar is located.
Illustratively, the first virtual character issues a position switch operation by clicking or selecting a control or button corresponding to the switch position. The first terminal responds to the position switching operation of the first virtual character on the virtual carrier, and determines a third position allocated for the first virtual character according to the character attribute of the first virtual character and the component attribute of each of at least two carrier components of the virtual carrier.
In this embodiment, the manner in which the first terminal allocates the third position for the first virtual character may refer to the manner in which the first terminal allocates the first position for the first virtual character in the foregoing embodiment, which is not described herein again.
Optionally, when the third position is determined by the matching degree, when the control position corresponding to the carrier component with the highest matching degree is the same as the first position where the first virtual character is currently located, position prompt information is sent to the first virtual character. And under the condition that the first virtual character still needs to switch positions, determining the control position corresponding to the carrier component with the second highest matching degree as a third position corresponding to the first virtual character.
Step 462, controlling to switch the first avatar from the first position to the third position;
wherein the carrier component corresponding to the third position is different from the carrier component corresponding to the first position.
The first terminal may switch the first virtual character to the third position if it is determined that the third position is empty, i.e. the third position is unoccupied.
In an exemplary embodiment, the first terminal sends out a handoff prompt message to a fourth virtual character located at the third location when it is determined that the third location is not empty, that is, the third location is occupied, and the server synchronizes the handoff prompt message to the fourth terminal to display the handoff prompt message to the fourth virtual character. In case the fourth virtual character located at the third location allows switching, the server synchronizes the switching permission information to the first terminal, which switches the first virtual character to the third location.
In the above embodiment, a plurality of ways of performing position switching on the first virtual role by the first terminal are provided, and flexible selection can be performed according to actual technical requirements, so that free position switching of the virtual role is realized. After the position is switched, the virtual carrier controlled by the virtual character is changed, so that the virtual carrier can be controlled by a plurality of virtual characters, and the control accuracy of the carrier component is improved.
In some embodiments, a control system for a virtual vehicle is described. The virtual carrier comprises at least two carrier parts, the at least two carrier parts respectively correspond to different control positions of the virtual carrier, and different carrier parts of the at least two carrier parts are controlled by different virtual roles.
Optionally, the system comprises a first terminal and a server. The first user controls the first virtual character through the first terminal. The first terminal and the server can communicate in a wired or wireless manner.
The first terminal is used for displaying the virtual carrier and the first virtual role; controlling a first virtual character to be located at a first position of the at least two control positions in response to the interactive operation on the virtual vehicle; receiving second operation information corresponding to second control operation sent by a server; the second control operation is a control operation of the second virtual character for a vehicle part corresponding to a second position of the at least two control positions, the second virtual character being located at the second position; responding to a second control operation corresponding to the second operation information, and displaying a first control picture of the first virtual character; the first control picture is a visual angle picture of a first virtual role when the virtual carrier executes a control function corresponding to the second control operation;
And the server is used for receiving second operation information corresponding to the second control operation sent by the second terminal and sending the second operation information of the second control operation to the first terminal.
Optionally, the first terminal further responds to a second control operation corresponding to the first control operation and the second control information, and displays a second control screen corresponding to the first virtual character.
The first control operation is a control operation of the first virtual character on the vehicle component corresponding to the first position, and the second control picture is a view picture of the first virtual character when the virtual vehicle simultaneously executes control functions corresponding to the first control operation and the second control operation.
It should be noted that, the specific limitation in the embodiment of the control system of one or more virtual vehicles provided above may be referred to the limitation of the control method of the virtual vehicle hereinabove, and will not be described herein.
In order to further understand the control method of the virtual carrier according to the embodiment of the present application, the control method of the virtual carrier provided by the embodiment of the present application is described in detail below with reference to several schematic diagrams.
When game development is performed in the UE, a down is a controllable virtual character in the game, and one down can only be controlled by the virtual character of one player at the same time. When there is one tank carrier, the tank carrier can only be controlled by one virtual character when the whole tank carrier is one town. For example, a tank carrier can only be controlled by one virtual character, or other virtual characters are only mounted on the tank carrier, and cannot directly operate the tank carrier, and can only indirectly send an operation instruction to a server, the server acts on the tank carrier in an operation manner, so that the coupling is extremely high, the player experience is not facilitated, and network time delay is caused when the instruction is sent.
In this embodiment, it is possible to realize that a plurality of virtual roles operate a tank at the same time, such as: one of the virtual roles controls the movement of the tank carrier, the other virtual role controls the gun turret of the tank carrier to fire, the other virtual role controls the machine gun of the tank carrier, and the corresponding positions can be switched freely when the corresponding positions are empty.
In this embodiment, the whole tank carrier is split into a plurality of parts, each part is called a carrier component, the tank carrier is divided into a vehicle body, a turret and a machine gun, wherein the vehicle body, the turret and the machine gun are respectively one brown, and other parts are combined on the vehicle body through binding relations. Based on the above, the virtual character controlled by the player can enter any position of the tank carrier and be controlled, when the virtual character A controls the car body to move, the virtual character B can also control the gun turret to fire, and the virtual character B does not affect each other, and can be switched to the corresponding empty position if the corresponding position is empty.
In this embodiment, by splitting one virtual carrier into multiple towns, each virtual character can control one of the towns, and can directly pre-operate locally, and notify the server side at the same time, so that player experience is smooth. Thereby enabling one virtual vehicle to be controlled by a plurality of virtual characters at the same time.
Taking the example that the virtual carrier is a tank carrier, the tank carrier may be controlled by a plurality of virtual characters. Fig. 6 shows a schematic diagram of a virtual carrier according to an exemplary embodiment of the present application. As shown in part (a) of fig. 6, the tank carrier is split into 3 towns, namely a body 510, a gun 520 and a turret 530, and part (b) of fig. 6 shows a schematic diagram of corresponding carrier components of each town on the tank carrier. The control position of the body 510 is the steering position, the control position of the gun 520 is the gun position, and the corresponding control position of the turret 530 is the turret position.
Taking as an example the allocation of positions for each virtual character by the order priority of the carrier components of the tank carrier by the terminals respectively held by each virtual character. The order priority of the carrier components of the tank carrier is set from high to low in sequence as follows: body, turret, and gun, and this sequential priority is common to all virtual characters.
Fig. 7 is a flowchart of a method for controlling a virtual carrier according to an exemplary embodiment of the present application, where the flow is briefly described as follows:
flow of player controlled virtual character into tank carrier
1. The player interactively puts tank carriers on; continuing to execute the step 2;
2. judging whether the position of the vehicle body is empty or not; if yes, executing 3, otherwise executing 4;
3. The player gets to the position of the vehicle body and controls the vehicle body to move the virtual carrier;
4. judging whether the gun turret position is empty or not; if yes, executing 5, otherwise executing 6;
5. the player goes to the turret position and controls the turret;
6. judging whether the position of the machine gun is empty or not; if yes, executing 7, otherwise executing 8;
7. the player goes to the gun position and controls the gun;
8. the tank carrier is full and cannot be put on.
Flow of player-controlled virtual character switching positions
Similar to the flow of entering the tank carrier described above, when the player-controlled virtual character is currently located at the vehicle body position and the switching position is the gun position, it is determined whether the gun position is empty, and if so, the virtual character is switched from the vehicle body position to the gun position.
The above-described flow is described below in connection with several schematic diagrams.
1. The tank carrier is initialized when being generated in the virtual scene, and the gun tower and the gun down are dynamically combined and mounted on the vehicle body down to form a complete tank carrier.
2. When no person is on the tank carrier, the player A approaches the tank carrier, and performs interactive operation through a terminal held by the player A, and the player A defaults to the position of the vehicle body of the tank carrier, namely, the player A controls the movement of the tank carrier by controlling the vehicle body; fig. 8 is an interface diagram illustrating a control method of a virtual carrier according to an exemplary embodiment of the present application. The player initiates an interactive operation by pressing F key 550 into tank carrier 540.
3. When the player B approaches the tank carrier, the terminal held by the player B performs interactive operation, and the player B automatically goes to the gun turret position because the car body position is already someone, namely, the gun turret of the tank carrier is controlled to turn and fire.
4. When player C approaches the tank carrier, interactive operation is initiated through the terminal held by player C, and the gun position is automatically up to the gun position because the car body position and the gun turret position are already someone, namely, player C controls gun steering and gun bullet shooting of the tank carrier.
5. When a player at a certain position performs a tank-discharging operation such as: when the player A performs tank unloading operation, the player A re-controls the virtual character of the player A, at the moment, the vehicle body position of the tank carrier is empty, other players can go to the vehicle body position of the tank carrier, or the player B at the gun turret position and the player C at the gun position can be switched to the vehicle body position of the tank carrier through keys; fig. 9 is an interface diagram illustrating a control method of a virtual carrier according to an exemplary embodiment of the present application. An area 580 of fig. 9 represents a steering wheel, and keys corresponding to respective control positions on the tank carrier are displayed in a display area 560 of the interface diagram, and a player initiates a position switching operation for switching from the current position to the turret position by pressing an F2 key 570.
Fig. 10, 11 and 12 are views respectively showing virtual roles provided by an exemplary embodiment of the present application. Specifically, fig. 10 is a view angle diagram 610 in which a virtual character is located at a driving position of a tank vehicle, and a region 611 represents a driving steering wheel. FIG. 11 is a schematic view 620 of a virtual character in a turret position of a tank vehicle, with area 621 representing a sighting telescope on the turret. FIG. 12 is a schematic view 630 of a virtual character at the gun position of a tank vehicle, with area 631 representing the gun. The virtual character can switch the control position on the virtual carrier, so that the view angle schematic diagram changes along with the control position.
In summary, in the control method for a virtual carrier provided by the embodiment of the present application, a virtual carrier is split into a plurality of carrier components mounted on each other, so that the plurality of carrier components mounted on each other form a whole, each carrier component can be controlled by a virtual character, which is equivalent to realizing that a whole virtual carrier can be controlled by a plurality of virtual characters at the same time. When the virtual character switches different control positions on the virtual vehicle, not only the control positions are changed, but also the vehicle parts actually controlled by the virtual character are changed. The virtual character can directly act the input control on the carrier component at the control position, so that the control accuracy is improved, and the player experience is effectively improved.
Fig. 13 is a block diagram illustrating a control apparatus of a virtual vehicle according to an exemplary embodiment of the present application. The virtual vehicle includes at least two vehicle parts, the at least two vehicle parts respectively correspond to different control positions of the virtual vehicle, different vehicle parts of the at least two vehicle parts are controlled by different virtual roles, and the control device 800 of the virtual vehicle includes:
and a display module 810, configured to display the virtual vehicle and the first virtual character.
And a control module 820 for controlling the first virtual character to be located at a first position of the at least two control positions in response to the interactive operation of the virtual vehicle.
A receiving module 830, configured to receive second operation information corresponding to a second control operation sent by the server; the second control operation is a control operation of a second virtual character for a vehicle component corresponding to a second position of the at least two control positions, the second virtual character being located at the second position.
The display module 810 is configured to display a first control screen of the first virtual character in response to the second control operation corresponding to the second control information; the first control picture is a view angle picture of the first virtual role when the virtual carrier executes a control function corresponding to the second control operation.
In some embodiments, the control module 820 is configured to:
determining the first location of the first virtual character in accordance with a sequential priority of the at least two vehicle components in response to the interoperation of the virtual vehicle;
controlling the first avatar to be in the first one of the at least two control positions.
In some embodiments, the at least two carrier components include a first carrier component and a second carrier component mounted to each other, the second carrier component mounted to the first carrier component; the sequential priority of the first carrier component is greater than the sequential priority of the second carrier component; the control module 820 is configured to:
in response to the interactive operation on the virtual vehicle, determining a control position corresponding to the first vehicle part as the first position of the first virtual character in the case that the position of the first vehicle part is empty;
in response to the interactive operation on the virtual vehicle, determining a control position corresponding to the second vehicle part as the first position of the first virtual character in a case where the position of the first vehicle part is not empty and the position of the second vehicle part is empty.
In some embodiments, the control module 820 is configured to:
determining the first location allocated for the first virtual character in accordance with a character attribute of the first virtual character and a component attribute of each of the at least two vehicle components of the virtual vehicle in response to the interactive operation on the virtual vehicle;
controlling the first virtual character to be located at the first position of the at least two control positions;
the character attribute comprises at least one of total driving duration, driving duration on a current map, shooting accuracy, number and type of virtual equipment and equipment type of the held first terminal; the component attributes include at least one of a driving component attribute and a shooting component attribute.
In some embodiments, the at least two carrier members include a first carrier member and a second carrier member mounted to each other, the second carrier member mounted to the first carrier member, the second carrier member moving with movement of the first carrier member; the control function comprises at least one of moving, steering, launching virtual components; the display module 830 is configured to:
Responding to the second control operation of the second virtual character on the first carrier component corresponding to the second position, and displaying a visual angle picture of movement of the virtual carrier;
and responding to the second control operation of the second virtual character on the second carrier component corresponding to the second position, and displaying a visual angle picture of the second carrier component of the virtual carrier for steering and/or transmitting the virtual component.
In some embodiments, the display module 810 is further configured to:
responding to a first control operation and the second control operation corresponding to the second control information, and displaying a second control picture corresponding to the first virtual character;
the first control operation is a control operation of the first virtual character on the vehicle component corresponding to the first position, and the second control picture is a view angle picture of the first virtual character when the virtual vehicle executes control functions corresponding to the first control operation and the second control operation simultaneously.
In some embodiments, the apparatus further comprises: a switching module; the switching module is used for:
and responding to the position switching operation of the virtual carrier, and switching the first position where the first virtual character is located.
In some embodiments, the switching module is configured to:
determining a switching position corresponding to the position switching operation in response to the position switching operation on the virtual carrier;
switching the first virtual character to the switching position when the switching position is empty;
wherein the carrier component corresponding to the switching position is different from the carrier component corresponding to the first position.
In some embodiments, the switching module is configured to:
determining a switching position corresponding to the position switching operation in response to the position switching operation on the virtual carrier;
switching the first virtual character to the switching position under the condition that the switching position is not empty and the switching is allowed by a third virtual character positioned at the switching position;
wherein the carrier component corresponding to the switching position is different from the carrier component corresponding to the first position.
In some embodiments, the switching module is configured to:
determining a third position allocated to the first virtual character according to the character attribute of the first virtual character and the component attribute of each of the at least two carrier components of the virtual carrier in response to the position switching operation on the virtual carrier;
Controlling to switch the first virtual character from the first position to the third position;
wherein the carrier component corresponding to the third position is different from the carrier component corresponding to the first position.
It should be noted that, the specific limitation in the embodiment of the control device for one or more virtual vehicles provided above may be referred to the limitation of the control method for a virtual vehicle hereinabove, and will not be described herein. The modules of the above device may be implemented in whole or in part by software, hardware, or a combination thereof, and each module may be embedded in hardware form or independent of a processor of the computer device, or may be stored in a memory of the computer device in software form, so that the processor may call and execute operations corresponding to each module.
Fig. 14 shows a block diagram of a computer device according to an exemplary embodiment of the present application.
The computer device 1000 may be a portable mobile terminal such as: smart phones, tablet computers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg 3), MP4 (Moving Picture Experts Group Audio Layer IV, mpeg 4) players. The computer device 1000 may also be referred to by other names of user devices, portable terminals, etc.
In general, the computer device 1000 includes: a processor 1001 and a memory 1002.
The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1001 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1001 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1002 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 memory 1002 is used to store at least one instruction for execution by processor 1001 to implement the method of controlling a virtual vehicle provided in an embodiment of the present application.
In some embodiments, the computer device 1000 may further optionally include: a peripheral interface 1003, and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, touch display 1005, camera 1006, audio circuitry 1007, and power supply 1008.
Peripheral interface 1003 may be used to connect I/O (Input/Output) related at least one peripheral to processor 1001 and memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 1001, memory 1002, and peripheral interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
Radio Frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. Radio frequency circuitry 1004 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 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, etc. Radio frequency circuitry 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 1004 may also include NFC (Near Field Communication ) related circuitry, which is not limiting of the application.
The touch display 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display 1005 also has the ability to capture touch signals at or above the surface of the touch display 1005. The touch signal may be input to the processor 1001 as a control signal for processing. Touch display 1005 is used to provide virtual buttons and/or virtual keyboards, also known as soft buttons and/or soft keyboards. In some embodiments, the touch display 1005 may be one, providing a front panel of the computer device 1000; in other embodiments, the touch display 1005 may be at least two, respectively disposed on different surfaces of the computer device 1000 or in a folded design; in some embodiments, touch display 1005 may be a flexible display disposed on a curved surface or a folded surface of computer device 1000. Even more, the touch display 1005 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The touch display 1005 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1006 is used to capture images or video. Optionally, camera assembly 1006 includes a front camera and a rear camera. In general, a front camera is used for realizing video call or self-photographing, and a rear camera is used for realizing photographing of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and the rear cameras are any one of a main camera, a depth camera and a wide-angle camera, so as to realize fusion of the main camera and the depth camera to realize a background blurring function, and fusion of the main camera and the wide-angle camera to realize a panoramic shooting function and a Virtual Reality (VR) shooting function. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
Audio circuitry 1007 is used to provide an audio interface between the user and computer device 1000. The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing, or inputting the electric signals to the radio frequency circuit 1004 for voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be multiple, each disposed at a different location of the computer device 1000. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuit 1007 may also include a headphone jack.
The power supply 1008 is used to power the various components in the computer device 1000. The power supply 1008 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1008 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, the computer device 1000 also includes one or more sensors 1009. The one or more sensors 1009 include, but are not limited to: acceleration sensor 1010, gyro sensor 1011, pressure sensor 1012, optical sensor 1013, and proximity sensor 1014.
The acceleration sensor 1010 can detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the computer device 1000. For example, the acceleration sensor 1010 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1001 may control the touch display 1005 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 1010. The acceleration sensor 1010 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1011 may detect a body direction and a rotation angle of the computer apparatus 1000, and the gyro sensor 1011 may collect a 3D motion of the user on the computer apparatus 1000 in cooperation with the acceleration sensor 1010. The processor 1001 may implement the following functions according to the data collected by the gyro sensor 1011: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
Pressure sensor 1012 may be disposed on a side frame of computer device 1000 and/or on an underlying layer of touch display 1005. When the pressure sensor 1012 is provided at a side frame of the computer device 1000, a grip signal of the computer device 1000 by a user may be detected, and left-right hand recognition or quick operation may be performed according to the grip signal. When the pressure sensor 1012 is disposed at the lower layer of the touch display screen 1005, control of the operability control on the UI interface can be achieved according to the pressure operation of the user on the touch display screen 1005. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The optical sensor 1013 is used to collect the intensity of the ambient light. In one embodiment, the processor 1001 may control the display brightness of the touch display 1005 based on the ambient light intensity collected by the optical sensor 1013. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 1005 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera module 1006 according to the ambient light intensity collected by the optical sensor 1013.
A proximity sensor 1014, also known as a distance sensor, is typically provided on the front of the computer device 1000. The proximity sensor 1014 is used to collect the distance between the user and the front of the computer device 1000. In one embodiment, when the proximity sensor 1014 detects a gradual decrease in the distance between the user and the front of the computer device 1000, the processor 1001 controls the touch display 1005 to switch from the bright screen state to the off screen state; when the proximity sensor 1014 detects that the distance between the user and the front surface of the computer device 1000 gradually increases, the touch display screen 1005 is controlled by the processor 1001 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the architecture shown in fig. 14 is not limiting of a computer device and may include more or fewer components than shown, or may combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, the present application provides a chip, where the chip includes programmable logic circuits and/or program instructions, and when the chip runs on a computer device, the chip is configured to implement the method for controlling a virtual carrier provided by the foregoing method embodiment.
The present application provides a computer readable storage medium storing a computer program loaded and executed by a processor to implement the method for controlling a virtual vehicle provided by the above method embodiment.
The present application provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the processor of the computer device loads and executes the computer instructions to implement the control method of the virtual carrier provided by the method embodiment.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that all or a portion of the steps implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the above mentioned computer readable storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (11)

1. A control method of a virtual carrier, characterized in that the method is executed by a first terminal, the virtual carrier comprises at least two carrier components, the at least two carrier components respectively correspond to different control positions of the virtual carrier, and different carrier components of the at least two carrier components are controlled by different virtual roles; the method comprises the following steps:
displaying the virtual carrier and the first virtual character;
controlling the first virtual character to be located in a first position of the at least two control positions in response to an interactive operation on the virtual vehicle;
receiving second operation information corresponding to second control operation sent by a server; the second control operation is a control operation of a second virtual character for a vehicle component corresponding to a second position of the at least two control positions, the second virtual character being located at the second position;
responding to the second control operation corresponding to the second control information, and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual role when the virtual carrier executes a control function corresponding to the second control operation.
2. The method of claim 1, wherein controlling the first virtual character to be in a first one of the at least two control positions in response to the interactive operation of the virtual vehicle comprises:
determining the first location of the first virtual character in accordance with a sequential priority of the at least two vehicle components in response to the interoperation of the virtual vehicle;
controlling the first avatar to be in the first one of the at least two control positions.
3. The method of claim 2, wherein the at least two carrier components comprise a first carrier component and a second carrier component mounted to each other, the second carrier component being mounted to the first carrier component; the sequential priority of the first carrier component is greater than the sequential priority of the second carrier component;
said determining said first position of said first virtual character in accordance with a sequential priority of said at least two vehicle components in response to said interoperation of said virtual vehicle, comprising at least one of the following steps:
in response to the interactive operation on the virtual vehicle, determining a control position corresponding to the first vehicle part as the first position of the first virtual character in the case that the position of the first vehicle part is empty;
In response to the interactive operation on the virtual vehicle, determining a control position corresponding to the second vehicle part as the first position of the first virtual character in a case where the position of the first vehicle part is not empty and the position of the second vehicle part is empty.
4. The method of claim 1, wherein controlling the first virtual character to be in a first one of the at least two control positions in response to the interactive operation of the virtual vehicle further comprises:
determining the first location allocated for the first virtual character in accordance with a character attribute of the first virtual character and a component attribute of each of the at least two vehicle components of the virtual vehicle in response to the interactive operation on the virtual vehicle;
controlling the first virtual character to be located at the first position of the at least two control positions;
the character attribute comprises at least one of total driving duration, driving duration on a current map, shooting accuracy, number and type of virtual equipment and equipment type of the held first terminal; the component attributes include at least one of a driving component attribute and a shooting component attribute.
5. The method of any one of claims 1 to 4, wherein the at least two carrier members comprise a first carrier member and a second carrier member mounted to each other, the second carrier member being mounted to the first carrier member, the second carrier member moving with movement of the first carrier member; the control function comprises at least one of moving, steering, launching virtual components;
the first control picture of the first virtual character is displayed in response to the second control operation corresponding to the second control information, and the method comprises at least one of the following steps:
responding to the second control operation of the second virtual character on the first carrier component corresponding to the second position, and displaying a visual angle picture of movement of the virtual carrier;
and responding to the second control operation of the second virtual character on the second carrier component corresponding to the second position, and displaying a visual angle picture of the second carrier component of the virtual carrier for steering and/or transmitting the virtual component.
6. The method according to any one of claims 1 to 4, further comprising:
Responding to a first control operation and the second control operation corresponding to the second control information, and displaying a second control picture corresponding to the first virtual character;
the first control operation is a control operation of the first virtual character on the vehicle component corresponding to the first position, and the second control picture is a view angle picture of the first virtual character when the virtual vehicle executes control functions corresponding to the first control operation and the second control operation simultaneously.
7. The method according to any one of claims 1 to 6, further comprising:
determining a switching position corresponding to the position switching operation in response to the position switching operation on the virtual carrier;
switching the first virtual character to the switching position when the switching position is empty;
switching the first virtual character to the switching position under the condition that the switching position is not empty and the switching is allowed by a third virtual character positioned at the switching position;
wherein the carrier component corresponding to the switching position is different from the carrier component corresponding to the first position.
8. The method according to any one of claims 1 to 6, further comprising:
determining a third position allocated to the first virtual character according to the character attribute of the first virtual character and the component attribute of each of the at least two carrier components of the virtual carrier in response to the position switching operation on the virtual carrier;
controlling to switch the first virtual character from the first position to the third position;
wherein the carrier component corresponding to the third position is different from the carrier component corresponding to the first position.
9. A control system for a virtual vehicle, wherein the virtual vehicle comprises at least two vehicle components, each of the at least two vehicle components corresponding to a different control position of the virtual vehicle, different vehicle components of the at least two vehicle components being controlled by different virtual roles; the system comprises a first terminal and a server;
the first terminal is used for displaying the virtual carrier and a first virtual role; controlling the first virtual character to be located in a first position of the at least two control positions in response to an interactive operation on the virtual vehicle; receiving second operation information corresponding to second control operation sent by the server; the second control operation is a control operation of a second virtual character for a vehicle component corresponding to a second position of the at least two control positions, the second virtual character being located at the second position; responding to the second control operation corresponding to the second operation information, and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual role when the virtual carrier executes a control function corresponding to the second control operation;
The server is configured to receive the second operation information corresponding to the second control operation sent by the second terminal, and send the second operation information of the second control operation to the first terminal.
10. A control device for a virtual vehicle, wherein the virtual vehicle comprises at least two vehicle components, the at least two vehicle components respectively correspond to different control positions of the virtual vehicle, and different vehicle components of the at least two vehicle components are controlled by different virtual roles; the device comprises:
the display module is used for displaying the virtual carrier and the first virtual character;
a control module for controlling the first virtual character to be located at a first position of the at least two control positions in response to an interactive operation on the virtual vehicle;
the receiving module is used for receiving second operation information corresponding to second control operation sent by the server; the second control operation is a control operation of a second virtual character for a vehicle component corresponding to a second position of the at least two control positions, the second virtual character being located at the second position;
the display module is used for responding to the second control operation corresponding to the second control information and displaying a first control picture of the first virtual character; the first control picture is a view angle picture of the first virtual role when the virtual carrier executes a control function corresponding to the second control operation.
11. A computer program product, characterized in that it comprises computer instructions stored in a computer-readable storage medium, from which a processor obtains the computer instructions, such that the processor loads and executes to implement the method of controlling a virtual vehicle according to any one of claims 1 to 8.
CN202310605444.7A 2023-05-25 2023-05-25 Virtual carrier control method, device and program product Pending CN116585708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310605444.7A CN116585708A (en) 2023-05-25 2023-05-25 Virtual carrier control method, device and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310605444.7A CN116585708A (en) 2023-05-25 2023-05-25 Virtual carrier control method, device and program product

Publications (1)

Publication Number Publication Date
CN116585708A true CN116585708A (en) 2023-08-15

Family

ID=87595353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310605444.7A Pending CN116585708A (en) 2023-05-25 2023-05-25 Virtual carrier control method, device and program product

Country Status (1)

Country Link
CN (1) CN116585708A (en)

Similar Documents

Publication Publication Date Title
CN108434736B (en) Equipment display method, device, equipment and storage medium in virtual environment battle
EP4011471A1 (en) Virtual object control method and apparatus, device, and readable storage medium
CN110917619B (en) Interactive property control method, device, terminal and storage medium
WO2020244415A1 (en) Method and apparatus for controlling virtual object to discard virtual item, and medium
CN110585710B (en) Interactive property control method, device, terminal and storage medium
WO2021184806A1 (en) Interactive prop display method and apparatus, and terminal and storage medium
CN110465098B (en) Method, device, equipment and medium for controlling virtual object to use virtual prop
CN111744184B (en) Control showing method in virtual scene, computer equipment and storage medium
CN110507990B (en) Interaction method, device, terminal and storage medium based on virtual aircraft
WO2021203856A1 (en) Data synchronization method and apparatus, terminal, server, and storage medium
CN113713382B (en) Virtual prop control method and device, computer equipment and storage medium
CN112870709B (en) Display method and device of virtual prop, electronic equipment and storage medium
CN112057857B (en) Interactive property processing method, device, terminal and storage medium
CN113289331B (en) Display method and device of virtual prop, electronic equipment and storage medium
CN110876849B (en) Virtual vehicle control method, device, equipment and storage medium
CN113713383B (en) Throwing prop control method, throwing prop control device, computer equipment and storage medium
US11786817B2 (en) Method and apparatus for operating virtual prop in virtual environment, device and readable medium
CN111921190B (en) Prop equipment method, device, terminal and storage medium for virtual object
CN111659122B (en) Virtual resource display method and device, electronic equipment and storage medium
CN110960849B (en) Interactive property control method, device, terminal and storage medium
US20230271087A1 (en) Method and apparatus for controlling virtual character, device, and storage medium
CN112402969B (en) Virtual object control method, device, equipment and storage medium in virtual scene
CN113730916B (en) Resource loading method, device, equipment and medium based on virtual environment
CN116585708A (en) Virtual carrier control method, device and program product
CN113117333B (en) Control method, device, terminal and storage medium of virtual flight vehicle

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