Raised This Month: $51 Target: $400
 12% 

Release Equipment (1.1-alpha)


Post New Thread Reply   
 
Thread Tools Display Modes
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 10-27-2013 , 10:59   Re: Equipment (1.1-alpha)
Reply With Quote #111

Can anybody help me please?
I want to add hats for custom models, but some of the custom models have forward attachment and some of them have grenade0 attachment at the place of the forward attachment.
My question:
Is it possible to have different attachments for each custom model?
Or is it possible to add a forward attachment?
For example:
I got pedobear skin on my server but this skin has grenade0 attachment.
The 50 cent skin has forward attachment.
I don't know if it could work but should it work if I do this:
Code:
{
    "model": "models/props_junk/trafficcone001a.mdl",
    "position": [0.0, -1.0, 20.0],
    "angles": [0.0, 0.0, 0.0],
    "playermodels": [
        {
            "playermodel": "models/player/kuristaja/pbear/pbear.mdl",
            "position": [0, -5.4, 20],
            "angles": [0, 0, 90],
            "attachment": "grenade0"
        },
        {
            "playermodel": "models/player/slow/50cent/slow.mdl",
            "position": [0, -5.4, 20],
            "angles": [0, 0, 90],
            "attachment": "forward"
        }
    ]
}
I hope someone can help me with this.

Last edited by tommie113; 10-27-2013 at 11:26. Reason: added a question
tommie113 is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 10-27-2013 , 14:43   Re: Equipment (1.1-alpha)
Reply With Quote #112

It should but the grenade bone is on the lower waste so a hat wouldn't really work well if its positioned on the lower waste.

See if you can find another bone similliar to the forward bone. (you can use the modelviewer from valve)

btw, what community do you run? Curious


Or you could recompile the skin and put the forward bone in (but thats a bit difficult)

Last edited by Groger; 10-27-2013 at 14:47.
Groger is offline
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 10-27-2013 , 18:24   Re: Equipment (1.1-alpha)
Reply With Quote #113

Quote:
Originally Posted by Groger View Post
It should but the grenade bone is on the lower waste so a hat wouldn't really work well if its positioned on the lower waste.

See if you can find another bone similliar to the forward bone. (you can use the modelviewer from valve)

btw, what community do you run? Curious


Or you could recompile the skin and put the forward bone in (but thats a bit difficult)
1: The modelviewer showed me the head when I selected the grenade0 attachment.
2: I'm "server technicus" from DCforce. We own a Dutch jail server and a minigame server (not especially dutch).
3: Could you give me a link for a page where they explain this or could you explain it to me?
I tried to find out myself but can't find a way to do that. I also couldn't find anything on google.
tommie113 is offline
bongotrommler
Senior Member
Join Date: Feb 2013
Location: GG-Elite.Net
Old 11-11-2013 , 13:03   Re: Equipment (1.1-alpha)
Reply With Quote #114

Quote:
Originally Posted by trex123 View Post
2013-10-27 02:02:15 [store/store-backend.smx] ERROR | SQL Error on GiveItem: Unknown column 'aquire_method' in 'field list'

when i buy a item it doesnt appear to work. what should i do?

same here

Last edited by bongotrommler; 11-11-2013 at 14:58.
bongotrommler is offline
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 12-12-2013 , 16:22   Re: Equipment (1.1-alpha)
Reply With Quote #115

SEARCH BEFORE POSTING PLS!
There are a lot of people that had this problem. Also it should be solved if you use latest version from store from github.
__________________
No longer taking requests due to lack of time and interrest.
Only helping out with minor things through forum.
tommie113 is offline
Arrow768
Veteran Member
Join Date: Nov 2011
Location: Austria
Old 12-12-2013 , 16:31   Re: Equipment (1.1-alpha)
Reply With Quote #116

@foxyloxy, I made a post about the most common errors, you should read the sticky threads:
https://forums.alliedmods.net/showpo...&postcount=161
__________________
Arrow768 is offline
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 12-12-2013 , 17:11   Re: Equipment (1.1-alpha)
Reply With Quote #117

no its not latest version, if you read you would see that you should go to github for latest version.
its downloaded automatically if you use SM downloader
__________________
No longer taking requests due to lack of time and interrest.
Only helping out with minor things through forum.
tommie113 is offline
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 12-13-2013 , 05:01   Re: Equipment (1.1-alpha)
Reply With Quote #118

No you dont put anything there... As I said it's downloaded automatically if you have SM downloader. It will automatically add the materials en models there.
Make sure you enable the downloader with the cvars. Better use both downloads.ini and downloads-simple.ini (I don't know if these names are correct.)
__________________
No longer taking requests due to lack of time and interrest.
Only helping out with minor things through forum.
tommie113 is offline
frede179
Junior Member
Join Date: Jan 2014
Old 01-18-2014 , 09:19   Re: Equipment (1.1-alpha)
Reply With Quote #119

nice work but i need to add so ct also work
__________________
frede179 is offline
Morell
AlliedModders Donor
Join Date: Jun 2010
Location: World
Old 03-22-2014 , 13:59   Re: Equipment (1.1-alpha)
Reply With Quote #120

The plugin kills random entities.
Morell is offline
Reply



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 09:31.


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