Post: exec in GSC?
02-02-2015, 10:28 PM #1
kyle1998
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys is it possible to use the "exec" cmd in a gsc menu?
like "exec ../../../hdd0_*filenamehere*" if so, what would be that script line be?
Thanks Happy
(adsbygoogle = window.adsbygoogle || []).push({});
02-03-2015, 05:28 AM #2
MrToxlcBooty
I defeated!
exec..?do you mean execute? ps3 dose not have cmd... your can only Read and write through external dependencies such as C++(SPRX) or C#
02-03-2015, 11:05 AM #3
kyle1998
Save Point
I Mean almost like mw2 cfg, but without the menu itself. My goal would be to put a few dvars in a cfg and put the file on a usb or hdd then execute it from a gsc menu, is this possible anymore?
02-04-2015, 06:38 PM #4
kyle1998
Save Point
Anyone?
02-05-2015, 06:51 AM #5
dtx12
Do a barrel roll!
It's not possible, just use SetDvar.
02-05-2015, 08:40 AM #6
oCmKs_4_LiFe
< ^ > < ^ >
Originally posted by dtx12 View Post
It's not possible, just use SetDvar.

hey bro do u know how to get godmode dogs on bo2? i tried setDvar("scr_dog_health", "9999"); but it didnt work :(
02-05-2015, 09:18 AM #7
dtx12
Do a barrel roll!
Originally posted by LiFe View Post
hey bro do u know how to get godmode dogs on bo2? i tried setDvar("scr_dog_health", "9999"); but it didnt work :(


If you're talking about mp - just try to override this function in _dogs.gsc.
    
init_dog()
{
assert( IsAi( self ) );

self.targetname = "attack_dog";

self.animTree = "dog.atr";
self.type = "dog";
self.accuracy = 0.2;
self.health = DOG_HEALTH;
self.maxhealth = DOG_HEALTH; // this currently does not hook to code maxhealth
self.aiweapon = "dog_bite_mp";
self.secondaryweapon = "";
self.sidearm = "";
self.grenadeAmmo = 0;
self.goalradius = 128;
self.noDodgeMove = true;
self.ignoreSuppression = true;
self.suppressionThreshold = 1;
self.disableArrivals = false;
self.pathEnemyFightDist = 512;
self.soundMod = "dog";

self.meleeAttackDist = 90;

self thread dog_health_regen();
self thread selfDefenseChallenge();
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo