Sign in to follow this  
amjad1371

Broken script

Recommended Posts

Hello,

I got old version of localized 07 so downloaded newer one and every gsc file appear like a chaos and not clear , all the commands near each other so i heard that there is program to drop gsc in it and its make it like original how this done

Thanks

Share this post


Link to post
Share on other sites

Thanks for reply , i puted gsc in the new notepad and edited what i want so puted it in the server and saying bad token with symbol , one more question why when i join server with newer version of localized 07 my rank become 1 not like what was maybe from prestige ?? i want to make it with my original rank please

Thanks

Share this post


Link to post
Share on other sites

"new notepad". Seriously if you do any gsc editing, don't do it in Windows default notepad, it's complete shit. Use either Notepad++ or a different text editor, for example Atom (it has a plugin for GSC code coloring).

Note that localized_english_iw07.iwd is not needed for your server to run. If you want any custom .gsc code, please put them in a folder called "main_shared" instead (details here).

Lastly, make sure you set the server to run non-modded, otherwise it'll use player stats from the mod.

Share this post


Link to post
Share on other sites

seems like all servers with prestige player rank be 1 , so about film tweaks and cg_fov i got in my old localized 07

_vision.gsc in it the edits so i saw in the newer version vision.gsc , i changed the settings like the old one and they not effect anything maybe there is other file contain filmtweaks and cg_fov ??

Where this file could be please i need to change them , also prestige not cause problems ?? if anyone got latest file that fix prestige if got bugs

Thanks

Share this post


Link to post
Share on other sites

also i need to allow all perks and weapons some of perks not allowed in new version like grenade luncher and others how to allow all where this file

Thanks

Share this post


Link to post
Share on other sites
in new version

Why don't you just contact author of this new version so he can elp you?

Share this post


Link to post
Share on other sites

Mates i dont find the author please if someone know where to change filmtweaks in that localized and allow all perks

Share this post


Link to post
Share on other sites

I went to RS CrazY and told me you can allow all perks in _weapons.gsc so i saw this in it :

onPlayerSpawned()
{
self endon("disconnect");

for(;
{
	self waittill("spawned_player");

	self.concussionEndTime = 0;
	self.hasDoneCombat = false;
	self thread watchWeaponUsage();
	self thread watchGrenadeUsage();
	self thread watchWeaponChange();

	self.droppedDeathWeapon = undefined;
	self.tookWeaponFrom = [];
	self.weap_gl = self getCurrentWeapon();

	self thread updateStowedWeapon();

	/*if ( self HasPerk( "specialty_pistoldeath" ) == true ) 
	{
		self UnSetPerk( "specialty_pistoldeath" );
		wait 0.5;
		self iPrintlnbold( "^3Last Stand Perk ^1has been disabled on this server!" );
		self iPrintln("^1Pick Other Perk Due To ^3Perk Limits");
	}
	if ( self HasPerk( "specialty_pistoldeath" ) == true ) 
	{
		self UnSetPerk( "specialty_pistoldeath" );
		wait 0.5;
		self iPrintlnbold( "^3Last Stand Perk ^1has been disabled on this server!" );
		self iPrintln("^1Pick Other Perk Due To ^3Perk Limits");
	}
	if ( self HasPerk( "specialty_grenadepulldeath" ) == true ) 
	{
		self UnSetPerk( "specialty_grenadepulldeath" );
		wait 0.5;
		self iPrintlnbold( "^3Martrdom Perk ^1has been disabled on this server!" );
		self iPrintln("^1Pick Other Perk Due To ^3Perk Limits");
	}
	if ( self HasPerk( "specialty_armorvest" ) == true ) 
	{
		self UnSetPerk( "specialty_armorvest" );
		wait 0.5;
		self iPrintlnbold( "^3Juggernaut Perk ^1has been disabled on this server!" );
		self iPrintln("^1Pick Other Perk Due To ^3Perk Limits");
	}
	if ( self HasPerk( "specialty_fraggrenade" ) == true ) 
	{
		self UnSetPerk( "specialty_fraggrenade" );
		wait 0.5;
		self iPrintlnbold( "^33 Frags Perk ^1has been disabled on this server!" );
		self iPrintln("^1Pick Other Perk Due To ^3Perk Limits");
	}
	if(IsSubStr( self.weap_gl, "_gl" ))
	{
		self waittill ("weapon_fired");
		weapon=self getCurrentWeapon();
		self dropItem(weapon);
		self giveWeapon( "ak47_mp" );
		self GiveMaxAmmo( "ak47_mp" );
		wait 0.5;
		self SwitchToWeapon( "ak47_mp" );
		self iPrintlnbold( "^3Grenade Launcher Attachment ^1has been disabled on this server!" );
		self iPrintln("^1Weapon Ak47 Given Due To ^3Weapon Limits");
	}*/
}
}

so i changed it to this :

onPlayerSpawned()
{
self endon("disconnect");

for(;
{
	self waittill("spawned_player");

	self.concussionEndTime = 0;
	self.hasDoneCombat = false;
	self thread watchWeaponUsage();
	self thread watchGrenadeUsage();
	self thread watchWeaponChange();

	self.droppedDeathWeapon = undefined;
	self.tookWeaponFrom = [];

	self thread updateStowedWeapon();
}
}

But its not work the perks still disabled so this the whole _weapons.gsc

https://www.mediafire.com/?25abmtuzpbr8oz8

and about filmtweaks and cg_fov , CrazY told me you can find in _globallogic.gsc but i cant find anything there , someone help me guys please waiting long time for this

Thanks

Share this post


Link to post
Share on other sites

do you want to have the promod look or u want to disable that?

Hello , yes i want to make it like promod i think cg_fovscale must be 1.2 but cant find the file to edit that in new localized version.

Also need to change filmtweaks i got the commands for them but also dont know where to add them , and need to allow all perks please.

There are admins that already changed all of that in this localized and they saw my thread maybe they wont help

Share this post


Link to post
Share on other sites

do you want to have the promod look or u want to disable that?

Hello , yes i want to make it like promod i think cg_fovscale must be 1.2 but cant find the file to edit that in new localized version.

Also need to change filmtweaks i got the commands for them but also dont know where to add them , and need to allow all perks please.

There are admins that already changed all of that in this localized and they saw my thread maybe they wont help

i will pm u a whole new localized with promod look etc.

Share this post


Link to post
Share on other sites

Thanks , how to allow all perks i edited this _weapons.gsc and _class.gsc but still grenade launcher and some other perks disabled , need all perks allowed help!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this