Create Shootmania bot with default model?

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Create Shootmania bot with default model?

Post by BigBang1112 »

Is it possible to create a bot with the default Shootmania skin, instead of using minion which doesn't fit the scene of what I want to make?
To spawn a bot from the script, you need to use the CreateBotPlayer function. This function takes five arguments:
[Ident] the model of the bot which you have stored from ItemList_Add (0 for the StormMan)
(0 for the StormMan)
0 as value of Ident isn't valid anymore (or idk if it was before, wasn't in Maniascript scene back then).

Thanks for any answers as always! :thx:
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: Create Shootmania bot with default model?

Post by Dommy »

Code: Select all

NullId
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Re: Create Shootmania bot with default model?

Post by BigBang1112 »

Thanks a lot man. You're helping making my dreams come true! :D
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 1 guest