A.I. Disabled glitch

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Darththork99 points.
  • Post: Give Darththork99 your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

How can I fix this?

I am in progress of a sourcemod, I went back to one of the early maps to refine it, however after compiling, I am getting a text on the side saying A.I. Disabled and all the NPCs are not doing anything. How can I permanently fix this? I know about the console command but I don't want people playing it to have to type it in.

Posts

  • 4y
    keyuu avatar
    keyuu Offline
    Member Joined 6y
    If you know about the console command you can add a logic\_auto to the map in addition with a point\_servercommand or a point\_clientcommand (I don't know whether it's a cl\_ or sv\_ or whatever). Then just name the servercommand something like "cmd". At last you make an output in the logic\_auto with:

    OnMapSpawn cmd Command CommandThatNeedsToBeEnabled

    Cheers, keyuu
     avatar
    Mantra
  • 4y
    Darththork99 avatar
    Member Joined 5y
    1,347 points Ranked 3466th
    > **Posted by keyuu**

    > If you know about the console command you can add a logic\_auto to the map in addition with a point\_servercommand or a point\_clientcommand (I don't know whether it's a cl\_ or sv\_ or whatever). Then just name the servercommand something like "cmd". At last you make an output in the logic\_auto with:
    >
    > OnMapSpawn cmd Command CommandThatNeedsToBeEnabled
    >
    > Cheers, keyuu

    Do you have to enter in sv_cheats into these entities?
    When will the tyranny end?
  • 4y
    keyuu avatar
    keyuu Offline
    Member Joined 6y
    Normally not, except if the variable you want to change needs sv\_cheats 1.
     avatar
    Mantra
  • 4y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    80,034 points Ranked 48th
    63 medals 4 legendary 10 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    Hardly ever for server side, but since this a single player game, it doesn't matter; the servercommand changes things on the server side, the clientcommand on the client side, which would promptly relay to the server where appropriate.
    • Agree x 1
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

Darththork99 avatar
Member Joined 5y
1,347 points Ranked 3466th

Darththork99
Send a Private Message to the submitter

Category

Attributes

Miscellaneous

Stats

Posts
4
Views
3,643
Date Added
4y
bcp.crwdcntrl.net tracking pixel