Author Topic: Idea: Game Engine Alteration: Weapon Visuals  (Read 2843 times)

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #15 on: August 05, 2011, 09:53:04 pm »


               

The Amethyst Dragon wrote...

Version 0.2 didn't work for me either...right away.  Then I thought I might be having problems since my nwmain.exe had previously been altered adding a camera hak.  So, I backed it up and copied over a "fresh" copy from one of my other computers.

1) "loader version" - same result as before, except the delay was longer before it popped up the Cmd Line window thing, then shut down when I clicked Ok.

2) "patch version" - This one works for me. ':wizard:'  Of course, now I need to update my PW's hak file so that I can see the regular weapon visuals (since they now properly read from the 2da!).

Now, I'm off to do some more experimenting to see if there's anything that this breaks for me.  I'll let you know the results.

Thanks, virusman! 

Good work both of you. AD could you once you get this working send me new 2da? I would add it into my unofficial patch (except of those extra lines of course). So it will be compatible with this h2ck by default.':devil:'
               
               

               
            

Legacy_Greyfort

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #16 on: August 05, 2011, 10:13:25 pm »


               Q1:  Is this for windows and linux
Q2:  
NWNCX requires Visual C++ 2010 Runtime, download it here:
http://www.microsoft...ls.aspx?id=5555

-- Launch modes --

There are two options:
* Run a loader that launches nwmain with NWNCX attached (NWNCX_Loader.exe)
* Patch your nwmain.exe to attach NWNCX automatically when you run the game (nwncx_patch.exe)

there more detail with these instructions I've missed some ware Virusman?

edit: ADD

I forgot to mention, I have had a issue with service pack3 causing problems with nwn as anyone figured out or had simalar issue.  I ask because the visc++2010 needs SP3 for XP profesional ver 2002
               
               

               


                     Modifié par Greyfort, 05 août 2011 - 09:42 .
                     
                  


            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #17 on: August 05, 2011, 11:50:06 pm »


               NWNCX is Windows only.
NWNCX is a client extender, it will work for both multiplayer and single-player modes. It does not require the server to run NWNX.

OldTimeRadio wrote...

I gave this a try and had errors similar to Amethyst Dragon but in my case (I needed to reinstall the critical update to get a clean NWMain) but now it's complaining about me missing a jvm.dll.

I'm about 99% sure that has nothing to do with your stuff but probably either something from Remigus or Elven in the way of a Java plugin.  I'm going to try to clean up my installation a bit more because this would be an incredibly useful addition to the game!

Copy only the plugins you really need into your nwn folder. Most likely, you've copied NWNCX->NWNX Bridge plugin, and one of your NWNX plugins requires Java. Delete NWNX Bridge plugin unless you really need NWNX in single-player mode.
               
               

               


                     Modifié par virusman, 05 août 2011 - 10:51 .
                     
                  


            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #18 on: August 05, 2011, 11:54:03 pm »


               

Greyfort wrote...

I forgot to mention, I have had a issue with service pack3 causing problems with nwn as anyone figured out or had simalar issue.  I ask because the visc++2010 needs SP3 for XP profesional ver 2002

If you can't install VC++2010 redist, drop this dll into the nwn folder:
http://data.virusman...cx/msvcr100.rar
               
               

               


                     Modifié par virusman, 05 août 2011 - 10:55 .
                     
                  


            

Legacy_Greyfort

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #19 on: August 06, 2011, 07:40:12 am »


               I'm getting errors, I press f9 and I see the area splash loading screen then I get...
Neverwinter Nights has encountered a problem and needs to close.  We are sorry for the inconvenience.
error signature:
AppName: nwmain.exe     AppVer: 1.6.9.0     ModName: unknown
ModVer: 0.0.0.0     Offset: 5f290001

my nwnx.ini:
; NWNX2 configuration file
; These are the default values for NWNX2. Values specified on the command
; line take precedence "Genesis IIServer" "houndsilver_v11a105" "AO_saveLOCv13" "module_zero_forgev106".
; "pw_cust_v101" "pw_cust_v200" "Coin Test (No CEP)v6" note "houndsilver_v11a106" is hakreq


[NWNX]
ServerPort = 5121
ModuleName = "AO_saveLOCv13_starwars"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 5

[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 2 ; 0=nothing, 1=only errors, 2=everything

; Use these two settings for the SQLite internal database
source = sqlite
file   = sqlite.db

; Use these two settings for ODBC connections
;source = odbc
;dsn    = pwdata

; Use these five settings for MySQL connections
;source = mysql
;server = localhost
;user   = nwn
;pwd    = nwn
;db     = nwn

; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true

[PROFILER]
MaxLogSize = 512 ; in KByte
LogLevel = 1 ; 1=overall statistics, 2=full script callstack

[FUNCS]
;Number_of_Skills, the amount of skills from skills.2da (last row+1)
Number_of_Skills=28

;debugLevel: 1 should only show basic information, 2 should include errors and 3 should log pretty much everything
debugLevel=3

;Set this to 1 to use the CustomTrapGeometry functions
HOOK_CustomTrapGeometry=1

[TMI]
Unlimited=0
Limitlevel=4

[FIXES]
;copy_vars = 0            ; Copy local variables on stack split and on store transaction,
                         ; fire OnDisturbed when you merge a stack from a placeable
;compare_vars = 0         ; If set to 1, items with different local vars don't stack
;keep_hidden_in_conversation = 0 ; If set to 1, creatures don't unhide when they start a conversation
;hp_limit = -127           ; Negative HP limit - values up to -127 are allowed

;hide_charlist_all = 0            ; Hide the whole online characters list on login (appears empty)
;hide_charlist_levels = 0         ; Hide the class(es) (displays nothing instead of class list)
;hide_charlist_portraits = 0      ; Hide the portrait (shows default male/female portrait)
;hide_charlist_dms = 0            ; Should be self-explanatory
;cap_ability_inc = 12
;cap_atkbonus_inc = 20
;cap_skill_inc = 50
;cap_ability_dec = 30
;cap_atkbonus_dec = 60
;cap_skill_dec = 50
;portalcrash = 1
;spelluses_fix = 1
;healkit_poison = 1
;healkit_disease = 1

;Paste these inte NWNX.ini and configure as desired
;1 = no, 0 = off
;all hooks are disabled by default

[EVENTS]
event_script=nwnx_events
log=1
DownloadCharacter=0
PickPocket=0
Attack=0
ExamineItem=0
ExamineCreature=0
ExaminePlaceable=0
ExamineDoor=0
ToggleMode=0
StealthMode=0
DevastatingCritical=0
UnPolymorph=0
TrapTrigger=0
EndDialog=0
RemoveSanctuary=0


Another thing I noticed is its not launching nwnx or server as usual, and I took out the network bridge and it runs but not in dm client '<img'>
               
               

               


                     Modifié par Greyfort, 06 août 2011 - 06:55 .
                     
                  


            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #20 on: August 06, 2011, 09:37:36 am »


               NWNCX (client extender) is completely separate from NWNX (server extender). It has its own plugins and config, so nwnx.ini (server config) is useless here.
Post the contents of logs/nwncx.txt and logs/nwncx_tweaks.txt here.
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #21 on: August 07, 2011, 07:57:50 am »


               Thanks again for the work on this, virusman!  I've been playing around with it, and right after I got it working, I put it to use. '<img'>

New (Additional) Weapon Visual Effects (VFX) - a topic in the custom content forum (with screenshots!)

Wonderful, wonderful opportunity for this game.  Between NWNCX and NWNX (and NWNTX), not to mention module and content makers out there, I still see years of growth and development for our little hobby.
               
               

               
            

Legacy_Greyfort

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #22 on: August 07, 2011, 06:45:26 pm »


               nwncx log:
NWN Client Extender 0.2
© 2008-2011 by virusman
* Loading plugins...
* Loading nwncx_disablems.dll...
nwncx_disablems.dll: Doesn't implement the plugin interface
* Loading nwncx_dmtest.dll...
nwncx_dmtest.dll: Doesn't implement the plugin interface
* Loading nwncx_nwnxbridge.dll...
nwncx_nwnxbridge.dll: Doesn't implement the plugin interface
* Loading nwncx_tweaks.dll...
nwncx_tweaks.dll: Doesn't implement the plugin interface
* NWNCX activated.

nwncx_tweaks:

NWN Client Extender 0.1 - Tweaks plugin
© 2011 by virusman
CNWCItem::LoadVisualEffect hook: 0
Hooked successfully

Forgive the delay there are the logs you asked for virus
               
               

               
            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #23 on: August 07, 2011, 06:53:07 pm »


               Delete nwncx_nwnxbridge.dll.
               
               

               
            

Legacy_Greyfort

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #24 on: August 07, 2011, 07:20:21 pm »


               Im not getting the dm client... it works like standard, cameras angles alterd though.

nwncx log
NWN Client Extender 0.2
© 2008-2011 by virusman
* Loading plugins...
* Loading nwncx_disablems.dll...
nwncx_disablems.dll: Doesn't implement the plugin interface
* Loading nwncx_dmtest.dll...
nwncx_dmtest.dll: Doesn't implement the plugin interface
* Loading nwncx_tweaks.dll...
nwncx_tweaks.dll: Doesn't implement the plugin interface
* NWNCX activated.

nwncx_tweaks log

NWN Client Extender 0.1 - Tweaks plugin
© 2011 by virusman
CNWCItem::LoadVisualEffect hook: 0
Hooked successfully
CNWCItem__LoadVisualEffect_Hook: 6
sFxName: WSwDg_fxneg
CNWCItem__LoadVisualEffect_Hook: 6
sFxName: WSwDg_fxneg
CNWCItem__LoadVisualEffect_Hook: 3
sFxName: WSwRp_fxfire
               
               

               


                     Modifié par Greyfort, 07 août 2011 - 06:25 .
                     
                  


            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #25 on: August 14, 2011, 08:41:03 pm »


               I meant to respond to this earlier but I got majorly sidetracked: Thanks so much for this!  Sometimes it seems like NWNCX doesn't get as much love as NWNX2/4 but it really kicks butt!  I need to seriously clean up my NWN directory otherwise I would have been to get it working sooner. 
               
               

               


                     Modifié par OldTimeRadio, 14 août 2011 - 07:42 .
                     
                  


            

Legacy_Vincent07

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #26 on: September 07, 2011, 11:07:54 pm »


               I recently downloaded NWNCX from the above links, to give this a try and AVG informed me that it contained a trojan Dropper.Generic2.FAN
               
               

               
            

Legacy_Alphamojo

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #27 on: September 10, 2011, 09:40:53 pm »


               

Vincent07 wrote...

I recently downloaded NWNCX from the above links, to give this a try and AVG informed me that it contained a trojan Dropper.Generic2.FAN


Yes this happened to me, AVG is hyper sensitive. You need to make exception in your Resident Shield for both the Loader and the Patcher. It should work just fine then.
               
               

               
            

Legacy_lordofworms

  • Sr. Member
  • ****
  • Posts: 422
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #28 on: September 13, 2011, 01:32:43 pm »


               Well since AD asked for a miracle, extra non replacing visual effects let me do the same.

how does the game actually handle 'possession'? , like a wizards familiar you can control much like NWN2 and BG2 (control companion)..also the DM game has the option to 'possess' characters so its got to be in there somewhere..
virusman? is this something we can assume could never ever be done? (giving possession control (ala) DM mode for a single player PC campaign? nwncx style? or could it be *possible*?

it would be soooo awesome to have the ability to actually control henchies
               
               

               
            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
Idea: Game Engine Alteration: Weapon Visuals
« Reply #29 on: September 13, 2011, 03:24:49 pm »


               Yes, it should be possible.