Virtual carrier control method and device, equipment and storage medium

By obtaining the number of characters around the virtual vehicle to determine the occupation status and flexibly switching the operating status of the virtual vehicle, the problem of single control method of virtual vehicle is solved, and the fun and immersion of the game is improved.

CN120393425APending Publication Date: 2025-08-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510824604.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-18
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In the prior art, the operation and control methods of virtual vehicles are single, which is difficult to adapt to the needs of different scenarios or different players, resulting in a single control method and low operation efficiency.

Method used

By obtaining the number of first virtual characters around the virtual vehicle and the number of second virtual characters, the occupation status of the virtual vehicle is determined, and the target operation status is determined based on the occupation status. By controlling the virtual vehicle to move along a preset path in the game scene by the occupant, the operation status is flexibly switched.

Benefits of technology

It enriches the control methods of virtual vehicles, improves the fun and immersion of the game, and enhances the interactive and strategic nature of the game.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120393425A_ABST
    Figure CN120393425A_ABST
Patent Text Reader

Abstract

The invention provides a virtual carrier control method and device, electronic equipment and a storage medium, and relates to the technical field of games. The method comprises the steps that a first number of first virtual characters and a second number of second virtual characters in a preset range of a virtual carrier are acquired, the first virtual characters are characters of a first camp, and the second virtual characters are characters of a second camp; determining the occupation state of the virtual carrier according to the first number and the second number, and determining the target operation state of the virtual carrier according to the occupation state of the virtual carrier; the virtual carrier is controlled by the occupying party of the virtual carrier to move along the preset path in the game scene in the target operation state, so that the operation state of the virtual carrier can be flexibly switched according to the first number of the first virtual characters and the second number of the second virtual characters around the virtual carrier, and compared with related technologies, the operation state of the virtual carrier can be flexibly switched. The control mode of the virtual carrier can be enriched, and the game fun is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a virtual vehicle control method, device, electronic device and storage medium. Background Art

[0002] In games, a virtual vehicle is a virtual transportation tool controlled by players or NPCs (non-player characters) to improve mobility, enrich gameplay, or enhance immersion. For example, virtual vehicles in games can include cars, motorcycles, spaceships, etc.

[0003] However, in related technologies, virtual vehicle control typically relies on player input to control the movement of the virtual vehicle, or automatically moves the virtual vehicle based on a player-defined direction or destination. This interactive control approach may have limitations, making it difficult to adapt to different scenarios or the needs of different players, and may also suffer from technical issues such as a single control method or low operational efficiency. Summary of the Invention

[0004] The purpose of this application is to provide a virtual vehicle control method, device, electronic device and storage medium to address the deficiencies in the above-mentioned prior art, so as to partially solve the technical problems existing in the related art.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:

[0006] In a first aspect, the present invention provides a virtual vehicle control method, the method comprising:

[0007] Obtaining a first number of first virtual characters and a second number of second virtual characters within a preset range of the virtual vehicle; wherein the first virtual characters are characters of the first camp, and the second virtual characters are characters of the second camp;

[0008] determining an occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining a target operating state of the virtual vehicle according to the occupation state of the virtual vehicle;

[0009] The occupying party of the virtual vehicle controls the virtual vehicle to move along a preset path in the game scene in the target running state; wherein, the occupying party is any camp party of the first camp and the second camp.

[0010] In a second aspect, the present invention provides a virtual vehicle control device, comprising:

[0011] An acquisition module, configured to acquire a first quantity of first virtual characters and a second quantity of second virtual characters within a preset range of a virtual vehicle; wherein, the first virtual characters are characters of a first camp, and the second virtual characters are characters of a second camp;

[0012] A determination module, configured to determine the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determine the target running state of the virtual vehicle according to the occupation state of the virtual vehicle;

[0013] A control module, configured to control the virtual vehicle to move along a preset path in a game scene in the target running state through the occupying party of the virtual vehicle; wherein, the occupying party is any one of the first camp and the second camp.

[0014] In a third aspect, the present invention provides an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the virtual vehicle control method according to any one of the foregoing embodiments.

[0015] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it performs the steps of the virtual vehicle control method according to any one of the foregoing embodiments.

[0016] The beneficial effects of the present application are as follows:

[0017] In the virtual vehicle control method, device, electronic device, and storage medium provided by the embodiments of the present application, necessary technical features and the technical effects brought by them are listed.

[0018] In the virtual vehicle control method, device, electronic device, and storage medium provided by the embodiments of the present application, the method includes: acquiring a first quantity of first virtual characters and a second quantity of second virtual characters within a preset range of a virtual vehicle, where the first virtual characters are characters of a first camp and the second virtual characters are characters of a second camp; determining the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining the target running state of the virtual vehicle according to the occupation state of the virtual vehicle; controlling the virtual vehicle to move along a preset path in a game scene in the target running state through the occupying party of the virtual vehicle, which realizes that the running state of the virtual vehicle can be flexibly switched according to the first quantity of the first virtual characters and the second quantity of the second virtual characters around the virtual vehicle. Compared with the related art, the control method of the virtual vehicle can be enriched and the game fun can be improved. Description of the Drawings

[0019] To more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings required for the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can be obtained based on these drawings.

[0020] Figure 1 Schematic flowchart of a virtual vehicle control method provided by an embodiment of the present application;

[0021] Figure 2 Schematic flowchart of another virtual vehicle control method provided by an embodiment of the present application;

[0022] Figure 3 Schematic flowchart of another virtual vehicle control method provided by an embodiment of the present application;

[0023] Figure 4 Schematic flowchart of another virtual vehicle control method provided by an embodiment of the present application;

[0024] Figure 5 Schematic flowchart of another virtual vehicle control method provided by an embodiment of the present application;

[0025] Figure 6 Schematic diagram of a hierarchical sound effect segment provided by an embodiment of the present application;

[0026] Figure 7 Schematic flowchart of another virtual vehicle control method provided by an embodiment of the present application;

[0027] Figure 8 Schematic flowchart of another virtual vehicle control method provided by an embodiment of the present application;

[0028] Figure 9 Schematic diagram of functional modules of a virtual vehicle control device provided by an embodiment of the present application;

[0029] Figure 10 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Usually, the components of the embodiments of the present application described and illustrated in the drawings here can be arranged and designed in various different configurations.

[0031] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.

[0032] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings.

[0033] In related games, the operation and control of virtual vehicles usually involves controlling the movement of the virtual vehicle based on the player's operations, or automatically moving the virtual vehicle based on the direction / destination determined by the player. However, such interactive control methods may have certain limitations and may be difficult to adapt to different scenarios or the needs of different players. There may also be technical problems such as a single control method or low operating efficiency.

[0034] Based on the above problems, an embodiment of the present application provides a virtual vehicle control method, which can flexibly switch the operating state of the virtual vehicle according to the first number of first virtual characters and the second number of second virtual characters around the virtual vehicle. Compared with related technologies, it can enrich the control method of the virtual vehicle and improve the fun of the game.

[0035] The virtual vehicle control method in one embodiment of the present disclosure can be run on a local terminal device or a server. When the virtual vehicle control method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0036] In an optional embodiment, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the virtual vehicle control method are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0037] In an optional embodiment, taking a game as an example, the local terminal device stores a game program and is used to present game screens. The local terminal device is used to interact with players through a graphical user interface, that is, conventionally, the game program is downloaded and installed on an electronic device and run. The ways for the local terminal device to provide the graphical user interface to players can include various methods. For example, it can be rendered and displayed on the display screen of the terminal, or provided to players through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, which includes game screens. The processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0038] In a possible embodiment, an embodiment of the present invention provides a method for controlling a virtual vehicle. A graphical user interface is provided through a terminal device, where the terminal device can be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system.

[0039] The following details the method for controlling a virtual vehicle provided in this application through multiple embodiments.

[0040] Figure 1 It is a schematic flowchart of a method for controlling a virtual vehicle provided in an embodiment of this application. Among them, the method of this application can be applied to a competitive game of transporting a virtual vehicle to a mission target point. For example, in a certain competitive game, it includes a first camp and a second camp. Among them, the game mission of the first camp is to control the virtual vehicle to reach the mission target point to win, while the second camp is responsible for preventing this advancement in the game scenario.

[0041] Optionally, the virtual vehicle can be a land vehicle, an aerial vehicle, etc., which is not limited herein. In some embodiments, the land vehicle can include a virtual car, a virtual carriage, a virtual tricycle, etc., and the aerial vehicle can include: a virtual plane, a virtual hot air balloon, a virtual spaceship, etc., which is not limited herein.

[0042] As Figure 1 shown, the method for controlling a virtual vehicle provided in an embodiment of this application includes:

[0043] Step 101, obtain the first quantity of the first virtual characters and the second quantity of the second virtual characters within a preset range of the virtual vehicle.

[0044] Among them, the first virtual character is a character of the first camp, and the second virtual character is a character of the second camp. The first camp and the second camp can be two competing camps in the game. Optionally, according to the identities played by each camp in the game, the first camp can be the attacking camp, and the second camp can be the defending camp, or the first camp can be the defending camp, and the second camp can be the attacking camp, which is not limited herein.

[0045] For a better understanding of this application, in this application, the first camp is taken as the attacking camp and the second camp is taken as the defending camp as an example for illustration. Optionally, the first camp can include at least one first virtual character, and the second camp can include at least one second virtual character. This application does not limit the number of virtual characters in each camp herein. In some implementations, it can be set that the first camp includes multiple first virtual characters and the second camp includes multiple second virtual characters, but this is not a limitation.

[0046] Optionally, the shape of the preset range of the virtual vehicle can be a regular or irregular shape such as a circle, a square, a rectangle, etc., which is not limited herein and can be flexibly set according to the actual application scenario. Taking a circle as an example for illustration, of course, this application does not limit the radius of the circle and can be flexibly set according to the actual game scenario.

[0047] In some embodiments, the occupation status of the virtual vehicle and the first quantity of the first virtual characters and the second quantity of the second virtual characters within the preset range of the virtual vehicle can be obtained in real time in the game.

[0048] Step 102: Determine the occupation status of the virtual vehicle according to the first quantity and the second quantity, and determine the target running status of the virtual vehicle according to the occupation status of the virtual vehicle.

[0049] Among them, the occupation status of the virtual vehicle can indicate the occupying party of the virtual vehicle. Optionally, the occupation status of the virtual vehicle can be determined according to the first quantity and the second quantity. In some embodiments, specifically when making a judgment, it can be determined according to the first quantity, the second quantity, and a preset time threshold.

[0050] Optionally, the running status of the virtual vehicle can include: a forward status, a reverse status, and a standby status.

[0051] Among them, the forward direction in the forward status can be the direction where the mission target point is located, the reverse direction in the reverse status can be the direction opposite to the direction where the mission target point is located, and in the standby status, the moving speed of the virtual vehicle can be zero.

[0052] In some embodiments, there may be a certain mapping relationship between the occupation state of the virtual vehicle and the target running state of the virtual vehicle. For example, the first camp is the attacking camp, and the second camp is the defending camp. If the virtual vehicle is occupied by the first camp, the target running state of the virtual vehicle is determined to be the forward state; if the virtual vehicle is occupied by the second camp, the target running state of the virtual vehicle is determined to be the backward state; if the virtual vehicle is not occupied by the first camp or the second camp, the target running state of the virtual vehicle is determined to be the standby state. Of course, the specific determination method is not limited to this.

[0053] In some embodiments, after obtaining the occupation state of the virtual vehicle, the target running state of the virtual vehicle can be further determined accordingly, so that the running state of the virtual vehicle can be flexibly switched according to the occupation state of the virtual vehicle, which can enrich the control method of the virtual vehicle and improve the game fun.

[0054] Step 103: Control the virtual vehicle through the occupying party of the virtual vehicle to move along a preset path in the game scene in the target running state.

[0055] Among them, the occupying party is any one of the first camp and the second camp. Based on the above description, it can be seen that according to the occupation state of the virtual vehicle, the occupying party of the virtual vehicle can be the first camp or the second camp, which is not limited here.

[0056] Therefore, after determining the target running state of the virtual vehicle and the occupying party of the virtual vehicle, the occupying party of the virtual vehicle controls the virtual vehicle to move along a preset path in the game scene in the target running state.

[0057] It can be understood that according to the target running state of the virtual vehicle, the movement along the preset path can specifically be forward movement, or it can be backward movement, or it can be in the standby state.

[0058] It should be noted that when any one of the first quantity of the first virtual characters, the second quantity of the second virtual characters, and the occupation state of the virtual vehicle within the preset range of the virtual vehicle changes, the target running state of the virtual vehicle can be updated in real time according to the embodiments of the present application.

[0059] In summary, the embodiment of the present application provides a method for controlling a virtual vehicle, and the method includes: obtaining a first quantity of first virtual characters and a second quantity of second virtual characters within a preset range of the virtual vehicle, where the first virtual characters are characters of a first camp, and the second virtual characters are characters of a second camp; determining the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining the target running state of the virtual vehicle according to the occupation state of the virtual vehicle; controlling the virtual vehicle by the occupying party of the virtual vehicle to move along a preset path in the game scene in the target running state. It is realized that the running state of the virtual vehicle can be flexibly switched according to the first quantity of the first virtual characters and the second quantity of the second virtual characters around the virtual vehicle. Compared with the related art, the control method of the virtual vehicle can be enriched, and the game fun can be improved.

[0060] Figure 2 It is a schematic flowchart of another method for controlling a virtual vehicle provided by the embodiment of the present application. In an alternative embodiment, as Figure 2 shown, the above-mentioned controlling the virtual vehicle by the occupying party of the virtual vehicle to move along a preset path in the game scene in the target running state includes:

[0061] Step 201: Determine the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle.

[0062] Among them, the sound effect parameters of the virtual vehicle can indicate the sound effects during the running of the virtual vehicle. It can be understood that different sound effect parameters can be included according to different types of virtual vehicles.

[0063] For example, when the virtual vehicle is a virtual car, its sound effects may include at least one of the following: engine speed sound effect, exhaust sound effect, sound effect of the tire rolling over the road surface material, friction sound between the tire and the ground, and brake disc friction sound.

[0064] Optionally, there may be a certain mapping relationship between the running state of the virtual vehicle and its sound effect parameters. Therefore, after determining the target running state of the virtual vehicle, the target sound effect parameters of the virtual vehicle can be further determined according to this mapping relationship.

[0065] For example, if the target running state of the virtual vehicle is the forward state, the corresponding target sound effect can be the sound effect parameters in the forward state. Specifically, it may include: engine speed sound effect, exhaust sound effect, sound effect of the tire rolling over the road surface material, but not limited thereto.

[0066] Step 202: Control the virtual vehicle by the occupying party of the virtual vehicle to move along a preset path in the game scene in the target running state, and control the virtual vehicle to play the target sound effect according to the target sound effect parameters of the virtual vehicle.

[0067] Based on the above description, after obtaining the target sound effect parameters of the virtual vehicle in the target operating state, when controlling the virtual vehicle to move along the preset path through the occupant of the virtual vehicle, the target sound effect can be synchronously controlled to be played according to the target sound effect parameters.

[0068] Applying the embodiments of the present application realizes that the corresponding target sound effect can be played by controlling the virtual vehicle according to the target operating state of the virtual vehicle, which can enhance the immersion of the game and improve the game fun.

[0069] In an alternative embodiment, the determining the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining the target operating state of the virtual vehicle according to the occupation state of the virtual vehicle includes:

[0070] If the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than the preset time threshold, it is determined that the occupant of the virtual vehicle is the first camp, and the target operating state of the virtual vehicle is the forward state;

[0071] If the duration of the state where the first quantity is equal to zero and the second quantity is greater than zero is greater than the preset time threshold, it is determined that the occupant of the virtual vehicle is the second camp, and the target operating state of the virtual vehicle is the reverse state;

[0072] If the first quantity is greater than zero and the second quantity is greater than zero, it is determined that the virtual vehicle is not occupied by the first camp and the second camp, and the target operating state of the virtual vehicle is the standby state.

[0073] Among them, the target operating state of the virtual vehicle is determined according to the occupation state of the virtual vehicle.

[0074] Referring to the foregoing description, that is, if there is at least one first virtual character but no second virtual character within the preset range of the virtual vehicle, and the duration of this state is greater than the preset time threshold, it is determined that the occupant of the virtual vehicle is the first camp, and the target operating state of the virtual vehicle is the forward state; if there is at least one second virtual character but no first virtual character within the preset range of the virtual vehicle, and the duration of this state is greater than the preset time threshold, it is determined that the occupant of the virtual vehicle is the second camp, and the target operating state of the virtual vehicle is the reverse state; if there is at least one first virtual character and at least one second virtual character within the preset range of the virtual vehicle, it is determined that the virtual vehicle is not occupied by the first camp and the second camp, and the target operating state of the virtual vehicle is the standby state.

