U.S. Pat. No. 6,729,954
BATTLE METHOD WITH ATTACK POWER BASED ON CHARACTER GROUP DENSITY
AssigneeKoei Co. Ltd.
Issue DateAugust 15, 2001
U.S. Patent No. 6,729,954: Battle Method with Attack Power Based on Character Group Density
Battle Method with Attack Power Based on Character Group Density
Issued May 4, 2004, assigned to Koei Co., Ltd.
Summary: Although the Sam Fishers, John Matrixs, Solid Snakes, and John Rambos of the world would gladly demonstrate how false this premise is, this patent contends a soldier’s attack and defense strength synergizes with the number of surrounding support soldiers. For example, a bow soldier’s attack strength is increased according to the number of surrounding bow soldiers transverse to the enemy’s army. Therefore, five archers in a line parallel to the enemy’s army would have an attack strength greater than five archers in a line perpendicular to the enemy army. This causes individual soldiers within a formation to have a variable attack/defense strength (displayed to a user by the soldier’s color). The differences in the attack/defense strength are due to changes in the soldier’s support area. The support area is defined by their relative position in the overall formation, the predefined size and shape of the support area, and the type of soldiers in the current soldier’s support area (e.g., archer, foot soldier, etc.). Additionally, different types of soldiers have support areas of different shapes. Interestingly, the patent manages to offend a plethora of game characters by capping a soldier’s attack/defense strength at a maximum value to prevent it from exceeding the strength of “an actual person.” Exemplary Claim:
A character group battle method in which a plurality of characters that are displayed in a three-dimensional virtual space form groups of friends and enemies that battle against one another, comprising the steps of: calculating the position of each of the characters in the three-dimensional virtual space; calculating the character number of the other one or more friend characters existing in a predetermined region about the character; and calculating at least one of an attack or a defense value respectively expressing at least one of an attack power or a defense strength of the character on the basis of the character number.
Illustrative Figure
Abstract
No abstract is available for this record.
Description
EMBODIMENTS OF THE INVENTION (First Embodiment) A first embodiment where the present invention has been applied to a home-use video game device will be explained below with reference to the drawings. (Configuration) As shown in FIG. 1 , a home-use video game device 10 of this embodiment comprises a game device main body 2 , and a television (TV) monitor 4 with a speaker 5 and an input device 3 which are connected thereto. The game device main body 2 is provided with a medium reading section (refer to FIG. 3 ) in which a recording medium 1 such as CD-ROM or the like can be loaded. By loading a recording medium in this medium reading section, a game program or game data recorded on the recording medium 1 is automatically loaded in a storage memory within the game device main body 2 . As shown in FIG. 2 , arranged on the input device 3 are various buttons, such as a start button 30 for starting such a game as a group battle game or the like, a set of a button 31 , a button 32 , a button 33 , a button 34 for operating a character and/or responding to a selection inquiry from the game device main body 2 , and a cross direction button set comprising a button 35 , a button 36 , a button 37 and a button 38 , and the like. As shown in FIG. 3 , the game device main body 2 is provided with a CPU block 20 for performing control on the entire device, which serves as a position calculator, a character number calculator, an accumulator, an attack value (level)/defense value (level) calculator and a change value (level) calculator. The CPU block 20 comprises a SCU (System Control ...
EMBODIMENTS OF THE INVENTION
(First Embodiment)
A first embodiment where the present invention has been applied to a home-use video game device will be explained below with reference to the drawings.
(Configuration)
As shown in FIG. 1 , a home-use video game device 10 of this embodiment comprises a game device main body 2 , and a television (TV) monitor 4 with a speaker 5 and an input device 3 which are connected thereto. The game device main body 2 is provided with a medium reading section (refer to FIG. 3 ) in which a recording medium 1 such as CD-ROM or the like can be loaded. By loading a recording medium in this medium reading section, a game program or game data recorded on the recording medium 1 is automatically loaded in a storage memory within the game device main body 2 .
As shown in FIG. 2 , arranged on the input device 3 are various buttons, such as a start button 30 for starting such a game as a group battle game or the like, a set of a button 31 , a button 32 , a button 33 , a button 34 for operating a character and/or responding to a selection inquiry from the game device main body 2 , and a cross direction button set comprising a button 35 , a button 36 , a button 37 and a button 38 , and the like.
As shown in FIG. 3 , the game device main body 2 is provided with a CPU block 20 for performing control on the entire device, which serves as a position calculator, a character number calculator, an accumulator, an attack value (level)/defense value (level) calculator and a change value (level) calculator. The CPU block 20 comprises a SCU (System Control Unit) for mainly controlling data transfer between respective sections within the game device main body 2 , a CPU operating as a central processing unit at a high-speed clock, a ROM in which basic control operations for the game device main body 2 have been stored, a RAM which works as an working area of the CPU and which temporarily stores game programs and various data which have been recorded in the recording medium 1 , and an internal bus connecting these unit.
An external bus 25 is connected to the SCU. The external bus 25 is connected to an input receiving section or unit 21 which receives input from the input device 3 such as a controller pad or the like and transfers the input information or data to the CPU block 20 , a medium reading section 22 , such as a CD-ROM drive, which comprises a sub-CPU (not shown) and which reads game programs which have been recorded on the recording medium 1 to transfer it to the CPU block 20 , an image processing section 23 which comprises a sub-CPU and a VRAM (not shown) and which produces an image according to the data transferred from the CPU block 20 , and an audio processing section 24 which comprises a sub-CPU (not shown) and which processes sound such as background music, or galloping sounds of horse soldiers, etc. In addition, the input receiving section 21 is connected to the input device 3 , the image processing section 23 is connected to the TV monitor 4 , and the audio processing section 24 is connected to the speaker 5 inside the TV monitor 4 .
(Operation)
Next, the operation of the home-use video game device 10 of this embodiment will be explained with reference to the flowcharts of a case where a soldier (serving as a character) belonging to a player's army (hereinafter, referred to as F army) and a soldier belonging to an army (hereinafter, referred to as E army) of a computer side (CPU block 20 ) battle against each other. It is to be noted that the recording medium 1 has been loaded in the game device main body 1 and the game program and game data have been stored in RAM in the CPU block 20 so that an initial setting has been completed. Also, for simplicity of explanation, in the following flowchart, the actions of the player's army F will mainly be explained, and the explanation about the computer's army E will be omitted because the similar process is executed regarding the computer's army E.
Attack Power (Defense Strength) of Line-up State
As shown in FIGS. 4A through 4B , the CPU in the CPU block 20 executes a battle routine where respective soldiers belonging to the army F and the army E are caused to battle against one another. In this battle routine, first, in step 102 , the process waits until the start button 30 shown in FIG. 2 is pressed. When a judgement in step 102 is affirmative, in the next step 104 , a formation setting process sub-routine for setting a formation (army unit formation) of the army F (and army E) is executed.
As shown in FIG. 5 , in this formation setting process sub-routine, as shown in Table 1, in step 202 , in order to cause the player to select one of three soldier corpses of a foot soldier type, a bow soldier type and a horse soldier type, a soldier corps selection display for displaying icons including these soldier corps names on the TV monitor 4 is performed, and the process waits until selection is made by the player in the next step 204 .
TABLE 1 SUPPORT MAXIMUM VALUE OF SOLDIER REGION NUMBER N OF CORPS SOLDIER KIND a b (m 2 ) SUPPORT SOLDIERS FOOT FOOT SOLDIER 8 m 8 m 15 SOLDIER TYPE SPEARMAN BOW SHORT-RANGE 20 m 2 m 15 SOLDIER BOW SOLDIER TYPE LARGE BOW SOLDIER HORSE LIGHT 16 m 16 m 7 SOLDIER CAVALRYMAN TYPE LANCER HUNTING HORSE SOLDIER ELEPHANT SOLDIER When the player selects any one of the corpses mentioned above, in step 206 , soldier kind selection display is performed such that icons of soldier kinds corresponding to the selected corps, i.e., icons of soldier kinds corresponding to the selected corps i.e., as shown in Table 1, icons of a foot soldier and a spearman when the player selects the food soldier type, icons of a short-range bow soldier and a large bow soldier when he/she selects the bow soldier type, and icons of a light cavalryman, a lancer, a hunting horse soldier, and an elephant soldier when he/she selects the horse soldier type, are displayed and one icon is selected from these icons by the player, and the process waits until the player selects one icon in the next step 208 . When the player selects one soldier kind or icon, a default value corresponding to the selected soldier kind is fetched and stored in RAM.
Next, in the next step 212 , as shown in FIGS. 16A to 16 E, in order to allow the player to select one from a long and thin army formation, a rectangular army formation, a triangular army formation, a diamond army formation, and V-shaped army formation, an army formation selection display where icons of these formations are displayed on the TV monitor 4 is performed, and the process waits until the player selects 214 any one of the formation in step 204 . When the player selects 214 any one of the formations, in the next step 216 , the default value for the formation is fetched.
Incidentally, in the above steps 210 and 216 , simultaneously, the soldier kind and army formation on the computer's army E have been selected, as mentioned above. In the following explanation, for convenience' sake, it is assumed that the player has selected the corps foot soldier type , the soldier kind foot soldier , and the army formation triangular army formation for the army F while the computer has selected the corps foot soldier type , the soldier kind foot soldier , and the formation long and thin army formation for the army E.
Next, in step 218 , soldier numbers for identifying respective soldiers are allocated to a predetermined number (for example, 100) of soldiers, and a distance between the army E and the army F in the 3-dimensional virtual space is set so that line-up positions of all the soldiers belonging to the army E and the army F are calculated according to the default value of the formation selected in step 216 and stored in RAM. Next, in step 220 , a troop commander (hereinafter, referred to as a leader) is automatically selected from the soldiers belonging to the army F (and the army E) to be set and the set information is stored in RAM. In this leader setting, any soldier positioned at an almost center of the formation is selected as the leader, and ID information for identifying the soldier as the leader together with the soldier number is assigned to the leader and stored in RAM.
Next, in step 222 , attack values and defense values expressing attack powers and defense strengths of respective soldiers belonging to the army F (and the army E) (hereinafter, called attack power and defense strength collectively without discriminations between attack value and attack power and between defense value and defense strength) are calculated, and a formation strength calculation sub-routine for calculating color correction (adjustment) values for respective soldiers in order to display unevenness distribution of the attack power on the TV monitor 4 is called. As shown in FIG. 6 , in this formation strength calculation sub-routine, in step 302 , a determination is made about whether or not processing on all the soldiers has been completed. When a negative determination is made in this step, the number of support soldiers N is counted in the next step 304 .
The details of this step 304 are as follows: First, in step 218 , the positions of the respective soldiers of the army F stored in RAM on the 3-dimensional virtual space are read out. Next, as shown in FIG. 17A , the number N of friend soldiers existing in a support region as a predetermined region defined by a horizontal length a (m) and a vertical length b (m) in the 3-dimensional space (herein, explanation will be made in a 2-dimensional manner for easy understanding), namely, support soldiers supporting an object soldier Fn, is counted, assuming that the object soldier Fn exists at a center of an upper end in support region. Accordingly, for example, as shown in FIG. 17B , since the soldier with the soldier number F 5 is supported by 22 soldiers with soldier numbers F 4 to F 27 except for the soldiers with the soldier numbers F 22 and F 28 , the number of support soldiers N 22 is obtained. Incidentally, in FIGS. 17A and 17B , an arrow FA shows an advancing direction of a group, that is, an advancing direction of the leader. Also, in order to utilize characteristics of the corps (characters having personalities) the support region is defined in advance as shown in Table 1.
In the next step 306 , in order to prevent the number of support soldiers N from being increased infinitely and prevent the object soldier Fn from exceeding the attack power and the defense strength of an actual person, a determination is made about whether or not the number of support soldiers N exceeds the maximum number of support soldiers Nmax. When a negative determination is made, the process proceeds to step 310 . When an affirmative determination is made, the number of support soldiers N is set to the maximum number of support soldier Nmax 308 (15 in this embodiment) and the process proceeds to step 310 . Incidentally, in the foot soldiers of this embodiment, the number of support soldiers N is put in a range of 0 N 15.
Next, in step 310 , an attack power A of the object soldier Fn is calculated according to the following equation (1). Incidentally, a basic attack power is 50 in this embodiment, as shown in the following Table 2.
Attack Power A Basic Attack Power Support Attack Power A (1)
where, Support Attack Power A support coefficient k A the number of support soldiers N; and support coefficient k A 5
TABLE 2 BASIC ATTACK BASIC DEFENSE POWER STRENGTH FOOT SOLDIER TYPE 50 50 BOW SOLDIER TYPE 75 25 HORSE SOLDIER TYPE 65 35 In the next step 312 , a defense strength D of the object soldier Fn is calculated according to the following equation (2). Incidentally, the basic defense strength is 50 in this embodiment, as shown in Table 2.
Defense Strength D Basic Defense Strength Support Defense Strength D (2)
where, Support Defense Strength D support coefficient k D the number of support soldiers N; and support coefficient k D 5
Next, in step 314 , in order to display strength and weakness of the attack power of the object soldier Fn on the TV monitor 4 , the color correction value which serves as the change value of the object soldiers Fn is calculated as the number of support soldier N (color correction value the number of support soldier N) to be stored in RAM, and thereafter the process returns back to step 302 . When the determination in step 302 is affirmative, processing on all the soldiers has been completed, so that the army formation strength calculation sub-routine is terminated and the process proceeds to step 224 where the default values (onnly first transfer) of the soldier kinds which have been respectively stored in RAM in steps 210 , 218 , 220 and 314 , the position data of the respective soldiers, the ID information of the leader (only first transfer) and the color correction value are transferred to an image processing section 23 , the army formation setting process sub-routine is terminated, and the process proceeds to step 106 in FIG. 4 A. According to the formation setting process, the image process section 23 draws the soldier (foot soldiers) according to the position data, and a character wearing a protector such as an armor or the like which is different from that of the other soldiers is drawn in a line-up state.
Here, the color correction process which is executed a sub-CPU (not shown) of the image processing section 23 and the meanings of the color correction value will be explained. In this embodiment, in order to achieve an image like movies, respective dots of an image forming the object soldier Fn are expressed on the TV monitor 4 with 256 gradations of each of RGB (red, green and blue). Now, assuming that one dot of the image has R 150, G 200 and B 170, and the color correction value is 7, the sub-CPU sets each of the maximum gradation to be color-corrected to 240 for each maximum gradation 255 on theory of RGB (incidentally, when RGB of the one dot exceeds 240, the exceeded value), and 150 (240 150) 7/15 192 for R, 200 (240 200) 7/15 219 for G and 170 (240 170) 7/15 203 for B are calculated so that the color correction process is performed such that the gradations of the respective RGB obtained are applied to the color of the dot. Accordingly, the dot approaches to white as the color correction value, namely the value of the attack power, becomes large. However, if the number of the maximum gradation to be applied to the color correction process is set to 255, the dot becomes pure white, which may make it difficult to distinguish existence of the soldier in view of a background color. Therefore, the maximum gradation is set to 240. The sub-CPU performs the color correction process on all the dots forming the object soldier, and further performs similar processes regarding all the soldiers. It is to be noted that the calculation equations of the color correction process and data of respective maximum gradations for color correction and the like are transferred from the CPU 20 to the image processing section 23 at the time of initial setting process. For this reason, as shown in FIG. 18 , since the soldier approaches to white (the soldier looks white in a bright manner) through 16 stages (including a case of the number of support soldiers N 0), when the player watches a soldier with a large value of the attack power A on the TV monitor or display 4 , as shown in FIG. 19 , he/she can recognize unevenness distribution of strong and weak points of the attack power of the entire army formation. It is to be noted that a distance between the army E and the army F is set to be longer than a scope range of a large bow which a large bow soldier of the bow solder type has (for example, the distance is 200 m in the 3-dimensional virtual space), and (the scope range of the large bow is set to be longer than that of a short-range bow which a short-range bow soldier has). This setting is performed in the above-mentioned step 218 .
Attack Power and Defense Strength During Movement
Next, in step 106 shown in FIG. 4A , calculation of a virtual frame is performed as pre-preparation where the army E and the army F mutually move towards leaders thereof while their army formations are maintained, respectively. As shown in FIG. 20A , assuming a virtual frame Wm employing the position of a leader F L as a center, which has similar shape to the lined-up army formation of the army F (and the army E) and which has a size of a predetermined times (for example, 1.2 times) of the lined-up army formation, a position of the virtual frame Wm in the 3-dimensional virtual space is calculated to be stored in RAM. The virtual frame Wm is a region which is virtually assumed in order to maintain the army formation when the army F (and the army E) moves. Therefore, assuming that, when the army F (and the army E) moves, this virtual frame Wm also moves, the respective soldiers are processed in assumption that the respective soldiers cannot move out of the virtual frame Wm of the armies to which they belong.
In the next step 108 , a determination is made about whether or not a vertical blanking interruption processing corresponding to a vertical blanking interval of the TV monitor 4 , which is called at a cycle of each {fraction (1/60)} seconds (16.6 milliseconds), has been made. When a negative determination is made in step 108 , a main process including processes to the input information transferred to the input receiving section 21 such as a change process of a movement direction of the leader F L , a sound process for synthesizing game effect sounds in the sound process section 24 , or the like is performed in the next step 110 , and the process proceeds to step 116 . On the other hand, when an affirmative determination is made in step 108 , a movement process sub-routine for moving the army F towards the army E (the direction of the army E to the army F when viewed from the computer side) is performed.
As shown in FIG. 21A , when the player establishes such tactics that the army F is caused to move so as to go around the army E largely along a path W S from the line-up state shown in FIG. 19 , and he/she can move the army F to a side face or a rear face of the army E by using the set of cross direction buttons freely, he/she can direct a large portion of the attack power A in the army F towards a small portion of the defense strength D of the army F, so that the possibility of winning a battle against the army E is significantly increased. In the movement process sub-routine, movement of each soldier of the army F (and the army E) in the 3-dimensional virtual space is performed on the basis of such tactics.
As shown in FIG. 7A , in the movement process sub-routine, in step 402 , a determination is made about whether or not the processing on all the soldiers has been completed. When a negative determination is made in step 402 , a determination is made in step 404 about whether or not the object to be processed is the leader. When an affirmative determiniation is made in the step, a determination is made in the next step 406 about whether or not the set of cross-direction buttons are pressed on the basis of input information fetched in step 110 of FIG. 4 A. When the determination is negative, the process proceeds to step 410 , but when the determination is affirmative, an intervention acceleration is calculated to be stored in RAM in step 408 . In the calculation of the intervention acceleration, when any button of the set to cross-direction buttons is pressed, a predetermined acceleration which has been stored in RAM in the initial setting process is read out. This intervention acceleration is set to, for example, (0, 10, 0), (10, 0, 0), ( 10, 0, 0) and (0, 10, 0) corresponding to operations of the button 35 , the button 36 , the button 37 and the button 38 regarding accelerations of respective (x, y, z) directions (unit in the 3-dimensional virtual space: m/sec 2 ) ( x, y, z).
Next, in step 410 , a short-range acceleration calculation for finding an acceleration occurring when trying to move more than a set distance to avoid coming in contact with or hitting another friend soldier is performed. In this short-range acceleration calculation, first, the short-range perception angle and the short-range perception radius which have been stored in RAM at the initial setting processing are fetched. Here, the short-range perception angle is the angle of the proximate field of view in the current direction that the soldier is facing his/her head, and in this embodiment it is set to 190 . Also, the short-range perception radius is the proximate distance that the soldier can see inside the short-range perception angle, and in this embodiment it is set to 3 m.
Next, the position of another soldier that has been stored in RAM during the previous vertical blanking interruption processing ({fraction (1/60)} seconds before) is read out, and a determination is made about whether or not another soldier is inside a short-range area drawn by the short-range perception angle and the short-range perception radius. When another soldier is in the area, the distance from that soldier is found, and the repulsive force for that distance is found. As described above, the objective is to avoid coming in contact with or hitting another soldier in a short-range, so when another soldier comes near, it is desired to quickly move away from that soldier. Therefore, as shown in FIG. 22 , the repulsive force is taken along the vertical axis and the distance is taken along the horizontal axis, the relationship between the repulsive force and the distance, as in the case of a quadratic function, is calculated such that the repulsive force rapidly increases as the distance from another soldier becomes small. Therefore, the repulsive force when the distance is 0 becomes a large value such as 100 m/sec 2 , and when the distance is equal to the short-range perception radius, the repulsive force becomes 0 m/sec 2 . The product of the acceleration obtained by dividing this found repulsive force by the mass of the soldier and the vector in the direction from another soldier towards the object soldier is found for each of components x, y and z, and the result is the short-range acceleration. Moreover, a determination is made about whether or not yet another friend soldier is in the short-range area. When the determination is affirmative, the repulsive force is found in the same way, the acceleration is found from the found repulsive force, the x, y and z components are added to the short-range acceleration found before and the result is stored in RAM as short-range acceleration ( x, y, z). The process then advances to step 412 . On the other hand, when there is no other soldier in the short-range area, then, the repulsive force is 0, similar to the case when the distance is equal to the short-range perception radius, so that the short-range acceleration ( x, y, z) (0, 0, 0) is stored in RAM, and the process advances to step 412 .
In step 412 , a direction acceleration for moving towards the leader of the army E is calculated and stored in RAM, providing for the case that the player does not intervene the advancing direction of the army F by the set of cross-direction buttons. In this calculation of direction acceleration, the direction in the 3-dimensional virtual space is calculated from the positions of the leaders of the armies E and F, and the direction accelerations which have been stored in RAM in the initial setting process is read out. This direction acceleration is set to 1.2 m/sec 2 in a scalar value (absolute value). Accordingly, by calculating the scalar value for each direction component, the direction acceleration ( x, y, z) can be found.
In the next step 414 , the intervention acceleration, the short-range acceleration and the direction acceleration which have been stored in RAM in steps 408 , 410 and 412 are read out, and for each of the x, y and z components, they are added to calculate the total acceleration, and in the next step 416 , the latest velocity and the latest position are calculated to be stored in RAM. The process then advances to step 418 . Here, assuming that the current time is t, the elapsed time is t, the velocity is V (V t t : velocity at time t t, V t : velocity at time t), acceleration is ( t: acceleration at time t), and position is P (P t t : position at time t t , Pt: position at time t), it is possible to obtain the latest velocity and the latest position for each of the x, y and z components from the equations of motion using Euler's method shown in the following Equations (3). It is to be noted that the previous velocity and position have been stored in RAM, and the elapsed time t is {fraction (1/60)} seconds which is known.
V t t Vt t t ; and
P t t P t V t t 0.5 t t 2 (3)
Next, in step 418 , the position of the latest virtual frame Wm is calculated from the latest position of the leader F L , and the process returns back to step 402 .
On the other hand, when a negative determination is made in step 404 , in step 420 the short-range acceleration is calculated and stored in RAM in the same manner as the above-mentioned step 410 , and in the next step 422 a middle-range acceleration calculation which obtains an acceleration occurring when trying to move at the same velocity as that of a neighboring soldier is performed. In this middle-range acceleration calculation, a middle-range perception angle and a middle-range perception radius which have been stored in RAM at the initial setting process are read out. Here, the middle-range perception angle is the angle of a middle-range field of view in the current direction that the soldier is facing his/her head, and in this embodiment it is set with 170 which is smaller than that of the short-range perception angle. Also, the middle-range perception radius is the distance that the soldier can see in the middle-range perception angle, and in this embodiment the default value is 7 m which is longer than the distance of the short-range perception distance. Next, the position of another soldier which has been stored in RAM previously ({fraction (1/60)} seconds before) is read out, and a determination is made about whether or not the another soldier is in the middle-range area defined by the middle-range perception angle and the middle-range perception radius.
When there is no other soldier in the area, first a direction vector (x, y, z) to the leader is obtained in order to trace the leader at the maximum velocity (for example, 5 m/sec). Here, the direction vector is a unit vector which has no meaning about magnitude (length), and it is a vector (x, y, z) having meaning about only direction. It is possible to obtain the direction vector (x, y, z) to the leader by finding a difference of the own position from the position of the leader to produce a unit vector. Next, the acceleration is calculated according to the following equation (4) to be stored in RAM. It is to be noted that in the equation (4) (the same in equation (5)) velocity equalization time is a time parameter used when the acceleration is found from the movement velocity, and in this embodiment it is set to 0.1 seconds.
Acceleration ( x, y, z ) direction vector ( x, y, z ) to leader maximum velocity current velocity ( x, y, z ) /velocity equalization time (4)
On the other hand, when there is (are) other soldier(s) in the middle-range area, an acceleration conforming with an average velocity of other soldier(s) in the middle-range area is calculated according to the following equations (5) and stored in RAM. The process then advances to step 424 .
Average Velocity ( x, y, z ) sum ( x, y, z ) of velocities of soldiers in middle-range area/number of soldiers in middle-range area; and
Acceleration ( x, y, z ) average velocity ( x, y, z ) current velocity ( x, y, z ) /velocity equalization time (5)
In the next step 424 , the short-range acceleration and the middle-range acceleration which have been stored in steps 420 and 422 are read out, and are added for each of the components x, y and z to calculate the total acceleration. In the next step 426 , the current velocity and position are calculated according to the above equation (4). In the next step 428 , as shown in FIG. 20B , a determination is made about whether the position of the object soldier Fn is in the previous virtual frame Wm. When an affirmative determination is made, the process advances to step 432 . On the other hand, when a negative determination is made, the position of the crossing point P between the direction of the vector of the total acceleration and the virtual frame Wm is calculated in step 430 , and the position of the object soldier is corrected to the calculated position. In step 432 , the latest velocity and the latest position which have been calculated in step 426 and step 430 are stored in RAM and the process returns back to step 402 .
On the other hand, when an affirmative determination is made in step 402 , in the next step 434 the army formation strength calculation sub-routine is called, and the attack power A, the defense strength D and the color correction value are calculated like step 222 in FIG. 5 . In step 436 , the position data and the color correction value of each soldier is transferred to the image processing section 23 , and the movement process sub-routine is terminated so that the process advances to step 114 in FIG. 4 A.
In step 114 , the distance between both leaders is calculated from the positions of the leaders of the army E and the army F which have been calculated in step 416 of FIG. 7B , and in the next step 116 a determination is made about whether or not the calculated distance is smaller than the predetermined distance (for example, 100 m in a case that one or both of the corpses of the armies E and F is the bow soldier type; 50 m in case that both thereof are the foot soldier type or the horse soldier type). When the determination is negative, the process returns back to step 108 . Thereby, an aspect where the army E and the army F move towards the respective leaders (or the army F is avoiding the army E by intervention of the player) while they are keeping their army formations 1.2 times the line-up states and while displaying strong and weak points in the attack power A and the defense strength D is displayed on the display 4 .
Attack Power and Defense Strength During Battling State
When the determination is affirmative in step 116 , in the next step 118 , a determination is made about whether or not an interruption has occurred by determining whether or not the vertical blanking interruption processing has been executed in the same manner as step 108 . When the determinations is negative, in step 120 , processing for the input data or information transferred from the input receiving section 21 , such as stopping of the leader F L , or the main processing such as audio processing for making the audio processing section 24 synthesize game sound-effects are executed and the process advances to step 124 . On the other hand, when the determination is affirmative, the battle process routine where the soldiers belonging to the army E and the arm F battle against one anther is executed in step 122 .
As shown in FIGS. 8A through 8B , in the battle process sub-routine, a leader state value Ls expressing an advancing state or a stopping state of the leader is acquired in step 502 . The leader during the battle process advances towards the enemy leader earnestly as far as there is no enemy soldier in a predetermined region described later. Therefore, the leader state value Ls is normally the default value 0 expressing the advancing state, and when the player presses the button 38 of the input device 3 , it becomes the default value 1 expressing the stop state.
Next, in step 504 , a determination is made about whether or not processing on all the soldiers has been completed. When the determination is negative, in step 506 , whether or not the object soldier is the leader is made in step 506 . When the determination is affirmative, in the next step 508 , whether or not the leader state value Ls is 0 is made. When the determination is affirmative in step 508 , the process advances to step 512 , but when the determination is negative, whether the status flag expressing state of the soldier is attack or defense is determined in step 510 , as shown in Table 3.
TABLE 3 STATE OUTLINE OF STATE ENEMY-SEARCH STATE OF SEARCHING FOR ENEMY SOLDIER APPROACH STATE OF REDUCING DISTANCE FROM ENEMY TO MOVE WITHIN BATTLE RADIUS ATTACK STATE OF DAMAGING ENEMY WITH WEAPON DEFENSE STATE OF PROTECT HIMSELF/HERSELF FROM ENEMY'S WEAPON DEATH STATE OF DEATH OF SOLDIER OTHER VARIOUS STATES SUCH AS CONFRON- TATION, COLLAPSE, ESCAPE OR THE LIKE In step 512 , the state process sub-routine which performs processing in response to the state of the object soldier (default value of the status flag F L ) is called out. As shown in FIG. 9 , in this state process sub-routine, in steps 602 to 610 , whether the status flag F L is enemy-search, approach, defense, or the other is determined. When the determination is affirmative in each step, in each of steps 612 to 620 , each sub-routine of the enemy-search process, the approach process, the attack process, the defense process and the other process is executed to terminate the status process sub-routine. The process returns back to step 504 shown in FIG. 8 A.
As shown in FIG. 10 , in the enemy-search sub-routine, in step 632 , the direction acceleration is calculated by setting the leader to the enemy leader in the above equation (4) and is stored in RAM. Next, in step 634 , the previous velocity and position are read out, and in step 636 , whether or not there is any enemy soldier within the view range (equal to the above-mentioned middle-range area) of the object soldier (in this case, leader) is determined by reading the previous position data of the enemy. When the determination is affirmative, in the next step 638 , whether or not the current state is a non-battle state is determined by determining whether or not the current state is the enemy-searching state by referring to the status flag of the enemy soldier. When the determination is affirmative, the nearest enemy is selected as the battle object in step 640 , and in the next step 642 , matching is made by setting the status flags F L of the object soldier and the enemy soldier and the process advances to step 644 . On the other hand, when the determinations (judgements) are negative in steps 636 and 638 , the process advances to step 644 like the above.
In step 644 , the short-range acceleration of the object soldier is calculated in the same manner as the above, and this short-range acceleration and the direction acceleration which has been stored in RAM in step 632 are read out and are added for each of the components x, y and z to calculate the total acceleration ( x, u, y). In the next step 646 , the latest velocity and the latest position are calculated according to the above equation (3) to be stored in RAM. Thus, the enemy-search sub-routine is terminated.
As shown in FIG. 11 , in the approach process sub-routine, in step 650 , the approach acceleration is calculated by setting the leader to the enemy soldier of the battle object in the above equation (4) is calculated and stored in RAM. In the next step 652 the previous velocity and position are read out, and in step 654 a distance from the enemy soldier is calculated, and a determination is made about whether or not the calculated distance is smaller than the set distance stored in RAM in the initial setting process. This set distance varies according to the soldier kinds. For example, in the case of the foot soldier, the distance is 2 m, in the case of the spearman, it is 3 m, in the case of the short-range bow soldier, it is 100 m. when the determination is negative in step 656 , in the next step 658 , a determination is made about whether or not the current velocity is a velocity distance where the current speed is maintained in order to determine whether the soldier should advance to the enemy soldier while the current velocity is maintained or the soldier should decelerate. This velocity distance also varies according to the soldier kinds. In the case of the foot soldier in this embodiment, the velocity distance is set to the same as the short-range region. When the determination is negative in step 658 , the process advances to step 662 , but when the determination is affirmative, in the next step 660 , the deceleration (for example, 2 m/s 2 ) for reducing the velocity to the enemy soldier is read out of RAM in which the deceleration has been stored in the initial setting process.
In step 662 , the short-range acceleration of the object soldier is calculated in the same manner as the above, and this short-range acceleration, and the approach acceleration and the deceleration which have been respectively stored in RAM in steps 650 and 660 are added for each of the components x, y and z to calculate the total acceleration ( z, y, z). In the next step 664 , the latest velocity and the latest position are calculated and stored in RAM according to the equation (3) and the approach sub-routine is terminated.
On the other hand, when the determination is affirmative in step 656 , in the step 666 , the latest velocity of the object soldier is set to 0, and in the next step 668 , the latest velocity and the latest position are calculated according to the equation (3) and stored in RAM. In the next step 670 , a random number is acquired. When the random number is odd, the status flag F L of the object soldier is taken to be attack and the status flag of the enemy soldier against the object soldier is taken to be defense, but when the random number is even, the status flags of the object soldier and the enemy soldier are reversed, and the approach process sub-routine is terminated.
As shown in FIG. 12 , in the attack process sub-routine, in step 682 , a drawing process for attack motion is instructed to the image processing section 23 , and in the next step 684 , a determination is made about whether or not an attack motion counter Am is 30 in order to determine whether or not the attack motion is terminated, so that a determination is made about whether or not a time required for the attack motion, or the attack counter Am the vertical blanking interruption time {fraction (1/60)} seconds 0.5 seconds have elapsed. When the determination is negative in the step, the attack motion is continuing so that in step 708 the value of the attack motion counter Am is incremented by 1, and the attack process sub-routine is terminated. When the determination is affirmative, in the next step 686 , the value of the attack motion counter Am is cleared (0).
In step 688 , the defense strength D of the enemy soldier of the battle object which has been stored in RAM previously is read out and in the next step 690 a random number value within a predetermined numeral range is obtained. Next, in step 692 , by determining whether or not the random number value is larger than the defense value, a determination is made about whether or not the attack to the enemy soldier has succeeded. When the determination is negative, the process advances to step 704 . When the determination is affirmative, 15 is decreased from the physical strength Hp of the enemy soldier in step 700 . It is to be noted that the value of the physical strength Hp of each soldier before entering in the battle process sub-routine is set to 100, and in order to express differences due to weapons, for example, when the soldier of the bow type has succeeded in attack, subtraction of 101 is performed, and when the soldier of the horse type has succeeded in attack, subtraction of 50 is performed. In the next step 702 , a determination is made about whether or not the physical strength Hp of the enemy soldier is smaller than 0. When an affirmative determination is made in the step, the status flag F L of the object soldier is taken to be enemy-search and the status flag F L of the enemy soldier is taken to be death in step 706 , and the attack process sub-routine is terminated. On the other hand, when the determination is negative, in order to conducting switching between attack and defense, the status flag F L of the object soldier is made defense and the status flag F L of the enemy soldier is made attack, and the attack process sub-routine is terminated.
As shown in FIG. 13 , in the defense process sub-routine, in step 712 , the drawing process of the defense motion is instructed to the image processing section 23 , and in the next step 714 , a determination is made about whether or not a defense motion counter Dm is 30 in order to determine whether or not the defense motion is terminated, so that a determination is made about whether or not a time required for the defense motion, 0.5 seconds have elapsed. When the determination is negative in the step, the defense motion is continuing so that in step 718 the value of the defense motion counter Dm is incremented by 1, and the attack process sub-routine is terminated. When the determination is affirmative, in the next step 716 , the value of the attack motion counter Am is cleared.
In separate process in step 620 in FIG. 9 , various processes such as a confrontation process (a state where a soldier watch an enemy soldier against each other), a fall process (state where a soldier of the horse soldier type falls down form a horse or an elephant), an escape process (state where a friend soldier escapes to the side opposed to an enemy soldier) or the like may be conducted.
On the other hand, when the determination is negative in step 510 in FIG. 8B , in step 514 , a wait process sub-routine for conducting waiting (stopping) in order to increase the attack power A and the defense strength D is executed. As shown in FIG. 14 , in the wait process sub-routine, in step 720 , the latest velocity of the object soldier is stored as 0 in RAM, and in the next step 722 , the previous position is stored as the latest velocity in RAM.
Also, when a negative determination is made in step 506 , in the next step 516 , a determination is made about whether or not the leader status value Ls is 0. When the determination is affirmative in step 516 , the process advances to step 520 , but when it is negative, a determination is made in step 518 about whether the status flag F L is attack or defense. When an affirmative determination is made, the process advances to step 520 . In step 520 , the status process sub-routine is called like step 512 . On the other hand, when a negative determination is made in step 518 , a concentration process sub-routine for concentrating soldiers about a leader to re-build an army formation is executed.
As shown in FIG. 15 , in this concentration process sub-routine 522 , the previous position f the leader and the previous position and velocity of the object soldier are read out 732 from RAM, and in the next step 734 , a concentrating acceleration for concentration about the leader is calculated according to the above-mentioned equation (4) and stored in RAM. In the next step 736 , the short-range acceleration of the object soldier is calculated like the above, and this short-range acceleration and the concentration acceleration which has been stored in RAM in step 734 are read out and they are added for each of the components x, y and a to the total acceleration ( z, y, z). In step 738 , the latest velocity and the latest position are calculated for each of the components x, y and z according to the above-mentioned equation (3).
In the next step 740 , a relative position of the object soldier to the leader in the army formation calculated and selected in step 106 of FIG. 4A is read out, and the current position of the object soldier to the current position of the leader is calculated as a concentration position to be concentrated. Next, in step 742 , a determination is made about whether or not the object soldier has concentrated at the concentration position by determining whether or not the position of the object soldier which has been calculated in step 738 is in a predetermined region of the concentration position which has been calculated in step 740 (for example, in a range of a circle or sphere defined by a radius of 1 m in the 3-dimensional virtual space). When a negative determination is made in step 742 , the process advances to step 746 , but when an affirmative determination is made, the latest velocity is made 0 (m/sec) in the next step 744 , and the latest velocity and the latest position which have been calculated in steps 738 and 744 are stored in RAM.
On the other hand, when the affirmative determination is made in step 504 of FIG. 8A , the army formation strength calculation sub-routine is called in the next step 524 , the attack power A, the defense strength D and the color correction value are calculated in the same manner as the step 222 of Fig. 5 . In step 526 , the position data and the color correction values of each soldier are transferred to the image processing section 23 and the battle process sub-routine is terminated so that the process advances to step 124 . Since such a process is conducted for each vertical blanking interruption ({fraction (1/60)} seconds), an aspect where the attack power A during a battle state varies momentarily is displayed on the TV monitor 4 .
Here, the battle process sub-routine shown in FIGS. 8A through 8B will be explained in a collecting manner. As shown in FIG. 23 , the leader F L of the army F moves in a direction of arrow FA where the leader of the army E exists in an advancing state unless there is an intervention of the player (stop instruction issued by operation of the button 38 ), but when an enemy soldier put in a non-battle state (for example, E78) exists in the predetermined range about the leader F L , the leader F L finally battles against the leader of the army E while the leader F L is battling against the enemy soldier. On the other hand, the soldier belonging to the army F advances towards the leader of the army E who the leader F L targets while the leader F L is advancing to the leader of the army E, as shown in FIG. 24 A. However, since the friend soldiers performs enemy-search to battle against an enemy soldier searched during the advancing state, the army formation is expanded gradually according to the time going on, which results in collapse of the army formation of the line-up state or movement state. Therefore, as shown in FIG. 17C , the number of support soldiers N become small, and the attack power A and the defense strength D become small. On the contrary, when an intervention of the player occurs through operation of the button 38 , as shown in FIG. 24B , the friend soldiers except for soldiers F 16 and F 60 who cannot concentrate due to that they are put in a battle state (the attack flag F L is attack or defense) concentrate about the leader F L to adjust the army formation. Therefore, the attack power A and the defense strength D of the soldier become large, and strong and weak points of the army formation can be recognized through white bright portion displayed on the TV monitor 4 .
Next, in step 124 of FIG. 4B , a determination is made about whether or not the leader has died by determining whether or not the status flag F L of the leader is dead. When the determination is affirmative, the process advances to step 128 , but when the determination is negative, a determination is made in the next step 126 about whether a line-up instruction for lining-up at a line-up position (refer to step 106 ) has issued. This instruction is issued by operation of the input device 3 , and it is taken in the CPU block 20 by the main process in step 120 . When a negative determination is made in step 126 , the process advances to step 118 . When an affirmative determination is made, a termination process is executed in step 128 . In this termination process, when the affirmative determination is made in step 124 , the image processing section 23 is caused to draw an image where the soldiers belonging to the army where the leader has died are routed. When the determination is affirmative in step 126 , the image processing section 23 is caused to draw an image where alive soldiers are returned back to the line-up position which has been calculated in step 104 and the army formation is re-arranged, and the battle routine is terminated.
(Second Embodiment)
Next, a second embodiment where the present invention is applied to a home-use video game device will be explained. In this embodiment, instead of the army formation strength calculation sub-routine shown in the first embodiment, an army formation strength calculation sub-routine with a different processing logic is employed. It is to be noted that in this embodiment, like constituent elements and process routine are denoted by like reference numerals in the first embodiment and description thereof will be omitted.
As shown in FIG. 25 , in an army formation strength calculation sub-routine of this embodiment, in step 802 , a determination is made about whether or not a support soldier count process on all the support soldiers has been terminated. When the determination is negative in the step, the position of the object soldier is read out in step 804 , and a determination is made in the next step 806 about whether or not the process on all the soldiers has been terminated. When a negative determination is made in step 806 , the process advances to the next step 808 , and when an affirmative determination is made, the process returns back to step 802 . That is, in step 802 to step 806 , as shown in FIG. 26 , all the soldiers except for the object soldiers are processed in the small number order of the object soldiers (the same process is conducted in the army E).
In the next step 808 , another soldier is read out and a determination is made in step 810 about whether the anther soldier is in the support region about the object soldier. When a negative determination is made in the step, the process returns back to step 806 , and when an affirmative determination is made, the counter for the number N of support soldiers for another soldier is incremented by 1 in the next step 812 and the process returns back to step 806 . That is, in step 806 to step 812 , as shown in FIG. 27A , assuming that the object solder is denoted by F 1 , the position thereof has been obtained in the above-mentioned step 804 , and the position of another soldier F 2 is read out in step 808 . In step 810 , as shown in Table 4, in case of the solder type foot soldier , a determination is made about whether or not the another soldier F 2 exists in the support region A 1 which is the predetermined region of breadth of 4 m length of 8 m in the 3-dimensional virtual space. Since the anther soldier F 2 exists, as the object soldier F 1 is a character which can support the another solder F 2 , the counter for the number N of support soldiers for the another soldier F 2 is incremented by 1 and the process returns back to step 806 . Next, in step 806 , the same process is performed on the next another soldier F 3 , and the counter for the number N of support soldiers for the anther soldier F 3 is incremented by 1. The same processing is performed until the number of processed soldiers reaches a predetermined number of other soldiers which has been preset in step 818 , i.e., another soldier F 100 is processed. Accordingly, in steps 802 to 812 , as shown in FIG. 27B , since the other soldiers F 2 , F 3 and F 4 exist in the support region A 1 about the object soldier F 1 , as these other soldiers can be supported by the object soldier, the counter for the number N of support soldiers is incremented 1 by 1, and since the another soldier F 3 exists in the support region A 2 about the object soldier F 2 , the counter for the number N of support soldiers for the another soldier F 3 is incremented by 1 (accumulated). The processing about the same accumulation is performed up to the object soldier F 100 .
TABLE 4 SUPPORT MAXIMUM VALUE OF SOLDIER AREA NUMBER N OF CORPS SOLDIER KIND a b (m 2 ) SUPPORT SOLDIERS FOOT FOOT SOLDIER 4 m 8 m 15 SOLDIER TYPE SPEARMAN BOW SHORT-RANGE 10 m 2 m 15 SOLDIER BOW SOLDIER TYPE LARGE BOW SOLDIER HORSE LIGHT 8 m 16 m 7 SOLDIER CAVALRYMAN TYPE LANCER HUNTING HORSE SOLDIER ELEPHANT SOLDIER Next, when an affirmative determination is made in step 802 , a determination is made in step 814 about whether the calculation of the color correction value has been performed on all the soldier. When a negative determination is made in the step, processings similar to step 306 to step 314 in FIG. 6 are performed in step 814 to 824 , and the process returns back to step 814 . On the other hand, when the determination is affirmative in step 814 , the army formation strength calculation sub-routine is terminated and the process advances to a step next to the original step.
As mentioned above, in the above embodiments, according to increase in the number of friend soldiers existing near the object soldier, namely, increase in a close degree of soldiers, the attack power and the defense strength of these soldiers are made large (accumulated) (refer to steps 304 , 310 and 312 in FIG. 6 , and steps 802 to 812 , 820 and 822 ). Therefore, in the case of the foot soldiers, as the close degree becomes higher, the attack power and the defense strength are increased, and in the case of the bow soldiers, as development in a transverse direction is increased, the attack power is made large. Thus, the group battle tactics can be expressed realistically. Since the embodiments are structured such that a formation (army formation) can be selected from a plurality of ones, unevenness distribution of strong and weak points in the formation can be expressed on the basis of a difference in magnitude of attack power and defense strength of each soldier. Therefore, since the attack power or the like of each soldier is calculated for each predetermined time ({fraction (1/60)} seconds), which is different from the conventional battle games where the attack power and the defense strength of each soldier or each group is uniformly calculated, or the attack power and the defense strength of each soldier or each group are set on the basis of congeniality such as a mora, for example, such a definition that a fish scale formation is stronger than a crane wing formation (v-shaped military formation) and a bee arrow formation is stronger than the fish scale formation, an aspect where the attack power or the like varies momentarily according to the change of the state of the group can be expressed. Moreover, since the embodiments are structured such that the attack power A is drawn after the color correction processing is performed in the image processing section 23 by calculating and transferring the color correction value (steps 314 , 224 , 436 , 526 and 824 ), a soldier with a large attack power A appears in a white bright manner, and the uneven distribution of attack power in the group can immediately be recognized. Accordingly, considering the formation of an enemy army, weapons of an enemy soldier, a distance from an enemy, the player can enjoy such a tactics as attack a weak point of an enemy group.
Incidentally, in the above embodiments, in order to define the vicinity of the object soldier, the support region defined by a horizontal length a (m) and a vertical length b (m) has been used. However, in this invention, it is not required that the support region is rectangular. For example, various support regions such as a circle, a sphere, a triangle, a polygon or the like can be used in this invention. Also, in the above embodiments, the number of support soldiers has been calculated assuming that the object soldier is positioned at a center of an upper end or a center of a lower end of a rectangle. However, the present invention is not limited to such a set position, but such a structure can be employed that the object soldier is positioned at a center of a support region or any position. Further, in the above embodiments, such a structure has been employed that a center of the virtual frame Wm is coincident with the position of the leader, but the center of the virtual frame Wm and the position of the leader may be calculated independently.
Also, in the above embodiments, the attack power and the defense strength have been calculated linearly according to the number N of support soldiers by the equations (1) and (2). However, such a configuration may be employed that the attack power and the defense strength are rapidly increased according to increase in the number N of support soldiers for example, a second-order function. Also, instead of color correction approaching to white linearly which is performed in the color correction process in the image processing section 23 , such a configuration may be employed that approaching to white is performed in a manner of a second-order function according to the color correction process. Furthermore, in the above embodiments, such a configuration has been employed that both the attack power and the defense strength are increased according to increase in the number of support soldiers N. However, in this invention, such a configuration may be employed that the attack power and the defense strength are changed according to different logics from each other. As one example, the support coefficient KD in the equation (2) may be set to minus so as to make small the defense strength of a portion with a high attack power. Furthermore, in the above embodiments, such a configuration has been employed that the color correction value is made equal to the number N of support soldiers for simplification of calculation. In this invention, such a configuration may be employed that the attack power (or the defense strength) is once calculated according to the above equations (1) and (2), and the color correction value to the calculated attack power is calculated by referring to a table with color correction values corresponding to, for example, 16-divided attack powers. According to such a configuration, even when there is no linear relationship between the attack power or the like and the number N of support soldiers, that is, even when the relationship between the number N of support soldiers and the attack power or the like is not maintained in a linear relationship, appropriate color correction can be performed in a stepping manner.
Further, in the above embodiments, such an example has been shown that the color tone of the entire of soldiers is uniformly corrected. In this invention, such a configuration may be employed that an image of a soldier is divided into 15 pieces from a front of the soldier to a rear thereof and the image is brightened white from the front to the rear in a sequential manner, or a predetermined portion of a soldier or a weapon is brightened white at 16 levels. Also, in this embodiments, such a configuration has been employed that a soldier is brightened white at 16 levels according to the attack power. In the invention, it is unnecessary that the brightness is limited to the 16 levels and the color is limited to white. That is, the present invention can be configured such that the player can recognize a soldier with a high attack power and/or the strong and weak points of the attack power of the army formation when he/she watches the TV monitor 4 . Accordingly, for example, such a configuration can be employed in this invention that a plurality of images different only in color tone are prepared according to levels of attack power of to the same soldier in advance and one of the prepared images is selected according to the color correction value.
Also, in the above embodiments, such an example has been disclosed that the calculations of attack power and color correction value for each soldier are performed for each vertical blanking interruption. Such calculations may be made for each five vertical blanking interruptions, for example, in view of loads on a sub-CPU (not shown) of the CPU block 20 or the image processing section 23 . Further, the calculations of the attack power, the defense strength and the color correction value can be made according to different number of times of the vertical blanking interruption, respectively.
Moreover, in the above embodiments, such a configuration has been employed that the color correction processing is made by the sub-CPU of the image processing section 23 , but the processing may be made by CPU of the CPU block 20 . Also, in the above embodiments, such a configuration has been employed that by reading out the recording medium 1 with a game program recorded thereon by the medium reading section 22 , the program is transferred to RAM. Such a configuration can be employed that, without providing the medium reading section 22 , the game program is stored in ROM and the game program is read out from ROM. When such a configuration is employed, the present invention can be structured as an exclusive machine for game. Further, in the above embodiments, the example where a CD-ROM is used as the recording medium has been explained. Even when a ROM cartridge, a floppy disk with a mass volume, a magnet-optical disk or the like, which can be loaded in RAM of the CPU block 20 is used, the present invention is applicable to a device with a medium reading section for such a recording medium.
In the above embodiments, various set values and the calculation equations have been disclosed as one example, but the present invention is not limited to these values and equations. It is obvious to those skilled in the art that the present invention can be modified in various manners within the scope or spirit of the present invention herein claimed.
Claims
- A character group battle method in which a plurality of characters that are displayed in a three-dimensional virtual space form groups of friends and enemies that battle against one another, comprising the steps of: calculating the position of each of the characters in the three-dimensional virtual space;calculating the character number of the other one or more friend characters existing in a predetermined region about the character;and calculating at least one of an attack or a defense value respectively expressing at least one of an attack power or a defense strength of the character on the basis of the character number.
- The character group battle method according to claim 1 , wherein a line-up position of the characters is calculated on the basis of an army formation of the group selected by one of a player and a computer.
- The character group battle method according to claim 2 , wherein an army formation of the group during group movement has a similar shape to the army formation of the group in the line-up position of the character.
- The character group battle method according to claim 1 , wherein the predetermined region is selected from a region group which is predetermined according to the personality of the character.
- The character group battle method according to claim 1 , wherein at least one of the attack value or the defense strength is limited to a maximum value which is predetermined when the character number exceeds the maximum value.
- The character group battle method according to claim 1 , further comprising the step of calculating a change value for changing expression of the character in the three-dimensional virtual space on the basis of at least one of the attack value or the defense value.
- A character group battle method in which a plurality of characters that are displayed in a three-dimensional virtual space form groups of friends and enemies that battle against one another, comprising the steps of: calculating the position of each character in the three-dimensional virtual space, when one or more other friend characters exist within a predetermined region about the character, accumulating, as the character capable of supporting one or more of the other friend characters, the character number of supportable characters which can support the other one or more friend characters for the character;and calculating at least one of an attack value or a defense value expressing at least one of an attack power or a defense strength of each character on the basis of the accumulated character number.
- The character group battle method according to claim 7 , wherein a line-up position of the characters is calculated on the basis of an army formation of the group selected by one of a player and a computer.
- The character group battle method according to claim 8 , wherein an army formation of the group during group movement has a similar shape to the army formation of the group in the line-up position of the characters.
- The character group battle method according to claim 7 , wherein the predetermined region is selected from a region group which is predetermined according to personalities of the characters.
- The character group battle method according to claim 7 , wherein at least one of the attack value or the defense strength is limited to the predetermined maximum value when the character number exceeds the maximum value.
- The character group battle method according to claim 7 , further comprising the step of calculating a change value for changing expression of the character in the three-dimensional virtual space on the basis of at least one of the attack value or defense value.
- A computer-executable program stored on a computer-readable medium, said program comprising a process that comprises the character group battle method of claim 1 .
- A computer-readable recording medium on which there has been recorded a computer-executable program, said program comprising a process that comprises the character group battle method of claim 1 .
- A computer-executable program stored on a computer-readable medium, said program comprising a process that comprises the character group battle method of claim 7 .
- A computer-readable recording medium on which there has been recorded a computer-executable program, said program comprising a process that comprises the character group battle method of claim 7 .
- A game device which can record a character group battle program in a storing section, the character group battle program in which a plurality of characters that are displayed in a three-dimensional virtual space form groups of friends and enemies that battle against one another, comprising: a position calculator for calculating the position of each of the characters in the three-dimensional virtual space;a character number calculator for calculating the character number of one or more friend characters existing within a predetermined region about each of the characters;and an attack value and defense value calculator for calculating at least one of an attack value or a defense value respectively expressing at least one of an attack power or a defense strength of each of the characters on the basis of the character number calculated by the character number calculator.
- The game device according to claim 17 , further comprising a change value calculator for calculating a change value for changing expression of the characters in the three-dimensional virtual space on the basis of at least one of the attack value or the defense value expressing at least one of the attack power or the defense strength of the characters calculated by the attack value and defense value calculator.
- A game device which can record a character group battle program in a storing section, the character group battle program being configured such that a plurality of characters that are displayed in a three-dimensional virtual space form groups of friends and enemies that battle against one another, comprising: a position calculator for calculating the position of each of the characters in the three-dimensional virtual space;an accumulator for, when one or more of other friend characters exist within a predetermined region about one character at the characters, accumulating, as the one character capable of supporting one or more at the other friend characters, the character number of supportable characters which can support the other friend characters for each of the characters;and an attack value and defense value calculator for calculating at least one of an attack value or a defense value expressing at least one of an attack power or a defense strength of the characters on the basis of the accumulated character number.
- The game device according to claim 19 , further comprising a change value calculator for calculating a change value for changing expression of the characters in the three-dimensional virtual space on the basis of at least one of the attack value or defense value expressing at least one of the attack power or the defense strength of the characters calculated by the attack value and defense value calculator.
Disclaimer: Data collected from the USPTO and may be malformed, incomplete, and/or otherwise inaccurate.