How to use pick up items in your title packs
Moderator: NADEO
Re: How to use pick up items in your title packs
Have you got items in your Items/SMCommon/Pickups folder ?
Re: How to use pick up items in your title packs
You have to code what they have to doCrAzYdriv3r wrote:EDIT: Nope, I managed to get it to work but I have another problem.....
The pickup items are shown but when I pick them up they don't give anything
Look at your mode script here :
Code: Select all
if (Event.Type == CSmModeEvent::EType::OnPlayerTouchesObject)
{
// When player touche object : put your actions here
// destroy object touched, but you can let object on map if you want
ObjectDestroy(Event.Object);
}
Re: How to use pick up items in your title packs
Honestly I have no idea how to do this
But I really appreciate that you helped me with the items to show in the gamemode
But I really appreciate that you helped me with the items to show in the gamemode
Specs
Motherboard: Asus ROG Maximus VII Formula
CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
GPU: Nvidia GeForce GTX 980 Ti
RAM: 16GB
Operating System: Windows 10 Pro
Motherboard: Asus ROG Maximus VII Formula
CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
GPU: Nvidia GeForce GTX 980 Ti
RAM: 16GB
Operating System: Windows 10 Pro
Re: How to use pick up items in your title packs
You're welcome!
Re: How to use pick up items in your title packs
So now, how do I exactly make it in such way that for example, when you pick up the laser, it gives you laser and so on?
Specs
Motherboard: Asus ROG Maximus VII Formula
CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
GPU: Nvidia GeForce GTX 980 Ti
RAM: 16GB
Operating System: Windows 10 Pro
Motherboard: Asus ROG Maximus VII Formula
CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
GPU: Nvidia GeForce GTX 980 Ti
RAM: 16GB
Operating System: Windows 10 Pro
Re: How to use pick up items in your title packs
You can take a look on the SwitchWeapon() and PickUpObject() functions in the combo mode. By combining a bit of code from the two functions you should be able to do what you want.
Use this function to set the weapon of a player:
http://tmrankings.com/maniascript/html/ ... 128de68779
Use this function to set the weapon of a player:
Code: Select all
SetPlayerWeapon(CSmPlayer Player, EWeapon DefaultWeapon, Boolean AutoSwitchWeapon)
- alividerci
- Posts: 561
- Joined: 11 Feb 2012, 07:03
Re: How to use pick up items in your title packs
Are you can give meshes(.FBX) ?Eole wrote:For those who want to try pickup items (as seen in new Combo mode),
you can download http://files.maniaplanet.com/tools/Samp ... pItems.zip.
Re: How to use pick up items in your title packs
Hi all,
sorry to digg up this old thread, but it seem to be the only
one related to item pick up in SM.
Eole's original threads says this :
A simple tuto on how to load and use the laser pick up item, would be awesome
thx in advance
AhZ
sorry to digg up this old thread, but it seem to be the only
one related to item pick up in SM.
Eole's original threads says this :
So, if all the infos in this thread are out of date, where can we find up to date informations on pick up items ??WARNING: The ManiaScript item API changed drastically. The following code doesn't work anymore with the current version of the game.
A simple tuto on how to load and use the laser pick up item, would be awesome
thx in advance
AhZ
Last edited by ahz on 05 Jun 2015, 15:22, edited 1 time in total.
- Darkminus
- Posts: 228
- Joined: 05 Jun 2012, 20:54
- Manialink: Interface
- Location: Dans mon monde.
- Contact:
Re: How to use pick up items in your title packs
Hello !ahz wrote:Hi all,
sorry to digg up this old thread, but it seems to be the only
one related to item pick up in SM.
Eole's original threads says this :
So, if all the infos in this thread are out of date, where can we find up to date informations on pick up items ??WARNING: The ManiaScript item API changed drastically. The following code doesn't work anymore with the current version of the game.
A simple tuto on how to load and use the laser pick up item, would be awesome
thx in advance
AhZ
This link should help you :
http://doc.maniaplanet.com/creation/man ... -an-object
Have fun !
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
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
Re: How to use pick up items in your title packs
thx Darkminus,
i'm gonna have a look at it
cheers
i'm gonna have a look at it
cheers
Who is online
Users browsing this forum: No registered users and 2 guests