[0075] Based on the above description, it can be understood that if the target running state of the virtual vehicle changes in real time. For example, at the first game moment, the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state; then at the second game moment, the virtual vehicle may not be occupied by the first camp and the second camp, and the target running state of the virtual vehicle switches to the standby state.

[0076] By applying the present application, it is realized that the occupation state of the virtual vehicle can be flexibly switched according to the first quantity and the second quantity; according to the occupation state of the virtual vehicle, the running state of the virtual vehicle can be flexibly switched, which can enrich the control modes of the virtual vehicle.

[0077] In an optional implementation manner, if the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, it is determined that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state, including:

[0078] If the duration of the state where the first quantity is equal to the first preset threshold and the second quantity is equal to zero is greater than the preset time threshold, it is determined that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the first forward state;

[0079] If the duration of the state where the first quantity is equal to the second preset threshold and the second quantity is equal to zero is greater than the preset time threshold, it is determined that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the second forward state;

[0080] If the duration of the state where the first quantity is equal to the third preset threshold and the second quantity is equal to zero is greater than the preset time threshold, it is determined that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the third forward state;

[0081] Among them, the third preset threshold is greater than the second preset threshold, the second preset threshold is greater than the first preset threshold, the first forward speed indicated by the first forward state is less than the second forward speed indicated by the second forward state, and the second forward speed indicated by the second forward state is less than the third forward speed indicated by the third forward state.

[0082] Optionally, the forward state may include: the first forward state, the second forward state, and the third forward state. In some embodiments, when specifically determining, it can be determined according to the magnitude relationship between the first quantity and the first preset threshold, the second preset threshold, and the third preset threshold.

[0083] Among them, the first forward state may be slow forward, the second forward state may be accelerated forward, and the third forward state may be full-speed forward.

[0084] For example, the values of the first preset threshold, the second preset threshold, and the third preset threshold can be 1, 2, and 3 respectively. When one first virtual character occupies the virtual vehicle, the virtual vehicle will move forward slowly. When two first virtual characters occupy the virtual vehicle, the virtual vehicle will accelerate. When three first virtual characters occupy the virtual vehicle, the virtual vehicle will move forward at full speed.

[0085] Of course, it should be noted that the values of the first preset threshold, the second preset threshold, and the third preset threshold are not limited to the above examples.

[0086] In an alternative embodiment, if the forward state of the virtual vehicle is the first forward state, the target sound effect parameter of the virtual vehicle is determined to be the first sound effect parameter;

[0087] If the forward state of the virtual vehicle is the second forward state, the target sound effect parameter of the virtual vehicle is determined to be the second sound effect parameter;

[0088] If the forward state of the virtual vehicle is the third forward state, the target sound effect parameter of the virtual vehicle is determined to be the third sound effect parameter;

[0089] Wherein, the first volume and / or the first pitch indicated by the first sound effect parameter are greater than the second volume and / or the second pitch indicated by the second sound effect parameter, and the second volume and / or the second pitch indicated by the second sound effect parameter are greater than the third volume and / or the third pitch indicated by the third sound effect parameter.

[0090] In some embodiments, in order to enable the virtual vehicle in the game to make corresponding sound effect changes according to the switching of the forward state, improve the diversity of the game play, and enhance the immersion of the game, different sound effect parameters can be set for different forward states.

[0091] Specifically, in the first forward state, the target sound effect parameter of the virtual vehicle is the first sound effect parameter. In the second forward state, the target sound effect parameter of the virtual vehicle is the second sound effect parameter. In the third forward state, the target sound effect parameter of the virtual vehicle is the third sound effect parameter. Among them, the faster the forward speed, the greater the corresponding sound volume and the higher the pitch.

[0092] Figure 3 This is a schematic flowchart of another virtual vehicle control method provided by the embodiments of the present application. In an alternative embodiment, the above-mentioned controlling the virtual vehicle to play the target sound effect according to the target sound effect parameter of the virtual vehicle includes:

[0093] Step 301, obtain the current sound effect parameter of the virtual vehicle.

[0094] Step 302, based on a preset smoothing algorithm, control the virtual vehicle to play the target sound effect according to the target sound effect parameter of the virtual vehicle.

[0095] In some embodiments, to avoid abnormal sound performance caused by frequent changes in the number of virtual characters around the virtual vehicle, a smooth transition from the current sound effect of the virtual vehicle to the target sound effect can be achieved based on a preset smoothing algorithm, making the listening experience smoother and more comfortable.

[0096] Optionally, in specific implementation, an RTPC (Real-Time Parameter Control) can be created in a preset audio engine (such as wwise, FMOD, ADX2, etc.). Set the minimum value to 0, the maximum value to 4, the default value to 0, and the numerical definitions are as follows: 0 is the reverse state, 1 is the standby state, 2 is the slow forward state, 3 is the accelerating forward state, 4 is the full-speed forward state. And set the interpolation mode (Interpolation) of the RTPC to filtering over time, and set the attack time and release time values to 1.2s. Of course, it should be noted that the corresponding relationship between the RTPC parameters and the motion states is not limited to this, and can be flexibly set according to the actual application scenario.

[0097] For example, if the current RTPC parameter is 0 and it becomes 3 at this time, when the attack is set to 1.2 seconds, based on this setting, there will be a progressive interpolation change of 1.2 seconds between 0 and 3, and the sound effects corresponding to 0 (reverse state), 1 (standby state), 2 (slow forward state), and 3 (accelerating forward state) will be passed through in sequence within 1.2 seconds to achieve the sound effect transition.

[0098] Figure 4 It is a schematic flowchart of another virtual vehicle control method provided by the embodiments of the present application. In an alternative implementation, as Figure 4 shown, the above method further includes:

[0099] Step 401, in response to the current braking trigger operation for controlling the virtual vehicle to switch from the forward state or the reverse state to the standby state, respectively obtain the braking trigger time of the current braking trigger operation and the playback time of the previous braking sound effect.

[0100] Step 402, if it is determined that the time difference between the braking trigger time and the playback time of the previous braking sound effect is greater than a preset time difference, trigger the playback of the current braking sound effect corresponding to the current braking trigger operation.

[0101] Among them, the braking trigger operation can be triggered when the virtual vehicle switches from the forward state to the standby state, or it can be triggered when the virtual vehicle switches from the reverse state to the standby state.

[0102] In some embodiments, to avoid the virtual vehicle triggering multiple braking operations within a short period of time, resulting in frequent playback of braking sound effects and affecting the game sound experience, optionally, if a current braking trigger operation is generated, the braking trigger time of the current braking trigger operation and the playback time of the previous braking sound effect can be obtained, the time difference between the braking trigger time and the playback time of the previous braking sound effect can be calculated, and if it is determined that the time difference is greater than a preset time difference, the current braking sound effect corresponding to the current braking trigger operation is played.

[0103] Optionally, the preset time difference can be 2 seconds, 3 seconds, etc., which is not limited herein and can be flexibly set according to the actual application scenario.

[0104] Figure 5 The flowchart of another virtual vehicle control method provided by the embodiments of the present application. In an alternative embodiment, as Figure 5 shown, the above method further includes:

[0105] Step 501, in response to a trigger operation for controlling a target virtual character to move from a preset range to a non-preset range.

[0106] Step 502, using a preset linear function to attenuate the current volume in the current sound effect parameters of the virtual vehicle to silence.

[0107] Optionally, the target virtual character can be any first virtual character or any second virtual character, which is not limited herein and can vary according to the different character identities selected by the target player. The non-preset range is other areas in the game scene except the preset range.

[0108] In some embodiments, to avoid the target virtual character moving back and forth across the boundary of the preset range of the virtual vehicle, resulting in frequent playback and stop of sound effects and affecting the sound experience, if a trigger operation for controlling the target virtual character to move from the preset range to the non-preset range is detected, in response to the trigger operation, a preset linear function (for example, the linear function) can be used to attenuate the current volume in the current sound effect parameters of the virtual vehicle to silence.

[0109] Optionally, in specific implementation, the linear function can be set to linearly attenuate the volume of the current sound effect to silence within 0.5 seconds.

