±Recent Visitors

Recent Visitors to Com-Central!

±User Info-big


Welcome Anonymous

Nickname
Password

Membership:
Latest: Angiolillo
New Today: 0
New Yesterday: 0
Overall: 6587

People Online:
Members: 0
Visitors: 21
Total: 21
Who Is Where:
 Visitors:
01: Community Forums
02: Your Account
03: Community Forums
04: Home
05: Community Forums
06: Community Forums
07: Community Forums
08: Community Forums
09: Community Forums
10: Home
11: Community Forums
12: Community Forums
13: Community Forums
14: Community Forums
15: Your Account
16: Community Forums
17: Community Forums
18: Photo Gallery
19: Community Forums
20: Community Forums
21: Photo Gallery

Staff Online:

No staff members are online!
Reducing size of ships waypoint paths in the .mis file
This is for General Discussions about the IL2 game and expansion packs!
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ›  IL2/FB/AEP/Pacific Fighters

View previous topic :: View next topic  
Author Message
wheelsup_cavu
Power User

Offline Offline
Joined: Mar 28, 2010
Posts: 825
Location: Corona, California
PostPosted: Sun Jan 08, 2017 3:35 pm
Post subject: Reducing size of ships waypoint paths in the .mis file

This tip only works with ships since they are not following the terrain of the map.

[0_Chief_Road]
-305273.56 -378280.38 120.00 0 395 7.330833911895752
-305664.63 -378364.13 120.00
-306055.66 -378447.84 120.00

Several lines removed to keep post size reasonable

-458564.88 -411106.50 120.00
-458955.91 -411190.22 120.00
-459346.97 -411273.97 120.00 0 267 7.330833911895752
-459726.09 -411148.75 120.00
-460105.22 -411023.56 120.00

Several lines removed

-559437.50 -378219.56 120.00
-559816.63 -378094.38 120.00
-560195.75 -377969.16 120.00 0 235 7.330833911895752
-560577.50 -378088.88 120.00
-560959.25 -378208.59 120.00

Several lines removed

-648763.75 -405743.09 120.00
-649145.50 -405862.81 120.00
-649527.25 -405982.53 120.00 0 182 7.330833911895752
-649910.75 -405872.47 120.00
-650294.25 -405762.41 120.00

Several lines removed

-718171.25 -386282.00 120.00
-718554.75 -386171.94 120.00
-718938.25 -386061.88 120.00


Remove all of the lines "Except" the ones with ships speeds and the very last line.
[0_Chief_Road]
-305273.56 -378280.38 120.00 0 395 7.330833911895752
-459346.97 -411273.97 120.00 0 267 7.330833911895752
-560195.75 -377969.16 120.00 0 235 7.330833911895752
-649527.25 -405982.53 120.00 0 182 7.330833911895752
-718938.25 -386061.88 120.00


Now change the number of code lines to 2 for each line. This tip reduces 1079 lines of code to 5. (395 + 267 + 235 + 182 = 1079)
[0_Chief_Road]
-305273.56 -378280.38 120.00 0 2 7.330833911895752
-459346.97 -411273.97 120.00 0 2 7.330833911895752
-560195.75 -377969.16 120.00 0 2 7.330833911895752
-649527.25 -405982.53 120.00 0 2 7.330833911895752
-718938.25 -386061.88 120.00


You will have to add more waypoint locations if your edit causes the ship to travel through terrain but it will almost always be fewer lines of code in the .mis file than what the game automatically generates.


Wheels

_________________
Cheers Smile
Wheelsup_cavu
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ›  IL2/FB/AEP/Pacific Fighters
Page 1 of 1
All times are GMT - 6 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum