Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Mods (http://forum.fulqrumpublishing.com/forumdisplay.php?f=143)
-   -   [mod] Armour of God (http://forum.fulqrumpublishing.com/showthread.php?t=6447)

Csimbi 03-01-2009 06:42 PM

[mod] Armour of God
 
1 Attachment(s)
Hi there,
this is my first mod.
As the title says, it will let you ruin gameplay by over-powering yourself.

I made this for fun, treat it as such.
Here is the readme:
Code:

Armour of God mod for NecroVisioN
=================================

Revision history
================
1.0 - 1st of March, 2009
        Original version
1.01 - 2nd of March, 2009
        Added a few more weapons I missed (left and dual-handed variants).
1.02 - 4th of March, 2009
        Added a few more weapons I missed (shadowhand variants, mech, dragon and golem weapons).
        Changed max health for mech, dragon and golem.

Foreword
========
In my frustration of not being able to get through a certain point in the game (after trying for a day) I have decided to create a mod that would make me super-strong and I could chop through the bad guys like butter.
Initially, I modded only the damage taken, the weapons - hence the name "Armour of God".
Then, I decided to make some more changes to avoid loading the game too often...

Requirements
============
The mod is for the original, un-patched version of the game.

Installation
============
Just extract the archive to the game directory - the files should end up in the right place - under NecroVisioN\Data.
If you see and LScripts directory there (under) containing all the modified files, it should work.

It should not require starting a new game since the modified values are usually not saved in the save games.

Uninstallation
==============
Delete the files you have extracted from this archive.

Mod changes
===========

Doubled:
 - damage for all weapons
 - attack speed for all weapons
 - reload speed for all weapons
 - draw/hide speeds for all weapons
 - Regeneration speed
 - Mech, dragon and golem health.

Tripled:
 - clip size for all weapons (except those with only 1, like grenade, etc)

Quadrupled:
 - ammo pickup from all weapons
 - your ammo carry capacity (I have to cap some at 999 though)

Non-linear changes:
 - Improved accuracy of all weapons
 - Health pickups are giving more health
 - Regeneration cap moved to 100
 - You take less damage on all difficulty levels
 - More "last breath" time
 - You are invincible throughout the whole duration of "last breath" time
 - Faster move speed
 - Bigger jumps
 - Faster swim

Plus a bunch of things I do not remember anymore (just compare the original files with the new ones).

Enjoy.

Csimbi
4th of March, 2009

Edit: updated to v1.02.

cocolapin 03-03-2009 07:56 PM

wow !
but how did you make this mod ???
did you change a file using worpad or anything else ?

Csimbi 03-03-2009 08:07 PM

Yes, pretty much any text editor will do.
Feel free to customize it further for your needs.

cocolapin 03-04-2009 08:36 AM

great ! i will look at it :)
thanks

Dark Knight 03-04-2009 09:23 AM

Csimbi
great mod, i love it!
keep up the good work for future mods ;)

Csimbi 03-04-2009 12:08 PM

Quote:

Originally Posted by Dark Knight (Post 68735)
Csimbi
great mod, i love it!
keep up the good work for future mods ;)

Those bodies now fly around nicely as they should, don't they? ;-)

cocolapin 03-04-2009 01:41 PM

I searched on the "config" file and didnt find "gravity" or anything like that,
do you think we can change gravity ??
that should be great !

Csimbi 03-04-2009 04:05 PM

Quote:

Originally Posted by cocolapin (Post 68767)
I searched on the "config" file and didnt find "gravity" or anything like that,
do you think we can change gravity ??
that should be great !

Did you try changing Tweak.GlobalData.Gravity?

cocolapin 03-04-2009 07:42 PM

haa !!
i searched with worpad the word "gravity" in the file "config".
About what file are you talking about ?

Csimbi 03-04-2009 07:56 PM

Quote:

Originally Posted by cocolapin (Post 68809)
haa !!
i searched with worpad the word "gravity" in the file "config".
About what file are you talking about ?

Why would you dig the config file?
There's nothing interesting there.

Check DATA\LScripts\Main\Tweak.lua for said value.

cocolapin 03-05-2009 08:08 PM

Quote:

Originally Posted by Csimbi (Post 68818)
Why would you dig the config file?
There's nothing interesting there.

Check DATA\LScripts\Main\Tweak.lua for said value.

I cant see those files !!!
even if i agree hidden files or opening with winrar !

how can i do ?

cocolapin 03-05-2009 09:14 PM

How can i open a PAK file ??

packexplr doesnt works (even if i ad "mfc42" and Co in C:/windows/system)
Halflife model wiewer doesnt works
winrar doesnt works

Csimbi 03-06-2009 07:18 AM

You need to extract the package files.
You are aware that this game uses the Painkiller engine, right?
So, find an unpacker for Painkiller and it will work with NecroVisioN, too.
I used the unpacker posted on the Xentax forums.

cocolapin 03-06-2009 01:58 PM

Argh im gonna stop modding,
I used painfull with xentax
but i need to disable uac
if i disable uac, i cant load my savegames :(
wherever i disable uac,painfull can open liscripts.pak, but it cant extract main\tweaks.lua
snif.

If u can tell me some steps to change tweaks and repack it
it would be cool :)

Csimbi 03-06-2009 02:54 PM

Quote:

Originally Posted by cocolapin (Post 69016)
Argh im gonna stop modding,
I used painfull with xentax
but i need to disable uac
if i disable uac, i cant load my savegames :(
wherever i disable uac,painfull can open liscripts.pak, but it cant extract main\tweaks.lua
snif.

If u can tell me some steps to change tweaks and repack it
it would be cool :)

No need to repack it.
Just extract, edit and put to the right dir. If you take a look at the directory structure in my mod, you will get the idea.

cocolapin 03-06-2009 03:01 PM

i understood, but painfull cant extract !
it says ther s n error and "Main" is an empty file on desktop :(

cocolapin 03-06-2009 04:19 PM

but i think it's too complicate!


Quote:

Originally Posted by Kalme said
You can use MultiEx-Commander (has some problems with newer paks and can't repack):

http://multiex.xentax.com/

Or Painfull (you may need MultiEx nevertheless to get the required zlib.dll, or get it directly from http://www.zlib.net/):

http://forum.xentax.com/viewtopic.php?p=3838 (Note that the "free registration" isn't required, you can download without being registered too).

Or you can use Painkiller itself to do that job:

painkiller.exe -script FS.ExtractPack('../Data/pakfile-to-unpack.pak','../Data/folder-to-unpack-to')

and to repack

painkiller.exe -script FS.CreatePack('../Data/pakfile.pak','../Data/source-path', true)

Note that the path you want to extract to has to exist, else nothing happens and you won't even get a notice.

Last but not least you can use the application I wrote myself to pack and unpack pakfiles (called "Pakman"). Not available in public though, pm me if you're interested.

i will try Pakman later ( : http://rapidshare.de/files/41223647/PakMan.zip.html )

Gniarf 03-06-2009 05:17 PM

Quote:

Originally Posted by cocolapin

Pas d'chance, ce pakman là est fait pour le jeu Knight of Honor. Il ne marche pas avec Necrovision.

->You're out of luck, this pakman isn't made for&doesn't work with Necrovision.

Honestly, I'd advise you to stick with painfull, or maybe painkiller.exe/overdose.exe if you have one of those games.

Csimbi 03-06-2009 09:03 PM

Quote:

Originally Posted by cocolapin (Post 69033)
but i think it's too complicate!




i will try Pakman later ( : http://rapidshare.de/files/41223647/PakMan.zip.html )

None of these are the tools are the one I am using and I recommended to use.
Save yourself the trouble and listen to Gniarf (he also posted a direct link to that tool already in another thread).

All I need to do with that tool (Painfull) is that I open the package, select all files and click extract. All done.

cocolapin 03-07-2009 08:58 AM

merci pour le francais :)

the problem is that i cant extract file with painfull (error, even if i disable UAC)
I have Painkiller and PK overdose in my possession,
all i want to know is how to extract pak files :'(
but if painfull dont works i think it's finish (la fin des haricots)

cocolapin 03-07-2009 10:07 AM

Eureka :)
Ok i opened painfull "as admin"
Then "zlib.dll not found"
So i downloaded it here : http://www.dll-files.com/dllindex/dll-files.shtml?zlib
Then it eally works
So i extracted "Tweaks.lua"
I modified gravity

But i cant repack it, I try some different things, nothing works

I replaced lscripts.pak in Data (i maked a copy-back of course)
And always it says me "Tweaks not found, ... not found, not ound .. etc ...abandon ignore tryagain"

Do you know what is the problem ? thanks :)

Gniarf 03-07-2009 11:04 AM

Quote:

Originally Posted by cocolapin (Post 69090)
So i extracted "Tweaks.lua"
I modified gravity

But i cant repack it

Neither do I, but I'm still modding happily
Quote:

Originally Posted by cocolapin (Post 69090)
I replaced lscripts.pak in Data (i maked a copy-back of course)
And always it says me "Tweaks not found, ... not found, not ound .. etc ...abandon ignore tryagain"

Do you know what is the problem ? thanks :)

Yes: you don't have to repack the files you modded, just put your Tweak.lua in the \NecroVisioN\Data\LSCRIPTS\Main\ directory (ie: all files contained in lscripts.pak should be exracted in the Data\LSCRIPTS\ directory - preserving the subdirectories structure of course)

cocolapin 03-07-2009 11:36 AM

Youhou i understood, it works great !!!
thanks, i m testing gravity change

Csimbi 03-07-2009 12:53 PM

Quote:

Originally Posted by cocolapin (Post 69097)
Youhou i understood, it works great !!!
thanks, i m testing gravity change

You owe one to Gniarf ;-)
I hope the dead are flying around nicely ;-)

cocolapin 03-07-2009 01:07 PM

that's pretty cool
anyone know what option i must modify to disable explosion bodies ?

Csimbi 03-07-2009 02:03 PM

Quote:

Originally Posted by cocolapin (Post 69110)
that's pretty cool
anyone know what option i must modify to disable explosion bodies ?

You mean gibbing?
My guess would be editing each template and:
- setting the alwaysgib to false (whereever it's true) and
- set the amount of damage where the bodies gib to much much lower (say, -500).
Or, checking the weapons and disabling the part of the code with the gib trigger.

Kr3v 03-30-2009 07:29 PM

Thanks, it'll help me :)

edit : I have an error message after 1 or 2 minutes in game :

http://tof.canardpc.com/view/6b71512...1-aa5f09d13f31

After, the game crashes.

edit 2 : OK, unpatched game required.

Csimbi 03-30-2009 09:48 PM

Quote:

Originally Posted by Kr3v (Post 71338)
edit 2 : OK, unpatched game required.

Right. I guess I ought to release an update - though it's not going to happen very soon...

Kr3v 03-30-2009 10:14 PM

No problem :)

But in which file can we modify weapons damage ? I've searched in some files, I continue, but no results for the moments.

Gniarf 03-30-2009 10:21 PM

Quote:

Originally Posted by Kr3v (Post 71360)
But in which file can we modify weapons damage ?

In the .CWeapon files, look for the line "Damage =" a bit below "o.s_SubClass = {"

Kr3v 03-30-2009 10:43 PM

Ok thanks, I'll look at these files :)

Kr3v 03-30-2009 11:12 PM

Well, I've modified my shotgun to test and the game crashed with the same error, so it's not your mod. And so it must be impossible to fight Zimmerman with a modified weapon.

Gniarf 03-30-2009 11:16 PM

lol, I think you did something wrong instead.

Kr3v 03-30-2009 11:17 PM

Csimbi's "armour of god" mod has the same problem. I hope I did something wrong, but I just modified shotgun damage :)

Gniarf 03-30-2009 11:22 PM

Let's be sure: remove or rename your lscripts dir -> fight zimmy. If it crashes reinstall&repatch the game.
If it works, create a new LSCRIPTS\Templates\Weapons directory and put your modified shotgun there -> fight zimmy. If it crashs PM me your shotgun.
If it works either be happy or try to diagnose the problem, for the sake of knoledge!

Kr3v 03-30-2009 11:23 PM

I did what you said. The game is not crashing when i'm fighting against him, but when I kill him before he destroy the floor (it seems to be that). It must be a Compulsory script. I'll try to kill him after he destroyed the ground.

Gniarf 03-30-2009 11:27 PM

You mean it crash even WITHOUT any mod?
Or did it crash when you had only one file in the LSCRIPTS: Shotgun.CWeapon

Kr3v 03-30-2009 11:27 PM

I don't know, I've never killed him during the first part of the fight without mod :) And with the armour of god mod, I've the same problem.

Gniarf 03-30-2009 11:32 PM

Use godmode to test in non-modded game
if you're playing in hard mode you may wish to modify lscripts\HUD\console.lua line 1161 so as to allow godmode in hard difficulty.

Kr3v 03-30-2009 11:33 PM

I can't, I play in hard mode, so cheats don't work.

edit : OK, thanks for the tips, I'll try it, but not now :)

Csimbi 03-31-2009 08:41 AM

@Gniarf
thanks for helping out.

@ Kr3v
I am a bit puzzled.
When the game crashes, are you using Shotgun.CWeapon from my mod, or, are you using the one extracted your own patched game?
Thank you.

Kr3v 03-31-2009 08:55 AM

Good morning.

Thanks for your help, love to understand how Necrovision's modding work.

It seems to be a script bug, it seems to be impossible to kill zimmerman during the first part of the fight and so, the game crashes. It's logical, we have to be under the ground, so if we kill him before, the game crashes because we are stuck on the first floor. It's not a problem, I can play, but playing with overpowered weapons is not advised for this fight.

@Csimbi : it's not your mod, it's normal don't worry :)

Gniarf 03-31-2009 10:46 AM

@Csimbi: You're welcome ;)

...they should have made Zimmerman "Immortal" until we fall in the pit

Kr3v 03-31-2009 05:01 PM

No, he isn't because we can kill him with a modified game, but yes, he has too many health to kill him with the vanilla game during the first part of the fight (that's what you probably wanted to say with the quotation marks).

Gniarf 03-31-2009 05:06 PM

they should have made = ils auraient du le rendre

Kr3v 03-31-2009 05:17 PM

Yes I know what it means but i've jumped this word :o Too tired sorry :oops:

Gniarf 04-01-2009 02:14 AM

:rolleyes:

Kr3v 04-01-2009 06:48 AM

No, it was true, I was totally tired yesterday :-P
But I agree with you. After, I'm not sure the dev thought about that, it's clearly not a priority.

palalo 09-22-2009 08:56 AM

Hi Csimbi,
So i've installed your mod to my game that i've patched to 1.02. Im aware that this mod only compatible to un-patched version of the game & right now it's causing the game to crash whenever a dynamite explode.
But deleting Classes & Main folder in the Lscript folder resolved the issue & i still got Faster reload , faster melee & Millions of ammo. :)
So what do i miss from deleting these folders?

Csimbi 09-22-2009 07:54 PM

Quote:

Originally Posted by palalo (Post 103784)
Hi Csimbi,
So i've installed your mod to my game that i've patched to 1.02. Im aware that this mod only compatible to un-patched version of the game & right now it's causing the game to crash whenever a dynamite explode.
But deleting Classes & Main folder in the Lscript folder resolved the issue & i still got Faster reload , faster melee & Millions of ammo. :)
So what do i miss from deleting these folders?

Simple put: the same result for all weapons ;-)
But, I do not remember anymore - check the readme - it mentions all the changes I made.


All times are GMT. The time now is 08:19 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.