.:: 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
he_city_b1
Old
  (#1)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default he_city_b1 - 23-01-2005

That's right, I've done a quick little nade map!
You are probably aware of the bug in fy_ maps that make laid out weapons dissappear soon after a new round starts... Well, I made a custom fgd, which uses a game_weapon_strip, trigger_multiple, and info_player_equip, and used these on these little nade boxes. Just run up to the nade box to get a nade!
Lemme know what you guys think, or how I could do this better.
Thanks,
- DEAD
Here's some screens:



  
Reply With Quote
Re: he_city_b1
Old
  (#2)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: he_city_b1 - 23-01-2005

Please elaborate on your method, because I know someone who really needs this information. NIPPER's he_dodgeball stopped working, and he would love to know this.


sfx1999.postcount++
  
Reply With Quote
Re: he_city_b1
Old
  (#3)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default Re: he_city_b1 - 23-01-2005

I added this to my base.fgd:
Code:
@PointClass base(Targetname) size(-8 -8 -8, 8 8 8) = game_player_equip : "An entity that gives equipment to the player who activates it. To use, add new keys to this entity, where each key is the classname of a weapon/item, and the corresponding value is the number of those weapons/items to give to the player who uses this entity. If the 'Use Only' spawnflag isn't set, then players can just touch this entity to get the equipment."
[
master(string) : "Team Master"
spawnflags(flags) =
[
1: "Use Only" : 0
]
weapon_knife (choices) : "Give Knife" : 0 = 
[
0: "No"
1: "Yes"
]
weapon_usp (choices) : "Give USP45 (45acp Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_glock18 (choices) : "Give Glock 18 (9mm Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_deagle (choices) : "Give Desert Eagle (50ae Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_p228 (choices) : "Give P-228 (357sig Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_elite (choices) : "Give Beretta Elites (9mm Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_fiveseven (choices) : "Give Five-Seven (57mm Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_m3 (choices) : "Give Benelli M3 (12 Gauge)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_xm1014 (choices) : "Give Benelli XM1014 (12 Gauge)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_mp5navy (choices) : "Give MP5/Navy (9mm Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_tmp (choices) : "Give TMP (9mm Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_p90 (choices) : "Give FN P90 (57mm Calibre)" : 0 = 
[
0: "No"
1: "Yes"
]
weapon_mac10 (choices) : "Give Mac-10 (45acp Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_ump45 (choices) : "Give UMP 45 (45acp Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_ak47 (choices) : "Give AK-47 (762nato Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_sg552 (choices) : "Give SG552 (556nato Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_m4a1 (choices) : "Give M4A1 (556nato Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_aug (choices) : "Give Aug (556nato Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_scout (choices) : "Give Scout (762nato Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_awp (choices) : "Give AWP (338magnum Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_g3sg1 (choices) : "Give G3/SG-1 (762nato Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_sg550 (choices) : "Give SG550 (556nato Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_m249 (choices) : "Give M249 (556natobox Calibre)" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_famas (choices) : "CS 1.6 Famas (762nato)" : 0 = 
[
0: "No"
1: "Yes"
]
weapon_galil (choices) : "CS 1.6 Galil (556natobox)" : 0 = 
[
0: "No"
1: "Yes"
]
item_kevlar (choices) : "Give Kevlar Vest" : 0 = 
[
0: "No"
1: "Yes"
] 
item_assaultsuit (choices) : "Give Kevlar Vest+Ballistic Helmet" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_flashbang (choices) : "Give Flash Bang" : 0 = 
[
0: "No"
1: "1"
2: "2"
] 
weapon_hegrenade (choices) : "Give High-Explosive Grenade" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_smokegrenade (choices) : "Give Smoke Grenade" : 0 = 
[
0: "No"
1: "Yes"
] 
item_thighpack (choices) : "Give Defuse Kit" : 0 = 
[
0: "No"
1: "Yes"
] 
weapon_c4 (choices) : "Give C4 Plastique Bomb" : 0 = 
[
0: "No"
1: "Yes"
] 
ammo_9mm (choices) : "Give 9mm Parabellum Ammo" : 0 = 
[
0: "No"
1: "1 Clip (30 Bullets Per Clip)"
2: "2 Clips"
3: "3 Clips (Fill Glock 18)"
4: "4 Clips (Fill Elites, MP5 & TMP)"
] 
ammo_45acp (choices) : "Give .45 ACP Ammo" : 0 = 
[
0: "No"
1: "1 Clip (12 Bullets Per Clip)"
2: "2 Clips"
3: "3 Clips"
4: "4 Clips (Fill USP45)"
5: "5 Clips"
6: "6 Clips"
7: "7 Clips"
8: "8 Clips (Fill Mac-10)"
9: "9 Clips (Fill UMP 45)"
] 
ammo_50ae (choices) : "Give .50 Deagle Ammo" : 0 = 
[
0: "No"
1: "1 Clip (7 Bullets Per Clip)"
2: "2 Clips"
3: "3 Clips"
4: "4 Clips"
5: "5 Clips (Fill Desert Eagle)"
] 
ammo_57mm (choices) : "Give 5.7mm Ammo" : 0 = 
[
0: "No"
1: "1 Clip (50 Bullets Per Clip)"
2: "2 Clips (Fill Five-Seven & P90)"
] 
ammo_357sig (choices) : "Give .357 SIG Ammo" : 0 = 
[
0: "No"
1: "1 Clip (13 Bullets Per Clip)"
2: "2 Clips"
3: "3 Clips"
4: "4 Clips (Fill P-228)"
] 
ammo_buckshot (choices) : "Give 12 Gauge Ammo" : 0 = 
[
0: "No"
1: "1 Clip (8 Shells Per Clip)"
2: "2 Clips"
3: "3 Clips"
4: "4 Clips (Fill Benelli M3, XM1014)"
] 
ammo_762nato (choices) : "Give 7.62mm NATO Ammo" : 0 = 
[
0: "No"
1: "1 Clip (30 Bullets Per Clip)"
2: "2 Clips (Fill Scout & G3/S-G1)"
3: "3 Clips (Fill AK-47)"
] 
ammo_556nato (choices) : "Give 5.56mm NATO Ammo" : 0 = 
[
0: "No"
1: "1 Clip (30 Bullets Per Clip)"
2: "2 Clips"
3: "3 Fill SG552 M4A1 Aug SG550"
] 
ammo_556natobox (choices) : "Give 5.56mm NATO Box Ammo" : 0 = 
[
0: "No"
1: "1 Clip (30 Bullets Per Clip)"
2: "2 Clips"
3: "3 Clips"
4: "4 Clips"
5: "5 Clips"
6: "6 Clips"
7: "7 Clips (Fill FN M249 Para)"
] 
ammo_338magnum (choices) : "Give .338 AWP Ammo" : 0 = 
[
0: "No"
1: "1 Clip (10 Bullets Per Clip)"
2: "2 Clips"
3: "3 Clips (Fill AWP)"
] 
]
@PointClass base(Targetname) size(-16 -16 -16, 16 16 16) iconsprite("sprites/CS/PlayerWeaponStrip.spr") = player_weaponstrip : "Strips player's weapons" []
// Obsolete (Code commented out)
//@PointClass base(Targetname) size(-8 -8 -8, 8 8 8) = game_player_hurt : "Hurts player who fires"
//[
// dmg(string) : "Damage To Apply" : "999"
// spawnflags(flags) =
// [
// 1: "Remove On fire" : 0
// ]
// master(string) : "Master (Obsolete)" : : "Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate."
//]
Then used a trigger system to release nades from these grenade boxes. I'm sure you could place a bunch of triggers around an fy_map to accomplish the same thing.
I'll post my vmf in the filebase as I'm sure this will be asked by many.
- DEAD

Link:
http://filebase.bots-united.com/inde...on=file&id=267

Last edited by dead bwoy; 23-01-2005 at 21:08..
  
Reply With Quote
Re: he_city_b1
Old
  (#4)
Zacker
Project Leader, Lead Level Designer, Waypointer
 
Status: Offline
Posts: 337
Join Date: Mar 2004
Location: Denmark
Default Re: he_city_b1 - 30-01-2005

The method is quite simple and also works in HL.

The game_player_equip give the specified weapon to the activator. The player could fx. activate it through a trigger_multiple or through a button.

The game_weapon_strip or player_weaponstrip(HL1) is used to take away weapons from players.
  
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