[Mode] Melee with Weapon Selection

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
Darkminus
Posts: 228
Joined: 05 Jun 2012, 20:54
Location: Dans mon monde.
Contact:

[Mode] Melee with Weapon Selection

Post 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. :)
Last edited by Darkminus on 26 Jun 2013, 12:26, edited 2 times in total.
Professor Law
ShootMania-addict since June 2012.
Arena Duel, Duel Elite V2, MidAir V2 and SDPro Developer

System Specs:
OS: Windows 10 Professionnal x64
CPU: Intel i5-4670
GPU: MSI TwinFrozr GTX 760 OC
Motherboard: Asus Z87-C
RAM : 10Gb
Triseaux
Posts: 155
Joined: 28 May 2012, 11:07

Re: [Mode] Melee with Weapon Selection

Post by Triseaux »

Nice work law ;-)
group leader : "Beniii"
User avatar
djhubertus
Translator
Translator
Posts: 1097
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

Re: [Mode] Melee with Weapon Selection

Post by djhubertus »

It's good to skip SelectWeapon() function ;)
My Gamemodes:
MP4 - Countdown, Firefight
MP3 - Reduction, Overload, Flashpoint, Territory, SM Race, Escape
MP2 - Search & Destroy, Oscillation, Instagib
User avatar
Darkminus
Posts: 228
Joined: 05 Jun 2012, 20:54
Location: Dans mon monde.
Contact:

Re: [Mode] Melee with Weapon Selection

Post 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
Professor Law
ShootMania-addict since June 2012.
Arena Duel, Duel Elite V2, MidAir V2 and SDPro Developer

System Specs:
OS: Windows 10 Professionnal x64
CPU: Intel i5-4670
GPU: MSI TwinFrozr GTX 760 OC
Motherboard: Asus Z87-C
RAM : 10Gb
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 0 guests