( search forums )
Modding Weapons .ini
Soldat Forums - Soldat Interface Mods & Mod Making - Modding help
Frenris
April 2, 2006, 5:42 pm
Gah..

I added a folder into the mods made a batch file that works but I dunno how to get my weapons.ini that I have inside the mods folder one further step down to activate. I named it both weapons.ini and weapons121.ini which are the two weapons files in my base soldat directory, I deleted the comments but I still can't get the file to work in game. (BTW, I am creating my own local games as opposed to joining online ones so that's not the reason)

mar77a
April 2, 2006, 6:17 pm
http://www.soldat.pl/man/manual-en.html#KOMENDY

look for /loadwep

Frenris
April 3, 2006, 2:19 am
Thanks, after doing what you suggested and fiddling around for a while I got the loadwep to work, but for some weird reason, the only weapon modified in the .ini that that works is the HK, while there are like five other modified weapons that just go normally like no mod was loaded.

What is with that?

rabidhamster
April 3, 2006, 2:24 am
No decimal values allowed in weapons.ini files.

By the way, dragging your weapon mod into your mod folder, and renaming it weapons.ini will make it load automatically every time you start a game under the mod (ex. by placing it in Soldat\Mods\BunnyEars\weapons.ini. No file replacement or /loadwep necessary).

Frenris
April 3, 2006, 3:40 am
Great now I got both methods of launching weapon mods working... still unfortunately not all of the weapons I've modded are appearing in their modded capacity in game. The ones that don't show up:

[Spaz-12]
Damage=122
FireInterval=3
Ammo=2
ReloadTime=60
Speed=150
BulletStyle=3
StartUpTime=0
Bink=0
MovementAcc=1

[M79]
Damage=190
FireInterval=6
Ammo=3
ReloadTime=60
Speed=330
BulletStyle=4
StartUpTime=0
Bink=45
MovementAcc=3

[Barret M82A1]
Damage=15000
FireInterval=15
Ammo=5
ReloadTime=900
Speed=175
BulletStyle=1
StartUpTime=25
Bink=90
MovementAcc=6

[XM214 Minigun]
Damage=5000
FireInterval=4
Ammo=1
ReloadTime=366
Speed=290
BulletStyle=8
StartUpTime=50
Bink=0
MovementAcc=1

I can't see anything I'm doing there that looks wrong..

rabidhamster
April 3, 2006, 8:18 am
What are the settings for the weapon before the spas?

Frenris
April 3, 2006, 9:22 pm
nvm, I used the php weapons.ini editor found in fan apps and got that to work.

Still thanks for the help guys.

Edit: Actually two questions:

Is there any way to make a direct hit from the m79 not a one hit kill?

Can one get the flamer to work as a primary weapon?

Koon
April 4, 2006, 12:12 am
nades and the m79 bullet always kill even at 0 damage.

it's immpossible to get flams to work like the flamer for any other weapon. But some can be modded with it like if you set the fists bullets to flame they will catch people on fire.