[EngiN33R] Custom Weapons 
140 comments Finally, I'm uploading the long-awaited (or not so much so now) script that is the custom weapons mod!
This modification allows you to add your very own weapons to the game. Naturally, owing to CS2D's limitations, it doesn't simulate real weapons to the fullest extent, but it's the first step toward that, and dare I say, quite a big one. Hopefully now all the whiners will stop whining as much.
To-do list:
Make custom weapons hurt buildings
Implement support for projectile-based custom weapons
Implement support for melee custom weapons
Remove the bufferimg workaround and do the bloody thing properly
If you have the need to edit the script, the code is commented in the most part; if you do not understand something - let me know in PM. If you have, for some reason, the intention to upload your modified script - I do not prohibit that, just be so kind as to mention what you based your edit on.
This is, of course, a beta version, and its features are quite limited. I will continue developing it further, the next thing to do is to add projectile-based custom weapon functionality. Please do leave feedback and report bugs if such are found.
EDIT: My apologies, I've now uploaded the missing files. The archive should be complete now and the script should work properly.
Another missing sprite has been added for the ammo box.
This modification allows you to add your very own weapons to the game. Naturally, owing to CS2D's limitations, it doesn't simulate real weapons to the fullest extent, but it's the first step toward that, and dare I say, quite a big one. Hopefully now all the whiners will stop whining as much.
To-do list:




If you have the need to edit the script, the code is commented in the most part; if you do not understand something - let me know in PM. If you have, for some reason, the intention to upload your modified script - I do not prohibit that, just be so kind as to mention what you based your edit on.
This is, of course, a beta version, and its features are quite limited. I will continue developing it further, the next thing to do is to add projectile-based custom weapon functionality. Please do leave feedback and report bugs if such are found.
EDIT: My apologies, I've now uploaded the missing files. The archive should be complete now and the script should work properly.
Another missing sprite has been added for the ammo box.
edited 4×, last 05.07.12 05:57:14 pm

Comments
140 commentsLog in!
You need to log in to be able to write comments!Log in

@
Avo: It's not about the OPs. It's about the files. Rate the them, not the OPs.
Avo has written:
You like EVERY file uploaded by idiots.
____
I just noticed that some weapons don't have skins. Not a big problem since I can put other files in the folders, but still.


I just don't like files uploaded by stupid assholes and idiots
You like EVERY file uploaded by idiots.
____
I just noticed that some weapons don't have skins. Not a big problem since I can put other files in the folders, but still.

@
Seekay: Oh, I just don't like files uploaded by stupid assholes or idiots...

edited 1×, last 05.07.12 12:02:32 am

@
Jela331:
It doesn't crash for me.
Everything works like it should, well how Engi said, it's all just beta.

It doesn't crash for me.
Everything works like it should, well how Engi said, it's all just beta.
@
omg: Don't worry, I know. Plus, in later versions of the library it's done like that.
@
BlazingStan: No problem, it's quite an awesome gun
@
krabob: Its lag levels have been tested to be very low - the bullets are single images, all they add is about 5 to 10 ms of ping when one individual fires - I haven't tested it massively.
@
FrozerBlue: Look at the weapons table, it's commented well. You have to change rid from 78 (claw) to something else.

@


@

@

edited 2×, last 04.07.12 08:34:01 pm