OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cph81 on 23 May 2003, 00:02:03
-
I want to add addon weapons in some mission that created by someone else. I used the PBOtool to extract the file out and view with notepad. Most of the words are in ASCII code. Not like the nice "Class......" in english. How to make them readable?
The weapon I want to add are addon weapon from here, not the one come with the game.
Help, Thanks.
Here is what it looks like in notepad:
--------------------------------------------------------
ÿonLoadMiÿssion="Tÿhe assauÿlt beginÿs..."
rßespaw! GRßOUP";deßlay=1
ûcl; Weapÿons
{
ý REDM42ç03R count = 2I " })S''MC16Q*z&8&ÇM60MÃ-ž
24¹9((MP5Å"4þ'LAWlauncherRRYÿMagazineø[já
GrenadeLoÃÂ7a]žÂ
Hand[Â0Sd°5&c''â€Â¹P566bb)#3>RMortaQ
ÿSmokeShellâÂ'0Õ
-
Hi, you don't need to open it up in notepad....just open it in the editor and add your weapons or whatever there!!
To do this just take the file u got from the de-pbo and put it in users/your name/missions directory.
If u wanted to add 10 M4 ACOG to an ammo crate for example, u would put the following into the ammo crates init field:
this addweaponcargo ["BAS_M4ACOG", 10];
And to add 100 magazines for them:
this addmagazinecargo ["BAS_M4Mag", 100];
Happy editing!! ;D
-
Try Amalfi's pbo decryptor 1.5 from the Ed Depot.
-
Thanks for the help guys. I'll try it later.
Thanks.