Thread: [Custom Weapons] All Counter-Strike Weapons.

Page 5 of 5 FirstFirst 12345
Results 101 to 112 of 112
  1. #101
    Registered User Critex's Avatar
    Join Date
    Jul 2016
    Posts
    7

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Any way to make the buyable items free? I just have this on my server that only me and a few pals play on and I'd like to just have the option to use CS weapons whenever we'd like, without having to pay for them.

  2. #102
    200 MB Angelscript log file KernCore's Avatar
    Join Date
    Apr 2016
    Location
    Brazil
    Posts
    258

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Quote Originally Posted by Critex View Post
    Any way to make the buyable items free? I just have this on my server that only me and a few pals play on and I'd like to just have the option to use CS weapons whenever we'd like, without having to pay for them.
    The price values are located in cs16common.as, you should find some lines like this one:
    Code:
    g_BuyMenu.AddItem( BuyMenu::BuyableItem( "<8> Ammo 7.62 Nato", "ammo_cs_762", 8, false ) );
    Change the value 8 to whatever you like, just like this:
    Code:
    g_BuyMenu.AddItem( BuyMenu::BuyableItem( "<0> Ammo 7.62 Nato", "ammo_cs_762", 0, false ) );
    Repeat the same process to every other weapon/item.

  3. #103
    Registered User Critex's Avatar
    Join Date
    Jul 2016
    Posts
    7

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Awesome, thanks!
    I like Co-operative play.
    That's about it.

    No, Don't touch that!

  4. #104
    Registered User JayDaemon's Avatar
    Join Date
    Jul 2017
    Posts
    2

    Re: [Custom Weapons] All Counter-Strike Weapons.

    I am having trouble using this mod. Not sure what I am doing wrong. I followed all the directions accurately and I am not able to use the buy menu.

  5. #105
    200 MB Angelscript log file KernCore's Avatar
    Join Date
    Apr 2016
    Location
    Brazil
    Posts
    258

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Quote Originally Posted by JayDaemon View Post
    I am having trouble using this mod. Not sure what I am doing wrong. I followed all the directions accurately and I am not able to use the buy menu.
    Does the weapons still work?
    Post what your angelscript logs says here (They are located in svencoop/logs/Angelscript).

    Double check if you installed correctly.
    In the .7z file there's a folder called Counter-Strike 16, open it up and extract everything inside it in your svencoop_addon folder.

    Also, don't forget to check your default_plugins.txt inside the folder svencoop. Check if you didn't put
    Code:
    	"plugin"
    	{
    		"name"       	"Counter Strike 16"
    		"script"     	"../maps/cs16/cs16register"
    	}
    After the closing bracket, as it should be put before.
    Last edited by KernCore; 29-07-2017 at 08:00 AM.

  6. #106
    Registered User JayDaemon's Avatar
    Join Date
    Jul 2017
    Posts
    2

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Okay. I was able to fix it. Thanks. Now if I want to host a dedicated server, how would I be able to allow everyone to use this buy menu?

  7. #107
    200 MB Angelscript log file KernCore's Avatar
    Join Date
    Apr 2016
    Location
    Brazil
    Posts
    258

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Quote Originally Posted by JayDaemon View Post
    Okay. I was able to fix it. Thanks. Now if I want to host a dedicated server, how would I be able to allow everyone to use this buy menu?
    They simply need to type buy in the chat and that's it.

  8. #108
    Advanced Leveldesigner SourceSkyBoxer's Avatar
    Join Date
    Apr 2011
    Location
    Germany
    Posts
    746

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Nice idea how do you angelscript from old Counter-Strike into Sven Coop. Excellent idea! I think you are great magician! CS 1.6 is wrong just CS 1.7

    CS 1.7 means expand map limit of Sven Coop. and CS 1.6 is normal old version. I imagine that if 32 players fight again bots and it is very big map. How do you know CS in Sven Coop. If Natural Selection 3.2, HL-Rally or other mods into SVen Coop - It really is funny. But how do I understand if I write build or attack with buildings ( like engineer of NS commandor ) ? example bomb of CS terrorists make bomb and bomb will enable and expires tick tick tick..... ka boooom... If counter terrorists don't hold bomb.

    But for other mods like Team Fortress, Natural Selection or HL-Rally.. I don't think if engine-access need many functions like entities or features. If it happens angelscript will be same from C++?

    For example
    env_fog made from HL-Spirite 1.8a
    Code:
    //=========================================================
    // LRC - env_fog, extended a bit from the DMC version
    //=========================================================
    #define SF_FOG_ACTIVE 1
    #define SF_FOG_FADING 0x8000
    
    class CEnvFog : public CBaseEntity
    {
    public:
    	void Spawn( void );
    	void Precache( void );
    	void EXPORT ResumeThink( void );
    	void EXPORT Resume2Think( void );
    	void EXPORT TurnOn( void );
    	void EXPORT TurnOff( void );
    	void EXPORT FadeInDone( void );
    	void EXPORT FadeOutDone( void );
    	void SendData( Vector col, int fFadeTime, int StartDist, int iEndDist);
    	void KeyValue( KeyValueData *pkvd );
    	virtual int		Save( CSave &save );
    	virtual int		Restore( CRestore &restore );
    	static	TYPEDESCRIPTION m_SaveData[];
    	void Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value );
    
    	STATE GetState( void );
    ....
    ....
    into angelscript?
    Code:
    ????
    For example:

    32 players ( real players ) vs 32 bots ( from computer ) - or -
    16 player real and 16 bots vs 16 real and 16 bots. Just it looks like funny. If we play again bozt ( terrorists ).
    Why not?
    Hello guys, Svencoop. I am sorry Please respect me! I am deaf. Thanks, Sven-Coop Forum!

    Please do not share to shit dropbox! Please share only Mega.nz!

  9. #109
    200 MB Angelscript log file KernCore's Avatar
    Join Date
    Apr 2016
    Location
    Brazil
    Posts
    258

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Just Updated.

  10. #110
    Registered User
    Join Date
    Apr 2016
    Posts
    55

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Hello Kern! Thanks to update script
    Can you create Portal Gun? Please

  11. #111
    Registered User
    Join Date
    Apr 2016
    Posts
    55

    Re: [Custom Weapons] All Counter-Strike Weapons.

    KernCore, hello. How to fix unstable models weapon in hl_c03?

  12. #112
    200 MB Angelscript log file KernCore's Avatar
    Join Date
    Apr 2016
    Location
    Brazil
    Posts
    258

    Re: [Custom Weapons] All Counter-Strike Weapons.

    Quote Originally Posted by join10 View Post
    KernCore, hello. How to fix unstable models weapon in hl_c03?
    it's not really me that you should worry about, precaching too many models on bigger maps such as hl_c03, and th_ep2 maps will always trigger something wrong on the engine, it usually starts switching models around for some weird reason, and if you're unlucky, you'll get a LRU Null Link.

Page 5 of 5 FirstFirst 12345

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •