_CJ360_ wrote:Thx big no don't confuse me much, have you looked at Ryosuke's gun accesory script? It is long but I'm trying to figure out what makes the flashlight, suppressor, and Scope. With all the stuff its hard to figure out. :insert_missing_dizzy_smiley_here:
Yes, I have looked at all of Ryosuke's script's that he makes. I very much like his scripting styles. Ryosuke posted his source of the script there:
It's kind of easy to understand from looking at the source code. It's much more readable than the decompile version Sanny Builder does. The most important stuff is done at the top of the script. ))
The flashlight is created with the opcode (09E5).
The Scope is a texture, that is loaded if that's what you mean. =)
If you want to find out what part does what without reading all the script, at the start is the keypresses, stored in the const..end function, so say the suppressor which is turned on/off by the "~ Convsation Yes ~" key (11), this is stored at:
So search down in the script for this, and you will find the part, which does what, after the "~ Convsation Yes ~" key is pressed.
Also, you should read Ryosuke's blog, he posts many of his sources and such there. And has intresting things to show. (I am unsure weather if you can read Japanese or not. )