[0110] For example, in combination with the foregoing embodiments, when there are 2 first virtual characters (first virtual character A1 and first virtual character A2) within the preset range of the virtual vehicle, the number of second virtual characters is 0, the first preset threshold is 1, and the second preset threshold is 2. It can be seen that when the first quantity is equal to the second preset threshold and the duration of the state where the second quantity is equal to zero is greater than the preset time threshold, it is determined that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the second forward state. At this time, the second sound effect can be played according to the second sound effect parameters corresponding to the second forward state.

[0111] It can be understood that for the first player S1 corresponding to the first virtual character A1 and the first player S2 corresponding to the first virtual character A2, at this time, the first player S1 and the first player S2 can hear the second sound effect of the virtual vehicle in the game.

[0112] Further, taking the target virtual character as the first virtual character A1 as an example, when the player controls the first virtual character A1 to move from the preset range to the non-preset range, it can be seen that when the first quantity is equal to the first preset threshold and the duration of the state where the second quantity is equal to zero is greater than the preset time threshold, it is determined that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the first forward state. At this time, the first sound effect can be played according to the first sound effect parameters corresponding to the first forward state.

[0113] It can be understood that at this time, the first player S2 can hear the first sound effect of the virtual vehicle in the game, while the first player S1 cannot hear the first sound effect of the virtual vehicle. Of course, the specific examples are not limited to this.

[0114] In an alternative embodiment, the virtual vehicle includes a virtual land moving vehicle. If the target running state of the virtual vehicle is the reverse state or the forward state, the target sound effect parameters of the virtual vehicle include at least one of the following: engine sound effect parameters, exhaust sound effect parameters, tire sound effect parameters;

[0115] If the target running state of the virtual vehicle is the standby state, the target sound effect parameters of the virtual vehicle include the brake sound effect and at least one of the following: engine sound effect parameters, exhaust sound effect parameters, tire sound effect parameters.

[0116] Among them, for better understanding of the present application, the virtual vehicle may specifically include a virtual land moving vehicle. In some embodiments, the virtual land moving vehicle may include: virtual cars, virtual motorcycles, etc., which are not limited herein. Then, the running states of the virtual land moving vehicle may include: reverse state, forward state, and standby state.

[0117] By comparing the target sound effect parameters in the reverse state, forward state, and standby state, it can be seen that in the standby state, in addition to including at least one of the engine sound effect parameters, exhaust sound effect parameters, and tire sound effect parameters, it can also include brake sound effect parameters.

[0118] Taking a virtual car as an example for illustration, the engine sound effect parameters can represent the sound effect parameters of the car engine during the movement of the virtual car; the exhaust sound effect parameters can represent the sound effect parameters of the exhaust pipe during the movement of the virtual car; the tire sound effect parameters can represent the sound effect parameters of the tire rolling on the road surface material during the movement of the virtual car; the brake sound effect parameters can represent the friction sound between the tire and the ground and the friction sound of the brake disc when the virtual car brakes.

[0119] Of course, it can be understood that if the virtual vehicle is other types of vehicles, such as a flying vehicle, taking the tire sound effect parameters as an example for illustration, the tire sound effect parameters of the flying vehicle can be the suspension sound during the flight of the flying vehicle; if the virtual vehicle is a carriage, the tire sound effect parameters of the carriage can be the sound of the wheels and the sound of the horse's hooves during the movement of the carriage. This is not limited here and can be flexibly set according to the actual application scenario.

[0120] Figure 6 The figure shows a schematic diagram of a hierarchical sound effect segment provided by an embodiment of the present application. Optionally, the target sound effect parameters of the virtual vehicle include target engine sound effect parameters, and the target engine sound effect parameters are determined according to multiple hierarchical sound effect segments. The multiple hierarchical sound effect segments include combined sound effect segments, and the combined hierarchical sound effect segments include multiple sub-sound effect segments with cross-transition regions. The multiple sub-sound effect segments include: sub-sound effect segments corresponding to the reverse state, standby state, and the first forward layer respectively, and each hierarchical sound effect segment is configured with a preset volume parameter and a preset pitch parameter.

[0121] Of course, it should be noted that the present application does not limit the number of hierarchical sound effect segments here, and can be flexibly set according to the actual application scenario. For example, it can be set to 3, 5, etc.

[0122] In some embodiments, referring to Figure 6 as shown, the target engine sound effect parameters can be determined according to the combined hierarchical sound effect segment N1, the first hierarchical sound effect segment N2, and the second hierarchical sound effect segment N3. In some embodiments, in specific implementation, corresponding RTPC parameters can be associated with each hierarchical sound effect segment, and a volume and pitch envelope can be added to each hierarchical sound effect segment.

[0123] Optionally, the abscissa of each hierarchical sound effect segment can indicate the running state of the virtual vehicle through the RTPC parameter, and the ordinate can indicate the pitch or volume.

[0124] As Figure 6As shown, the vertical coordinate can indicate the volume, such as Figure 6 (a) As shown, the combined layered sound effect segment N1 may include: a first sub-sound effect segment M1 corresponding to the reverse state, a second sub-sound effect segment M2 corresponding to the standby state, and a third sub-sound effect segment M3 corresponding to the first forward layer. There is a first cross-transition area B1 between the first sub-sound effect segment M1 and the second sub-sound effect segment M2, and a second cross-transition area B2 between the second sub-sound effect segment M2 and the third sub-sound effect segment M3. Among them, taking the transition area B1 as an example for illustration, the transition area B1 may include a first transition curve L1 and a second transition curve L2. When switching from the reverse state to the standby state, the first transition curve L1 can indicate the volume of the first sub-sound effect segment M1 in the current engine sound effect parameters, and the second transition curve L2 can indicate the volume of the second sub-sound effect segment M2 in the current engine sound effect parameters, so as to achieve a cross-transition effect.

[0125] In addition, as Figure 6 (b) and (c) shown, the first layered sound effect segment N2 can indicate the sound effect segment corresponding to the second forward layer; the third layered sound effect segment N3 can indicate the sound effect segment corresponding to the third forward layer. Optionally, the third sub-sound effect segment M3 can be the sound corresponding to 1500 revolutions per minute of the engine, the first layered sound effect segment N2 can be the sound corresponding to 3000 revolutions per minute of the engine, and the second layered sound effect segment N3 can be the sound corresponding to 4000 revolutions per minute of the engine, which is not limited herein.

[0126] In some embodiments, the Voice Low Pass parameter can also be set in at least part of the layered sound effect segments to weaken the high-frequency components in the sound effect and improve the sound playback effect. Of course, the specific setting method of Voice Low Pass is not limited herein and can be flexibly set according to the actual application scenario.

[0127] It should be noted that when implementing multiple hierarchical sound effect segments based on the audio engine, the engine sound resources that can be looped can be obtained in advance, and the Blend Container function component in the audio engine is used to encapsulate the engine sound resources, and they are encapsulated into a Sound SFX container. Three NewBlend Tracks are created in the Blend Container component of the vehicle engine sound effect, and the RTPCs are respectively added to the Crossfade. The sound effects of the reverse state, standby state, and the first forward layer are imported into the first Blend Track, the sound effects of the second forward layer are imported into the second Blend Track, and the sound effects of the third forward layer are imported into the third Blend Track. According to the definition of the above RTPC parameters, the playing area and cross-fading effect of the sound effects are adjusted respectively, and the RTPC-associated volume and pitch envelope lines are added to realize the combined playing of the engine sound and make corresponding changes according to the behavior of the virtual vehicle. For example, the faster the virtual vehicle moves forward, the louder the volume of the vehicle engine sound and the higher the pitch of the vehicle engine. Based on this setting, the vehicle engine sound effect event can be exported and generated in the audio engine.

[0128] Among them, when specifically determining the target engine sound effect parameters of the virtual vehicle based on the set multiple hierarchical sound effect segments, it can be determined according to the target operating state.

[0129] Figure 7 It is a schematic flow chart of another virtual vehicle control method provided by an embodiment of the present application. In an alternative implementation, as Figure 7 shown, determining the target sound effect parameters of the virtual vehicle according to the target operating state of the virtual vehicle includes:

[0130] Step 701: Determine at least one target hierarchical sound effect segment from multiple hierarchical sound effect segments according to the target operating state of the virtual vehicle.

[0131] Step 702: Determine the target engine sound effect parameters of the virtual vehicle according to at least one target hierarchical sound effect segment.

