+ Reply to Thread
Results 1 to 8 of 8

Thread: How do I dupe a weapon?

  1. #1
    Wire Sofaking Captain Maim's Avatar
    Join Date
    Aug 2008
    Posts
    528

    Default How do I dupe a weapon?

    I would like to know how to create an advanced duplication of a weapon, in this case the physics gun.

    Also how would this apply to NPCs or other things of that nature?

  2. #2
    Wire Sofaking Wodden's Avatar
    Join Date
    Sep 2007
    Location
    location.sh &> /dev/null
    Posts
    446

    Default Re: How do I dupe a weapon?

    Type ent_create weapon_physgun, then avanced dupe the physgun.

    To apply to a NPC type: npc_create_equipment weapon_smg1 (for example), then npc_create npc_combine_s.
    “Saying Java is good because it works on all operating systems is like saying anal sex is good because it works on all genders.”

  3. #3
    Wire Sofaking Captain Maim's Avatar
    Join Date
    Aug 2008
    Posts
    528

    Default Re: How do I dupe a weapon?

    I tried that several times, nothing happened. Are you sure that's the correct command?




    So does it take two commands or one to spawn in a combine with a gun?

    Speaking of duping NPC's what's the best way to create a maze with monsters duped into it? How do I get them into the dup? My thought was to use fixed spawn plates but saving the monsters themselves would make it more like most games.

  4. #4
    Wire Sofaking Squeakyneb's Avatar
    Join Date
    May 2008
    Posts
    558

    Default Re: How do I dupe a weapon?

    So you want to spawn a dupe and have a building pre-filled with NPCs?
    Try nocolliding all the npcs, nocollide one with part of the building (that it will nevr touch) then dupe.
    works in theory

    Quote Originally Posted by Bull View Post
    I'm annoyed at having to use my keyboard when coding. Can someone please make voice-recognition so I can just talk?

  5. #5
    Wire Sofaking Captain Maim's Avatar
    Join Date
    Aug 2008
    Posts
    528

    Default Re: How do I dupe a weapon?

    Quote Originally Posted by Squeakyneb View Post
    So you want to spawn a dupe and have a building pre-filled with NPCs?
    Try nocolliding all the npcs, nocollide one with part of the building (that it will nevr touch) then dupe.
    works in theory
    oh... that's an interesting idea.


    Actually the original reason was so I could get my guns back if they were taken away like on Avalanche_test2. Since typing impulse 101 won't get me the tool or physics gun, I wanted a way to recover those since without them building is nigh impossible. I've got the tool gun but I can't find the physics gun.

    I'm going to build something that'll dispense weapons, I'm thinking of making all the dups of the weapons into prop spawners and then just pressing a button and having it dump the guns for me to collect.

    What happens if a chip uses concommand or concmd to spawn items? Do they appear where the chip is and fall? That'd be a lot nicer way to store all the weapons and ammo.

  6. #6
    Wire Sofaking Captain Maim's Avatar
    Join Date
    Aug 2008
    Posts
    528

    Default Re: How do I dupe a weapon?

    okay that command worked I just needed to turn on cheats I suspected I might have had to.

  7. #7
    Wire Weeaboo Pyro-Fire's Avatar
    Join Date
    Aug 2007
    Location
    WA, Australia
    Posts
    1,804

    Default Re: How do I dupe a weapon?

    isn't it ent_create?

    example; ent_create weapon_physgun



  8. #8
    Wire Sofaking Captain Maim's Avatar
    Join Date
    Aug 2008
    Posts
    528

    Default Re: How do I dupe a weapon?

    Quote Originally Posted by Pyro-Fire View Post
    isn't it ent_create?

    example; ent_create weapon_physgun
    Yeah but you forgot


    sv_cheats 1
    ent_create weapon_physgun

    That works. Just the ent_create alone does not. And I got my gun and added it to a stash of dupped weapons that I can spawn in to rearm myself if I lose it all. (It can also be roped to a teleporter I can summon to me) so it's great for getting into those places I shouldn't be allowed things like my tool gun or physics gun.

+ Reply to Thread

Similar Threads

  1. Wire Weapon Stripper
    By MixZim in forum Ideas & Suggestions
    Replies: 12
    Last Post: 01-10-2009, 12:05 AM
  2. Lua editing-weapon-Need help
    By BlackholeWM in forum Off-Topic
    Replies: 2
    Last Post: 12-21-2008, 07:50 AM
  3. Sometimes I can't switch my weapon?
    By Rephindel in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 07-19-2008, 01:53 PM
  4. weapon scriplet request
    By Jarviar in forum Off-Topic
    Replies: 16
    Last Post: 07-17-2008, 09:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots