Raised This Month: $209 Target: $400
 52% 

[ANY] Store by Zephyrus [1.1 - 03.01.2016]


Post New Thread Reply   
 
Thread Tools Display Modes
jugule
AlliedModders Donor
Join Date: Apr 2020
Old 05-11-2021 , 17:30   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1911

Quote:
Originally Posted by k4p1 View Post
Hi, how can I customize the menu? If i want to remove some categories, what I have to do?

Thanks for reply
configs/items.txt
jugule is offline
Sincronic
Senior Member
Join Date: Dec 2018
Old 05-13-2021 , 07:34   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1912

There is a way to add weapons ? To buy grenade's ?
Sincronic is offline
nicoalbaok
Junior Member
Join Date: Jun 2021
Old 06-07-2021 , 12:45   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1913

help. The skins are not downloaded, it's like downloading but not downloading in the client folders. it does not save the files downloaded to the client
nicoalbaok is offline
nicoalbaok
Junior Member
Join Date: Jun 2021
Old 06-07-2021 , 23:16   Re: [ANY] Store por Zephyrus
Reply With Quote #1914

Quote:
Originally Posted by e54385991 View Post
CSGO Store Module: Store Custom Weapon Models v2.1

2.1
Added support for world models(KeyValue Option :worldmodel)
PHP Code:
    "anime awp"
    