[0132] Among them, according to the target operating state of the virtual vehicle, the corresponding target hierarchical sound effect segment may include one or more hierarchical sound effect segments. It can be understood that further, according to the determined at least one target hierarchical sound effect segment, the target engine sound effect parameters of the virtual vehicle can be determined.

[0133] Optionally, if the target running state is the reverse state, the corresponding target layered sound effect segment can be determined as the first sub-sound effect segment M1; if the target running state is the reverse state, the corresponding target layered sound effect segment can be determined as the second sub-sound effect segment M2; if the target running state is the first forward state, the corresponding target layered sound effect segment can be determined as the third sub-sound effect segment M3; if the target running state is the second forward state, the corresponding target layered sound effect segment can be determined as the first layered sound effect segment N2; if the target running state is the third forward state, the corresponding target layered sound effect segment can be determined as the second layered sound effect segment N3.

[0134] Based on the above description, it can be seen that when the virtual vehicle switches from the reverse state to the standby state, it can fade from playing the first sub-sound effect segment M1 to the second sub-sound effect segment M2; when the virtual vehicle switches from the first forward state to the standby state, it can fade from playing the third sub-sound effect segment M3 to the second sub-sound effect segment M2, achieving a cross-fading effect when switching sound effect segments.

[0135] Of course, it should be noted that the specific determination method is not limited to this and may vary according to the actual application scenario.

[0136] In an alternative embodiment, the target sound effect parameters of the virtual vehicle further include target exhaust sound effect parameters. Determining the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle includes:

[0137] Determining the volume parameter and the pitch parameter in the target exhaust sound effect parameters according to the target running state of the virtual vehicle.

[0138] Optionally, when the target sound effect parameters of the virtual vehicle include target exhaust sound effect parameters, the volume parameter and the pitch parameter in the target exhaust sound effect parameters can be further determined according to the target running state.

[0139] Among them, the faster the running speed indicated by the target running state, the greater the volume indicated by the volume parameter in the target exhaust sound effect parameters and the higher the pitch indicated by the pitch parameter in the target exhaust sound effect parameters.

[0140] In some embodiments, when implementing the target exhaust sound effect parameters based on the audio engine, a loopable exhaust sound resource can be obtained in advance, and the Blend Container functional component in the audio engine is used to encapsulate the engine sound resource and package it into a Sound SFX container. Further, in the Blend Container component of the exhaust sound effect, a new Blend Track is created, the RTPC is added to the Crossfade, the sound effect playback area and the cross-fade effect are adjusted, and at the same time, the RTPC envelope is drawn to associate the volume and pitch, so as to achieve the sound change of the exhaust in different states of the vehicle. For example, the faster the forward speed, the louder the exhaust sound and the higher the exhaust pitch. Based on this setting, the brake sound effect event can be exported and generated in the audio engine.

[0141] Figure 8 The flowchart of another virtual vehicle control method provided by the embodiments of this application. In an alternative embodiment, as Figure 8 shown, the target sound effect parameters of the virtual vehicle further include target tire sound effect parameters. According to the target operating state of the virtual vehicle, the target sound effect parameters of the virtual vehicle are determined, including:

[0142] Step 801: Obtain the target virtual road surface material where the virtual vehicle is currently located;

[0143] Step 802: Determine the target tire sound effect among multiple tire sound effects according to the target virtual road surface material where the virtual vehicle is currently located;

[0144] Step 803: Determine the volume parameter and pitch parameter of the target tire sound effect according to the target operating state of the virtual vehicle.

[0145] Optionally, when the target sound effect parameters of the virtual vehicle include target tire sound effect parameters, the target virtual road surface material where the virtual vehicle is currently located can be obtained in real time, and the target tire sound effect corresponding to the target virtual road surface material is determined among multiple tire sound effects; further, the volume parameter and pitch parameter of the target tire sound effect can be determined according to the target operating state of the virtual vehicle.

[0146] Among them, the faster the running speed indicated by the target operating state, the louder the volume indicated by the volume parameter in the target tire sound effect parameters and the higher the pitch indicated by the pitch parameter in the target tire sound effect parameters.

[0147] It should be noted that when the target operating state of the virtual vehicle is the standby state, the volume of the target tire sound effect can be determined to be 0 to achieve a mute effect.

[0148] In some embodiments, when implementing the target tire sound effect parameters based on the audio engine, sound resources of the tire rolling over various road surface materials that can be looped can be prepared in advance. Optionally, the road surface materials may include: grassland, metal, stone, water surface, and wood. Package the tire sound effect resources represented by the five materials into 5 independent Sound SFX containers, create a Switch Container functional component, import the Sound SFX of the five tire materials into the Switch Container functional component, create a switch group, create a dedicated switch for each material, and apply the corresponding tire material sound effect Sound SFX to each switch. In this way, the ground material recognition parameters in the game can be associated with it. When the tire touches the preset switch parameter name, the corresponding tire sound effect will be triggered for playback.

[0149] Furthermore, add RTPC to the Switch Container component of the tire sound effect, draw the RTPC envelope line to associate the volume and pitch, so as to achieve different sound changes corresponding to different ground materials when the tire touches them. When drawing the RTPC envelope line, it is necessary to ensure that when the value is 1 (that is, when the virtual vehicle triggers the brake operation from the forward state or the reverse state and enters the standby state), the volume decays to negative infinity (that is, the static state), so as to ensure that the tire does not make a sound when the virtual vehicle is in the standby motionless state.

[0150] Based on the above settings, the tire sound effect event can be exported and generated in the audio engine.

[0151] Moreover, it should be noted that when implementing the target brake sound effect parameters based on the audio engine, sound resources of the friction sound between the tire and the ground or the friction sound of the brake disc that can be looped can be prepared in advance, package them into a Sound SFX container, and export and generate the brake sound effect event accordingly.

[0152] In summary, based on the foregoing description, after generating sound effect events for the engine, exhaust, brake, and tire respectively, they can be imported into the game engine, and the corresponding sound effect events are configured with their sound generation positions. For example, at the start of the game, the engine, exhaust, and tire sound effects of the virtual vehicle are triggered, while the brake sound effect is activated when the virtual vehicle switches from the reverse state or the forward state to the standby state. Applying the embodiments of the present application can achieve that the sound effects of the virtual vehicle can be played in a hierarchical combination according to the number of surrounding players, and at the same time, the volume and pitch will be adjusted in real time according to the moving state of the virtual vehicle, thereby enhancing the immersion and sound effect expressiveness of the game. It improves the player experience, provides clear status indication, enhances the interactivity and strategy of the game, and when the virtual character frequently enters and exits the preset range boundary of the virtual vehicle, it will not cause frequent triggering and stopping of the sound effect, which can improve the game sound experience.

[0153] Figure 9 This is a schematic diagram of the functional modules of a virtual vehicle control device provided by an embodiment of the present application. The basic principle and technical effects of this device are the same as those of the corresponding method embodiment described above. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding content in the method embodiment. Among them, as Figure 9 shown, the virtual vehicle control device 100 includes:

[0154] An acquisition module 110, configured to acquire a first quantity of first virtual characters and a second quantity of second virtual characters within a preset range of the virtual vehicle; the first virtual characters are characters of the first camp, and the second virtual characters are characters of the second camp;

[0155] A determination module 1220, configured to determine the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determine the target running state of the virtual vehicle according to the occupation state of the virtual vehicle;

[0156] A control module 130, configured to control the virtual vehicle to move along a preset path in a game scene in the target running state through the occupying party of the virtual vehicle; wherein, the occupying party is any camp party among the first camp and the second camp.

[0157] In an alternative embodiment, the control module 130 is specifically configured to determine the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle;

[0158] Control the virtual vehicle to move along a preset path in the game scene in the target running state through the occupying party of the virtual vehicle, and control the virtual vehicle to play a target sound effect according to the target sound effect parameters of the virtual vehicle.

[0159] In an alternative embodiment, the determination module 120 is specifically configured to, if the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state;

[0160] If the duration of the state where the first quantity is equal to zero and the second quantity is greater than zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the second camp, and the target running state of the virtual vehicle is the reverse state.

[0161] In an alternative embodiment, the determining module 120 is specifically configured to determine that the occupying party of the virtual vehicle is the first camp and the target operating state of the virtual vehicle is the first forward state if the duration of the state where the first quantity is equal to the first preset threshold and the second quantity is equal to zero is greater than the preset time threshold;

