Sajmon's Tracks
Kitchen Cookout released!!!
- Franch88
- MM2X Admin
- Posts: 15759
- Registered for: 17 years
- Location: Italy
- Been thanked: 1 time
- Contact:
Very nice work, from the hudmap it's still a bit too little, but probably it'll be more big.
For the opponents, you have to set the .pathset files to decide their running directions and paths.
For the opponents, you have to set the .pathset files to decide their running directions and paths.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|
|Franch88's MM2 Releases|
- Franch88
- MM2X Admin
- Posts: 15759
- Registered for: 17 years
- Location: Italy
- Been thanked: 1 time
- Contact:
Ok for the hudmap. Great that you'll use the same water texture of the game, so with all its features.
The races files are the .csv ones for the checkpoints positions, and there's one for each race, while the .aimap and .aimap_p files have the same content and they aren't so important, especially if the track don't have traffic and don't uses the .bai file.
If it uses traffic, it can have opponents, and they're managed by the .opp file, not the .pathset one; this last is used to put objects in the race, like the path barricades, present in the in-game cities races.
In the .opp files are present values very similar to the oens in the race .csv file, but can't be used the same ones. In these files are present the PSDL insersections values that let control the car on the road, but I don't know a lot of them (this is why hardly a cop car can follow you away from the roads). There are the files associated to the .aimap file (circuit0-a-0.opp) and the other files associated to the .aimap_p file (circuit0-p-0.opp). The values in both the files for each car opponent can be the same.
Here an example of the files for the circuit0 race in SF.
File circuit0.aimap. In this file are selected the opponent cars to use for the race.
File circuit0.aimap_p.
File circuit0waypoints.csv. File for the race checkpoints positions.
File circuit0-a-0.opp. This file control the opponent car letting it driving on the road controlling its directions and brakes.
The opponents can be a maximum of 8, and plus the player car all the cars in the race are a total of 9. So the .opp files will go from circuit0-a-0.opp to circuit0-a-7.opp. The same limit is for the check point races.
In the races files to set the opponent number is possible to set more than 8 opponents, but when the 9th opponent car will pass throught the first next checkpoint, the game crashes. The 9th racer, that's your player car, have a "$" number instead of "9" on the top, and this should be the why isn't possible to set more than 8 opponents in a checkpoint or circuit race..
PS: I've explained something about the races in an MM2 city, not only what you've asked.
The races files are the .csv ones for the checkpoints positions, and there's one for each race, while the .aimap and .aimap_p files have the same content and they aren't so important, especially if the track don't have traffic and don't uses the .bai file.
If it uses traffic, it can have opponents, and they're managed by the .opp file, not the .pathset one; this last is used to put objects in the race, like the path barricades, present in the in-game cities races.
In the .opp files are present values very similar to the oens in the race .csv file, but can't be used the same ones. In these files are present the PSDL insersections values that let control the car on the road, but I don't know a lot of them (this is why hardly a cop car can follow you away from the roads). There are the files associated to the .aimap file (circuit0-a-0.opp) and the other files associated to the .aimap_p file (circuit0-p-0.opp). The values in both the files for each car opponent can be the same.
Here an example of the files for the circuit0 race in SF.
File circuit0.aimap. In this file are selected the opponent cars to use for the race.
Code: Select all
# Default Road Speed Limit
[Speed Limit]
15
# Ambient Traffic Exceptions
# Rd Id, Density, Speed Limit
[Exceptions]
0
# Police Init
# Geo File, StartLink, Start Dist, Start Mode, Start Lane, Patrol Route
[Police]
0
# Opponent Init
# Geo File, WavePoint File
# vpfer vpbug vpcaddie vpmtruck
[Opponent]
4
vpbug circuit0-a-0.opp 0.60 0 50.000000 0.700000 0 1 0 1 0 1.000000
vpbug circuit0-a-1.opp 0.62 0 50.000000 0.700000 0 1 0 1 0 1.000000
vpbug circuit0-a-2.opp 0.64 0 50.000000 0.700000 0 1 0 1 0 1.000000
vpbug circuit0-a-3.opp 0.57 0 50.000000 0.700000 0 1 0 1 0 1.000000
Code: Select all
# Default Road Speed Limit
[Speed Limit]
15
# Ambient Traffic Exceptions
# Rd Id, Density, Speed Limit
[Exceptions]
0
# Police Init
# Geo File, StartLink, Start Dist, Start Mode, Start Lane, Patrol Route
[Police]
0
# Opponent Init
# Geo File, WavePoint File
# vpfer vpbug vpcaddie vpmtruck
[Opponent]
4
vpbug circuit0-p-0.opp 1.00 0 50.000000 0.700000 1 1 1 1 0 1.000000
vpcaddie circuit0-p-1.opp 0.88 0 50.000000 0.700000 1 1 1 1 0 1.000000
vpcaddie circuit0-p-2.opp 0.90 0 50.000000 0.700000 1 1 1 1 0 1.000000
vpcaddie circuit0-p-3.opp 0.85 0 50.000000 0.700000 1 1 1 1 0 1.000000
Code: Select all
x,y,z,a,poly count,frane rate,state changes,texture changes,msg
-1689.286011,44.973995,-62.809006,-90.398880,11,0,0,0,
-1783.301147,34.739986,-62.224995,-89.672829,11,0,0,0,
-1953.747681,37.812469,-63.337997,-90.474686,11,0,0,0,
-2146.012451,22.044998,121.320007,182.231003,11,0,0,0,
-2143.738525,15.850100,273.850006,153.680023,13,0,0,0,
-1997.705200,37.493000,279.695007,88.875984,11,0,0,0,
-1740.173340,43.313332,280.072479,90.813210,13,0,0,0,
-1644.041138,44.849998,278.739014,73.549004,12,0,0,0,
-1628.137939,59.809998,44.381863,0.551293,13,0,0,0,
Code: Select all
x,y,z,brake,forward offset,side offset,target speed,speed start,side start
-1700.000732,43.460361,-69.360390,91.249046,0,0,0,0,0
-1630.754150,49.914387,-66.647179,0.000000,0,0,0,0,0
-1795.783325,34.850105,-70.781670,0.000000,0,0,0,0,0
-1972.422852,37.850105,-70.163918,0.000000,0,0,0,0,0
-2155.855225,18.850115,51.851582,0.000000,0,0,0,0,0
-2152.988525,23.850124,169.777603,0.000000,0,0,0,0,0
-2134.149414,15.850115,279.645599,0.000000,0,0,0,0,0
-1958.791748,41.350101,279.400909,0.000000,0,0,0,0,0
-1775.626953,42.849998,279.386536,0.000000,0,0,0,0,0
-1629.040771,44.850006,267.104645,0.000000,0,0,0,0,0
-1628.840576,49.850075,153.705826,0.000000,0,0,0,0,0
-1628.380493,59.850098,38.162525,0.000000,0,0,0,0,0
-1645.299927,49.850109,-69.795197,0.000000,0,0,0,0,0
-1720.247559,41.102741,-74.494232,0.000000,0,0,0,0,0
In the races files to set the opponent number is possible to set more than 8 opponents, but when the 9th opponent car will pass throught the first next checkpoint, the game crashes. The 9th racer, that's your player car, have a "$" number instead of "9" on the top, and this should be the why isn't possible to set more than 8 opponents in a checkpoint or circuit race..
PS: I've explained something about the races in an MM2 city, not only what you've asked.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|
|Franch88's MM2 Releases|
- dummiesboy
- MM2X Super Active User
- Posts: 2430
- Registered for: 15 years 10 months
- Location: USA
- Been thanked: 1 time
- Contact:
- Franch88
- MM2X Admin
- Posts: 15759
- Registered for: 17 years
- Location: Italy
- Been thanked: 1 time
- Contact:
Great progresses in your city, it looks very nice to drive, nice buildings. What is its name? I think that you haven't still said it.
Nice new cop car, I guess that's the NFS6 one.
Nice new cop car, I guess that's the NFS6 one.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|
|Franch88's MM2 Releases|
- HummersRock
- MM2X Super Active User
- Posts: 2152
- Registered for: 17 years 6 months
- Location: Floating in The Land of Colours
- Contact: