OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 01 Apr 2005, 10:33:35

Title: weapon pool
Post by: 456820 on 01 Apr 2005, 10:33:35
i think thats what this is im trying to have it so the weapon and ammo you had the mission before the oe youre in now is the same i remember seeing something in the comref
i think it was called weapons pool but i cant find it again so if anyone can help please do
Title: Re:weapon pool
Post by: macguba on 01 Apr 2005, 11:14:31
addWeaponPool
addMagazinePool
clearWeaponPool
clearMagazinePool
queryMagazinePool
queryWeaponPool
putWeaponPool
pickWeaponPool
fillWeaponsFromPool

loadStatus
saveStatus
saveVar
saveIdentity
loadIdentity
Title: Re:weapon pool
Post by: 456820 on 01 Apr 2005, 19:12:42
right i dont really get that where does it go and how do i use it
Title: Re:weapon pool
Post by: Dubieman on 02 Apr 2005, 00:02:26
I think its a description.ext that controls those things. Since your doing a campaign, I'd strongly suggest DePBOing the ressy campaign. Where I'm pretty sure those commands are used. I dePBOed the CWC campaign and it showed me some little tricks and it was interesting coming back and looking at it from an editors perspective, not as a player. ;)
Title: Re:weapon pool
Post by: Tyger on 02 Apr 2005, 04:11:35
you load each of the commands that mac posted in the init.sqs, and then save everything in the exit.sqs. The cycle then repeats for the next mission. I can't help you much with the syntax, haven't used it in depth myself.

Title: Re:weapon pool
Post by: 456820 on 02 Apr 2005, 09:37:06
ok cheers so far i am going to de pbo a campaign and have a look and also i will have a look in the com ref again se if i can gind it
Title: Re:weapon pool
Post by: macguba on 02 Apr 2005, 15:25:05
My list is all the commands that I know of that are relevant to making a campaign.   There are tutorials on campaign making in the Ed Depot.