[0162] If the duration of the state where the first quantity is equal to the second preset threshold and the second quantity is equal to zero is greater than the preset time threshold, determine that the occupying party of the virtual vehicle is the first camp and the target operating state of the virtual vehicle is the second forward state;

[0163] If the duration of the state where the first quantity is equal to the third preset threshold and the second quantity is equal to zero is greater than the preset time threshold, determine that the occupying party of the virtual vehicle is the first camp and the target operating state of the virtual vehicle is the third forward state;

[0164] Wherein, the third preset threshold is greater than the second preset threshold, the second preset threshold is greater than the first preset threshold, the first forward speed indicated by the first forward state is less than the second forward speed indicated by the second forward state, and the second forward speed indicated by the second forward state is less than the third forward speed indicated by the third forward state.

[0165] In an alternative embodiment, if the forward state of the virtual vehicle is the first forward state, determine that the target sound effect parameter of the virtual vehicle is the first sound effect parameter; if the forward state of the virtual vehicle is the second forward state, determine that the target sound effect parameter of the virtual vehicle is the second sound effect parameter; if the forward state of the virtual vehicle is the third forward state, determine that the target sound effect parameter of the virtual vehicle is the third sound effect parameter;

[0166] Wherein, the first volume and / or the first pitch indicated by the first sound effect parameter are greater than the second volume and / or the second pitch indicated by the second sound effect parameter, and the second volume and / or the second pitch indicated by the second sound effect parameter are greater than the third volume and / or the third pitch indicated by the third sound effect parameter.

[0167] In an alternative embodiment, the control module is specifically configured to obtain the current sound effect parameter of the virtual vehicle; and control the virtual vehicle to play the target sound effect according to the target sound effect parameter of the virtual vehicle based on a preset smoothing algorithm.

[0168] In an alternative embodiment, the control module 130 is further configured to, in response to the current braking trigger operation for controlling the virtual vehicle to switch from the forward state or the reverse state to the standby state, respectively obtain the braking trigger time of the current braking trigger operation and the playing time of the previous braking sound effect;

[0169] If it is determined that the time difference between the brake trigger time and the playback time of the previous brake sound effect is greater than a preset time difference, then trigger the playback of the current brake sound effect corresponding to the current brake trigger operation.

[0170] In an alternative embodiment, the control module is further configured to respond to a trigger operation for controlling the target virtual character to move from the preset range to a non-preset range;

[0171] Adopt a preset linear function to attenuate the current volume in the current sound effect parameters of the virtual vehicle to silence.

[0172] In an alternative embodiment, the virtual vehicle includes a virtual land moving vehicle. If the target running state of the virtual vehicle is a reverse state or a forward state, then the target sound effect parameters of the virtual vehicle include at least one of the following: engine sound effect parameters, exhaust sound effect parameters, tire sound effect parameters;

[0173] If the target running state of the virtual vehicle is a standby state, then the target sound effect parameters of the virtual vehicle include a brake sound effect and at least one of the following: engine sound effect parameters, exhaust sound effect parameters, tire sound effect parameters.

[0174] In an alternative embodiment, the target sound effect parameters of the virtual vehicle include target engine sound effect parameters. The target engine sound effect parameters are determined according to a plurality of hierarchical sound effect segments. The plurality of hierarchical sound effect segments include combined sound effect segments. The combined hierarchical sound effect segments include a plurality of sub-sound effect segments with overlapping transition regions. The plurality of sub-sound effect segments include: sub-sound effect segments corresponding to the reverse state, the standby state, and the first forward layer respectively, and each hierarchical sound effect segment is configured to have a preset volume parameter and a preset pitch parameter;

[0175] The determination module 120 is specifically configured to determine at least one target hierarchical sound effect segment from the plurality of hierarchical sound effect segments according to the target running state of the virtual vehicle;

[0176] Determine the target engine sound effect parameters of the virtual vehicle according to at least one target hierarchical sound effect segment.

[0177] In an alternative embodiment, the target sound effect parameters of the virtual vehicle further include target exhaust sound effect parameters. The determination module 120 is specifically configured to determine the volume parameter and the pitch parameter in the target exhaust sound effect parameters according to the target running state of the virtual vehicle.

[0178] In an alternative embodiment, the target sound effect parameters of the virtual vehicle further include target tire sound effect parameters. The determination module 120 is specifically configured to obtain the target virtual road surface material where the virtual vehicle is currently located;

[0179] Determine a target tire sound effect from a variety of tire sound effects according to the target virtual road surface material where the virtual vehicle is currently located;

[0180] Determine the volume parameter and pitch parameter of the target tire sound effect according to the target running state of the virtual vehicle.

[0181] The above device is used to execute the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here.

[0182] The above modules can be one or more integrated circuits configured to implement the above method. For example: one or more application specific integrated circuits (ASICs), or, one or more microprocessors, or, one or more field programmable gate arrays (FPGAs), etc. Again, when a certain module above is implemented in the form of a processing element scheduling program code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program code. Again, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0183] Figure 10 The figure is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and this electronic device can be integrated into the above vehicle control device. As Figure 10 shown, this electronic device may include: a processor 210, a storage medium 220, and a bus 230. The storage medium 220 stores machine-readable instructions executable by the processor 210. When the electronic device runs, the processor 210 communicates with the storage medium 220 through the bus 230, and the processor 210 executes the machine-readable instructions to execute the steps of the following method embodiments:

[0184] Obtain the first quantity of the first virtual characters and the second quantity of the second virtual characters within a preset range of the virtual vehicle; wherein, the first virtual characters are characters of the first camp, and the second virtual characters are characters of the second camp;

[0185] Determine the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determine the target running state of the virtual vehicle according to the occupation state of the virtual vehicle;

[0186] The occupant of the virtual vehicle controls the virtual vehicle to move along a preset path in the game scene in the target running state; wherein, the occupant is any camp of the first camp and the second camp.

[0187] In an alternative embodiment, the controlling the virtual vehicle by the occupant of the virtual vehicle to move along a preset path in the game scene in the target running state includes:

[0188] Determine the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle;

[0189] The occupant of the virtual vehicle controls the virtual vehicle to move along a preset path in the game scene in the target running state, and controls the virtual vehicle to play a target sound effect according to the target sound effect parameters of the virtual vehicle.

[0190] In an alternative embodiment, the determining the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining the target running state of the virtual vehicle according to the occupation state of the virtual vehicle includes:

[0191] If the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupant of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state;

[0192] If the duration of the state where the first quantity is equal to zero and the second quantity is greater than zero is greater than a preset time threshold, determine that the occupant of the virtual vehicle is the second camp, and the target running state of the virtual vehicle is the reverse state.

[0193] In an alternative embodiment, the if the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupant of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state, includes:

[0194] If the duration of the state where the first quantity is equal to the first preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupant of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the first forward state;

[0195] If the duration of the state where the first quantity is equal to the second preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupant of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the second forward state;

[0196] If the duration of the state where the first quantity is equal to the third preset threshold and the second quantity is equal to zero is greater than the preset time threshold, determine that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the third forward state;

[0197] Wherein, the third preset threshold is greater than the second preset threshold, the second preset threshold is greater than the first preset threshold, the first forward speed indicated by the first forward state is less than the second forward speed indicated by the second forward state, and the second forward speed indicated by the second forward state is less than the third forward speed indicated by the third forward state.

[0198] In an alternative embodiment, if the forward state of the virtual vehicle is the first forward state, determine that the target sound effect parameter of the virtual vehicle is the first sound effect parameter; if the forward state of the virtual vehicle is the second forward state, determine that the target sound effect parameter of the virtual vehicle is the second sound effect parameter; if the forward state of the virtual vehicle is the third forward state, determine that the target sound effect parameter of the virtual vehicle is the third sound effect parameter;

[0199] Wherein, the first volume and / or the first pitch indicated by the first sound effect parameter are greater than the second volume and / or the second pitch indicated by the second sound effect parameter, and the second volume and / or the second pitch indicated by the second sound effect parameter are greater than the third volume and / or the third pitch indicated by the third sound effect parameter.

[0200] In an alternative embodiment, the controlling the virtual vehicle to play the target sound effect according to the target sound effect parameter of the virtual vehicle includes:

[0201] Obtain the current sound effect parameter of the virtual vehicle; control the virtual vehicle to play the target sound effect according to the target sound effect parameter of the virtual vehicle based on a preset smoothing algorithm.

[0202] In an alternative embodiment, the method further includes:

[0203] In response to the current braking trigger operation that controls the virtual vehicle to switch from the forward state or the reverse state to the standby state, respectively obtain the braking trigger time of the current braking trigger operation and the playing time of the previous braking sound effect;

[0204] If it is determined that the time difference between the braking trigger time and the playing time of the previous braking sound effect is greater than the preset time difference, trigger the playing of the current braking sound effect corresponding to the current braking trigger operation.

[0205] In an alternative embodiment, the method further includes:

[0206] In response to a triggering operation for the controlled target virtual character to move from the preset range to a non-preset range; using a preset linear function, attenuate the current volume in the current sound effect parameters of the virtual vehicle to silence.

[0207] In an alternative embodiment, the virtual vehicle includes a virtual land moving vehicle. If the target running state of the virtual vehicle is a reverse state or a forward state, the target sound effect parameters of the virtual vehicle include at least one of the following: engine sound effect parameters, exhaust sound effect parameters, tire sound effect parameters;

[0208] If the target running state of the virtual vehicle is a standby state, the target sound effect parameters of the virtual vehicle include a brake sound effect and at least one of the following: engine sound effect parameters, exhaust sound effect parameters, tire sound effect parameters.

[0209] In an alternative embodiment, the target sound effect parameters of the virtual vehicle include target engine sound effect parameters. The target engine sound effect parameters are determined based on a plurality of hierarchical sound effect segments. Among the plurality of hierarchical sound effect segments, there are combined sound effect segments. The combined hierarchical sound effect segments include a plurality of sub-sound effect segments with a cross-transition region. The plurality of sub-sound effect segments include sub-sound effect segments corresponding to the reverse state, the standby state, and the first forward layer respectively. And each hierarchical sound effect segment is configured to have a preset volume parameter and a preset pitch parameter;

[0210] Determining the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle includes:

[0211] According to the target running state of the virtual vehicle, determine at least one target hierarchical sound effect segment among the plurality of hierarchical sound effect segments; according to the at least one target hierarchical sound effect segment, determine the target engine sound effect parameters of the virtual vehicle.

[0212] In an alternative embodiment, the target sound effect parameters of the virtual vehicle further include target exhaust sound effect parameters. Determining the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle includes:

[0213] According to the target running state of the virtual vehicle, determine the volume parameter and the pitch parameter in the target exhaust sound effect parameters.

[0214] In an alternative embodiment, the target sound effect parameters of the virtual vehicle further include target tire sound effect parameters. Determining the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle includes:

[0215] Obtain the target virtual road surface material where the virtual vehicle is currently located; determine the target tire sound effect from a variety of tire sound effects according to the target virtual road surface material where the virtual vehicle is currently located; determine the volume parameter and pitch parameter of the target tire sound effect according to the target running state of the virtual vehicle.

[0216] The specific implementation manners and technical effects of the above method embodiments are similar to those described above and will not be elaborated here.

[0217] Optionally, the present application further provides a storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the following method embodiments:

[0218] Obtain the first quantity of the first virtual characters and the second quantity of the second virtual characters within a preset range of the virtual vehicle; wherein, the first virtual characters are characters of the first camp, and the second virtual characters are characters of the second camp;

[0219] Determine the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determine the target running state of the virtual vehicle according to the occupation state of the virtual vehicle;

[0220] Control the virtual vehicle to move along a preset path in the game scene in the target running state through the occupying party of the virtual vehicle; wherein, the occupying party is any one of the first camp and the second camp.

[0221] In an alternative implementation manner, the controlling the virtual vehicle to move along a preset path in the game scene in the target running state through the occupying party of the virtual vehicle includes:

[0222] Determine the target sound effect parameter of the virtual vehicle according to the target running state of the virtual vehicle; control the virtual vehicle to move along a preset path in the game scene in the target running state through the occupying party of the virtual vehicle, and control the virtual vehicle to play the target sound effect according to the target sound effect parameter of the virtual vehicle.

[0223] In an alternative implementation manner, the determining the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining the target running state of the virtual vehicle according to the occupation state of the virtual vehicle includes:

[0224] If the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state; if the duration of the state where the first quantity is equal to zero and the second quantity is greater than zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the second camp, and the target running state of the virtual vehicle is the backward state.

[0225] In an alternative embodiment, the step of if the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state, includes:

[0226] If the duration of the state where the first quantity is equal to the first preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the first forward state;

[0227] If the duration of the state where the first quantity is equal to the second preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the second forward state;

[0228] If the duration of the state where the first quantity is equal to the third preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determine that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the third forward state;

[0229] Wherein, the third preset threshold is greater than the second preset threshold, the second preset threshold is greater than the first preset threshold, the first forward speed indicated by the first forward state is less than the second forward speed indicated by the second forward state, and the second forward speed indicated by the second forward state is less than the third forward speed indicated by the third forward state.

[0230] In an alternative embodiment, if the forward state of the virtual vehicle is the first forward state, determine that the target sound effect parameter of the virtual vehicle is the first sound effect parameter; if the forward state of the virtual vehicle is the second forward state, determine that the target sound effect parameter of the virtual vehicle is the second sound effect parameter; if the forward state of the virtual vehicle is the third forward state, determine that the target sound effect parameter of the virtual vehicle is the third sound effect parameter;

[0231] Among them, the first volume and / or the first pitch indicated by the first sound effect parameter are greater than the second volume and / or the second pitch indicated by the second sound effect parameter, and the second volume and / or the second pitch indicated by the second sound effect parameter are greater than the third volume and / or the third pitch indicated by the third sound effect parameter.

[0232] In an optional implementation, controlling the virtual vehicle to play a target sound effect according to the target sound effect parameter of the virtual vehicle includes:

[0233] Obtaining the current sound effect parameter of the virtual vehicle; controlling the virtual vehicle to play the target sound effect according to the target sound effect parameter of the virtual vehicle based on a preset smoothing algorithm.

[0234] In an optional implementation, the method further includes: in response to a current braking trigger operation for controlling the virtual vehicle to switch from a forward state or a reverse state to a standby state, respectively obtaining the braking trigger time of the current braking trigger operation and the playing time of the previous braking sound effect;

[0235] If it is determined that the time difference between the braking trigger time and the playing time of the previous braking sound effect is greater than a preset time difference, then trigger to play the current braking sound effect corresponding to the current braking trigger operation.

[0236] In an optional implementation, the method further includes:

[0237] In response to a trigger operation for controlling a target virtual character to move from the preset range to a non-preset range; using a preset linear function to attenuate the current volume in the current sound effect parameter of the virtual vehicle to silence.

[0238] In an optional implementation, the virtual vehicle includes a virtual land moving vehicle. If the target operating state of the virtual vehicle is a reverse state or a forward state, then the target sound effect parameter of the virtual vehicle includes at least one of the following: an engine sound effect parameter, an exhaust sound effect parameter, a tire sound effect parameter;

[0239] If the target operating state of the virtual vehicle is a standby state, then the target sound effect parameter of the virtual vehicle includes a braking sound effect and at least one of the following: an engine sound effect parameter, an exhaust sound effect parameter, a tire sound effect parameter.

[0240] In an alternative embodiment, the target sound effect parameters of the virtual vehicle include target engine sound effect parameters, and the target engine sound effect parameters are determined based on a plurality of hierarchical sound effect segments, and the plurality of hierarchical sound effect segments include combined sound effect segments. The combined hierarchical sound effect segments include a plurality of sub-sound effect segments having an overlapping transition region. The plurality of sub-sound effect segments include sub-sound effect segments respectively corresponding to the reverse state, the standby state, and the first forward layer, and each hierarchical sound effect segment is configured to have a preset volume parameter and a preset pitch parameter;

[0241] Determining the target sound effect parameters of the virtual vehicle according to the target operating state of the virtual vehicle includes: determining at least one target hierarchical sound effect segment from the plurality of hierarchical sound effect segments according to the target operating state of the virtual vehicle; and determining the target engine sound effect parameters of the virtual vehicle based on the at least one target hierarchical sound effect segment.

[0242] In an alternative embodiment, the target sound effect parameters of the virtual vehicle further include target exhaust sound effect parameters. Determining the target sound effect parameters of the virtual vehicle according to the target operating state of the virtual vehicle includes:

