Quake Trigger Text Converter (QTTC - Python script)

Chuma

Member
Mar 15, 2023
34
21
8
30
Venezuela
Chuma submitted a new resource:

Quake Trigger Text Converter (QTTC - Python script) - Trigger text converter utility script

QTTC (Quake Trigger Text Converter)

For a while i've been doing manually all my text input into Quake via Trenchbroom, using Word and notepad to make small quick notes.
I decided to make a small script to automate the process, and of course, have fun in the journey (with the help of my friend Nepta in coding).
While mappers may just do it on their own manually and naturally i decided to make a small python script to help me, and maybe others.

How to run it and what does is it...

Read more about this resource...
 
If I may offer some criticism: It's not very user-friendly to require users to save a file to open in notepad to copy text into Trenchbroom. This should be doable from one application. If you aren't aware, there is a text area widget (https://tcl.tk/man/tcl8.6/TkCmd/text.htm you'll have to translate from Tcl to Python) that supports multiple lines that can be copied out of. I would recommend replacing the entry with it, and changing the "preview" function to modify the text in-place.

Second, what I think would be a "killer" feature is to have a button that copies the text of a trigger_relay entity into the system's paste buffer so the entire entity can be pasted into a map. This would save users the trouble of copying lines into the message fields.
 
  • Like
Reactions: Chuma