Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Platforms
PCXboxPlayStationNintendo
Games
ActionStrategyRole Playing GamesSimulatorsSport Games

Game Forum / Action Games / Half Life / January 2004

Tip: Looking for answers? Try searching our database.

Expert mapping question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Keith J. - 26 Jan 2004 09:02 GMT
Armory_entity only has rifles, grenades, and armor. To limit a map to the
starting pistols only, you put a small buyzone in an area where the players
can't go or restrict weapon buying. Other than that, I don't know of a way
to limit or give weapons. I wish I did. I'm hoping to make a map similar to
PO_Sunworld.

Anybody know how to give certain pistols, take pistols away for a knife-only
map , etc ?

Keith J
Nick Robins - 27 Jan 2004 18:06 GMT
> Armory_entity only has rifles, grenades, and armor. To limit a map to
> the starting pistols only, you put a small buyzone in an area where
[quoted text clipped - 6 lines]
>
> Keith J

AFAIK the easiest way to do this is to strip the weapons (pistol and
knife) from the player as they spawn, and then give them the weapons
that you want them to have (usually by placing them under the
spawnpoints). I've not done any CS mapping, but this method works for
HL and DoD so I dont see why it wouldnt work for CS as well.

To strip the weapons you need to use player_weaponstrip, there are a few
ways of triggering it (strictly speaking you have to make each player
trigger it). You can use a brush trigger such as trigger_once (note:
trigger_once might not reset between rounds in which case you would
need to use trigger_multiple) over each spawn point. It might also be
possible to simply give the player_weaponstrip the name (targetname)
"game_playerspawn" which should result in the same effect (though I
havn't tested this).

Placing weapons can be a bit of a pain if your FGD dosn't contain them
(which it appears that yours dosn't, though some of the "expert" ones
certinly will). To place one, create a point entity (of any type) where
you want the weapon to appear, open the entity properties and replace
the type of entity (eg trigger_relay) at the top of the dialog with the
name of the weapon entity you want to place. A quick check in the cs
lib gives this list of weapons:

weapon_357
weapon_9mmAR
weapon_9mmhandgun
weapon_ak47
weapon_aug
weapon_awp
weapon_c4
weapon_crossbow
weapon_deagle
weapon_elite
weapon_fiveseven
weapon_flashbang
weapon_g3sg1
weapon_glock18
weapon_handgrenade
weapon_hegrenade
weapon_hornetgun
weapon_knife
weapon_m249
weapon_m3
weapon_m4a1
weapon_mac10
weapon_mp5n
weapon_mp5navy
weapon_p228
weapon_p90
weapon_rpg
weapon_satchel
weapon_scout
weapon_sg550
weapon_sg552
weapon_shotgun
weapon_smokegrenade
weapon_snark
weapon_tmp
weapon_tripmine
weapon_ump45
weapon_usp
weapon_xm1014

Some of these (such as weapon_snark and weapon_hornetgun) are from HL
and almost certainly won't work in CS (though it might be amusing to
try ;) ).

Nick

- --
GnuPG public key at:
http://www.tanelorn.org.uk/~nick/files/nickrobins.asc
Key Fingerprint: 0x917197CC
Keith J. - 27 Jan 2004 22:03 GMT
Many thanks. I posted this question a few months ago but nobody answered.

Have a good one;
Keith J.

Signature

Proud owner of :
      4 "killed by a flashbang" points
   15 "old fart" points
   10 "func_pushable as a weapon" points
   50 "HE grenade headshot vitcim" points
2,193 "infected email deleted" points

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
[quoted text clipped - 90 lines]
> =2HCC
> -----END PGP SIGNATURE-----
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.