OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: gambla on 06 Aug 2007, 16:45:35

Title: campaign + weaponpool + team status + vehicle ?
Post by: gambla on 06 Aug 2007, 16:45:35
Hi there,
i'm working with the comref but still would like to know if someone knows a little tutorial for
building a campaign, where i like to implement this:

- transfer weapons to next mission (weaponpool - how to ?)
- team members and status (WIA/KIA) ?
- transfer vehicles to next mission ?

thank you in advance!  :)

regards
Title: Re: campaign + weaponpool + team status + vehicle ?
Post by: LCD on 06 Aug 2007, 19:23:30
dis r lots n lotsa commands u need...  i didnt do it but i think wat u need r da folowin comands

saveStatus
saveIdentity
pickWeaponPool

nd

loadIdentity
loadStatus
putWeaponPool

nd many more :P

go 2 da wiki command ref (http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA) nd 2 da OFPEC command ref nd check it out

also check da tuts section ull probably find somin :D

LCD OUT
Title: Re: campaign + weaponpool + team status + vehicle ?
Post by: gambla on 07 Aug 2007, 17:26:18
Thank you LCD,
being a german guy, it wasn't easy reading your post, but i got it at last !  :)

For other mission-creators, this i finally made work fine for me:

1) transfer weapons to next mission >>> use status-commands in "init.sqs" + "exit.sqs" for men and/or objects,
    and you too can combine this with the "weaponpool"-commands
2) team members and status (WIA/KIA) ? >>> use status-commands in "init.sqs" + "exit.sqs" for your men
3) transfer vehicles to next mission ? >>> under investigation :)

For more details, look out for the ArmA PMC campaign or send me a pm.




Title: Re: campaign + weaponpool + team status + vehicle ?
Post by: Wolfrug on 07 Aug 2007, 17:34:36
You can use these (http://www.ofpec.com/forum/index.php?topic=29792.0) scripts to save vehicles, their locations and damage status from mission to mission. Written in .sqs, so very easy to edit. :) Not the A and O of vehicle-saving, but it works!

As to saving people's statuses : it's not as easy as it always seems, it bugs up if you try to revert to a previously played mission (but so does the weaponpool >.>), and such, but if you need any more help feel free to ask. I've tackled these same problems in this (http://www.ofpec.com/forum/index.php?topic=29769.0) thread. :)

Good luck!

Wolfrug out.

Title: Re: campaign + weaponpool + team status + vehicle ?
Post by: gambla on 07 Aug 2007, 19:16:50
thanks Wolfrug !  :)
i'll go through this...