Darvo 10 Posted July 27, 2009 (edited) Well looked for the answers in search but could not find anything i could use. So my Questions: *I have the Construction Menu in the gameplay mode but its empty how do i fill it up so i can use all the buildings i want ? (just need the full code and only 1 object i can do the rest myself) *Well my next Questions is obvilous about the unit making how do i make it active? *How can i put the money systeem in and the collecting of scrap for my basebuilding? Wanted to use other people map to see the scripting but can't open them so need to do it this way. Thanks for the help in advance! Edited July 27, 2009 by Placebo Share this post Link to post Share on other sites
kylania 568 Posted July 27, 2009 Sounds like you're trying to grab specific parts of Warfare for use in your own mission? Personally I loathe Warfare and never play it, but I remember there being a spectacular read me for all of it that explained how each bit of code worked. That was for ArmA though, but should be similar in ArmA2. Share this post Link to post Share on other sites
Darvo 10 Posted July 27, 2009 Sounds like you're trying to grab specific parts of Warfare for use in your own mission?Personally I loathe Warfare and never play it, but I remember there being a spectacular read me for all of it that explained how each bit of code worked. That was for ArmA though, but should be similar in ArmA2. Correct, i want to make 2 bases that will attack each other constantly. And i controle one of them. I also want to make sub missions and like the campaign take over the city's. I now it will take a while , but need those code's first before i can even start. Share this post Link to post Share on other sites
Placebo 29 Posted July 27, 2009 OT posts removed, please leave the moderating to the moderators, it's our job to boss people around and stuff, don't remove all the fun from our jobs please! On a serious note, if someone posts in the wrong place, report the post, perhaps leave a polite note that they're in the wrong place, or they will find the answer if they search, forum members "telling off" other forum members simply comes across as flamebaiting which is what everyone wants to avoid. Share this post Link to post Share on other sites
Darvo 10 Posted July 27, 2009 Well i dont get any of this i tryed some scripts from ARMA2 FILES: Like this : Spawn a group a few times file but i don't get it. Were are the codes : _unit = _this select 0; _group = group _unit; _waypoint0 = _group addwaypoint[getmarkerpos"East_WP1",0]; _waypoint0 setwaypointtype"Move"; _waypoint1 = _group addwaypoint[getmarkerpos"East_WP2",0]; _waypoint1 setwaypointtype"Move"; in the game. And what are those AI_respawn_init.sqf ? How do i make a SQF file ? I don't get this at all when i use : nul = [this, 3, 10, "east_spawn","East_WP.sqf"] execVM "AI_respawn\AI_respawn_init.sqf"; a script error pops up when i start the game and say that the SQF file does not excist even if i put the waypoint code in. Ore the Housepatrol script: guard = [this,"SAFE",50] execVM "HousePatrol.sqf" when i put it in a unit is say Housapatrol.sqf does not excist? Were do you guys get all your information from i can't find anything ? And if you say practise makes you better? Well i don't even now how this works. Share this post Link to post Share on other sites
kylania 568 Posted July 27, 2009 I found the guide I was thinking about. I'm not sure how well it'll apply to Superpowers or whatever Warfare is called now though, but it's a start! :) Share this post Link to post Share on other sites
Darvo 10 Posted July 27, 2009 I found the guide I was thinking about. I'm not sure how well it'll apply to Superpowers or whatever Warfare is called now though, but it's a start! :) Thanks, but i still don't get the .sqs files i need to modife, do i need a special program for them? To make those things? And the talk about unpacking the PBO files. Well i get that but what i don't get is how that works in editing, when i download a map like Housepatrol i can only put open the PBO file and the other files won't come with it? Share this post Link to post Share on other sites
kylania 568 Posted July 27, 2009 The PBO file is really just a container for the mission files. You can use ArmA Tools to "un-pbo" a mission to get it into folder/file format so you can open it in the editor. Say you have test.utes.pbo and you unpack it to get test.utes folder. Place that in your ... My Documents\ArmA 2 Other Profiles\Your ArmA Name\Missions folder and you'll be able to open it in the Editor. The sqf/sqs files can be opened via Notepad or your favorite text editor. Share this post Link to post Share on other sites
Darvo 10 Posted July 27, 2009 (edited) The PBO file is really just a container for the mission files. You can use ArmA Tools to "un-pbo" a mission to get it into folder/file format so you can open it in the editor. Say you have test.utes.pbo and you unpack it to get test.utes folder. Place that in your ... My Documents\ArmA 2 Other Profiles\Your ArmA Name\Missions folder and you'll be able to open it in the Editor. The sqf/sqs files can be opened via Notepad or your favorite text editor. So you need to make these things outside the editor? Well that makes more sense. BTW I used that packed to unpack some PBO files but it constantly is saying: Decode failed... Is this because of Vista ? Edited July 27, 2009 by Darvo Share this post Link to post Share on other sites
kylania 568 Posted July 27, 2009 I use Vista and cpbo works just fine for me. Essentially just move the cpbo.exe to your My Docs folder, rclick on it and 'Run As Admin', then answer yes you wanna do whatever it says. After that point you can simply double click on a PBO to open it, and rclick on a folder and Create PBO to make one. Share this post Link to post Share on other sites
Darvo 10 Posted July 27, 2009 I use Vista and cpbo works just fine for me. Essentially just move the cpbo.exe to your My Docs folder, rclick on it and 'Run As Admin', then answer yes you wanna do whatever it says.After that point you can simply double click on a PBO to open it, and rclick on a folder and Create PBO to make one. A oke i will try that out, btw put that useraccount controle out, that way you don't need to confirm everything :) Share this post Link to post Share on other sites
Darvo 10 Posted July 28, 2009 Well my main post wash not answered so gonna give up on that. But got a small Question: // Guerillas_WP.sqf // © JULY 2009 - norrin _unit = _this select 0; _group = group _unit; _waypoint0 = _group addwaypoint[getmarkerpos"Guerillas_WP1",0]; _waypoint0 setwaypointtype"Move"; _waypoint1 = _group addwaypoint[getmarkerpos"Guerillas_WP2",0]; _waypoint1 setwaypointtype"Move"; _waypoint1 = _group addwaypoint[getmarkerpos"Guerillas_WP3",0]; _waypoint1 setwaypointtype"CYCLE"; // etc Used this code and changed some things, but now i wanna make them move safe, the first platoon you put in will move safe if you make a waypoint, but if the are killed and come back the just run again. So anyone now were i need to change the code so i can make them walk SAFE? Share this post Link to post Share on other sites
Big Dawg KS 6 Posted July 28, 2009 Try setWaypointBehaviour. Ex: _waypoint0 setWaypointBehaviour "SAFE" Share this post Link to post Share on other sites
Darvo 10 Posted July 28, 2009 Try setWaypointBehaviour.Ex: _waypoint0 setWaypointBehaviour "SAFE" Thanks! Share this post Link to post Share on other sites