Page 1 of 1

[Mode] Melee with Weapon Selection

Posted: 25 Jun 2013, 16:45
by Darkminus
Hello!
Since I've got a lot of free time for next weeks. I'm gonna improve my ManiaScript skills.
Today, I'll show you a very little mode I made, based on Melee.

Basically it's Melee from Nadeo, with the ability to choose your Weapon by pressing F3, then the interface to choose appears (I taken it from Siege and adapted it to my needs) and you get your weapon at next respawn.

This is pretty simple, but I wanted to give a try with Netread/Netwrite, MlEvent (CharPressed) and with Manialinks inside Maniascript ^^

If you wanna test you can join my server on Storm. ( .|Law // Deathmatch (All Weapons) )

And the script is available here:

https://www.dropbox.com/sh/od38z97axd8nk1r/8CztoojE_b

I'll try to post most of my work in that folder, so if something interests you, feel free to download, modify, or host it :)

Some Screenshots:

Image

Image

Thanks for watching. :)

Update 26/06/13 :
- Fixed UpdateModeStatusMessage() call, I forgot to check if a Scores value exists..., and it made the script to crash if there was no players...
- Lowered Nucleus reload for a better Balance.

It is still available at the same place. :)

Re: [Mode] Melee with Weapon Selection

Posted: 25 Jun 2013, 19:46
by Triseaux
Nice work law ;-)

Re: [Mode] Melee with Weapon Selection

Posted: 25 Jun 2013, 20:48
by djhubertus
It's good to skip SelectWeapon() function ;)

Re: [Mode] Melee with Weapon Selection

Posted: 25 Jun 2013, 22:55
by Darkminus
Yea, that would cause a lot of problems by loading it during game since it made the script to sleep, and the script cannot do 2 things at the same time haha
That's why I modified it that way. I just call it to attach the layer (some lines are even not used, because I copied this from Siege ^^ I need to clean my code.)
But it's fun to have the ability to choose the weapon.
I'm trying to find some nice concepts by making small changes on current modes, that I can adapt on some more advanced scripts.
Players like testing that, and I like coding that, so everything is good :D