Just for fun: call graph for scripts, simple_triggers, and triggers

Users who are viewing this thread

sphere

Grandmaster Knight
Prob only fun for scripters...

There are tonnes of other entry points (dialogs, game_menus, presentations etc), but after I added the calls from dialogs, I took it out again (you don' t want to know what I saw....)

Now, it only contains the calls from scripts, simple_triggers and triggers...
the jpeg image is over 4 MB, you are warned....

http://www.filedropper.com/testcallgraph
 
Hatonastick said:
Hey that's neat.  What software mapped that out for you?

I wrote simple python script to parse the actual objects in module_scripts.py and output the text in Graphviz dot format.  Then I dump it into GVEdit (graphviz.  opensource,. just google for it) and generate the graph..  At first it was several times longer due to the long script name, so I did another pass of search and replace so that all the "_" in script names changed to newlines.  Then I did the same for triggers and simple_triggers... but I stopped and backtracked after dialogs... it got too messy....
 
Back
Top Bottom