.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Forge of Digital Worlds > Mapping > HLČ Engine Mapping
HLČ Engine Mapping Maps for the Half-Life 2 (Source) engine Half-Life 2

Reply
 
Thread Tools
Weapon entities
Old
  (#1)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default Weapon entities - 23-11-2004

Here's the weapon list:
Code:
//-------------------------------------------------------------------------
// WEAPONS
//-------------------------------------------------------------------------
@BaseClass color(0 0 200) base(Targetname, Angles) = Weapon
[
]
 
 
@PointClass base(Weapon) = weapon_mp5navy : "Mp5" []
@PointClass base(Weapon) = weapon_m4a1 : "M4a1" []
@PointClass base(Weapon) = weapon_ak47 : "Ak47" []
@PointClass base(Weapon) = weapon_usp : "Usp" []
@PointClass base(Weapon) = weapon_deagle : "Deagle" []
@PointClass base(Weapon) = weapon_aug : "Steyr Aug" []
@PointClass base(Weapon) = weapon_awp : "AWP" []
@PointClass base(Weapon) = weapon_c4 : "C4 Bomb" []
@PointClass base(Weapon) = weapon_elite : "Elite" []
@PointClass base(Weapon) = weapon_famas : "Famas" []
@PointClass base(Weapon) = weapon_fiveseven : "Fiveseven" []
@PointClass base(Weapon) = weapon_flashbang : "Flash Grenade" []
@PointClass base(Weapon) = weapon_g3sg1 : "G3sg1" []
@PointClass base(Weapon) = weapon_gallil : "Gallil" []
@PointClass base(Weapon) = weapon_glock : "Glock" []
@PointClass base(Weapon) = weapon_hegrenade : "HE Granade" []
@PointClass base(Weapon) = weapon_knife : "Knife" []
@PointClass base(Weapon) = weapon_m3 : "M3 Shotgun" []
@PointClass base(Weapon) = weapon_m249 : "M249" []
@PointClass base(Weapon) = weapon_mac10 : "Mac10" []
@PointClass base(Weapon) = weapon_p90 : "P90" []
@PointClass base(Weapon) = weapon_p228 : "P228" []
@PointClass base(Weapon) = weapon_scout : "Scout" []
@PointClass base(Weapon) = weapon_sg550 : "SG 550" []
@PointClass base(Weapon) = weapon_sg552 : "SG 552" []
@PointClass base(Weapon) = weapon_smokegrenade : "Smoke Grenade" []
@PointClass base(Weapon) = weapon_tmp : "TMP" []
@PointClass base(Weapon) = weapon_ump45 : "UMP 45" []
@PointClass base(Weapon) = weapon_xm1014 : "XM 1014 Shotgun" []
Copy and paste this code into your sourcesdk/bin/cstrike.fgd
Now you can drop weapons on the ground for your custom map!
  
Reply With Quote
Re: Weapon entities
Old
  (#2)
SoUlFaThEr
Moderator
 
SoUlFaThEr's Avatar
 
Status: Offline
Posts: 860
Join Date: Mar 2004
Default Re: Weapon entities - 23-11-2004

i have this already, and you did a great job man! can you figure out how to place AMMO!!!??

my list was not fgd.ready


  
Reply With Quote
Re: Weapon entities
Old
  (#3)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Weapon entities - 23-11-2004

Are there really 2 l's at "Gallil" ?
In former CS it was spelled "galil"...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Weapon entities
Old
  (#4)
SoUlFaThEr
Moderator
 
SoUlFaThEr's Avatar
 
Status: Offline
Posts: 860
Join Date: Mar 2004
Default Re: Weapon entities - 23-11-2004

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.


  
Reply With Quote
Re: Weapon entities
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Weapon entities - 23-11-2004

Quote:
Originally Posted by SoUlFaThEr
hope this makes all of you cream your jeans.....
and another one for the monumental BU quotes thread !



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Weapon entities
Old
  (#6)
SoUlFaThEr
Moderator
 
SoUlFaThEr's Avatar
 
Status: Offline
Posts: 860
Join Date: Mar 2004
Default Re: Weapon entities - 27-11-2004

hehehe finally made it in there


  
Reply With Quote
Re: Weapon entities
Old
  (#7)
xinman
Member
 
Status: Offline
Posts: 1
Join Date: Feb 2005
Default Re: Weapon entities - 24-02-2005

I'm new to making maps but learning a lot, not much info out there for making maps though. If you have any sites that have good howto's please post them. To the point: I'm trying to place a couple of weapons around the map to be picked up and used, I followed the above and I can add the entity but what else, it doesn't show in the map?

Please help...
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com