Is there any way to modify weapon params in SP?
I just want to increase the velocity and splash damage on a few weapons and so far, my compiled dlls aren't affecting SP at all. Please tell me there is some way to do this, I've always hated the default settings and I'm not interested in making MP mods right now.
In the base>ext_data>weapons.dat file
If you unzip the assests0.pk3 file in the base folder, you'll see a file called Weapons.dat with the pathname /ext_data. Extract that file to a temporary folder, and open it with Notepad. You'll see a lot of parameters that can be changed for each weapon. At the top of the file is a legend of what each parameter does.
You can tweak this file, then create a new folder called "ext_data" in your C: root drive. Copy the new Weapons.dat file to that folder. Right click on the new copied file, and add it to a ZIP, making sure the folder info and/or path is saved as well. After it's zipped, go to the new zip's location and rename it to weapons_dat.pk3, and place it in your JK2 Gamedata>base folder.
(You might know all that, but for those who read this and don't know how to pak a pk3 file... sorry if it's obvious to you.);)
Here's an excerpt from the parameters...
// Weaponclass - weapon name
// Weaponmodel - weapon model used in game
// weaponicon - interface image
// Ammotype - type of power weapon needs to fire
// 0 - No power
// 1 - Star Fleet power
// 2 - Alien Crystal power
// 3 - Phaser power
// Ammolowcount - amount when "Low ammo" warning appears on screen
// Flashcolor - color generate by weapon flash (R,G,B)
// Firingsound - sound file used when firing
// altfiringsound - sound file used when alt-firing
// flashsound - sound file used by flash
// altflashsound - sound file used by an alt-fire flash
// stopsound - sound file used when a firing sound stops
// Firetime - amount of time between firings
// altfireTime - for alt fire
// Range - range of weapon
// energyPerShot - amount of energy used per shot
// altenergypershot- for alt fire
// barrelcount - number of barrels the model has (weaponname_b?.md3)
// missileModel - missile .md3
// altmissileModel - alternate missile .md3
// missileSound - played while flying
// altmissileSound - alternate missile launch sound
// missileLight - intensity of lightsource for missile - if 0.0 then none (float)
// altmissileLight - alternate missile light
// missileLightColor - color in three float style R, G, B (0.0 to 1.0) - NOTE - if you have a light, you MUST HAVE THESE
// altmissileLightColor - alternate color in three float style R, G, B (0.0 to 1.0)
// missileHitSound - played on impact
// altmissileHitSound - for alt fire
And an example weapon...
Dude that is old news and besides, none of the parameters I've listed are able to be changed with the dat files, I need to make a real mod. I know that only the MP source was released but since the things I want to change are so simple, I'm wondering if there is any way I can trick the game into doing what I want.
I guess "old" is less than a couple of months these days. Sorry that wasn't helpful to you. I've been swimming around in the new SP scripts the last few days, and haven't found anything that allows adjusting the root parameters of either the weapons or NPCs more than the cfg and dat files offer. You could try to trick it by just replacing skins and amping up the parameters with cfg/dat files. But then that wouldn't be a real mod.
If you want to make a real mod, then spend some real cash, get the real software tools, and learn how to code CC+, Eagle, and Gla/Glm files the real way. Meanwhile, the rest of us will try to have some fun with what we are able to do.
Why are so many people on this board such jerks when you try to help around here...:confused:
By the way, your welcome for the response I took the time to write.
I have found no way to modify either of those params, GreyWing.. we'll need a SP sdk.
Thanks for the info Jipe, I'll still keep looking for a way around though. As for Akshara, I wasn't trying to be a jerk to you; I was explaining what I'm trying to do more clearly. But hey, if you want to get ripped a little bit I'll accommodate you. First of all, did you even bother to read the original post? I am not interested in config file or scripting hacks, that should be obvious here. It's also obvious that I know how to program in C++ because I've mentioned the MP source and how I haven't been able to use it to make modifications to SP weapon parameters (the topic of this thread). Oh, and by the way that's C++ not CC+ genius, and actually, JK2 was programmed in neither it was done in C. Were you trying to make yourself look like a horse's ass on purpose with that dumb little retort, or did you really think you knew what you were talking about? Either way, you might want do a little research and maybe take a spelling class the next time you get another "great" idea.
If you want to make a real mod, then spend some real cash, get the real software tools, and learn how to code CC+, Eagle, and Gla/Glm files the real way.
:lol: I've had the "real" software tools for over a year now and have been coding the "real" way for about six months. What are you talking about?
I guess "old" is less than a couple of months these days
We've known about the dat files ever since the game was released. JK2 has been out for more than two months, so dat file editing is old news.
I've been swimming around in the new SP scripts the last few days, and haven't found anything that allows adjusting the root parameters of either the weapons or NPCs more than the cfg and dat files offer
No sh1t, that's because it's not possible, you need the source. I have the MP source and I'm wondering if there is any way to trick the game into allowing basic weapon parameters in an SP game be modified with the MP source. I've said this at least three times now.
Why are so many people on this board such jerks when you try to help around here...
Why do so many people on this board choose to write before they read? It's like telling someone you're thirsty and have them hand you a box of crackers.
By the way, your welcome for the response I took the time to write.
You could've spent that time picking your ass for all the good it did.
With that wonderful attitude, you'll definitely get a lot of help around here. :rolleyes:
[QUOTE]I've had the "real" software tools for over a year now and have been coding the "real" way for about six months... /QUOTE]
Then you must know what you're doing, being a seasoned veteran and all.
And this is "we" now? Who exactly is on your committee?
I realize you're looking for a way to trick the SP game somehow. I read your post. I don't know you personally and have no idea your level of modding experience. I've been searching for a way to "trick" the game into allowing SP mods of the weapons and npcs myself. I've read almost every post from this board and all the other bbs boards as well, hoping to find a clue or someone who has succeeded. Maybe my post was "old news" to you, but it could have been helpful to someone. I was ONLY trying to help out someone with a similar goal.
It would have been easier to just come back and say, "thanks, but I already tried that and it didn't do what I was looking for." Then maybe we could have exchanged ideas. I have found some interesting stuff in the scripts that could possibly help trick the code, but will require a serious rewrite job on a level by level basis. I'll post and share anything I find with the forum.
I read a post that Raven has stated that the SP SDK is tied into the EXE file, and can't be released. So another way will have to be found.
And it's more like telling someone you're thirsty for a soda, and have them hand you a pepsi, but then go, "no... I meant a root beer." Except you decided to shake the can and pop it in my face instead.
Anyway, in the spirit of kindness...
1) You could design a custom firing effect and splash effect for your new weapon with EffectsEd and give them specific parameters for velocity and such; then create a script with BehavEd for character behaviour when encountering the effect on a map, and insert that script as a parameter in all of your SP levels.
2) A weapon could be designed as a NPC entity that could be spawned in maps, instead of as a weapon per se. Then all scripting parameters that can be applied to an NPC could be assigned to it. Certain "set" parameters combined with actions could simulate a weapon, like the seeker drone.
3) Any spawnable entity can have a script assigned to it. Write a custom script for a weapon and see what happens.
4) Design a map that uses gravity and friction in unusual ways to effect objects moving through it. It would be extremely complicated to do and still be playable, but it could be tried.
5) It's entirely possible that a specific command could be added to the weapons.dat file that isn't listed in the legend. Since you are familiar with the MP source code, find the commands that effect the weapons in MP, and then try inputting them as commands into the weapons.dat file, and see what happens. Maybe they will overwrite the commands in the SP SDK, if executed afterwards. A custom weapons.dat pk3 in the base folder should overwrite anything from the assets pk3s. It's a longshot, but worth a try.
These are just ideas. Sorry if they don't help. The SP SDK will not be released by Raven. We had similar problems with Voyager Elite Force.
By the way... nobody knows the level of experience a poster has. The game has only been out for three months, so there are going to be a lot of new people arriving over the next several months. Especially after they see episode II. Be kind. The tools change as the game engines evolve, and everyone is a newbie when learning some new system. Personally, I've been around since ChangKhan's original Ultimate Quake mod for Quake 1. Now thAt's old news...
Anyway, good luck. Sorry not to be more help.
|All times are GMT -4. The time now is 02:11 PM.|
Powered by vBulletin®
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.