Raised This Month: $32 Target: $400
 8% 

[CS:S] NPC Generator Interface


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
3775
Plugin Version:
b0.1
Plugin Category:
Technical/Development
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A interface for developers for create NPCs in CS:S
    Old 07-24-2013 , 12:45   [CS:S] NPC Generator Interface
    Reply With Quote #1

    Description:


    Configuration:


    Go to addons/sourcemod/configs/npcgenerator.cfg for configure NPCs


    Screenshots:



    Natives:
    PHP Code:
    /**
     * Create a NPC.
     *
     * @param position     Position when NPC will appear
     * @noreturn          
     */
    native NPC_CreateZombie(Float:position[3]);

    native NPC_CreateDog(Float:position[3]);

    native NPC_CreateGman(Float:position[3]);

    native NPC_CreateBarney(Float:position[3]);

    native NPC_CreateAntlionguard(Float:position[3]);

    native NPC_CreateHeadcrab(Float:position[3]); 
    Put #include <npcgenerator> in your plugin for use it, test plugin with natives



    Note: plugin in beta version, Even may have bugs
    Note2: you need .nav file of the map if not, NPCs will not move

    Soon more natives and NPCs.


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 12-20-2015 at 08:48.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 07-24-2013 , 12:45   Re: [CS:S] NPC Generator Interface
    Reply With Quote #2

    Plugin for test interface
    Attached Files
    File Type: smx npc_test.smx (3.3 KB, 572 views)
    File Type: sp Get Plugin or Get Source (npc_test.sp - 1127 views - 2.5 KB)
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 07-24-2013 at 12:49.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    ilga80
    Senior Member
    Join Date: Nov 2012
    Old 07-25-2013 , 03:15   Re: [CS:S] NPC Generator Interface
    Reply With Quote #3

    Nice
    ilga80 is offline
    Chanz
    Veteran Member
    Join Date: Aug 2008
    Location: Germany - Stuttgart
    Old 07-25-2013 , 09:32   Re: [CS:S] NPC Generator Interface
    Reply With Quote #4

    Hey that looks really great, could you upload it on github.com ? I'd like to make some changes and like you to review them. :-)
    __________________
    [ SourceModPlugins.org ][ My Plugins ]

    Thank you for donations: [ Paypal ]

    Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
    Chanz is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 07-25-2013 , 12:31   Re: [CS:S] NPC Generator Interface
    Reply With Quote #5

    Quote:
    Originally Posted by Chanz View Post
    Hey that looks really great, could you upload it on github.com ? I'd like to make some changes and like you to review them. :-)
    Ok, added to the first post


    btw, add me in steam if you want
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 07-25-2013 , 16:35   Re: [CS:S] NPC Generator Interface
    Reply With Quote #6

    Shouldn't this work for all Source games and not just Counter Strike: Source?
    Sreaper is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 07-25-2013 , 16:58   Re: [CS:S] NPC Generator Interface
    Reply With Quote #7

    Quote:
    Originally Posted by Sreaper View Post
    Shouldn't this work for all Source games and not just Counter Strike: Source?
    This plugin use hostages for follow to "enemy" so is only compatible in CS:S and maybe in CS:GO too (depending of models), also need a .nav file of map or NPCs will not move
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    kadet.89
    Veteran Member
    Join Date: Nov 2012
    Location: Serbia
    Old 08-19-2013 , 07:20   Re: [CS:S] NPC Generator Interface
    Reply With Quote #8

    Sreaper, try to use this: https://forums.alliedmods.net/showthread.php?t=161331

    Last edited by kadet.89; 08-19-2013 at 07:21.
    kadet.89 is offline
    Send a message via Skype™ to kadet.89
    Sansaurithbane
    Junior Member
    Join Date: Jun 2013
    Old 08-19-2013 , 16:28   Re: [CS:S] NPC Generator Interface
    Reply With Quote #9

    Quote:
    Originally Posted by kadet.89 View Post
    You realize this extension currently doesn't work and it says only for CS:S, correct?
    Sansaurithbane is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 16:58.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode