I know I've asked these questions before on the server but I think I'll get better results on the forums.
1.) In Portal what is the command to kill/close both your portals that you have open.
EX: In Portal Flash Version you can press "R" to close all portals open (This is where I got the idea)
Ex: What I'm looking for is a code that is the does the exact same thing as when you walk through
one of the force fields at the end of each test chamber.
2.) If I made my own custom .CFG file to use the "exec HL2_Weapon_Script.cfg" and had to turn on "sv_cheats 1" but only for about 10 sec. while the entire .cfg loads how could I make a "sv_cheats 0" delay.
Ex: Here's something I tried but it didn't work "wait sv_cheats 0".
If I put a "sv_cheats 0" at the end of the script it executes it all at once and the script does nothing.
Basically how can I make a time released script
For anyone who's curious this is my HL2WeaponScript - I use it to make guns more realistic:
Code:
hud_saytext_time "15"
sv_cheats "1"
coop "1"
say "Half Life 2 Weapon Script Enabled"
impulse "101"
sk_max_357 "999"
sk_max_ar2 "999"
sk_max_ar2_altfire "999"
sk_max_buckshot "999"
sk_max_crossbow "999"
sk_max_grenade "999"
sk_max_pistol "999"
sk_max_rpg_round "999"
sk_max_smg1 "999"
sk_max_smg1_grenade "999"
sk_plr_dmg_crowbar 20
sk_plr_dmg_crowbar "20"
sk_plr_num_shotgun_pellets "50"
sk_plr_dmg_buckshot "8"
physcannon_maxforce 4500
physcannon_maxmass 850
physcannon_pullforce 8000
physcannon_tracelength 850
sk_npc_dmg_buckshot 8
sk_npc_num_shotgun_pellets 50
sk_npc_num_shotgun_pellets "50"
sk_npc_dmg_buckshot "8"
sv_infinite_aux_power 1
impulse "101"
impulse "101"
impulse "101"
impulse "101"
3.) How do I change the weapon damage of the Double Barrel on the Shotgun in the format of
sk_plr_num_shotgun_pellets "50"
or
sk_plr_dmg_buckshot "8"
4.) How do I turn on talk mode- just using "say text" or "say "text"" doesn't work the way it does in Portal or Sven Coop
5.) Why does "physcannon_megacannon 1" never work in any format that i try to write it
6.) How do I put a comment into a code?
Ex: In the HTML Language a comment is this <!--Comment Here-->
Yes i have reviewed these sites so please don't tell me to look at all the codes
http://developer.valvesoftware.com/wiki ... mmand_Listhttp://strategywiki.org/wiki/Portal/Cheats