djtonybe
Member-
Content Count
14 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout djtonybe
-
Rank
Private First Class
-
Sweet, cheers dude.
-
Thats no help whatsoever. Thats about playing warfare. Not about how to use the warfare module on editor map.
-
Can some one give use a explanation of how to setup the warfare module on a map and where i need to write the scripting. I have looked online and there is nothing definitive.
-
Slaving the Apache Gun with trackir
djtonybe replied to djtonybe's topic in ARMA 2 & OA - SUGGESTIONS
Yup, just realised. Note to admin, please move this post to the right forum. Note to BIS, get on the job.. -
Okay, i have looked all over forums and can't get a definitive answer on this. Is there a way to slave the apache gun to trackir so that it follows your head movements in the cockpit. If there is, how? Scripts, mods, what And where do i get them? Thanks. ---------- Post added at 04:20 AM ---------- Previous post was at 04:07 AM ---------- And also, why hasn't BIS implemented this already since it is a great feature of actual apaches. They should, its not likes it's difficult to code in the game engine.
-
Domination v2.54+
djtonybe replied to djtonybe's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Nice one. For future reference, all checkout this link http://dev-heaven.net/projects/list_files/domination -
Does anyone know where to get the domination files for v2.54 or better. Can't find anything on google or on the forums. Thanks.
-
yey.. thanks guys, working now finally. In answer to a couple of questions, if i just put it all in one ammo box like all others, i would just use the domination scripts. Ironically, the reason i am looking Domi commands because its a working script dispite all the little bugs in it. Just a few more thousand little problems to fix now.. Starting with vehicles and catching that darn GetIn eventhandler..
-
Thats probably where the problem starts. there is no one off entry point which you can define and run everything. Just even with a basic ammo refil script, the script runs but i can't get the specific boxes to fill with specific weapons, i.e. extract while {true} do { (format ["Filling Ammo Box."] call XfGlobalChat); // Clear box clearWeaponCargo _this; clearMagazineCargo _this; // Gets upto here okay // Fill box if ( this isKindOf "USBasicAmmunitionBox_EP1" ) then // have tried if ( this Name == "AmmoCrateUSA" ) then { hint "American Ammo Crate being filled"; // US Army Weapons & Ammo _this addWeaponCargo ["M14_EP1", _amountWeapon]; I just can't seem to determine either the type of crate or the name of crate which is cruical to this part of the script. In C++, its as simple as this.name == etc etc.. ---------- Post added at 02:36 PM ---------- Previous post was at 02:34 PM ---------- Read it, no help.
-
I honestly can not get my head around this language (and i learnt C++ completely in 2 weeks). It doesn't help that there is no proper guides to scripting in this language and the variables / calls etc etc seem to be all over the place. And having 1 liner examples really doesn't help to understand how some functions/ constructs work.
-
Help with object scripting & intercepting menu commands
djtonybe replied to djtonybe's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Also, where do you define the "addEventHandler[type, command]". Just in any script or does it need to go into a specific script file. Obviously the command element of it can be a different script file but not sure how to initially declare the EventHandler override. And does it need to be initialised in anyway with the in game editor? Ta. -
Help with object scripting & intercepting menu commands
djtonybe replied to djtonybe's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Sweet, Ta. Will try that. May take some time though since i can't even get a ammo refill script to work in a MP map. -
Help with object scripting & intercepting menu commands
djtonybe posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm a bit new to scripting (but not with using C++) and still trying to figure a couple of things out that aren't apparent. Firstly, how to i intercept a menu command, in this instance the "Get in as..." command? How do i determine the position on the vehicle that the player is trying to get in? How do i determine the class the player is? And finally how do you boot someone from a vehicle? I have tried looking on the help section and couldn't find anything that looks like object definitions that would help and tried looking through some code for domination but gave up after trying to unravel the messing coding style. Any help would be appreciated. -
I'm a bit new to scripting and still trying to figure a couple of things out that aren't apparent. Firstly, how to i intercept a menu command, in this instance the "Get in as..." command? How do i determine the position on the vehicle that the player is trying to get in? How do i determine the class the player is? And finally how do you boot someone from a vehicle? I have tried looking on the help section and couldn't find anything that looks like object definitions that would help and tried looking through some code for domination but gave up after trying to unravel the messing coding style. Any help would be appreciated.