Page 1 of 1

Customize a script?

Posted: Sat Sep 14, 2013 8:53 pm
by Thorean
I was wondering, how do I modify a pysnip script. For example, I want to make it so that I have 5 medkits instead of just 1. Is there a way to do that? Also, how do I open a pysnip file? (.py and .pyo)

Re: Customize a script?

Posted: Sat Sep 14, 2013 9:44 pm
by learn_more
try a texteditor.

Re: Customize a script?

Posted: Sun Sep 15, 2013 3:57 am
by Thorean
learn_more wrote:
try a texteditor.
Ohh yah, duh... What is the difference between a py and a pyo? Whenever I open a py, it works but the pyo is just a bunch of weird symbols...

Re: Customize a script?

Posted: Mon Sep 16, 2013 2:25 am
by colorpinpoint
Thorean wrote:
learn_more wrote:
try a texteditor.
Ohh yah, duh... What is the difference between a py and a pyo? Whenever I open a py, it works but the pyo is just a bunch of weird symbols...
.py is the uncompiled version while .pyo is the compiled one.

Re: Customize a script?

Posted: Fri Oct 04, 2013 6:06 pm
by Kuma
Also you can add the following lines to change the number of medkits or how much they heal(in your config file)
Code: Select all
'medkits' : number of medkits
'medkit_heal_amount' : health
add this at the end inside the curly brackets

Re: Customize a script?

Posted: Fri Oct 04, 2013 9:06 pm
by Thorean
Kuma wrote:
Also you can add the following lines to change the number of medkits or how much they heal(in your config file)
Code: Select all
'medkits' : number of medkits
'medkit_heal_amount' : health
add this at the end inside the curly brackets
Yah, I found that out myself.