Author Topic: NPC's question  (Read 8979 times)

0 Members and 1 Guest are viewing this topic.

Offline Weapon317

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
NPC's question
« on: March 03, 2011, 03:16:01 PM »
I had a question, today I had some fun with NPC's on my TTT server with some members, but how do you spawn a NPC ex. Alyx with a RPG or pistol etc.

like "ulx ent npc_alyx rpg"

Thanks! :D

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: NPC's question
« Reply #1 on: March 03, 2011, 05:35:42 PM »
If you're interested in messing around with NPCs in console, I recommend looking into UGM. UGM was a project that I was working on pre-gmod 9. UGM 1.5 would probably be best for you, but I don't seem to have that anymore, so check out UGM 1.3, attached. This was released over six years ago, but since it's not relying on gmod in any way (only the source engine), it still works fine. :)

Otherwise, if you're set on using ulx ent, it's possible to spawn npcs with this command, but you'd need to check the valve developer wiki on the exact details.
Experiencing God's grace one day at a time.

Offline Weapon317

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
Re: NPC's question
« Reply #2 on: March 03, 2011, 05:45:46 PM »
If you're interested in messing around with NPCs in console, I recommend looking into UGM. UGM was a project that I was working on pre-gmod 9. UGM 1.5 would probably be best for you, but I don't seem to have that anymore, so check out UGM 1.3, attached. This was released over six years ago, but since it's not relying on gmod in any way (only the source engine), it still works fine. :)

Otherwise, if you're set on using ulx ent, it's possible to spawn npcs with this command, but you'd need to check the valve developer wiki on the exact details.

Thanks! But what do I have to do with these files? Put them somewhere?

Edit: Saw the readme. But i need to enable sv_cheats 1 in my server right? I think I wont do that for security reasons.. But i think i might can spawn a npc with a gun like this "ulx ent npc_alyx_rpg" maybe that works gonna try it. Edit:  Dont work :(
« Last Edit: March 03, 2011, 06:04:21 PM by Weapon317 »

Offline NaRyan

  • Newbie
  • *
  • Posts: 39
  • Karma: 1
Re: NPC's question
« Reply #3 on: March 10, 2011, 07:44:58 PM »
ulx ent npc_alyx additionalequipment:weapon_rpg

:)

Although don't expect her to use it.

Sorry I meant to post this earlier, but due to my TTT server getting exploited twice (once with steam voice chat and then with the sourcebans exploit), and also the server box getting hijacked with some botnet related junk, I been heck of a busy fixing the server, then getting new server to replace the other "can't go 5 minutes without being hacked" one...  :-[
« Last Edit: March 10, 2011, 08:03:49 PM by NaRyan »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: NPC's question
« Reply #4 on: March 11, 2011, 07:59:28 AM »
Quote
Sorry I meant to post this earlier, but due to my TTT server getting exploited twice (once with steam voice chat and then with the sourcebans exploit), and also the server box getting hijacked with some botnet related junk, I been heck of a busy fixing the server, then getting new server to replace the other "can't go 5 minutes without being hacked" one...  :(

[off topic]

Peerblock will become your friend if you have a popular dedicated server.

What we did when we got botnetted was ran an ip sweep for 5 minutes and collected a log of every IP trying to flood us. Then we used a script to compile them all into a file that peerblock loaded.

Ended up blocking around 100k IPs. Problem solved.

[/off topic]