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

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


Post New Thread Reply   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-26-2011 , 18:27   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #171

Just a heads up, I'm going to be changing the Rebel's Curse from a Golden Wrench base weapon to just a Wrench-based weapon. It's for a really cool effect (for most custom weapons) that I'm working on.
New index will be 2197, up from 2169.
__________________
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
TGFireball
BANNED
Join Date: Jan 2011
Old 01-27-2011 , 22:29   Re: [TF2Items] Give Weapon (v2.6, 01/07/2011)
Reply With Quote #172

Quote:
Originally Posted by FlaminSarge View Post
Alright, so, dedicated post for all weapon models that I hardcoded into the plugin (this includes Randomizer). Right now, that's:
the Khopesh Climber
the Rebel's Curse

Each has three folders inside, materials, models, and fastdl
Place the materials and models folder in your server's tf folder, then place the contents of the "fastdl" folder (another materials and models folder are those contents) on your sv_downloadurl server's or fastdownload server's tf folder (if you DON'T have a fastdownload server, ignore the fastdl folder).

Credits:
Khopesh Climber - Originally "The Scythe of Slaughter" skin by ez_jamin. Converted to a custom model by Mecha the Slag.
Rebel's Curse - Originally the Golden Wrench by Valve, I fiddled with it to its current state.
I just downloaded the Rebel's Curse models, and followed your instructions.

- Put the models folder and materials folder onto my gameserver.
- Put the FastDL models and materials folders onto my FTP inside the tf folder
- Did a mapchange to make everyone download the models
- Gave myself the Rebel's Curse

Another player looked at me and said "Why is there a big ERROR inside you?"

So I gave him the weapon, he touched a resupply locker and switched to the Rebel's Curse. Sure enough, big red ERROR.

Care to explain why the models don't work?

Last edited by TGFireball; 01-27-2011 at 22:33. Reason: Dammit my english sucks ass.
TGFireball is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-28-2011 , 10:21   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #173

Try restarting the server. It may refresh the download table, so that clients download it correctly. I'm not so sure about mapchanges...

And also sv_pure?
__________________
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
TGFireball
BANNED
Join Date: Jan 2011
Old 01-28-2011 , 14:40   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #174

Quote:
Originally Posted by FlaminSarge View Post
Try restarting the server. It may refresh the download table, so that clients download it correctly. I'm not so sure about mapchanges...

And also sv_pure?
Oh shit. I have sv_pure set to 1 because we had way too many people taking advantage of when sv_pure was set to 0. Too many aimbotters.

Well here's my pure_server_whitelist.txt (attached). I read up about Pure Servers on the Valve Software wiki. What do I do to make the whitelist allow custom weapon models?

And while I'm here, is my whitelist properly set up to prevent aimbotters who use custom models/materials to aimbot? I'm new to the whole sv_pure thing.
Attached Files
File Type: txt pure_server_whitelist.txt (1.8 KB, 129 views)

Last edited by TGFireball; 01-28-2011 at 14:47.
TGFireball is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-29-2011 , 01:04   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #175

add two lines to the whitelist:
models\custom\weapons\... allow_from_disk
models\advancedweaponiser\... allow_from_disk

That should do it.
__________________
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
TGFireball
BANNED
Join Date: Jan 2011
Old 01-29-2011 , 13:41   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #176

Quote:
Originally Posted by FlaminSarge View Post
add two lines to the whitelist:
models\custom\weapons\... allow_from_disk
models\advancedweaponiser\... allow_from_disk

That should do it.
Thanks But I ended up switching sv_pure back to 0.

I figured something out as well. The Khopesh Climber models work (obviously there's no viewmodels, but worldmodels work), but the Rebel's Curse doesn't work at all. I think it has to do with the model file you used in the coding. For some reason, any model that starts with "c_" doesn't seem to work.

With that being said, I found Mecha's Advanced Weaponiser server, and when I joined it downloaded all the proper model files and such for the various Weaponiser weapons.

My plan is to BZIP up copies of all the model files, and upload them to my server, then, using the custom items TXT of this plugin, give them some form of attributes, seeing as Mecha uses custom attributes (like being able to throw the boomerang and such), and I don't know how he did it.

I'm not trying to rip off Mecha or anything, but I just like some of the weapons he has on the AW, and I want to use their custom models on some custom weapons.
TGFireball is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-30-2011 , 03:04   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #177

The Khopesh Climber IS from Weaponiser. Mecha gave me that code.

The Rebel's Curse works fine on several servers. Make sure to copy over to fastDL
"models/custom/weapons/rebelscurse/c_wrench.mdl"
is its path.

Works fine in worldmodel with visibleweapons.

Viewmodels coming up, as I said in the visweps thread.
__________________
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
TGFireball
BANNED
Join Date: Jan 2011
Old 01-31-2011 , 08:18   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #178

Quote:
Originally Posted by FlaminSarge View Post
The Khopesh Climber IS from Weaponiser. Mecha gave me that code.

The Rebel's Curse works fine on several servers. Make sure to copy over to fastDL
"models/custom/weapons/rebelscurse/c_wrench.mdl"
is its path.

Works fine in worldmodel with visibleweapons.

Viewmodels coming up, as I said in the visweps thread.
Well that's strange because once again, for someone else, your instructions fail to work. Rebels Curse model does not work whatsoever. As stated before, I uploaded the BZIP'd files to the FastDL. Hell, I even uploaded the norms to my gameserver. I installed SM Downloader.

Nothing.

But yet, when I joined Mecha's server, and downloaded all the custom weapon models for it, I went ahead and found all the worldmodels from Mecha's server.

Uploaded all those to my server. Set them to custom weapons. Boom, everyone could see the worldmodels.

Methinks you and most of the people on this forum need to learn how to properly write an installation guide, instead of just saying "here you go, put it here."

c_models = dont work.
v_models = dont work.
w_models = GREAT SUCCESS
TGFireball is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-31-2011 , 17:56   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #179

Moar drama. Fun.

Hi psy.

Fireball (/thatdarnkid) if you're still watching, I followed my own instructions a couple times to make sure I worded stuff right, then I asked Mr. Jameless to do so, without giving him any help.
I believe my instructions are fine.

P.S. still working over here. Maybe it's a server restriction besides pure?

EDIT: I just remembered, if you check your rcon logs, it'll say whether it's finding the models. It'll have "Preparing model <modelname> for each model that it finds".
This will happen each time the plugin is loaded/map is loaded.
I'm glad I left that debug tool in there.
__________________
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; 02-01-2011 at 03:19.
FlaminSarge is offline
MEDIK
Junior Member
Join Date: Jul 2010
Old 02-01-2011 , 22:20   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #180

Hey sarge, i dont know if its this plugin or randomizer or the visibleweps native whatever, after a tf2 update everytime i give someone a normal or custom weapon it gets a glow(similar to intel glow) you have any idea whats that?
__________________
MEDIK 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 16:01.


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