Page 1 of 1
Muzzle Flash Position
Posted: Sun Jun 15, 2014 6:54 pm
by MaxShadow
Hi people, I have been experimenting with the new scripting system for custom weapons. I managed to change the size and position of the weapon and ironsights, but I can't find anything to move the Muzzle Flash. I edited the script for a custom rifle that was too small and misaligned. I made it a bit bigger and moved it up, but now the muzzle flash is in the middle of the weapon. Do anyone know how to change that?
Re: Muzzle Flash Position
Posted: Tue Jun 17, 2014 2:32 am
by MaxShadow
soo, nobody knows how the scripting works? ._.
Re: Muzzle Flash Position
Posted: Tue Jun 17, 2014 7:58 am
by Warp
Evidently not. If I were you, I would try and find it in the files for the game, it may be in the AS files, but might be in the exe.
The Github search is very useful.
Re: Muzzle Flash Position
Posted: Tue Jun 17, 2014 1:50 pm
by yuiop
How do you modify AS files? o_o
Re: Muzzle Flash Position
Posted: Tue Jun 17, 2014 2:14 pm
by Warp
Like you would modify a .txt file. Open it in a editor, save, (profit?)
Re: Muzzle Flash Position
Posted: Tue Jun 17, 2014 5:45 pm
by yuiop
I better get to modifying them then... Can I modify them with notepad++?
Re: Muzzle Flash Position
Posted: Tue Jun 17, 2014 7:07 pm
by MaxShadow
Yeah sure, I think that notepad++ highlights the code and makes it easier to read, or something like that. The only files you would want to modify are the ones inside pak010-BaseSkin.pak/Script/Skin/[Weapon Name]/. After the "void AddToScene() {" you'll find vectors you can modify to move and resize everything.
Re: Muzzle Flash Position
Posted: Tue Jun 17, 2014 7:09 pm
by yuiop
cool! I will get to modifing it. So, I looked into the .as files and I don't know what to do. I just wanna edit something to see how it works but I don't know if I should put true or false.
Re: Muzzle Flash Position
Posted: Thu Jun 19, 2014 5:47 pm
by bloodfox
Man I love modifing these scripts :D
Re: Muzzle Flash Position
Posted: Tue Jun 24, 2014 12:24 am
by Thresh
this is on my nerves as well here is whats happening:

another example:

WHAT DO I DOO
mod creds: MadnessBoy's SMG FN-FAL