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

[Css] Modify weapons without plugin


Post New Thread Reply   
 
Thread Tools Display Modes
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 07-10-2012 , 10:05   Re: [Css] Modify weapons without plugin
Reply With Quote #11

hello, I tried this

copied all weapon .txt files into css\cstrike\scripts

and edited the he_grenade.txt and changed the damage to from 50 to 200 and it still does the same amount of damage as default

and yes i rebooted the server
PresidentEvil is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-10-2012 , 11:32   Re: [Css] Modify weapons without plugin
Reply With Quote #12

Quote:
Originally Posted by PresidentEvil View Post
hello, I tried this

copied all weapon .txt files into css\cstrike\scripts

and edited the he_grenade.txt and changed the damage to from 50 to 200 and it still does the same amount of damage as default

and yes i rebooted the server
Then it not work.
Plugin called Weaponmod can do this and require SDKHooks extension.
Bacardi is offline
alencore
Senior Member
Join Date: Oct 2011
Old 10-21-2013 , 00:16   Re: [Css] Modify weapons without plugin
Reply With Quote #13

Cool tutorial!

Question:
Is it possible to add weapon view origin coordinates on the script?

Some custom weapons have horrible origins just wondering if that can be scripted in
like those of smod.
alencore is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-21-2013 , 01:58   Re: [Css] Modify weapons without plugin
Reply With Quote #14

no... it have to done while creating that custom model
https://developer.valvesoftware.com/...wmodels_in_XSI
__________________
Do not Private Message @me
Bacardi is offline
e04su3sul6
New Member
Join Date: Jul 2015
Old 07-03-2015 , 13:43   Re: [Css] Modify weapons without plugin
Reply With Quote #15

Ask I'm such a change
Why I do not install Silencers can kill bot
Installed out of the muffler can not kill BOT

WeaponData
{
"MaxPlayerSpeed" "250"
"WeaponType" "Pistol"
"FullAuto" 0
"WeaponPrice" "50"
"WeaponArmorRatio" "1.0"
"CrosshairMinDistance" "8"
"CrosshairDeltaDistance" "3"
"Team" "ANY"
"BuiltRightHanded" "0"
"PlayerAnimationExtension" "pistol"
"MuzzleFlashScale" "1"

"CanEquipWithShield" "1"


// Weapon characteristics:
"Penetration" "1"
"Damage" "34"
"Range" "9999"
"RangeModifier" "9999"
"Bullets" "1"
"CycleTime" "0.15"

// New accuracy model parameters
"Spread" 0.00200
"InaccuracyCrouch" 0.00525
"InaccuracyStand" 0.00700
"InaccuracyJump" 0.28725
"InaccuracyLand" 0.05745
"InaccuracyLadder" 0.01915
"InaccuracyFire" 0.03495
"InaccuracyMove" 0.01421

"SpreadAlt" 0.00180
"InaccuracyCrouchAlt" 0.00525
"InaccuracyStandAlt" 0.00700
"InaccuracyJumpAlt" 0.29625
"InaccuracyLandAlt" 0.05925
"InaccuracyLadderAlt" 0.01975
"InaccuracyFireAlt" 0.02504
"InaccuracyMoveAlt" 0.01505

"RecoveryTimeCrouch" 0.23371
"RecoveryTimeStand" 0.28045

// Weapon data is loaded by both the Game and Client DLLs.
"printname" "#Cstrike_WPNHUD_USP45"
"viewmodel" "models/weapons/v_pist_usp.mdl"
"playermodel" "models/weapons/w_pist_usp.mdl"
"shieldviewmodel" "models/weapons/v_shield_usp_r.mdl"
"SilencerModel" "models/weapons/w_pist_usp_silencer.mdl"
"anim_prefix" "anim"
"bucket" "1"
"bucket_position" "1"

"clip_size" "300"

"primary_ammo" "BULLET_PLAYER_556MM"
"secondary_ammo" "None"

"weight" "5"
"item_flags" "0"

// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
SoundData
{
//"reload" "Default.Reload"
//"empty" "Default.ClipEmpty_Rifle"
"single_shot" "Weapon_USP.Single"
"special1" "Weapon_USP.SilencedShot"
"special2" "Weapon_USP.DetachSilencer"
"special3" "Weapon_USP.AttachSilencer"
}

// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"font" "CSweaponsSmall"
"character" "A"
}
"weapon_s"
{
"font" "CSweapons"
"character" "A"
}
"ammo"
{
"font" "CSTypeDeath"
"character" "M"
}
"crosshair"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
ModelBounds
{
Viewmodel
{
Mins "-7 -4 -14"
Maxs "24 9 -2"
}
World
{
Mins "-1 -4 -3"
Maxs "17 5 6"
}
}
}
e04su3sul6 is offline
Neon123
Senior Member
Join Date: Jan 2016
Old 07-02-2017 , 16:35   Re: [Css] Modify weapons without plugin
Reply With Quote #16

i can not increase the knife speed , please anyone help me
Neon123 is offline
DraxB
New Member
Join Date: Jul 2015
Old 07-17-2017 , 05:39   Re: [Css] Modify weapons without plugin
Reply With Quote #17

Does this still work? Scripts folder doesn't exist anymore? I tried putting folder but nothing happens..
DraxB is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-17-2017 , 23:52   Re: [Css] Modify weapons without plugin
Reply With Quote #18

Not all attributes work by editing this file from server side.

You mostly need server mods/plugins to get work some features.
__________________
Do not Private Message @me
Bacardi is offline
kruqF
New Member
Join Date: Jun 2022
Old 06-08-2022 , 08:17   Re: [Css] Modify weapons without plugin
Reply With Quote #19

Can I change weapons price in my VDS server? I want change scout price to 1700$ for my all players playing in my server.
kruqF 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 01:57.


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