Last active: Never
Not logged in [Login - Register]
Portal Portal   Search the forums Search   Frequently Asked Questions FAQ   View member list Member List   Staff Staff List   View Topic Activity Topic Activity   Forum Stats Stats   Board Rules Board Rules   Downloads Downloads
Go To Bottom

Printable Version | Subscribe | Add to Favorites  
Author: Subject: DEF and BIN help please?
ice4600
Corporal


Avatar

Avatar


Posts: 169
Registered: 22-1-08
Member Is Offline


puzzled.gif posted on 28-2-10 at 09:50
DEF and BIN help please?


I'm finishing up a mod for DFX and I'm having some problems. I've updated "gametext.bin", saved it, converted it and packed it in the correct pff, but the changes don't show up in game.
I've included the corresponding Weapon.def entries in case anyone wants to look at them. I've added the following problematic entries:

Glock 18C:
Code:


Code:


Colt M1911A1

Code:


Code:


M4 Suppressed

Code:


Code:


Thanks a bunch, this and re-skinning is last big step!
View user's profile View All Posts By User U2U Member
ShadowZ
Administrator
********

Avatar

Avatar


Posts: 486
Registered: 20-2-09
Location: Texas, U.S.A.
Member Is Offline

Mood: Not enough hours in a day

[*] posted on 28-2-10 at 14:16


Which .PFF are you packing?

How are you running the mod? and

How does your .BIN entries look like?




Time is not my enemy, although we do have many disagreements...


http://www.dfreload.com/shadowz/SGMod/SGSig.jpg http://www.dfreload.com/shadowz/MarkSigR.gif
View user's profile View All Posts By User U2U Member
ice4600
Corporal


Avatar

Avatar


Posts: 169
Registered: 22-1-08
Member Is Offline


[*] posted on 1-3-10 at 00:11


.bin goes to language.pff
all mod items packed into copy of DFX, batch file ran, /d in target line as well.
.bin entries included above.
View user's profile View All Posts By User U2U Member
ShadowZ
Administrator
********

Avatar

Avatar


Posts: 486
Registered: 20-2-09
Location: Texas, U.S.A.
Member Is Offline

Mood: Not enough hours in a day

[*] posted on 1-3-10 at 02:18


Ok you coding entries look good...

When you where using the TXT2BIN did you make sure that there wasn't an older copy of the gametext.bin? If there is an older copy already, TXT2BIN will not update the file nor replace it with the new one, but rather do absolutely nothing.




Time is not my enemy, although we do have many disagreements...


http://www.dfreload.com/shadowz/SGMod/SGSig.jpg http://www.dfreload.com/shadowz/MarkSigR.gif
View user's profile View All Posts By User U2U Member
ice4600
Corporal


Avatar

Avatar


Posts: 169
Registered: 22-1-08
Member Is Offline


[*] posted on 1-3-10 at 04:04


There are originals in my computer, but not in the same folder. I usually copy it to the desktop, .bin-fy it, then paste that in the modded game directory. It asks me if I want to overwrite the original one, and I click yes, then I run the packing batch file to stick it in the pff. that doesn't seem to work with .bin but it works fine with .defs? I also tried converting it in its own folder, that didn't work either. I've deleted it right out of the pff and started again, that didn't work either. If this can't be resolved, I'm going to just rewrite it all, but I don't want to have to do that.
View user's profile View All Posts By User U2U Member
ShadowZ
Administrator
********

Avatar

Avatar


Posts: 486
Registered: 20-2-09
Location: Texas, U.S.A.
Member Is Offline

Mood: Not enough hours in a day

[*] posted on 1-3-10 at 04:30


Double check the Bin once you stick it in the .pff...

Yeah, they get frustrating at times. You hop around wondering what the hell you did wrong and then finally found one tiny little mistake in the process... :?




Time is not my enemy, although we do have many disagreements...


http://www.dfreload.com/shadowz/SGMod/SGSig.jpg http://www.dfreload.com/shadowz/MarkSigR.gif
View user's profile View All Posts By User U2U Member
ice4600
Corporal


Avatar

Avatar


Posts: 169
Registered: 22-1-08
Member Is Offline


[*] posted on 1-3-10 at 11:40


I've added 6 weapons, they all appear in game, but the .bin doesn't affect them. I'm sick of trying and failing, so I'm going to rewrite the whole dang thing when I get time.

Also, three of the weapons start at 0/0. the ammo, ammo count, magazine size and magazine count are all correct but they still don't have bullets.
View user's profile View All Posts By User U2U Member
ShadowZ
Administrator
********

Avatar

Avatar


Posts: 486
Registered: 20-2-09
Location: Texas, U.S.A.
Member Is Offline

Mood: Not enough hours in a day

[*] posted on 1-3-10 at 15:34


For those 3 weapons that have no ammo, double check your "ammoclass" is correct.



Time is not my enemy, although we do have many disagreements...


http://www.dfreload.com/shadowz/SGMod/SGSig.jpg http://www.dfreload.com/shadowz/MarkSigR.gif
View user's profile View All Posts By User U2U Member
ice4600
Corporal


Avatar

Avatar


Posts: 169
Registered: 22-1-08
Member Is Offline


[*] posted on 6-3-10 at 22:08


They all work now, the Ammo classes were non existent? Anyway, thanks for that.

Ice4600
View user's profile View All Posts By User U2U Member
ice4600
Corporal


Avatar

Avatar


Posts: 169
Registered: 22-1-08
Member Is Offline


[*] posted on 15-3-10 at 00:01


Alright, I've added the correct entries to Game.LWF and corresponding .WAV files, but still no audio when the weapon is fired? I've double-checked the entries and the file names so its not that. What else could it be?
View user's profile View All Posts By User U2U Member
ShadowZ
Administrator
********

Avatar

Avatar


Posts: 486
Registered: 20-2-09
Location: Texas, U.S.A.
Member Is Offline

Mood: Not enough hours in a day

[*] posted on 22-3-10 at 12:05


hmm... did you check the variables used for the "soundsetend" in the "Fire" animation actions (weapon.def)



Time is not my enemy, although we do have many disagreements...


http://www.dfreload.com/shadowz/SGMod/SGSig.jpg http://www.dfreload.com/shadowz/MarkSigR.gif
View user's profile View All Posts By User U2U Member
ice4600
Corporal


Avatar

Avatar


Posts: 169
Registered: 22-1-08
Member Is Offline


[*] posted on 10-4-10 at 09:20


what do you mean? I just tacked on GS_40 where GS_MP5 was.
View user's profile View All Posts By User U2U Member
JET
Gomer !!!


Avatar

Avatar


Posts: 827
Registered: 7-4-06
Location: Northern California
Member Is Offline

Mood: Need a Beer

[*] posted on 11-4-10 at 08:41


is the new .wav file configured correctly?



http://i49.photobucket.com/albums/f257/JET-WTF/jettag2.jpg
Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day. --George Carlin
View user's profile Visit user's homepage View All Posts By User U2U Member

  Go To Top





Powered by XMB
Developed By The XMB Group © 2001-2008