i found something a bit more thorough....this includes the weapion models for each weapon.....AND ads the game_player_equip entity that allows you to simply add anything to it
Code:
//-------------------------------------------------------------------------
// WEAPONS Credits to sh4rk_in93, TAz00
//-------------------------------------------------------------------------
@BaseClass color(0 0 200) base(Targetname, Angles) = Weapon
[
spawnflags(Flags) =
[
1 : "Start constrained" : 0
]
output OnPlayerPickup(void) : "Fires when the player picks up this weapon"
]
@PointClass base(Weapon) studio("models/weapons/w_knife_t.mdl") = weapon_knife : "Knife" []
@PointClass base(Weapon) studio("models/weapons/w_smg_mp5.mdl") = weapon_mp5navy : "Mp5" []
@PointClass base(Weapon) studio("models/weapons/w_rif_m4a1.mdl") = weapon_m4a1 : "M4a1" []
@PointClass base(Weapon) studio("models/weapons/w_rif_ak47.mdl") = weapon_ak47 : "Ak47" []
@PointClass base(Weapon) studio("models/weapons/w_pist_usp.mdl") = weapon_usp : "Usp" []
@PointClass base(Weapon) studio("models/weapons/w_pist_deagle.mdl") = weapon_deagle : "Deagle" []
@PointClass base(Weapon) studio("models/weapons/w_rif_aug.mdl") = weapon_aug : "Steyr Aug" []
@PointClass base(Weapon) studio("models/weapons/w_snip_awp.mdl") = weapon_awp : "AWP" []
@PointClass base(Weapon) studio("models/weapons/w_c4.mdl") = weapon_c4 : "C4 Bomb" []
@PointClass base(Weapon) studio("models/weapons/w_pist_elite.mdl") = weapon_elite : "Elite" []
@PointClass base(Weapon) studio("models/weapons/w_rif_famas.mdl") = weapon_famas : "Famas" []
@PointClass base(Weapon) studio("models/weapons/w_pist_fiveseven.mdl") = weapon_fiveseven : "Fiveseven" []
@PointClass base(Weapon) studio("models/weapons/w_eq_fraggrenade.mdl") = weapon_flashbang : "Flash Grenade" []
@PointClass base(Weapon) studio("models/weapons/w_snip_g3sg1.mdl") = weapon_g3sg1 : "G3sg1" []
@PointClass base(Weapon) studio("models/weapons/w_rif_galil.mdl") = weapon_galil : "Gallil" []
@PointClass base(Weapon) studio("models/weapons/w_pist_glock18.mdl") = weapon_glock : "Glock" []
@PointClass base(Weapon) studio("models/weapons/w_eq_fraggrenade.mdl") = weapon_hegrenade : "HE Granade" []
@PointClass base(Weapon) studio("models/weapons/w_shot_m3super90.mdl") = weapon_m3 : "M3 Shotgun" []
@PointClass base(Weapon) studio("models/weapons/w_mach_m249para.mdl") = weapon_m249 : "M249" []
@PointClass base(Weapon) studio("models/weapons/w_smg_mac10.mdl") = weapon_mac10 : "Mac10" []
@PointClass base(Weapon) studio("models/weapons/w_smg_p90.mdl") = weapon_p90 : "P90" []
@PointClass base(Weapon) studio("models/weapons/w_pist_p228.mdl") = weapon_p228 : "P228" []
@PointClass base(Weapon) studio("models/weapons/w_snip_scout.mdl") = weapon_scout : "Scout" []
@PointClass base(Weapon) studio("models/weapons/w_snip_sg550.mdl") = weapon_sg550 : "SG 550" []
@PointClass base(Weapon) studio("models/weapons/w_rif_sg552.mdl") = weapon_sg552 : "SG 552" []
@PointClass base(Weapon) studio("models/weapons/w_eq_smokegrenade.mdl") = weapon_smokegrenade : "Smoke Grenade" []
@PointClass base(Weapon) studio("models/weapons/w_smg_tmp.mdl") = weapon_tmp : "TMP" []
@PointClass base(Weapon) studio("models/weapons/w_smg_ump45.mdl") = weapon_ump45 : "UMP 45" []
@PointClass base(Weapon) studio("models/weapons/w_shot_xm1014.mdl") = weapon_xm1014 : "XM 1014 Shotgun" []
@PointClass base(Weapon) = item_kevlar : "Kevlar" []
@PointClass base(Weapon) = item_assaultsuit : "Assault Suit" []
@PointClass base(Weapon) studio("models/weapons/w_defuser.mdl") = item_defuser : "Diffuse Kit" []
@PointClass base(Targetname) = game_player_equip : "Initial player equipment"
[
spawnflags(flags) =
[
1: "Use Only" : 0
]
master(string) : "Team Master"
weapon_knife (choices) : "Give Knife" : 0 =
[
0: "No"
1: "Yes"
]
weapon_mp5navy (choices) : "Give MP5" : 0 =
[
0: "No"
1: "Yes"
]
weapon_m4a1 (choices) : "Give M4a1" : 0 =
[
0: "No"
1: "Yes"
]
weapon_tmp (choices) : "Give TMP" : 0 =
[
0: "No"
1: "Yes"
]
weapon_galil (choices) : "Give Gallil" : 0 =
[
0: "No"
1: "Yes"
]
weapon_famas (choices) : "Give Famas" : 0 =
[
0: "No"
1: "Yes"
]
weapon_usp (choices) : "Give Usp" : 0 =
[
0: "No"
1: "Yes"
]
weapon_deagle (choices) : "Give Desert eagle" : 0 =
[
0: "No"
1: "Yes"
]
weapon_elite (choices) : "Give Elite" : 0 =
[
0: "No"
1: "Yes"
]
weapon_fiveseven (choices) : "Give Five Seven" : 0 =
[
0: "No"
1: "Yes"
]
weapon_glock (choices) : "Give Glock" : 0 =
[
0: "No"
1: "Yes"
]
weapon_p228 (choices) : "Give P228" : 0 =
[
0: "No"
1: "Yes"
]
weapon_p90 (choices) : "Give P90" : 0 =
[
0: "No"
1: "Yes"
]
weapon_ak47 (choices) : "Give AK47" : 0 =
[
0: "No"
1: "Yes"
]
weapon_sg552 (choices) : "Give SG552" : 0 =
[
0: "No"
1: "Yes"
]
weapon_sg550 (choices) : "Give SG550" : 0 =
[
0: "No"
1: "Yes"
]
weapon_aug (choices) : "Give Aug" : 0 =
[
0: "No"
1: "Yes"
]
weapon_scout (choices) : "Give Scout" : 0 =
[
0: "No"
1: "Yes"
]
weapon_mac10 (choices) : "Give Mac10" : 0 =
[
0: "No"
1: "Yes"
]
weapon_g3sg1 (choices) : "Give G3SG1" : 0 =
[
0: "No"
1: "Yes"
]
weapon_awp (choices) : "Give AWP" : 0 =
[
0: "No"
1: "Yes"
]
weapon_m3 (choices) : "Give M3" : 0 =
[
0: "No"
1: "Yes"
]
weapon_xm1014 (choices) : "Give XM1014" : 0 =
[
0: "No"
1: "Yes"
]
weapon_m249 (choices) : "Give M249" : 0 =
[
0: "No"
1: "Yes"
]
weapon_flashbang (choices) : "Give Flash Bang" : 0 =
[
0: "No"
1: "1"
2: "2"
]
weapon_hegrenade (choices) : "Give HE Grenade" : 0 =
[
0: "No"
1: "Yes"
]
weapon_smokegrenade (choices) : "Give Smoke Grenade" : 0 =
[
0: "No"
1: "Yes"
]
item_kevlar (choices) : "Give Kevlar" : 0 =
[
0: "No"
1: "Yes"
]
item_assaultsuit (choices) : "Give Assault Suit" : 0 =
[
0: "No"
1: "Yes"
]
weapon_c4 (choices) : "Give C4" : 0 =
[
0: "No"
1: "Yes"
]
item_defuser (choices) : "Give Defuse Kit" : 0 =
[
0: "No"
1: "Yes"
]
]
hows that?
heres some camera shit too that was missing:
Code:
//-------------------------------------------------------------------------
//
// Camera/monitor entities
//
//-------------------------------------------------------------------------
@PointClass base(Parentname, Angles) studioprop("models/editor/camera.mdl") = point_camera : "Camera"
[
spawnflags(Flags) =
[
1 : "Start Off" : 0
]
targetname(target_source) : "Name" : : "The name that other entities refer to this entity by."
FOV(float) : "FOV" : 90 : "Field of view in degrees"
resolution(float) : "resolution" : 256 : "width/height of the render target for the camera"
// Inputs
input ChangeFOV(string) : "Changes camera's FOV over time"
input SetOnAndTurnOthersOff(void) : "Turn the camera on, and turn all other cameras off."
input SetOn(void) : "Turn the camera on."
input SetOff(void) : "Turn the camera off."
]
@SolidClass base(func_brush) = func_monitor :
"A monitor that renders the view from a given point_camera entity."
[
target(target_destination) : "Camera name"
// Inputs
input Toggle(void) : "Toggle - If on, turn off, if off, turn on."
input Enable(void) : "Enable."
input Disable(void) : "Disable."
input SetCamera(string) : "Sets the camera to use for this monitor. Takes the name of a point_camera entity in the map."
]
hope this makes all of you cream your jeans.....
i take no credit for this.......this was all TAZ00 and few others' magic.