Jump to content

sempavieh

Member
  • Content Count

    36
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About sempavieh

  • Rank
    Private First Class
  1. As i said, copy the vanilla.pbo, edit it, make a "@Mod" folder, in the style of all the other Mods (i.e. @MOD\addons\customized.pbo). Just make sure the customized PBOs name is still the same as the vanillas so it is overwritten at start. that should do the trick. PS: remember to add a -mod=@MOD into the Shortcut of your ArmA2.exe like always
  2. thx, hoped that it works that way :) still i had a problem with the script ... I have a Battery, ACE Module (u dont mean virtual one dont u? or maybe both?) and i put the Variables into the Init.sqf ace_sys_bi_arty_DLG_TimeBetweenMissions = [300]; ace_sys_bi_arty_DLG_Rounds = [25,50,75,100]; Then i created another SQF file and put this in there: ace_sys_bi_arty_DLG_Batteries = [bat1,bat2,bat3,bat4]; [] spawn ace_sys_bi_arty_fnc_ArtyRequest; Then i tried to call this script with an Actionmenu at some Computer with this nul = this addAction ["Artillerieschlag", "functions\arti.sqf"]; Works fine till i actually wait for the shells to drop at a certain location ... I suppose my method of calling the script is wrong, or im missing an Array/String whatever after the addAction, dunno :(
  3. wont you get problems in online mode if u customize vanilla.pbos ... just a guess^^ i think he should copy it and run it as a solo addon instead of altering the vanilla data.
  4. Does this script work for multiple Arti-Batteries as well? How would the script look like? Is there any possibility, maybe to ask if the first Battery is still "reloading" and using another Battery instead? Im not sure about the syntax and the possibilites of ACE ...
  5. ok i try that l8er, thx. after reading half a dozen threads about setting UAVs up in Multiplayer an trying all the Scripts that were posted here in the forums to my best abilities i give up on that uav thing, cause it seems it is just not possible to get it work in Multiplayer, thats very sad :( Still, If theres a solution and someone knows about it ... plz share ur wisdom already :D
  6. Sorry that i did not reply asap but i had to rest a while :D I got it working in the init.sqf: _xhandle = player addEventHandler ["killed", player execvm "functions\weaponstay.sqf"]; But still i cant use the UAV again after respawning ... this has to be something else. But its better this way, less code in Soldiers init. And i can now focus on this UAV Problem. along with the fact that i still did not find out how i can virtually group ppl together. thought it must look like this, p2 is the name of the player i want to group: echo1=group p2; it does not seem to work because in the uav module it is said that all grouped ppl can use the uav, if the leader is sync with the module :( do i have to define the leader or is the syntax wrong, i dont know :( and theres a new error in the Init.sqf ... but ... the script works ... i dont know what that is about Error in expression <kers_enabled = true; _xhandle = player addEventHandler ["killed", player execvm> Error position: <addEventHandler ["killed", player execvm> Error Typ Script, erwartet Zeichenfolge and the uav still does not think about working although i defined this BIS_uav_0 setvariable ["rules",[p0,p1,p2]]; in the init line of the UAV Module (where i think this is supposed to be ) plz help me im going crazy, i manage to solve a problem and 2 new problems arise from the ashes -.- :( ---------- Post added at 07:52 PM ---------- Previous post was at 06:41 PM ---------- tried something else now: i put this into the init.sqf: //nul = this addAction ["Initialize UAV", "functions\inituav.sqf"]; nul=[]execVM "functions\inituav.sqf"; and this is what the inituav.sqf looks like BIS_uav_0 setvariable ["rules",[p0,p1,p2]]; BIS_UAV synchronizeObjectsAdd [terminal1,uav1,p0]; BIS_UAV synchronizeObjectsAdd [terminal1,uav1,p1]; BIS_UAV synchronizeObjectsAdd [terminal1,uav1,p2]; tried both of the lines in Init.sqf (although i wonder if i need to set a Actionmenu Button for the Sync in Case of the "AddAction" Part) ... nothing works afterall -.- is there just no way to get the uav working in multiplayer or do i just not get it :(
  7. Tried it while hosting a dedicated server on my own machine and it worked without the check. You made my day, thx alot :D That is the problem if you try to learn scripting by scavanging through the scripts of others, there are always parts you are not certain about. i hope this phase is over soon. ---------- Post added at 05:38 PM ---------- Previous post was at 04:36 PM ---------- Ok one down, two to go ... or something like that. After finishing this part, there is another disturbing fact. I mentioned it earlier in the first post. Theres a strange Problem with the UAV, probably related to some Client <-> Server communication issue or caused by my nonexistent JIPrespawnscript. Heres the Situation: I have 1 Officer and 2 Soldiers. Grouped only over the ArmA2 Grouplinks (drag&drop). First Problem is, even in Preview only the Officer (who is leader of this group by rank and drag&drop link) has access to the uav terminal and it works fine. Second problem is, if i host the mission on a dedicated server even the Officer gets a Hint that the UAV has been destroyed, although it is flying right above his head ... Third Problem, in Preview, normal and dedicated host, the Officer looses his ability to use the UAV ever again. I got three opinions about this problem atm: 1. The reason is i did not group the Soldiers properly with _groupthis etc. (at least i think it is the reason for the problem, that the 2 soldiers cant use UAV even in Preview) 2. Using the "normal" BIS Respawn routines in description.ext, while using ACE Woundsystem & trying to establish working jip-compatible multiplayermaps just does not work out -> so i would need to find a working Respawnscript as a workaround. 3. the weaponstay function is not JIP-compatible and causes problems with other abilities like UAV handling. [b]Initline[/b] of each one of the soldiers: _handle = [] execVM "functions\weaponstay.sqf"; [b]Weaponstay.sqf[/b] while {true} do { waitUntil {!alive player}; _weapons = weapons player; _magazines = magazines player; waitUntil {alive player}; _p = player; removeAllItems _p; removeAllWeapons _p; {_p addMagazine _x} forEach _magazines; {_p addWeapon _x} forEach _weapons; _primw = primaryWeapon _p; if (_primw != "") then { _p selectWeapon _primw; _muzzles = getArray(configFile>>"cfgWeapons" >> _primw >> "muzzles"); _p selectWeapon (_muzzles select 0); }; }; It works fine so far, it does what it is supposed to, as expected of Xenos work afterall. but im not sure if something maybe disturbs respawn itself or the jip-compatibilty of the mission ... All i need is a push in the right direction again i think ...
  8. Because i dont have a clue what i'm doing atm. I just started a week ago again with editing after a long pause due to studying and other stuff. is there another way? im pretty sure that this prob has something to do with this local stuff but i have no idea if i should just delete the argument, or to put wich argument in there. I tried "public" once, but then the script was messed up ...
  9. sempavieh

    co30 DominationA2! One Team

    muchas gracias xenos :) im trying to understand your scripting atm, all i can say till now is that i am amazed how those hieroglyphic Numbers, Symbols and Letters form together to this awesome mission. im still lightyears away from your point, but after some time i can read out between the lines what youre doing, although i could never copy it without further learning. its a shame u wont help someone with scripting, but i know that if u guys would do, you would have no freetime anymore for the next 20 years :D still i could need someone like you for my ace-realwarproject :P have a nice day sempavieh
  10. I could get rid of those messages in the RPT after deleting the USP Weapon and Magazines from my script. Unfortunatly it did not solve the publishing problem. I tried various of other things again (with dedicated host too) but nothing worked so far. Tried to redefined _crate(s) with numbers (_crate0 etc.), before all variables were named _crate in 6 separate function ... didnt do anything :( i tried to get rid of the defining part of the function but then nothing worked. i tried to alter the init-line of the crate, without success obviously ... #define _this = noob if fed_up_with_sit then { addAction Drink_Beer end_if dead } //eof :(
  11. sempavieh

    fsm tutorials

    You should google first before asking :) http://rte.jonasscholz.de/blog/2009/11/03/new-to-arma-2-fsm-scripted-fsm-by-xeno http://community.bistudio.com/wiki/FSM http://www.sinewsofwar.com/Downloads/Tutorials/tabid/254/Default.aspx http://community.bistudio.com/wiki/FSM_Editor_Manual
  12. Hi Folks, after the thing with the Nuke i realized that i have one big problem with my Mission atm. The Problem shows itself through the Ammoboxes i created with a little help of a script if found here in the forums. If i Preview the Mission, everything works fine for me. I see the random stuff in the Crates i put in there with a function and i can use the UAV (if i take the slot that is directly synchronized with the module, all others cant use it although they are grouped with the synchronized player), till it crashes sometime (for an unknown reason). If i host the Mission in Lan (not-dedicated) everything still works fine for me, but my mates cant see the random stuff in the crates, cant use the UAV (it tends to crash in the moment someone else tries to use it but me) If we put the Mission on a dedictated Server, neither i, nor my mates can see the random stuff in the crates or get the uav working (says "UAV destroyed", if i try to activate it with the actionmenu) This all points in one direction, for the Server, all Variables and Functions are published, but not for the Clients. I know that there is some Argument to use, if u want to make sure that this works but im too noob in scripting to use it in the right way. I dont know if there is a JIP Problem too, because we never tried to use a slot again. This is in the Initline of the respective crates null0 = [this] execVM "functions\ammoXXX.sqf" This is an example for one of those ammo.sqf private ["_crate"]; _crate = _this select 0; if(local _crate) then { clearWeaponCargo _crate; clearMagazineCargo _crate; _crate addMagazineCargo["HANDGRENADE_WEST",50]; _crate addMagazineCargo["SMOKESHELL",50]; _crate addMagazineCargo["SMOKESHELLGREEN",50]; _crate addMagazineCargo["SMOKESHELLRED",50]; _crate addMagazineCargo["SMOKESHELLYELLOW",50]; _crate addMagazineCargo["ACE_M7A3",50]; _crate addMagazineCargo["ACE_M84",50]; _crate addMagazineCargo["ACE_M34",50]; _crate addMagazineCargo["MINE",50]; _crate addMagazineCargo["PIPEBOMB",50]; _crate addMagazineCargo["ACE_BBETTY_M",50]; _crate addMagazineCargo["ACE_CLAYMORE_M",50]; _crate addMagazineCargo["ACE_M2SLAM_M",50]; _crate addMagazineCargo["ACE_M4SLAM_M",50]; _crate addMagazineCargo["ACE_TRIPFLARE_M",50]; _crate addMagazineCargo["ACE_M86PDM",50]; sleep 1800; }; I tried precompiling the functions first but it made no difference i believe. I think theres just some Argument missing, publishing the crates loadout to all players around. As you can see im using ACE² and yes its fully updated with Six-Updater, so there shouldnt be any problem i think. Im using some other scripts like SimpleVehicleRespawn and a Weaponsavefunction Xeno wrote here in the forums but i cant imagine how they can influence this ammofunction. Please help me, its really frustrating :( My ArmA2.rpt shows some weird problems too i cant make a sense of. First theres this part, that suddenly came out of nowhere after i made some changes, but those changes are back to normal again, but this keeps coming. Warning Message: No entry 'bin\config.bin/CfgMagazines.ACE_15Rnd_9x19_USP'. Warning Message: No entry '.picture'. Warning Message: '/' is not a value Warning Message: No entry '.scope'. Warning Message: '/' is not a value Warning Message: Error: creating magazine ACE_15Rnd_9x19_USP with scope=private Warning Message: No entry '.displayName'. Warning Message: '/' is not a value Warning Message: No entry '.nameSound'. Its a lot longer but i think this is the main problem. Thanks and have a nice day sempavieh PS: If you want to, feel free to contact me on icq (645525468), im currently searching other missionmakers with (hopefully) more experience than me, for developement of my upcoming realwar project. for further details, just ask :)
  13. sempavieh

    ACE Nuke Problem

    Dunno what it could be otherwise, ArmA2.rpt is clean of errors so far. I hope i get a chance to test it soon. But theres so much i dont know about JIP and stuff that it could be virtually everything that causes my problems -.-
  14. sempavieh

    ACE Nuke Problem

    The Nuke was not essential for my mission, but i guess an easy-to-implement (and edit) Nuke Addon would be a nice help for some guys. Back to topic. 1. Ok that could be true, because he has to animate all the fallen buildings and burning wrecks, maybe its just overload as u say. 2. Yes im updating ACE every day there is an update. I had no chance to test it yet, but i saw that isMultiplayer was on false and i changed it. Maybe its some sort of problem related to joining Clients to a Server who is not expecting other players to join.
  15. sempavieh

    ACE Nuke Problem

    Im just testing it with one other person. But its not only that the Nuke aftereffects are not shown to other people in my mission. Its a general problem with my Mission it seems. If i place a Weaponscrate and fill/refill it with a function, all other players see the old loadout of the crate, but can only take the ones i filled it with ... It seems to be the same problem. server <-> client seem not to be communicating properly ... I dont know what to do^^
×