Iceberg92
Member-
Content Count
2 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout Iceberg92
-
Rank
Newbie
-
Benny Edition Warfare (Modded) and General Scripting Help
Iceberg92 replied to Iceberg92's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
So I fixed the Lingor Issue. Turns out I didn't double check to see whether or not my game made a double file of the mission. I compiled the two together and that fixed it, for the most part. Now we're having a problem with the spawn. Seems we spawn swimming in the ground and my friends get hurt from this. Still need assistance with the other issues though. PMed benny (Benny.) and emailed to see if he would respond but apparently he's been AWOL for a while. -
Benny Edition Warfare (Modded) and General Scripting Help
Iceberg92 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
First off, sorry if I didnt put this in the correct place. Also, sorry if any of my four questions have been answered already, not great with forums. As I said, I have four mission editing related questions. 1- I am trying to modify the initialization of vehicles to spawn in Warfare: Benny Edition. I've been using this for help: http://dev.withsix.com/projects/warfare-be/wiki/Warfare_-_Benny_Edition . First example of this is changing a Bell Helicopter ( http://www.armaholic.com/page.php?id=22143 ) Transport to shoot explosive rounds. I've done this in single player and I have translated this script over to the common/init/init_unit.sqf as such: if (_unit isKindOf "pook_H13_transport_CDF") then { _unit removeweapon "pook_M60_side"; _unit removemagazine "pook_250Rnd_762x51"; _unit addmagazine "1200Rnd_20mm_M621"; _unit addweapon "M621"; }; Obviously with this I am trying to remove the M60 and add the Wildcat's M621. When I play the mission however, it does nothing to the helicopter, spawning normally. 2- I am trying to get vehicles in Warfare: Benny Edition to spawn with turrets. I've been using the same source as above but also with this http://www.404games.co.uk/forum/index.php?/topic/2363-custom-vehicles-via-the-attachto-command/ . My example, to spare the time of going over all of them, is a V3S spawned with a D30 on the back and a DSHkM in the side seat. Same thing as before, in that I added, to the common/init/init_unit.sqf, this: if (_unit isKindOf "V3S_Civ") then { _obj1 = createVehicle ["DSHkM_Mini_TriPod_CDF", getPos _unit, [], 0, "FORM"]; sleep 0.1; _obj1 attachTo [_unit, [[0.3,2.4,0.5]]; _obj2 = createVehicle ["D30_CDF", getPos _unit, [], 0, "FORM"]; sleep 0.1; _obj2 attachTo [_unit, [[0,0,0.5]]; }; Again, this led to no results upon starting the mission. I've considered going into the common/config/core folder and entering these scripts into the respected vehicles' "turrets" entry at the end. Only thing is I'm not entirely sure how to enter it in there. I've also considered taking the vehicles and making copies with the modifications in the vehicle folders themselves, but I have no earthly idea where to go for these or how to mess with them. 3- I am trying to migrate Benny Edition to another map. I've used Lingor ( http://www.armaholic.com/page.php?id=10792 ) as an example, and apparently there is a Benny Edition for Lingor but for future reference I'd like to know how to do this. This is what I've done: - I started by copying and unpacking the Benny Edition Takistan mission and moving the files into the editor. I copied the stuff into the editor and moved it to Lingor, while changing the locations and town names to be appropriate. - I then took this new mission.sqm and moved it into a folder with the copied files from the Takistan mission, and renamed the mission, following the instructions of name changing in the Benny Edition editing instructions provided above, by editing the mission.sqm 'briefingName' and the version.sqf 'WF_MISSIONNAME'. - Upon starting the mission, however, no player slots appeared and the mission obviously couldn't start, seeing as how I couldn't join. Before you ask, yes, I double checked, the players are set to 'playable'. I think it has something to do with some scripting which makes the players set somehow but I don't know what or where this(these) file(s) are. 4- Finally, I am trying to edit cars (little dinky civilian sedans and trucks) to shoot, to make a sort of Twisted Metal-ish mission so that my friends and I can screw around. The cars can't fire tank shells/rockets/missiles, however. Something about not having points. I don't know. I tried, however to add launchers on the side and modify their loadouts, but there's the problem. There's no manual fire option for something that isn't in the vehicle. There are scripts to make invisible ai fire but thats not exaclty what I am looking for. I just want to add a point to a car, and maybe some aircraft so it can shoot something like that forward. Could you all help with any or all of these? Also- are there scripts to tell me what's wrong with my scripts when I start the game and/or am playing?