The Game Modding Community - Since 2001

A.I. Disabled glitch

A Forum Thread for Half-Life 2: Episode Two

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

  • 5y
    keyuu avatar
    keyuu Joined 7y ago
    Offline
    5,352 points Ranked 881st
    13 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    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
  • 5y
    Darththork99 avatar
    Darththork99 Joined 5y ago
    Offline
    1,347 points Ranked 3666th
    > **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?
  • 5y
    keyuu avatar
    keyuu Joined 7y ago
    Offline
    5,352 points Ranked 881st
    13 medals 1 rare
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    Normally not, except if the variable you want to change needs sv\_cheats 1.
     avatar
    Mantra
  • 5y
    Devieus avatar
    Devieus username pic Joined 7y ago
    Moderator
    ONLINE
    81,686 points Ranked 46th
    67 medals 6 legendary 11 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
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 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

Embed

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

Submitter

Darththork99 avatar
Darththork99 Joined 5y ago
Offline
1,347 points Ranked 3666th

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
4,217
Date Added
5y

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Yo, buddy. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Resistance is futile... Sign up now!

Already a Bananite? Login

bcp.crwdcntrl.net tracking pixel