[0243] Determining the volume parameter and the pitch parameter in the target exhaust sound effect parameters according to the target operating state of the virtual vehicle.

[0244] In an alternative embodiment, the target sound effect parameters of the virtual vehicle further include target tire sound effect parameters. Determining the target sound effect parameters of the virtual vehicle according to the target operating state of the virtual vehicle includes: obtaining the target virtual road surface material where the virtual vehicle is currently located; determining a target tire sound effect from a plurality of tire sound effects according to the target virtual road surface material where the virtual vehicle is currently located; and determining the volume parameter and the pitch parameter of the target tire sound effect according to the target operating state of the virtual vehicle.

[0245] The specific implementation manners and technical effects of the above method embodiments are similar to those described above and will not be elaborated here.

[0246] Optionally, the present application further provides a computer program product, and the computer program product includes instructions that, when executed on an electronic device, cause the electronic device to implement the steps of the above method embodiments.

[0247] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical or other forms.

[0248] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0249] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.

[0250] The above integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above software functional units are stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute some steps of the methods described in each embodiment of the present application. And the aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (English: Read-Only Memory, abbreviated as: ROM), random access memories (English: Random Access Memory, abbreviated as: RAM), magnetic disks or optical discs that can store program codes.

[0251] It should be noted that in this text, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising said element.

[0252] The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application. It should be noted that similar reference numerals and letters indicate similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.

Claims

1. A virtual vehicle control method, characterized in that, The method includes: Obtaining a first quantity of first virtual characters and a second quantity of second virtual characters within a preset range of a virtual vehicle; wherein, the first virtual characters are characters of a first camp, and the second virtual characters are characters of a second camp; Determining an occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining a target running state of the virtual vehicle according to the occupation state of the virtual vehicle; Controlling the virtual vehicle by the occupying party of the virtual vehicle to move along a preset path in a game scene in the target running state; wherein, the occupying party is either the first camp or the second camp.

2. The method according to claim 1, wherein The controlling the virtual vehicle by the occupying party of the virtual vehicle to move along a preset path in a game scene in the target running state includes: Determining target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle; Controlling the virtual vehicle by the occupying party of the virtual vehicle to move along a preset path in the game scene in the target running state, and controlling the virtual vehicle to play a target sound effect according to the target sound effect parameters of the virtual vehicle.

3. The method according to claim 2, wherein The determining an occupation state of the virtual vehicle according to the first quantity and the second quantity, and determining a target running state of the virtual vehicle according to the occupation state of the virtual vehicle includes: If the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, determining that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state; If the duration of the state where the first quantity is equal to zero and the second quantity is greater than zero is greater than a preset time threshold, determining that the occupying party of the virtual vehicle is the second camp, and the target running state of the virtual vehicle is the reverse state.

4. The method according to claim 3, wherein The if the duration of the state where the first quantity is greater than zero and the second quantity is equal to zero is greater than a preset time threshold, determining that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the forward state includes: If the duration of the state where the first quantity is equal to a first preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determining that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the first forward state; If the duration of the state where the first quantity is equal to a second preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determining that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the second forward state; If the duration of the state where the first quantity is equal to a third preset threshold and the second quantity is equal to zero is greater than a preset time threshold, determining that the occupying party of the virtual vehicle is the first camp, and the target running state of the virtual vehicle is the third forward state; Wherein, the third preset threshold is greater than the second preset threshold, the second preset threshold is greater than the first preset threshold, the first forward speed indicated by the first forward state is less than the second forward speed indicated by the second forward state, and the second forward speed indicated by the second forward state is less than the third forward speed indicated by the third forward state.

5. The method according to claim 4, characterized in that, If the forward state of the virtual vehicle is the first forward state, determine that the target sound effect parameter of the virtual vehicle is the first sound effect parameter; If the forward state of the virtual vehicle is the second forward state, determine that the target sound effect parameter of the virtual vehicle is the second sound effect parameter; If the forward state of the virtual vehicle is the third forward state, determine that the target sound effect parameter of the virtual vehicle is the third sound effect parameter; Wherein, the first volume and / or the first pitch indicated by the first sound effect parameter are greater than the second volume and / or the second pitch indicated by the second sound effect parameter, and the second volume and / or the second pitch indicated by the second sound effect parameter are greater than the third volume and / or the third pitch indicated by the third sound effect parameter.

6. The method according to claim 2, wherein Controlling the virtual vehicle to play a target sound effect according to the target sound effect parameter of the virtual vehicle includes: Obtain the current sound effect parameter of the virtual vehicle; Based on a preset smoothing algorithm, control the virtual vehicle to play a target sound effect according to the target sound effect parameter of the virtual vehicle.

7. The method according to claim 3, characterized in that The method further includes: In response to a current braking trigger operation for controlling the virtual vehicle to switch from a forward state or a reverse state to a standby state, respectively obtain the braking trigger time of the current braking trigger operation and the playing time of the previous braking sound effect; If it is determined that the time difference between the braking trigger time and the playing time of the previous braking sound effect is greater than a preset time difference, trigger the playing of the current braking sound effect corresponding to the current braking trigger operation.

8. The method according to any one of claims 1-7, characterized in that, The method further includes: In response to a trigger operation for controlling a target virtual character to move from the preset range to a non-preset range; Adopt a preset linear function to attenuate the current volume in the current sound effect parameter of the virtual vehicle to silence.

9. The method according to claim 2, wherein The virtual vehicle includes a virtual land moving vehicle. If the target running state of the virtual vehicle is a reverse state or a forward state, the target sound effect parameter of the virtual vehicle includes at least one of the following: an engine sound effect parameter, an exhaust sound effect parameter, a tire sound effect parameter; If the target running state of the virtual vehicle is a standby state, the target sound effect parameter of the virtual vehicle includes a braking sound effect and at least one of the following: an engine sound effect parameter, an exhaust sound effect parameter, a tire sound effect parameter.

10. The method according to claim 9, wherein The target sound effect parameter of the virtual vehicle includes a target engine sound effect parameter, and the target engine sound effect parameter is determined according to a plurality of hierarchical sound effect segments. The plurality of hierarchical sound effect segments include combined sound effect segments. The combined hierarchical sound effect segments include a plurality of sub-sound effect segments with a cross-transition area. The plurality of sub-sound effect segments include sub-sound effect segments respectively corresponding to the reverse state, the standby state, and the first forward layer, and each hierarchical sound effect segment is configured to have a preset volume parameter and a preset pitch parameter; Determining the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle includes: Determining at least one target hierarchical sound effect segment from a plurality of hierarchical sound effect segments according to the target running state of the virtual vehicle; determining the target engine sound effect parameters of the virtual vehicle according to the at least one target hierarchical sound effect segment.

11. The method according to claim 10, wherein The target sound effect parameters of the virtual vehicle further include target exhaust sound effect parameters. Determining the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle includes: Determining the volume parameter and the pitch parameter in the target exhaust sound effect parameters according to the target running state of the virtual vehicle.

12. The method according to claim 10 or 11, characterized in that, The target sound effect parameters of the virtual vehicle further include target tire sound effect parameters. Determining the target sound effect parameters of the virtual vehicle according to the target running state of the virtual vehicle includes: Obtaining the target virtual road surface material where the virtual vehicle is currently located; Determining a target tire sound effect from a variety of tire sound effects according to the target virtual road surface material where the virtual vehicle is currently located; Determining the volume parameter and the pitch parameter of the target tire sound effect according to the target running state of the virtual vehicle.

13. A virtual vehicle control device, characterized in that, The device includes: An obtaining module, configured to obtain a first quantity of first virtual characters and a second quantity of second virtual characters within a preset range of the virtual vehicle, where the first virtual characters are characters of a first camp, and the second virtual characters are characters of a second camp; A determining module, configured to determine the occupation state of the virtual vehicle according to the first quantity and the second quantity, and determine the target running state of the virtual vehicle according to the occupation state of the virtual vehicle; A control module, configured to control the virtual vehicle to move along a preset path in the game scene in the target running state through the occupying party of the virtual vehicle; where the occupying party is any one of the first camp and the second camp.

14. An electronic device, characterized in that, Including: A processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the storage medium through the bus. The processor executes the machine-readable instructions to perform the steps of the virtual vehicle control method according to any one of claims 1-12.

15. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is run by the processor, it performs the steps of the virtual vehicle control method according to any one of claims 1-12.