davidlallen Posted February 3, 2011 Share Posted February 3, 2011 Sorry, I am confused. You said it won't save, and you said it will save. What is the exact problem? Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted February 3, 2011 Share Posted February 3, 2011 Post the script. Link to comment Share on other sites More sharing options...
snakescrin Posted February 16, 2011 Share Posted February 16, 2011 so what's wrong with this one. I can hardly find any errors. But it doesn't save either.  _______________________________________________________________________________________________________________________ scn GhostNightvision short DoOnceshort buttonToggleshort buttonPressed begin onEquip set DoOnce to 1end begin onUnEquip player.RemoveSpell CatNightVision set buttonPressed to 0 set DoOnce to 0end Begin GameMode if DoOnce == 1 if IsKeyPressed 48 != buttonToggle set buttonToggle to IsKeyPressed 48 if buttonToggle && buttonPressed == 0 ; Button pressed player.AddSpellNS CatNightVision set buttonPressed to 1 elseif buttonToggle && buttonPressed == 1 ; Button released player.RemoveSpell CatNightVision set buttonPressed to 0 endif endif endifEnd ________________________________________________________________________________________________________ can anyone help me? thanks very much! Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted February 16, 2011 Share Posted February 16, 2011 addspellINS looks to be an NVSE function. Are you using NVSE in the editor? Link to comment Share on other sites More sharing options...
Pelinor Posted February 16, 2011 Share Posted February 16, 2011 There is no AddSpellNS in New Vegas, from NVSE or otherwise. I think your options are AddSpell--RemoveSpell, CastImmediateOnSelf--Dispel, or AddPerk--RemovePerk of an Ability-adding Perk. Link to comment Share on other sites More sharing options...
davidlallen Posted February 16, 2011 Share Posted February 16, 2011 Anyway, if you download geck powerup and use it, you will be able to see syntax errors for yourself. Link to comment Share on other sites More sharing options...
ISU_Ambrose Posted March 12, 2011 Share Posted March 12, 2011 I really hope that Bethesda releases an updated GECK. Like several others, I wanted to modify a Dead Money script, but GECK would fail to do anything. Literally, all I did was to delete a couple of lines. I ran the GECK power-up, and it was complaining about lines that weren't touched by me. It will be nice if we get a tool that will work with the baseline data files. /sigh Thanks, all, for the tips. Link to comment Share on other sites More sharing options...
yoncar Posted April 2, 2011 Share Posted April 2, 2011 I got the same problem, my OS is windows 7 ultimate and even starting the GECK as admin i cant save changes. Please im trying to add new hair models, does anyone know a solution to this problem? Link to comment Share on other sites More sharing options...
FrankFamily Posted May 30, 2011 Share Posted May 30, 2011 (edited) I've a problem with this script. IF YOU WANT TO USE THIS SCRIPT IN A MOD YOU WILL HAVE TO GIVE ME CREDIT FOR THE WORK :excl: If anyone can help me, please. This is the script:  ScriptName SteyrAUGA3ModificationScript ;----------------------------Variables section----------------------------------- ----------------- short WpnBefore short WpnAfter short button short Silencer short Eotech short Laser short Scope short Shotgun short GrenadeLauncher short Bayonet short used short clear short AUGA3Equipped short AUGA3CurrentCondition ;----------------------------Guide section-------------------------------------- -------------- ;AUG-A3 -> 1 ;AUG-A3Eo -> 2 ;AUG-A3EoT -> 3 ;AUG-A3Si ->4 ;AUG-A3SiEo -> 5 ;AUG-A3SiEoT -> 6 ;AUG-A3Sc -> 7 ;AUG-A3ScSi ->8 ;AUG-A3 -> 9 ;AUG-A3 -> 10 ;AUG-A3 -> 11 ;AUG-A3 -> 12 ;----------------------------Starting section------------------------------------- --------------- Begin OnEquip ShowMessage 0AUGA3ModificationMenu set used to 1 player.unequipitem 0SteyrAUgA3CustomizationTool End Begin GameMode if used == 1 ;----------------------------Button section-------------------------------------- -------------- set button to GetButtonPressed if button == -1 Return elseif button == 0 set Silencer to 1 set Eotech to 0 set Laser to 0 set Scope to 0 set Shotgun to 0 set GrenadeLauncher to 0 set Bayonet to 0 set clear to 0 elseif button == 1 set Silencer to 0 set Eotech to 1 set Laser to 0 set Scope to 0 set Shotgun to 0 set GrenadeLauncher to 0 set Bayonet to 0 set clear to 0 elseif button == 2 set Silencer to 0 set Eotech to 0 set Laser to 1 set Scope to 0 set Shotgun to 0 set GrenadeLauncher to 0 set Bayonet to 0 set clear to 0 elseif button == 3 set Silencer to 0 set Eotech to 0 set Laser to 0 set Scope to 1 set Shotgun to 0 set GrenadeLauncher to 0 set Bayonet to 0 set clear to 0 elseif button == 4 set Silencer to 0 set Eotech to 0 set Laser to 0 set Scope to 0 set Shotgun to 0 set GrenadeLauncher to 0 set Bayonet to 0 set clear to 1 endif ;----------------------------Weapon before section------------------------------- --------------------- if player.GetEquipped 0AUGA3 == 1 set WpnBefore to 1 set AUGA3Equipped to 1 elseif player.GetEquipped 0AUGA3EO == 1 set WpnBefore to 2 set AUGA3Equipped to 1 elseif player.GetEquipped 0AUGA3EoT == 1 set WpnBefore to 3 set AUGA3Equipped to 1 elseif player.GetEquipped 0AUGA3Si == 1 set WpnBefore to 4 set AUGA3Equipped to 1 elseif player.GetEquipped 0AUGA3SiEo == 1 set WpnBefore to 5 set AUGA3Equipped to 1 elseif player.GetEquipped 0AUGA3SiEoT == 1 set WpnBefore to 6 set AUGA3Equipped to 1 elseif player.GetEquipped 0AUGA3Sc == 1 set WpnBefore to 7 set AUGA3Equipped to 1 elseif player.GetEquipped 0AUGA3ScSi == 1 set WpnBefore to 8 set AUGA3Equipped to 1 endif ;----------------------------Condition section----------------------------------- ----------------- set AUGA3CurrentCondition to player.GetWeaponHealthPerc ;----------------------------Weapon after section-------------------------------- -------------------- if WpnBefore == 1 if Silencer == 1 && Eotech == 0 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 4 elseif Silencer == 0 && Eotech == 1 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 2 elseif Silencer == 0 && Eotech == 0 && Laser == 1 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 3 elseif Silencer == 0 && Eotech == 0 && Laser == 0 && Scope == 1 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 7 endif elseif WpnBefore == 2 if Silencer == 1 && Eotech == 0 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 5 elseif Silencer == 0 && Eotech == 1 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 1 elseif Silencer == 0 && Eotech == 0 && Laser == 1 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 3 elseif Silencer == 0 && Eotech == 0 && Laser == 0 && Scope == 1 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 7 endif elseif WpnBefore == 3 if Silencer == 1 && Eotech == 0 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 6 elseif Silencer == 0 && Eotech == 1 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 1 elseif Silencer == 0 && Eotech == 0 && Laser == 1 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 2 elseif Silencer == 0 && Eotech == 0 && Laser == 0 && Scope == 1 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 7 endif elseif WpnBefore == 4 if Silencer == 1 && Eotech == 0 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 1 elseif Silencer == 0 && Eotech == 1 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 5 elseif Silencer == 0 && Eotech == 0 && Laser == 1 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 6 elseif Silencer == 0 && Eotech == 0 && Laser == 0 && Scope == 1 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 8 endif elseif WpnBefore == 5 if Silencer == 1 && Eotech == 0 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 2 elseif Silencer == 0 && Eotech == 1 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 4 elseif Silencer == 0 && Eotech == 0 && Laser == 1 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 6 elseif Silencer == 0 && Eotech == 0 && Laser == 0 && Scope == 1 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 8 endif elseif WpnBefore == 6 if Silencer == 1 && Eotech == 0 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 3 elseif Silencer == 0 && Eotech == 1 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 4 elseif Silencer == 0 && Eotech == 0 && Laser == 1 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 5 elseif Silencer == 0 && Eotech == 0 && Laser == 0 && Scope == 1 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 8 endif elseif WpnBefore == 7 if Silencer == 1 && Eotech == 0 && Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 8 elseif Silencer == 0 && Eote1 &&ch == Laser == 0 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 2 elseif Silencer == 0 && Eotech == 0 && Laser == 1 && Scope == 0 && Shotgun == 0 && GrenadeLauncher == 0 && Bayonet == 0 && AUGA3Equipped == 1 set WpnAfter to 3 endif endif if clear == 1 set WpnAfter to 1 endif ;----------------------------Uneqipp section------------------------------------ ---------------- if WpnBefore == 1 player.UnEquipItem 0AUGA3 player.RemoveItem 0AUGA3 1 1 elseif WpnBefore == 2 player.UnEquipItem 0AUGA3EO player.RemoveItem 0AUGA3EO 1 1 elseif WpnBefore == 3 player.UnEquipItem 0AUGA3EoT player.RemoveItem 0AUGA3EoT 1 1 elseif WpnBefore == 4 player.UnEquipItem 0AUGA3Si player.RemoveItem 0AUGA3Si 1 1 elseif WpnBefore == 5 player.UnEquipItem 0AUGA3SiEo player.RemoveItem 0AUGA3SiEo 1 1 elseif WpnBefore == 6 player.UnEquipItem 0AUGA3SiEoT player.RemoveItem 0AUGA3SiEoT 1 1 elseif WpnBefore == 7 player.UnEquipItem 0AUGA3Sc player.RemoveItem 0AUGA3Sc 1 1 elseif WpnBefore == 8 player.UnEquipItem 0AUGA3ScSi player.RemoveItem 0AUGA3ScSi 1 1 endif ;----------------------------Add weapon section--------------------------------- ------------------- if WpnAfter == 1 player.AddItem 0AUGA3 1 1 player.equipitem 0AUGA3 elseif WpnAfter == 2 player.AddItem 0AUGA3EO 1 1 player.equipitem 0AUGA3EO elseif WpnAfter == 3 player.AddItem 0AUGA3EoT 1 1 player.equipitem 0AUGA3EoT elseif WpnAfter == 4 player.AddItem 0AUGA3Si 1 1 player.equipitem 0AUGA3Si elseif WpnAfter == 5 player.AddItem 0AUGA3SiEo 1 1 player.equipitem 0AUGA3SiEo elseif WpnAfter == 6 player.AddItem 0AUGA3SiEoT 1 1 player.equipitem 0AUGA3SiEoT elseif WpnAfter == 7 player.AddItem 0AUGA3Sc 1 1 player.equipitem 0AUGA3Sc elseif WpnAfter == 8 player.AddItem 0AUGA3ScSi 1 1 player.equipitem 0AUGA3ScSi endif ;----------------------------Set condition section-------------------------------- -------------------- player.SetWeaponHealthPerc AUGA3CurrentCondition endif end  Sorry for the long post.>> I've used the cipscis validator, and it sais its good, but GECK dont let me save it. Help please. Edited May 30, 2011 by FrankFamily Link to comment Share on other sites More sharing options...
tunaisafish Posted May 30, 2011 Share Posted May 30, 2011 Can you edit that post and put [ code ] [ /code ] tags around it to make it easier to read.And... what's the problem?Do you have the GECK-PU installed? Link to comment Share on other sites More sharing options...
Recommended Posts