Big thanks!
Default on Heartbeat script?
#1
Posté 07 septembre 2010 - 04:30
Big thanks!
#2
Posté 07 septembre 2010 - 04:42
-420
#3
Posté 07 septembre 2010 - 04:56
#4
Posté 07 septembre 2010 - 05:35
When you edit any of the BioWare scripts it simply saves it as a new copy, the original is still there but overridden. Simply delete your edited copy and the original will be restored. Do you understand me?
-420
#5
Posté 07 septembre 2010 - 05:58
Replacing scripts that are the default names only over write for that module, if deleted they revert back to the original source script.
#6
Posté 07 septembre 2010 - 07:59
Thank you very much
#7
Posté 07 septembre 2010 - 08:04
You did choose to delete this script from every npc's events. You mustn't do that.
#8
Posté 08 septembre 2010 - 03:23
#9
Posté 08 septembre 2010 - 05:59
"Would you like to remove all references to the Script from the Conversations, Instances, and Blueprints in the Module?"
I predicted you chooses YES as you stated it took long time to finish, and you must not click on YES, because if you do that all creatures in your custom palette or placed in any area in your module will have the heartbeat script deleted from their events, breaking very much AI for them...
Check it again.
#10
Posté 08 septembre 2010 - 08:42
In short you Took a long time deleting the script when it should have been don in a heart beat. Well less then a heart beat. 6 sec is a long time.
Now if I miss understood and you really did delete and remoce the NPC HB script(nw_c2_default1) from everything. Like shadow said, I hope you have a back up of your module.
#11
Posté 09 septembre 2010 - 08:24
#12
Posté 09 septembre 2010 - 09:25
Grymlorde wrote...
This is why I prefer to A) write new scripts instead of overwriting the default ones andI have to to overwrite then if I need to delete it I delete from the temp0 directory rather than the toolset directly.
If you wrote a new script and named it something else, It would no longer be called 'default' and no longer work as the pc's heart beat. If you delete the scripts from the temp0 folder, make sure you get both of them. the .nss and the .ncs
#13
Posté 12 septembre 2010 - 01:14
#14
Posté 12 septembre 2010 - 01:56
#15
Posté 12 septembre 2010 - 02:42
#16
Posté 12 septembre 2010 - 02:55
#17
Posté 12 septembre 2010 - 02:56
#18
Posté 12 septembre 2010 - 03:01
I hope that makes since.
#19
Posté 12 septembre 2010 - 06:35
Well, that may be Shadooow the Troll's "rule of thumb", but as usual, he doesn't speak for the rest of the NWN community (thank goodness).ShaDoOoW wrote...
The rule of thumb is to never delete script referrences aka "No" at second confirmation, there are no side effects of this.
In general, you will indeed want to remove references if you make a custom script and then change your mind and decide to remove it. That's exactly why Bioware implemented this option. This removes every reference to that script in all events for all creatures, placeables, etc. If you do not do this, you will get a warning for every remaining reference to the deleted script when you do a full compile of your module. I (and the majority of other builders) would consider unnecessary complaints from the compiler as an undesirable "side effect" that is best avoided if possible. In this case, it's as easy as clicking "yes" and allowing some time for the Toolset to remove the references. Yes, this does take extra time, but it should be obvious that keeping references to non-existent scripts isn't going to benefit your module, and it can sometimes lead to a lot of confusion.
In this particular case, you wanted to keep the references, because even though you deleted a customized version of that script, you still wanted to keep all the references to the default Bioware script of that name.
Modifié par Invisig0th, 12 septembre 2010 - 06:42 .
#20
Posté 14 septembre 2010 - 10:25
Lightfoot8 wrote...
Yes, that will work for half the problem. When you say you are adding it to the 'custom NPC's' I am assuming you are talking about the blueprints in the palette. The problem is that every intsance of an NPC's in the module, Does not matter if it was created from a custom or standard Blueprint, has also had the script stripped from them. So you will have to also add the script it every NPC already created in the module. I guess you could use the update all instances option from the palette. But that would make remove any thing custom already added to the instances of the NPC.
I hope that makes since.
Yes, it does. Problem is already solves. It was so much work. I'll never make that mistake again, haha! So, now I'm finally going to continue with real builidng, finally. I would love to post the mod on the internet but it's Dutch. I'm able to write/speak English but I'm not cabaple to write whole conversations. Well, maybe I am. But it will take a very, very long time.
Cheers everyone for your help!
#21
Posté 14 septembre 2010 - 02:31
Basixx, ignore what Invisig0th, the biggest scripting expert said. If you follow my "rule", it won't break anything. But it will avoid to repeat the mistake you made.Bassix wrote...
Yes, it does. Problem is already solves. It was so much work. I'll never make that mistake again, haha! So, now I'm finally going to continue with real builidng, finally. I would love to post the mod on the internet but it's Dutch. I'm able to write/speak English but I'm not cabaple to write whole conversations. Well, maybe I am. But it will take a very, very long time.
Cheers everyone for your help!
If the script do not exist, it won't run or eat any resources, yes if you will build the module you will be warned about non existing script, but you can ignore it, or remove manually, I dont believe you will place some script to hunderd places and then you remove it, I can't imagine such case, and even if you did as I said it don't matter.
Furthermore building module is useless, you just need to compile all scripts so in Build module option, you can uncheck everything else, this will spare you so much time.
#22
Posté 14 septembre 2010 - 03:42
There are also plenty of reasons why someone might need to recompile their module, the most important of which is general troubleshooting. If you search the old Bioware forums, you will see that people encountering problems are often told to recompile their entire module and report any warnings or errors. In those situations, it should be obvious that purposefully doing things that cause pointless compiler warnings is counterproductive. Bioware put those compiler warnings in there for a good reason. They are there to tell you something is wrong, so that you can do something about it. Having lots of unnecessary warnings in your module can make it very hard to recognize an important warning that you need to know about to solve a specific problem..
So it's not really open to debate whether removing references to deleted scripts is a good idea. It is obviously a good idea. Advising people to purposefully keep references to non-existent scripts is terrible advice.
Modifié par Invisig0th, 14 septembre 2010 - 04:49 .





Retour en haut







