Muzzle Flash Position

OpenSpades is an open source alternative client for AoS Classic and beyond! Runs on Windows, Mac, and Linux. Created by yvt.
Compatible with AoS Classic.
10 posts Page 1 of 1 First unread post
MaxShadow
Deuce
Posts: 20
Joined: Sun Jun 15, 2014 6:46 pm


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?
MaxShadow
Deuce
Posts: 20
Joined: Sun Jun 15, 2014 6:46 pm


soo, nobody knows how the scripting works? ._.
Warp
Green Master Race
Green Master Race
Posts: 704
Joined: Mon May 19, 2014 4:07 pm


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.
yuiop
Veterans
Veterans
Posts: 75
Joined: Mon May 26, 2014 8:31 pm


How do you modify AS files? o_o
Warp
Green Master Race
Green Master Race
Posts: 704
Joined: Mon May 19, 2014 4:07 pm


Like you would modify a .txt file. Open it in a editor, save, (profit?)
yuiop
Veterans
Veterans
Posts: 75
Joined: Mon May 26, 2014 8:31 pm


I better get to modifying them then... Can I modify them with notepad++?
MaxShadow
Deuce
Posts: 20
Joined: Sun Jun 15, 2014 6:46 pm


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.
yuiop
Veterans
Veterans
Posts: 75
Joined: Mon May 26, 2014 8:31 pm


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.
bloodfox
Post Demon
Post Demon
Posts: 2206
Joined: Mon Oct 21, 2013 4:32 pm


Man I love modifing these scripts :D
Thresh
3 Years of Ace of Spades
3 Years of Ace of Spades
Posts: 62
Joined: Mon Mar 18, 2013 7:02 pm


this is on my nerves as well here is whats happening:
Image
another example:
Image
WHAT DO I DOO

mod creds: MadnessBoy's SMG FN-FAL
10 posts Page 1 of 1 First unread post
Return to “OpenSpades Discussion”

Who is online

Users browsing this forum: No registered users and 15 guests