Please or Register to create posts and topics.

Portal placement delay ?

Is there a command that will allow you to change how fast you can shoot the portal gun?

generalvivi 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.

Image
Now with 100% more inline comments!

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.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
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.

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?

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.

Motanum's Website
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
Motanum 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.

So does anyone know which file I need to look at in order to change reload speed?

It's either in the binary or a property of the animation.

Yeah I'm kind of shocked, I thought that stuff was in the weapon script.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
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.

Ok, so I'm going to guess this is a no go then. :(