is there a console command to rest my character?
#1
Posté 05 février 2011 - 06:53
If I could just use a consiole command I could save a ton of time and maybe enjoy an otherwise good mod. if not, is there another way to rest easy?
Thanks
#2
Posté 05 février 2011 - 08:08
Karvon
#3
Posté 05 février 2011 - 08:30
Some modules could be amazing, but end up being just painful because of that, and make them simply unfunny to play as a full or half spellcaster... which speaks of every class... but the fighter and the rogue.
You should be allowed to rest right in the middle of 1000s of enemies. That's wouldn't be too smart maybe, but your only choice. Just as in RL: your only choice.
I don't know any cheat solving that most painful NWN situation.
Probably the best way to destroy 2 years of work on what could have been otherwise a great module.
I'm no scripter in NWN, but I know for certain there is a way to sort of resplenish mana like in Diablo, and having your PC magically rested and fully "respelled", which is the real matter here, just by drinking some elixir or taking the right bath in the right fountain. In game.
I'm afraid today, one will have to go through the editor to have his PC benefit of such a gift.
But, again, I don't know of any in game workaround against such a pain... unless exporting your PC every single time to rest else where. What a bore...
I think I know of the module you're talking about, it's a great one, but, for instance, that very specific problem stopped me to play it any further.
That would be wonderful if some script wizard could come up with an easy "forced unlimited rest bottle or system" as an override mod, one to be used in any module.
Unfortunatelly, I'm afraid no one is talented enough around here to build such an impossible wonder, right...?
And I'm afraid, today, "impossible" finally became human.
We failed... Shame on us!
Modifié par jmlzemaggo, 05 février 2011 - 08:59 .
#4
Posté 05 février 2011 - 06:39
#5
Posté 05 février 2011 - 08:01
Learned how to do this from: http://social.biowar...387541#4393318
Modifié par Calgacus, 05 février 2011 - 08:05 .
#6
Posté 05 février 2011 - 08:04
It sounds to me that it would be simpler to just override the OnPlayer rest Script in the override.
That would work unless they have placed there rest script in a Hak.
#7
Posté 05 février 2011 - 08:05
#8
Posté 05 février 2011 - 08:34
I'm so proud being part of the same people you guys are... Right on the Vault, Calgacus. Where you belong and deserve to be. Override would make your mana potion universal, usable for every one, in any circunstances. There is a great mod, the Alignment Manager, by Gangster No.1, one I have been able to use in whatever module I was playing, since you just have to debug/spawn a specific item into your inventory. In game. When you need it. Just like yours.
Impossible isn't NWN, neither human.
I'll surely use that Wand of Mana in your honor as soon as you want me to test it.
Modifié par jmlzemaggo, 05 février 2011 - 08:53 .
#9
Posté 05 février 2011 - 09:52
#10
Posté 05 février 2011 - 09:58
FP!
#11
Posté 05 février 2011 - 10:22
Modifié par Calgacus, 05 février 2011 - 10:22 .
#12
Posté 05 février 2011 - 10:39
#13
Posté 05 février 2011 - 10:40
#14
Posté 06 février 2011 - 12:02
Modifié par Calgacus, 06 février 2011 - 01:46 .
#15
Posté 06 février 2011 - 12:03
Modifié par Calgacus, 06 février 2011 - 07:05 .
#16
Posté 06 février 2011 - 08:20
(On the social.bioware download page, the "bigbagofholding" text doesn't seem complete?)
Well, I let you know, 'launching the Calgacus NWN show right... now!
I can't say how great that job is without getting banned for french cursed words, but every player will, in his very own terms... and intimacy.
Par le sang de tous les Diables! Oups...
Thanks, Mr.
[EDIT] Test done, I just PM you.
Modifié par jmlzemaggo, 06 février 2011 - 09:12 .
#17
Posté 06 février 2011 - 09:24
could you include the source code (*.nss) of your scripts in the zip files? I am interested in how you did this, because all my tests so far with an item I called RestEnforcer worked only as long as the module creator allowed tag base scripts in his onLoadModule script.
Greetings
Skildron
Edit: After a short test, I found that the same goes for your manawand. The tag based script mana.ncs never gets executed if the module you are playing does not allow tag based scripts to execute.
Modifié par Skildron, 06 février 2011 - 09:30 .
#18
Posté 06 février 2011 - 09:53
Maybe you should give a look at those fountains in some modules which can refresh and respell at the same time. But I'm afraid it's gonna be coded either in the module itself or its hak... I believe there is such a fountain in "A Dance with Rogues, Part One" as well as a few other modules.
I'm totally illiterate when it comes to tech in NWN. All I have is faith, and a few testimonies of its power.
That's a start.
Modifié par jmlzemaggo, 06 février 2011 - 09:53 .
#19
Posté 06 février 2011 - 10:46
Create a script called restscript in the toolset with the content below. Compile this script and put the *.ncs in your override folder:
//restscript.nss
void main()
{
object oPC = GetFirstPC();
ForceRest(oPC);
}
This could be refined for more than one pc, etc.
In the module you are playing, enable DebugMode, and run this script with:
dm_runscript restscript
That's the only way I can think of that circumvents any restrictions a module author might try to enforce.
HTH
Greetings
Skildron
Edit: If we carry on this discussion, why should move to the tech help or the scripting forum.
Modifié par Skildron, 06 février 2011 - 10:48 .
#20
Posté 07 février 2011 - 03:43
I tested these things out in the module Agrenost, and they worked there. Also in my own small testing module, but thats all so far.
Modifié par Calgacus, 07 février 2011 - 03:45 .
#21
Posté 07 février 2011 - 03:52
Thank you all for the input and let me know if you have any ideas for more little utilities. What pet peeves do you have when playing that might be addressed with a utility?
#22
Posté 07 février 2011 - 08:48
Calgacus wrote...
Yes, I should have mentioned that all the scripts require tag based scripting to be allowed in the module. I uploaded the code the project discussions page .
I tested these things out in the module Agrenost, and they worked there. Also in my own small testing module, but thats all so far.
I tried it in a module series called "Lords of Darkness" I'm playing atm - there it does not work, neither does my own rest enforcer (basically the same as yours, only without the nice visuals and floating texts). After checking the modules in the toolset, I found that the author used his own onItemActivate script, that allows only for certain module specific items to work. So that's another place to stop users from importing items that start tag based scripts. You can, of course, edit the module onItemActivate script to allow any item script to run and then place the changed version in your override folder so that it overrides any hak based script versions and also works in already made saves of the module. Everybody has to decide for himself if that kind of cheating is worth the effort.
Greetings
Skildron
Modifié par Skildron, 07 février 2011 - 08:49 .
#23
Posté 07 février 2011 - 11:53
And it seems to work the same way, with .ncs & .uti files.
[EDIT!!!!!!]
I tried those 3 scripts in Agrenost - Beneath the Cobbles, and the 2 I was in a situation to test worked like a charm!!! (No henchies around in that old savegame, so I can't confirm for the "wand of gather")
That's already amazing, and I know of one Bubba Thudd who's might get really happy about it!
Great job, Calgacus, already.
I'll try in HotU later...
Modifié par jmlzemaggo, 07 février 2011 - 12:57 .
#24
Posté 07 février 2011 - 05:08
Greetings
Skildron
#25
Posté 07 février 2011 - 08:48
And even a player needs to rest...
I want you to play a wizard forced to struggle for his life with nothing but a greatsword and see if it still sounds like a balance to you, after a couple of undeads dungeon levels... ;-)
What you guys have made here could be of a true help in a few modules I know of.
Modifié par jmlzemaggo, 07 février 2011 - 08:55 .





Retour en haut






