Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

The time now is Sun Jun 04, 2023 10:12 am
All times are UTC + 0
MISTEST - a script to test mission map code, and check map objects for errors
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Defense Minister

Joined: 09 Feb 2015

PostPosted: Fri May 26, 2023 8:53 am    Post subject:  MISTEST - a script to test mission map code, and check map objects for errors
Subject description: (also tests multiplayer map scripting and effects)
Reply with quote  Mark this post and the followings unread

Mission Tester is designed primarily to help troubleshoot mission maps, but is useful for quickly resolving trigger or object placement errors on mutiplayer maps as well. It will warn of errors like objects outside of the map bounds, often caused by resizing maps, it will find errors like missing waypoints for actions, or even non-existent sounds being played.

Unlike most of the error checking scripts, this one is operated by dragging a map onto the batchfile. MISTEST will then analyze the map, both internally and in relation to the game inis, then spit out the results in mission.log for reading. The log will have severity notes for everything discovered, though some might be a higher severity than actually needed in every case, because sometimes that error is in fact more serious, but it can't determine when it isn't.

The script will be very useful to anyone converting/porting maps from one mod to another, exposing things that aren't available, or improperly selected because the declaration lists don't match. It will notify you of ambiguous errors like a trigger creating teams with units that don't belong to the same country, or point out that some map scripting or objects are never actually used.

The most common errors errors are typically to do with pre-placed buildings or units overlapping, or infantry in sub-cell locations where FA2 traditionally (erroneously) doesn't display them. Also common is when editing actions, sometimes the very last text field entered isn't recorded by FA2, resulting in a null value that's only apparent when re-visiting that action again. As such it can be a useful test to run on any map that has been completed.

As always the mistest.tcl will have to be edited to set the important flienames and path. Further options allow the recording of unused objects/code, and whether to limit it to the original RA2 without YR expansion limitations.

Current version: 5.3

 Filesize:  476.67 KB
 Viewed:  66 Time(s)



 Filename:  mistest5.rar
 Filesize:  10.8 KB
 Downloaded:  1 Time(s)


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply

If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.

Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

You can post new topics in this forum
You can 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

Powered by phpBB © phpBB Group

[ Time: 0.1477s ][ Queries: 14 (0.0118s) ][ Debug on ]