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.
Sign up to access this!

Replies

  • keyuu avatar
    keyuu Joined 8y ago
    Offline
    5,435 points Ranked 945th
    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
    5y
    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
    URL to post:
  • Darththork99 avatar
    Darththork99 Joined 6y ago
    Offline
    1,347 points Ranked 3962nd
    5y
    > **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?
    URL to post:
  • keyuu avatar
    keyuu Joined 8y ago
    Offline
    5,435 points Ranked 945th
    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
    5y
    Normally not, except if the variable you want to change needs sv\_cheats 1.
     avatar
    URL to post:
  • Devieus avatar
    Devieus username pic Joined 8y ago
    Moderator
    ONLINE
    86,416 points Ranked 42nd
    70 medals 6 legendary 13 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
    5y
    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
    URL to post:

Embed

Share banner
URL εικόνας
Κώδικας ενσωμάτωσης HTML
Ενσωματωμένος κωδικός BB
Markdown embed code

Author

Darththork99 avatar
Darththork99 Joined 6y ago
Offline
1,347 points Ranked 3962nd

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

Game

Sign up to access this!

Category

Attributes

Miscellaneous

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 4.9k Views
  • 4 Posts
  • 5ySubmitted

More from Submitter

More Other/Misc Threads

bcp.crwdcntrl.net tracking pixel