Home / Forums / Modders Corner / Mafia Editing / Mafia mods / Developer (debugging) mode on.

Developer (debugging) mode on.

Home / Forums / Modders Corner / Mafia Editing / Mafia mods / Developer (debugging) mode on.

3 replies
13 years, 10 months ago
#6643

Does somebody know, how to turn on the debugging mode in Mafia?

There are script, that sends debug texts to game and I’d like to read them smile.png” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

13 years, 10 months ago
#15276

Does somebody know, how to turn on the debugging mode in Mafia?

There are script, that sends debug texts to game and I’d like to read them <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

 

I don’t know how do it, but when I’m debugging scripts I create some debug strings in textdb_xx.def file and I use console_addtext nnnn command, where nnnn is the ID in textdb_xx.def file.

13 years, 10 months ago
#15313
Does somebody know, how to turn on the debugging mode in Mafia?

There are script, that sends debug texts to game and I’d like to read them <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

 

I don’t know how do it, but when I’m debugging scripts I create some debug strings in textdb_xx.def file and I use console_addtext nnnn command, where nnnn is the ID in textdb_xx.def file.

 

You can also use entity_script ssss command, where ssss is the string (directly, not ID) whitout quotations.

It displays new window, but this command works only in human scripts, not standard scripts.

13 years, 10 months ago
#15314

Thank You, I solved it via console_addtext.

  • You must be logged in to reply to this topic.