Portal placement delay ?
Quote from generalvivi on November 26, 2010, 5:06 pmIs there a command that will allow you to change how fast you can shoot the portal gun?
Is there a command that will allow you to change how fast you can shoot the portal gun?
Quote from WinstonSmith on November 26, 2010, 6:24 pmgeneralvivi wrote:Is there a command that will allow you to change how fast you can shoot the portal gun?As in increasing the delay between being able to fire? Or decreasing the speed of the portal projectile? The closest thing I can think of is host_timescale, but that affects the speed of the entire game.
As in increasing the delay between being able to fire? Or decreasing the speed of the portal projectile? The closest thing I can think of is host_timescale, but that affects the speed of the entire game.
Quote from msleeper on November 26, 2010, 6:52 pmIf you're talking about the "reloading" speed between Portalgun shots, you should be able to change this in the weapon's script file. I don't know if you can include those changes in stand alone maps or if it has to be included in an actual "mod", but I'm assuming this is for Chell's Legend and not a stand alone map.
If you're talking about the "reloading" speed between Portalgun shots, you should be able to change this in the weapon's script file. I don't know if you can include those changes in stand alone maps or if it has to be included in an actual "mod", but I'm assuming this is for Chell's Legend and not a stand alone map.
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from generalvivi on November 26, 2010, 10:07 pmSo I opened up the Weapon_Portalgun.txt and this is all that is in there.
// Portalgun
WeaponData
{
// Weapon data is loaded by both the Game and Client DLLs.
"printname" "#Portal_Portalgun"
"viewmodel" "models/weapons/v_portalgun.mdl"
"playermodel" "models/weapons/w_portalgun.mdl"
"anim_prefix" "portalgun"
"bucket" "0"
"bucket_position" "2""clip_size" "1"
"primary_ammo" "None"
"secondary_ammo" "None""weight" "4"
"item_flags" "0"
"damage" "9"// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
SoundData
{
"single_shot" "Weapon_Portalgun.fire_blue"
"double_shot" "Weapon_Portalgun.fire_red"// NPC SECTION
"single_shot_npc" "Weapon_Portalgun.fire_blue_npc"
"double_shot_npc" "Weapon_Portalgun.fire_red_npc"
}// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"font" "WeaponIcons"
"character" "C"
}
"weapon_s"
{
"font" "WeaponIconsSelected"
"character" "C"
}
"ammo"
{
"font" "WeaponIcons"
"character" "M"
}
"crosshair"
{
"font" "Crosshairs"
"character" "Q"
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
}I don't see anything about fire rate or delay. Unless that is in another document?
So I opened up the Weapon_Portalgun.txt and this is all that is in there.
// Portalgun
WeaponData
{
// Weapon data is loaded by both the Game and Client DLLs.
"printname" "#Portal_Portalgun"
"viewmodel" "models/weapons/v_portalgun.mdl"
"playermodel" "models/weapons/w_portalgun.mdl"
"anim_prefix" "portalgun"
"bucket" "0"
"bucket_position" "2"
"clip_size" "1"
"primary_ammo" "None"
"secondary_ammo" "None"
"weight" "4"
"item_flags" "0"
"damage" "9"
// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
SoundData
{
"single_shot" "Weapon_Portalgun.fire_blue"
"double_shot" "Weapon_Portalgun.fire_red"
// NPC SECTION
"single_shot_npc" "Weapon_Portalgun.fire_blue_npc"
"double_shot_npc" "Weapon_Portalgun.fire_red_npc"
}
// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"font" "WeaponIcons"
"character" "C"
}
"weapon_s"
{
"font" "WeaponIconsSelected"
"character" "C"
}
"ammo"
{
"font" "WeaponIcons"
"character" "M"
}
"crosshair"
{
"font" "Crosshairs"
"character" "Q"
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
}
I don't see anything about fire rate or delay. Unless that is in another document?
Quote from Motanum on November 27, 2010, 4:56 amgeneralvivi wrote:So I opened up the Weapon_Portalgun.txt and this is all that is in there.
"ammo"
{
"font" "WeaponIcons"
"character" "M"
}
"crosshair"
{
"font" "Crosshairs"
"character" "Q"I don't see anything about fire rate or delay. Unless that is in another document?
Hey, I did not know that Portal was related to 007!
Maybe they made MI6's curtains?On a serious note. No I would not know how to do. But I believe that if you pakrat the file to the stand alone map. It will get loaded along only for that map, so it could work.
"ammo"
{
"font" "WeaponIcons"
"character" "M"
}
"crosshair"
{
"font" "Crosshairs"
"character" "Q"
I don't see anything about fire rate or delay. Unless that is in another document?
Hey, I did not know that Portal was related to 007!
Maybe they made MI6's curtains?
On a serious note. No I would not know how to do. But I believe that if you pakrat the file to the stand alone map. It will get loaded along only for that map, so it could work.
Portal Maps - Motanum's Cheating Test [3 map pack and 2nd place winner]
Portal 2 Maps - Slanted Bridge | Main Four | Juggling | Wall Bridge
Aperture Tag - Collection ModDB
Like my work? Spare a coin? Donate via PayPal at eugenio.motanum91 [AT] gmail.com
Quote from Omnicoder on November 27, 2010, 7:04 amMotanum wrote:generalvivi wrote:So I opened up the Weapon_Portalgun.txt and this is all that is in there.
"ammo"
{
"font" "WeaponIcons"
"character" "M"
}
"crosshair"
{
"font" "Crosshairs"
"character" "Q"I don't see anything about fire rate or delay. Unless that is in another document?
Hey, I did not know that Portal was related to 007!
Maybe they made MI6's curtains?On a serious note. No I would not know how to do. But I believe that if you pakrat the file to the stand alone map. It will get loaded along only for that map, so it could work.
There is nothing in that file about reload speed so there's no reason to pakrat anything.
"ammo"
{
"font" "WeaponIcons"
"character" "M"
}
"crosshair"
{
"font" "Crosshairs"
"character" "Q"
I don't see anything about fire rate or delay. Unless that is in another document?
Hey, I did not know that Portal was related to 007!
Maybe they made MI6's curtains?
On a serious note. No I would not know how to do. But I believe that if you pakrat the file to the stand alone map. It will get loaded along only for that map, so it could work.
There is nothing in that file about reload speed so there's no reason to pakrat anything.
Quote from generalvivi on November 27, 2010, 1:54 pmSo does anyone know which file I need to look at in order to change reload speed?
So does anyone know which file I need to look at in order to change reload speed?
Quote from msleeper on November 27, 2010, 3:54 pmYeah I'm kind of shocked, I thought that stuff was in the weapon script.
Yeah I'm kind of shocked, I thought that stuff was in the weapon script.
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from generalvivi on November 27, 2010, 4:12 pmOk, so I'm going to guess this is a no go then.
Ok, so I'm going to guess this is a no go then.