{
        
"model"  "models/weapons/v_animeawp.mdl"
        "worldmodel"  "models/weapons/w_animeawp.mdl"
        "entity"  "weapon_awp"
        "price"        "50"
        "type"        "CustomModel"  
        "slot"   "1"
    

3.0 14/01/2016
Test Interface 3.0
Added support for dropped weapon models(keyvalue : "dropmodel").

For example
"Miku awp"
{
"model" "models/weapons/v_hmikuawp.mdl"
"worldmodel" "models/weapons/w_hmikuawp.mdl"
"dropmodel" "models/weapons/w_hmikuawp.mdl"
"entity" "weapon_awp"
"price" "300"
"type" "CustomModel"
"slot" "1"
}



1.Require Plugin: [ANY] First Person View Models Interface 2.0 or high https://forums.alliedmods.net/showthread.php?t=276697

2.Edit translations/store.phrases.txt

+
PHP Code:
    "CustomModel"
    
{
        
"en" "Custom Weapon Model:"
    

Put !!store_custom_model.smx to sourcemod/plugins

configs/store/items.txt
+


PHP Code:

"Store"
{
"Custom Knives"
    
{
        
"Tri-Dagger Black"
        
{
            
"model"  "models/weapons/v_knife_tridagger_v2.mdl"
            "entity"  "weapon_knife"
            "price"        "50"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Tri-dagger Steel"
        
{
            
"model"  "models/weapons/v_knife_tridagger_steel.mdl"
            "entity"  "weapon_knife"
            "price"        "100"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Black Dagger"
        
{
            
"model"  "models/weapons/v_knife_reaper.mdl"
            "entity"  "weapon_knife"
            "price"        "200"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Kabar"
        
{
            
"model"  "models/weapons/v_knife_kabar_v2.mdl"
            "entity"  "weapon_knife"
            "price"        "300"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"CS 1.6 Knife"
        
{
            
"model"  "models/weapons/crashz.mdl"
            "entity"  "weapon_knife"
            "price"        "400"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Ultimate Knife"
        
{
            
"model"  "models/weapons/v_knife_ultimate.mdl"
            "entity"  "weapon_knife"
            "price"        "500"
          "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Gong fu"
        
{
            
"model"  "models/weapons/v_gongfu.mdl"
            "entity"  "weapon_knife"
            "price"        "600"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Caleon"
        
{
            
"model"       "models/weapons/caleon1/screwdriver/v_knife_screwdriver.mdl"
            "worldmodel"  "models/weapons/caleon1/screwdriver/w_knife_screwdriver.mdl"
            "entity"  "weapon_knife"
            "price"        "600"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
    }
    
    
    
"Custom Weapons"
    
{
    
            
"Miku awp"
        
{
            
"model"  "models/weapons/v_hmikuawp.mdl"
            "worldmodel"  "models/weapons/w_hmikuawp.mdl"
            "entity"  "weapon_awp"
            "price"        "300"
            "type"        "CustomModel"  
            "slot"   "1"
        
}
        
"Anime awp"
        
{
            
"model"  "models/weapons/v_animeawp.mdl"
            "worldmodel"  "models/weapons/w_animeawp.mdl"
            "entity"  "weapon_awp"
            "price"        "50"
            "type"        "CustomModel"  
            "slot"   "1"
        
}
        
        
"Dual finity"
        
{
            
"model"  "models/weapons/v_pist_dualinfinity.mdl"
            "entity"  "weapon_elite"
            "price"        "150"
            "type"        "CustomModel" 
            "slot"   "2"
        
}
        
        
"HE-Grenade Pokeball"
        
{
            
"model"  "models/weapons/v_hegrenade_pokeball.mdl"
            "entity"  "weapon_hegrenade"
            "price"        "100"
            "type"        "CustomModel" 
            "slot"   "3"
        
}
    }

3.Restart Server



model download:
https://forums.alliedmods.net/showthread.php?t=276733

or :

https://onedrive.live.com/redir?resi...hint=folder%2c



Attachment 150898
Attachment 150825
Attachment 150826
Attachment 150827
Attachment 150828
Attachment 150831


[IMG]Attachment 150901[/IMG]
Attachment 150899Attachment 150900



works for css? or do you recommend a plugin?
nicoalbaok is offline
nuclear silo
Junior Member
Join Date: May 2020
Location: Viet Nam.
Old 06-14-2021 , 13:55   Re: [ANY] Store por Zephyrus
Reply With Quote #1915

Quote:
Originally Posted by nicoalbaok View Post
works for css? or do you recommend a plugin?
This version only work for csgo. If you want css I found a plugin here
But it need to rework as a module.
nuclear silo is offline
GnomeChompski
Member
Join Date: Jul 2012
Old 07-12-2021 , 20:54   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1916

So for the fun of it I've added a suicide booth to my store, however because its the server thats executing the command not the user I can't target a specific user, does anyone know a work around?

Code:
"Suicide Booth"
{
"command" "sm_slay @me"
"flag" "a"
"price" "25"
"type" "command"
}
__________________
GnomeChompski is offline
Cruze
Veteran Member
Join Date: May 2017
Old 07-12-2021 , 23:03   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1917

Quote:
Originally Posted by GnomeChompski View Post
So for the fun of it I've added a suicide booth to my store, however because its the server thats executing the command not the user I can't target a specific user, does anyone know a work around?

Code:
"Suicide Booth"
{
"command" "sm_slay @me"
"flag" "a"
"price" "25"
"type" "command"
}
"command" "sm_slay {userid}"
__________________
Taking paid private requests! Add me on steam/discord!
AlliedModders Releases | Github | Private Plugins | PayPal | Steam | My Discord Server
Cruze is offline
killerroi
Junior Member
Join Date: Jan 2020
Old 07-13-2021 , 08:33   Re: [ANY] Store by Zephyrus
Reply With Quote #1918

Quote:
Originally Posted by e54385991 View Post
CSGO Store Module: Store Custom Weapon Models v2.1

2.1
Added support for world models(KeyValue Option :worldmodel)
PHP Code:
    "anime awp"
    
{
        
"model"  "models/weapons/v_animeawp.mdl"
        "worldmodel"  "models/weapons/w_animeawp.mdl"
        "entity"  "weapon_awp"
        "price"        "50"
        "type"        "CustomModel"  
        "slot"   "1"
    

3.0 14/01/2016
Test Interface 3.0
Added support for dropped weapon models(keyvalue : "dropmodel").

For example
"Miku awp"
{
"model" "models/weapons/v_hmikuawp.mdl"
"worldmodel" "models/weapons/w_hmikuawp.mdl"
"dropmodel" "models/weapons/w_hmikuawp.mdl"
"entity" "weapon_awp"
"price" "300"
"type" "CustomModel"
"slot" "1"
}



1.Require Plugin: [ANY] First Person View Models Interface 2.0 or high https://forums.alliedmods.net/showthread.php?t=276697

2.Edit translations/store.phrases.txt

+
PHP Code:
    "CustomModel"
    
{
        
"en" "Custom Weapon Model:"
    

Put !!store_custom_model.smx to sourcemod/plugins

configs/store/items.txt
+


PHP Code:

"Store"
{
"Custom Knives"
    
{
        
"Tri-Dagger Black"
        
{
            
"model"  "models/weapons/v_knife_tridagger_v2.mdl"
            "entity"  "weapon_knife"
            "price"        "50"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Tri-dagger Steel"
        
{
            
"model"  "models/weapons/v_knife_tridagger_steel.mdl"
            "entity"  "weapon_knife"
            "price"        "100"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Black Dagger"
        
{
            
"model"  "models/weapons/v_knife_reaper.mdl"
            "entity"  "weapon_knife"
            "price"        "200"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Kabar"
        
{
            
"model"  "models/weapons/v_knife_kabar_v2.mdl"
            "entity"  "weapon_knife"
            "price"        "300"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"CS 1.6 Knife"
        
{
            
"model"  "models/weapons/crashz.mdl"
            "entity"  "weapon_knife"
            "price"        "400"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Ultimate Knife"
        
{
            
"model"  "models/weapons/v_knife_ultimate.mdl"
            "entity"  "weapon_knife"
            "price"        "500"
          "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Gong fu"
        
{
            
"model"  "models/weapons/v_gongfu.mdl"
            "entity"  "weapon_knife"
            "price"        "600"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
        
"Caleon"
        
{
            
"model"       "models/weapons/caleon1/screwdriver/v_knife_screwdriver.mdl"
            "worldmodel"  "models/weapons/caleon1/screwdriver/w_knife_screwdriver.mdl"
            "entity"  "weapon_knife"
            "price"        "600"
            "type"        "CustomModel" 
            "slot"   "0"
        
}
    }
    
    
    
"Custom Weapons"
    
{
    
            
"Miku awp"
        
{
            
"model"  "models/weapons/v_hmikuawp.mdl"
            "worldmodel"  "models/weapons/w_hmikuawp.mdl"
            "entity"  "weapon_awp"
            "price"        "300"
            "type"        "CustomModel"  
            "slot"   "1"
        
}
        
"Anime awp"
        
{
            
"model"  "models/weapons/v_animeawp.mdl"
            "worldmodel"  "models/weapons/w_animeawp.mdl"
            "entity"  "weapon_awp"
            "price"        "50"
            "type"        "CustomModel"  
            "slot"   "1"
        
}
        
        
"Dual finity"
        
{
            
"model"  "models/weapons/v_pist_dualinfinity.mdl"
            "entity"  "weapon_elite"
            "price"        "150"
            "type"        "CustomModel" 
            "slot"   "2"
        
}
        
        
"HE-Grenade Pokeball"
        
{
            
"model"  "models/weapons/v_hegrenade_pokeball.mdl"
            "entity"  "weapon_hegrenade"
            "price"        "100"
            "type"        "CustomModel" 
            "slot"   "3"
        
}
    }

3.Restart Server



model download:
https://forums.alliedmods.net/showthread.php?t=276733

or :

https://onedrive.live.com/redir?resi...hint=folder%2c



Attachment 150898
Attachment 150825
Attachment 150826
Attachment 150827
Attachment 150828
Attachment 150831


[IMG]Attachment 150901[/IMG]
Attachment 150899Attachment 150900
this is not working for me, I've tried everything other than reset the store itself, I've tried everything. Can Somebody please help me out?
killerroi is offline
GnomeChompski
Member
Join Date: Jul 2012
Old 07-13-2021 , 14:44   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1919

Quote:
Originally Posted by Cruze View Post
"command" "sm_slay {userid}"
Would this work? As I've said the server executes the command when you purchasing via the store, so it wouldn't actually know which user purchased would it?

Yeah, this wont work, SM does not know who to target.
Code:
[SM] More than one client matched the given pattern.
ADD:
From my little understanding of sourcepawn, the plugin would need to be modified to add another type "client_command" for example, then use the ClientCommand to be able to do a suicide for example, however this is still not idea as the server still has no idea who to target if for example you wanted to grand someone uber or crits via a server plugin, looking at the database their is no links between playerID on the store and in game meaning that I think the only way this would work would be if the Store also added the STEAMID of the user, and used that as a target. However looking at the source code it is well above my coding ability to be able to add this in.
__________________

Last edited by GnomeChompski; 07-13-2021 at 15:30.
GnomeChompski is offline
Cruze
Veteran Member
Join Date: May 2017
Old 07-13-2021 , 15:31   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1920

Quote:
Originally Posted by GnomeChompski View Post
Would this work? As I've said the server executes the command when you purchasing via the store, so it wouldn't actually know which user purchased would it?

Yeah, this wont work, SM does not know who to target.
Code:
[SM] More than one client matched the given pattern.
Yes, it does get client index on equip.
You can specify
{userid}
{name}
{steamid}
{clientid}
of the player who equipped it.
__________________
Taking paid private requests! Add me on steam/discord!
AlliedModders Releases | Github | Private Plugins | PayPal | Steam | My Discord Server
Cruze 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 18:05.


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