A.I. Disabled glitch

A Forum Thread for Half-Life 2: Episode Two

Greetings! 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

Stop Lurking!

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 3517th
    > **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
    81,077 points Ranked 46th
    64 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 3517th

Darththork99
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Attributes

Miscellaneous

Stats

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