|
Post by Precisionz1 on Jan 17, 2009 22:00:11 GMT
how i can spawn without gun but with a knife?
|
|
|
Post by ant600f2 on Jan 17, 2009 23:08:37 GMT
There's a 'trigger_weapon_dissolve,' 'trigger_weapon_strip,' 'player_weaponstrip,' and I believe one for 'equip' (where you can specify what/ which weapon(s) the player spawns with...
Which is a 'game_player_equip,' enabling you to specify the weapons...
Use the last in cooperation with one of the first to reach the desired effect.
The key name should be the item; the value should be the number of that item to equip. For example, a keyvalue pair of weapon_ar2 and 1 will make the game_player_equip equip the player with 1 Combine assault rifle. ..
The rest (for CSS) are, as follows:
weapon_hegrenade weapon_smokegrenade weapon_c4 weapon_usp weapon_p228 weapon_deagle weapon_fiveseven weapon_elite weapon_xm1014 weapon_mp5navy weapon_ump45 weapon_p90 weapon_mac10 weapon_ak47 weapon_sg552 weapon_famas weapon_m4a1 weapon_aug weapon_g3sg1 weapon_sg550 weapon_awp weapon_flashbang
And For HL2:
weapon_crowbar weapon_stunstick weapon_pistol weapon_ar2 weapon_rpg weapon_smg1 weapon_357 weapon_crossbow weapon_shotgun weapon_frag weapon_bugbait weapon_alyxgun
|
|
|
Post by Precisionz1 on Jan 17, 2009 23:54:09 GMT
|
|
|
Post by ant600f2 on Jan 18, 2009 1:26:50 GMT
Those are entities. The thing that looks like a chess-piece on the left? Go about as though you were making a regular entity, (click the 'chess-piece' then where you want the object; more than likely it'll start off as either a terrorist or a counter-terrorist body. Alt+Enter while the entity is still selected and where you see it says either terrorist or counter terrorist, type in one of the above entity names.
Start with, 'game_player_equip.' Going through the different tabs on the top, you'll find places to set the variables - what is and is not allowed to equip the player upon spawn.
|
|
|
Post by Precisionz1 on Jan 18, 2009 4:56:29 GMT
Sorry, dude but there is no tab for variable
|
|
|
Post by ant600f2 on Jan 18, 2009 8:14:08 GMT
D-OH!
'game_weapon_manager' , perhaps? I can't remember off the top.
|
|
|
Post by 3kliksphilip on Jan 18, 2009 14:36:38 GMT
|
|
|
Post by ant600f2 on Jan 18, 2009 15:50:20 GMT
I dunno why I forgot the 'smart edit' part.....
|
|
|
Post by Precisionz1 on Jan 18, 2009 15:57:41 GMT
Thanks
|
|