DM Command console Help needed.
#1
Posté 27 mars 2011 - 10:52
Plain and simple, im having an issue working with the regular console commands as a DM.
First off, the server i main DM on is a .69 server with no CEP, PCR, additional tools, mods etc . That is to say all that is required to play on it is the regular updated nwn modual with all expansions.
In addition to this, the developers are very limited in what they can produce for DM's as far as scripted tools go. So this leaves us DM's with alot of limitations on what we can do. we have a basic scripted tool mainly for monitoring different aspects of the server and the more fancy feature being able to set weather on a map between 3 options.. in anycase, the most useful resource we have at our disposal is the console command interface along with regular DM abilities and creativity with both. Point is, command console is what i have to work with.
That said, im currently having an issue in reguards to factions and faction management. Whenever a dm spawns an npc and isnt careful of what faction they choose, should the player need to attack the said npc, it messes with their faction reputation. For example, more often then not they attack a patrol guard or spawned npc and the next thing they know all merchants and several NPC's whom are plot related go hostile. Thier faction cannot be reset by dying and is only reset when the server itself reboots on its regular bi daily schedual.
Clearly this is an issue.
Ive been trying offline to figure out how to work with the in game factions that have been set and readjusting them/fixing/.setting them for player characters..
Mainly, im trying to use the dm_getfactionreputation <faction1> <faction2> aswell as the dm_setfactionreputation etc etc to reset player factions.
issue is, i cant seem to get either to work, its to my knowlege there are different factions such as defender, hostile, commoner, merchant etc aswell as our servers own custom factions. I've tried to just get a grasp on getting the commands to work even remotely to no avail. Ive tried useing PC, Defender, Commoner, Merchant variables to NO success. Id also presume that when online as a dm and setting a players faction there should be more to the pc variable than just pc, as each player would have its own faction correct?
i have no idea how to get these commands to work and have found no help on the matter despite my best efforts of online research. so! how do i simply get the "dm_getfactionreputation" command to work for starters in relation to an individual PC and general faction such as Defender?
DM Swulf
#2
Posté 27 mars 2011 - 11:17
#3
Posté 27 mars 2011 - 11:53
~DM Swulf
#4
Posté 28 mars 2011 - 12:42
Having a custom NPC faction set so it is neutral to all other factions and they to it solves this.
My own PW uses 72 custom factions. Even though all are local and not global, a DM possing one can cause serverwide issues. We've fixed this with the addition of another NPC faction as above.
Modifié par kalbaern, 28 mars 2011 - 12:42 .
#5
Posté 28 mars 2011 - 01:06
DM Swulf
#6
Posté 30 mars 2011 - 01:21
#7
Posté 31 mars 2011 - 12:06
#8
Posté 31 mars 2011 - 02:42
Thanks for the advice but really the only answers im lookin for is how to get the console commands working.. Given that they are console commands i dont see any reason for them not to and player issues or not DM's should be able to ajust faction reputations on the fly .. it would be a big aid in everything from issue control to events.
DM Swulf
#9
Posté 04 mai 2011 - 04:20
I've just recently become interested in this topic. I've only been able to afford a couple of hours of research into it so far, but from what I'm seeing the unfortunate answer is the command console is not available on a dedicated server... period. If someone else knows how to make it work when you start up a dedicated server by using the nwserver.exe program from the NWN directory, I'd sure like to hear how it's done.
However, while I was looking into this, I discovered something that might solve your particular issue. Unfortunately, I don't remember right now where I saw it. The gist of it is this; if you know how to script, you can assign a script macro to a quickslot while logged in on the DM client to do exactly what you're trying to accomplish with the faction changes.
#10
Posté 01 juin 2011 - 07:11
and ive never had an issue using the Command console within a dedicated server, aside from some commands simply not working. Mind you, ofcoruse you have to be on as a DM, you cannot enable the command console as a player. And if you're unable to access the command console as a DM then the only thing i can think of is that it has been disabled within the module by one of the server's developers. If there is a way to use or create a simple script i to set the faction reputation of players that would also be helpful.. this macro thing has me very curious..
#11
Posté 07 juin 2011 - 03:55
Swulf wrote...
Oh, id like to hear more about using scripts as macro's in game before o.o
and ive never had an issue using the Command console within a dedicated server, aside from some commands simply not working. Mind you, ofcoruse you have to be on as a DM, you cannot enable the command console as a player. And if you're unable to access the command console as a DM then the only thing i can think of is that it has been disabled within the module by one of the server's developers. If there is a way to use or create a simple script i to set the faction reputation of players that would also be helpful.. this macro thing has me very curious..
Yeah, my problem was trying to access the DM commands as a player while playing in dedicated server mode. I don't believe it's possible.
I can't find the post I saw before that detailed how to use a quickslotted macro to run a script. But I did experiment a little with the DM client while logged onto a dedicated server. You don't have to use the "DebugMode=1" command to use the DM commands while logged in on the DM client. I made a Macro in a quickslot and found that it will run any of the DM commands by simply prefacing the specific command with "##". As an example, it would look like this: "## dm_setDEX 18". Without the quotations marks, obviously. You should be able to use the "dm_setfaction <faction>" command, or even "dm_runscript <script>", as well. You just have to preface it in the macro with "##". When you click on the quickslot, then you'll get the target pointer. You place the target pointer on whichever PC or NPC you want to run the command on, and click on them. Pretty simple.
Hope that helps.
#12
Posté 15 juin 2011 - 01:14
1. Yes you dont need to use debugmode 1 as a dm.
2. Already know how to make macro's for dm commands, it saves alot of headache when running events
3. The problem im having is the command function simply DOES NOT SEEM TO WORK. I think im using it wrong or missing something. Nothing ive tried will get it to work the way its supposed to if at all.
#13
Posté 24 octobre 2011 - 06:38
Try from the connsole: > dm_setfactionreputation <faction1> <faction2> 100
We use a tool in game that changes reputation through an in-game conversation. It lists a value from 70 (make friendly) to -70 (make hostile)
Modifié par Pigron, 24 octobre 2011 - 06:39 .
#14
Posté 08 novembre 2011 - 03:25
#15
Posté 09 novembre 2011 - 01:18
have you tried DMFI?
It has something with faction settings.
Personally I think faction setting in the fly is too advanced. I even avoid doing it when building in general. I'm content with the avaliable faction settings...





Retour en haut






