Forum Discussion
8 years ago
Hi everyone ! Someone can help me ?
After create a mod, we have to do these step:
Creating the .ts4script
- Copy paste the .py inside your Python install directory
- Open a command line console (cmd on Windows)
- Run Python 3.3 with the -O option (eg C://Python33/Python.exe -O)
- Import the .py (eg import Neia_Careers_Law.py)
- Get the .pyo from the __pycache__ subdirectory
- Add both the .pyo and .py to a zip file
- Change the extension to .ts4script
I don't know how to do that ^^ I have just change the extension and the mod works in my game but I would like to learn how to do these step.
I have another question: how can we add chance cards to our carreer mod ?
And what is PTO Tooltip ?
Thank you very much !
And Happy new year !
And sorry for my bad english ^^
After create a mod, we have to do these step:
Creating the .ts4script
- Copy paste the .py inside your Python install directory
- Open a command line console (cmd on Windows)
- Run Python 3.3 with the -O option (eg C://Python33/Python.exe -O)
- Import the .py (eg import Neia_Careers_Law.py)
- Get the .pyo from the __pycache__ subdirectory
- Add both the .pyo and .py to a zip file
- Change the extension to .ts4script
I don't know how to do that ^^ I have just change the extension and the mod works in my game but I would like to learn how to do these step.
I have another question: how can we add chance cards to our carreer mod ?
And what is PTO Tooltip ?
Thank you very much !
And Happy new year !
And sorry for my bad english ^^