Page 2 of 3

Re: [SM GameMode] InstaDM

Posted: 21 May 2013, 16:03
by PiGmY
Working now, thanks a lot for this, script is awesome! :thumbsup:

Re: [SM GameMode] InstaDM

Posted: 21 May 2013, 20:35
by .Seki13
I am still encountering the same problem with no solution, the bots are stuck at spawn.

This problem happened the first time after the update on May 16th.
In a local server, the bots can shoot but they can't move.
I want to know if this is only happening with my game or with others. :|

EDIT:
kak0 wrote:Update 16/05/2013
Script API :
  • Before, when you wanted to respawn a bot, you had to destroy it and create it back. You can now respawn a bot like you would respawn a human player, with the function SpawnBotPlayer. This function takes the same arguments as SpawnPlayer, except that the Player has to be a bot and the spawn location doesn't have to be a CSmBlockSpawn, it can be any CSmScriptLandmark (including CSmScriptBotPath). Please note that you still have to call CreateBotPlayer for the first spawn, and you still need to destroy a bot when you don't use it anymore.
  • Fixed some issues that could occure while changing the Behaviour of the bot.
  • Fixed the bug that made rockets disappear when the bot who shot them was destroyed (should fix the bug of the non-appearing +1 as well)
  • Fixed some issues that could occure when a bot was in Patrol mode and was returning to its Path
  • New variable Path in CSmScriptBotPath, to access the points defined in the map editor (read-only)
  • New variable IsStuck in the Driver, to know if the bot can't move (this variable is True when the bot didn't move for 1 sec or more, when he is supposed to move)
  • New API to control the bot entirely with the script. The corresponding Behaviour enum is called Scripted. Here's the list of available functions:
    • ScriptedBot_Move(CSmPlayer Bot, Vec3 Position) : Moves the bot to the given position
    • ScriptedBot_MoveDelta(CSmPlayer Bot, Vec3 Delta) : Same as the previous function, but with a position depending on the current position
    • ScriptedBot_Aim(CSmPlayer Bot, Vec3 Position) : Aims at the given position
    • ScriptedBot_AimDelta(CSmPlayer Bot, Real DYaw, Real DPitch) : Turns the bot's aim with the given angles
    • ScriptedBot_MoveAndAim(CSmPlayer Bot, Vec3 Position) : Same as calling ScriptedBot_Move followed by ScriptedBot_Aim
    • ScriptedBot_RequestAction(CSmPlayer Bot) : Makes the bot use its current action (right click)
    • ScriptedBot_RequestGunTrigger(CSmPlayer Bot) : Makes the bot fire
    • Boolean variable ScriptedBot_ForceAimInMoveDir in the Driver : Forces the bot to aim in the direction he is moving (just as he does when he is in a predefined mode). False by default.

Re: [SM GameMode] InstaDM

Posted: 22 May 2013, 21:27
by steeffeen
.Seki13 wrote:I am still encountering the same problem with no solution, the bots are stuck at spawn.
This problem happened the first time after the update on May 16th.
In a local server, the bots can shoot but they can't move.
I want to know if this is only happening with my game or with others. :|
i'm still searching for a fix of the issue, it's caused by the update on May 16th, the servers just haven't been updated i guess (i just created one and it didn't work as well)

Re: [SM GameMode] InstaDM

Posted: 27 May 2013, 12:46
by steeffeen
regarding the bot problem: just to let you know, i can't do much now, we will have to wait for the next update because the bot API has an issue

Re: [SM GameMode] InstaDM

Posted: 27 May 2013, 22:01
by .Seki13
Alright thanks. :D
Hope it comes back even better.

Re: [SM GameMode] InstaDM

Posted: 31 May 2013, 22:31
by steeffeen
just a quick note for server owners: we have downgraded the server version of the Paragon-InstaDM server to the version of May 16th because the bots are working fine with this version
you may want to do that as well in order to get bots working again
(that's not possible for clients of course :?)

current script version: 1.0.8

Re: [SM GameMode] InstaDM

Posted: 31 Jul 2013, 20:02
by steeffeen
Version 1.0.9 Released!
- added setting for Beta2 (enables Beta2Gameplay and disables AmmoBonusOnHit+LaserSkewering(multihit))

download at http://team-devota.com/steeffeen/ or steeffeen

Re: [SM GameMode] InstaDM

Posted: 01 Aug 2013, 00:00
by roguesergeant
Nice update

Re: [SM GameMode] InstaDM

Posted: 23 Aug 2013, 17:12
by tamura
Hello,
How can active bot ? I want to use you're script for do a meleev2.script.txt.
I test for active bots in local editor before upload to my server but it don't work.

Can you explain me in simple langage beacause i am french.
If it's possible an example of the script modificated with for exemple 2 bots spaw ever, it's more simple for explain me.

Bets regards ;)

And thx for this beautiful script for newbies in scripting like me.

Re: [SM GameMode] InstaDM

Posted: 23 Aug 2013, 18:53
by TMarc
Look at this... surprisingly you did not find it, although it was very recent? ;)
[SERVEUR] Bot immobile