A.I. Disabled glitch

A Forum Thread for Half-Life 2: Episode Two

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

Sound fun?

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 7y
    5,311 points Ranked 872nd
    12 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
  • 4y
    Darththork99 avatar
    Member Joined 5y
    1,347 points Ranked 3566th
    > **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 7y
    5,311 points Ranked 872nd
    12 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
  • 4y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    78,677 points Ranked 47th
    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

Embed

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

Submitter

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

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

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
bcp.crwdcntrl.net tracking pixel