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

[TF2Items] Give Weapon (v3.14159, 11/29/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
The_dr
Senior Member
Join Date: Jan 2012
Location: Canada
Old 08-10-2013 , 07:19   Re: [TF2Items] Give Weapon (v3.141, 06/04/2013)
Reply With Quote #1101

i have a custom model for the eyelander but it wont show up ingame
PHP Code:
    "2000"
    
{
        
"classname"        "tf_weapon_sword"
        "index"        "132"
        "slot"        "2"
        "quality"        "5"
        "level"        "100"
        "attribs"        "15 ; 0 ; 125 ; -25 ; 219 ; 1 ; 388 ; 6"
        "ammo"        "-1"
        "model"        "models\iron\master_sword\master_sword.mdl"
        "viewmodel"        "models\iron\master_sword\master_sword.mdl"
    

i also made the .dep file and the files download fine. But in game the original eyelander model shows and not the new one.
__________________
iRON Servers
The_dr is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 08-10-2013 , 07:33   Re: [TF2Items] Give Weapon (v3.141, 06/04/2013)
Reply With Quote #1102

Quote:
Originally Posted by The_dr View Post
i have a custom model for the eyelander but it wont show up ingame
PHP Code:
    "2000"
    
{
        
"classname"        "tf_weapon_sword"
        "index"        "132"
        "slot"        "2"
        "quality"        "5"
        "level"        "100"
        "attribs"        "15 ; 0 ; 125 ; -25 ; 219 ; 1 ; 388 ; 6"
        "ammo"        "-1"
        "model"        "models\iron\master_sword\master_sword.mdl"
        "viewmodel"        "models\iron\master_sword\master_sword.mdl"
    

i also made the .dep file and the files download fine. But in game the original eyelander model shows and not the new one.
You had the /'s the wrong way

PHP Code:
    "2000"
    
{
        
"classname"        "tf_weapon_sword"
        "index"        "132"
        "slot"        "2"
        "quality"        "5"
        "level"        "100"
        "attribs"        "15 ; 0 ; 125 ; -25 ; 219 ; 1 ; 388 ; 6"
        "ammo"        "-1"
        "model"        "models/iron/master_sword/master_sword.mdl"
        "viewmodel"        "models/iron/master_sword/master_sword.mdl"
    


Last edited by Pelipoika; 08-10-2013 at 07:33.
Pelipoika is offline
The_dr
Senior Member
Join Date: Jan 2012
Location: Canada
Old 08-10-2013 , 17:01   Re: [TF2Items] Give Weapon (v3.141, 06/04/2013)
Reply With Quote #1103

Quote:
Originally Posted by Pelipoika View Post
You had the /'s the wrong way

PHP Code:
    "2000"
    
{
        
"classname"        "tf_weapon_sword"
        "index"        "132"
        "slot"        "2"
        "quality"        "5"
        "level"        "100"
        "attribs"        "15 ; 0 ; 125 ; -25 ; 219 ; 1 ; 388 ; 6"
        "ammo"        "-1"
        "model"        "models/iron/master_sword/master_sword.mdl"
        "viewmodel"        "models/iron/master_sword/master_sword.mdl"
    

it still doesn't work
__________________
iRON Servers
The_dr is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-11-2013 , 02:13   Re: [TF2Items] Give Weapon (v3.141, 06/04/2013)
Reply With Quote #1104

The latest version of the plugin was supposed to fix the bug with world models not setting properly, but check the error/normal logs for SourceMod to see if it can even find the model (there should be a list of the models used by the plugin being logged).

I've still got to fix a few things in this before I release the next update, so that'll be a few days/weeks.

I'm going to see if I can quickly add in restricting items based on admin overrides, so that you can add in any index in the custom config, with just the relevant admin field, and it'll restrict that item.

EDIT: I did a quick bugfix update so that this works again with the latest TF2Items snapshot for items that have an empty attrib string.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 08-11-2013 at 04:02.
FlaminSarge is offline
The_dr
Senior Member
Join Date: Jan 2012
Location: Canada
Old 08-12-2013 , 08:16   Re: [TF2Items] Give Weapon (v3.141, 06/04/2013)
Reply With Quote #1105

Quote:
Originally Posted by FlaminSarge View Post
The latest version of the plugin was supposed to fix the bug with world models not setting properly, but check the error/normal logs for SourceMod to see if it can even find the model (there should be a list of the models used by the plugin being logged).

I've still got to fix a few things in this before I release the next update, so that'll be a few days/weeks.

I'm going to see if I can quickly add in restricting items based on admin overrides, so that you can add in any index in the custom config, with just the relevant admin field, and it'll restrict that item.

EDIT: I did a quick bugfix update so that this works again with the latest TF2Items snapshot for items that have an empty attrib string.
Here is the part of the Log file where TF2items looks for the model
PHP Code:
L 08/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2000Preparing models/iron/master_sword/master_sword.mdl
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2000Preparing models/iron/master_sword/master_sword.mdl
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2001Preparing models\iron\master_sword\master_sword.mdl
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2001Preparing models\iron\master_sword\master_sword.mdl
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2041Preparing models/weapons/c_models/c_v_ludmila/c_v_ludmila.mdl
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2058cannot find valid model models/custom/weapons/antehgen/urinejar.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2058cannot find valid model models/custom/weapons/antehgen/urinejar.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2171cannot find valid model models/advancedweaponiser/w_sickle_sniper.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2171cannot find valid model models/advancedweaponiser/w_sickle_sniper.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2197cannot find valid model models/custom/weapons/rebelscurse/c_wrench_v2.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2197cannot find valid model models/custom/weapons/rebelscurse/c_wrench_v2.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2228cannot find valid model models/advancedweaponiser/fbomb/c_fbomb.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]2228cannot find valid model models/advancedweaponiser/fbomb/c_fbomb.mdlskipping
L 08
/12/2013 00:38:55: [tf2items_giveweapon.smx] [TF2Items GiveWeapon]5142cannot find valid model models/custom/weapons/goldslinger/c_engineer_gunslinger.mdlskipping
L 08
/12/2013 01:05:16: [SMChanged map to "arena_badlands" 
The ability to restrict items using admin_overrides would be awesome!

I should post this in the ModelManager thread but since im here, in your ModelManager plugin, the modelname.mdl.dep files have to still be placed in the root model folder (tf/models/...). i was wondering if you where going to have a fix for this anytime soon. if not than you may want to wright in your post that .dep files have to be placed in the root models directory and not the steampipe one.
__________________
iRON Servers

Last edited by The_dr; 08-12-2013 at 08:18. Reason: added info
The_dr is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-14-2013 , 13:15   Re: [TF2Items] Give Weapon (v3.1415, 08/11/2013)
Reply With Quote #1106

Strange, I'll do some testing to see if I can replicate the issue.

With regards to Model Manager, I believe with the downloads I attached for the two taunt models I did, in fact, specify that .dep files have to go into the regular tf/models/ folder though everything else can go under the tf/custom/ folder.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
ameixa
New Member
Join Date: Feb 2013
Old 08-16-2013 , 08:22   Re: [TF2Items] Give Weapon (v3.1415, 08/11/2013)
Reply With Quote #1107

Hi
so, i think i've installed everything correctly, but when I pick up a valve weapon (rocket launcher, e.g.), the weapon has no ammo. Also, when I get a custom ID (like 22 or a valve medigun, the server crashes. Does anyone have a fix for that?
ameixa is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-17-2013 , 00:29   Re: [TF2Items] Give Weapon (v3.1415, 08/11/2013)
Reply With Quote #1108

Latest TF2items snapshot?
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 08-17-2013 at 00:29.
FlaminSarge is offline
ameixa
New Member
Join Date: Feb 2013
Old 08-17-2013 , 19:33   Re: [TF2Items] Give Weapon (v3.1415, 08/11/2013)
Reply With Quote #1109

Quote:
Originally Posted by FlaminSarge View Post
Latest TF2items snapshot?
yes
ameixa is offline
Mikethe3nd
Junior Member
Join Date: Aug 2013
Old 08-19-2013 , 09:28   Re: [TF2Items] Give Weapon (v3.1415, 08/11/2013)
Reply With Quote #1110

Why nobody can see my weapons? am I being really stupid or is this supposed to be like this.
Mikethe3nd 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 00:37.


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