it's a great thing that this property has been added, thanks
but i've just noticed that the values are kind of weird
1: Laser
2: Rocket
3: Nucleus
5: Arrow
what's up with the 4?
CSmPlayer::CurWeapon
Moderator: English Moderator
Re: CSmPlayer::CurWeapon
The who must not be named weapon
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
Re: CSmPlayer::CurWeapon
so a wand?
- phil13hebert
- Posts: 564
- Joined: 29 Oct 2011, 14:11
- Location: Québec
Re: CSmPlayer::CurWeapon
Did you try it ? Is it working ? xDsteeffeen wrote:so a wand?
OS: Windows 7 64 bit
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
- Gugli
- Nadeo
- Posts: 536
- Joined: 14 Jun 2010, 17:35
- Location: Mon PC est à Paris, mais mon coeur rode dans les forêts de Lozère
Re: CSmPlayer::CurWeapon
You're gonna be disapointed xD :
Remember when you could stand still for 6s to get the bouncing rocket (B2 gameplay IIRC) ? Internally, this rocket is another weapon with ID number 4, and the game automagically switches ^_^.
This special value can not be choosen by scripts as a default weapon.
Remember when you could stand still for 6s to get the bouncing rocket (B2 gameplay IIRC) ? Internally, this rocket is another weapon with ID number 4, and the game automagically switches ^_^.
This special value can not be choosen by scripts as a default weapon.
--
(>~_~)> â•â•¦â• ╔╦╗ <(~_~<)
(>~_~)> â•â•¦â• ╔╦╗ <(~_~<)
- phil13hebert
- Posts: 564
- Joined: 29 Oct 2011, 14:11
- Location: Québec
Re: CSmPlayer::CurWeapon
Haha great one
@steeffeen Is it still usable with maniascript to get it in a gamemode (cause I'm sure that you already tested it ) ?
I'm just curious.
@steeffeen Is it still usable with maniascript to get it in a gamemode (cause I'm sure that you already tested it ) ?
I'm just curious.
OS: Windows 7 64 bit
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
Re: CSmPlayer::CurWeapon
it's a constant value representing the current weapon
you can't set it ^^
i don't think it's possible
you can't set it ^^
i don't think it's possible
- w1lla
- Posts: 2287
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: CSmPlayer::CurWeapon
What about making a map with only bouncing rockets... Somehow it should be possible to get that ID...
Just my 2 cents...
Just my 2 cents...
TM² Info
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Who is online
Users browsing this forum: No registered users and 0 guests