-
Content Count
27 -
Joined
-
Last visited
-
Medals
Everything posted by ZenWarrior
-
Making a simple Warfare mission. Need some help!!
ZenWarrior posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey folks, i´m making a simple warfare mission on Jade Groove and i got some questions for the pros here. 1. All towns are controlled by resistance. I use UPSMON for random resistance Patrols inside and outside towns too, that works fine but how do i get bounty for killing them too? 2. How do i increase the number of normal town resistance units and how can i specify what units are spawning like tanks or light vehicles? 3. The supply points are gathering with the trucks but they only drive to the first town captured. Where can i define that HQ sends supply trucks to all captured towns? Thats all for now, hope someone can help me^^ -
Making a simple Warfare mission. Need some help!!
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks Günter, that helped me out a bit. In the init_common.sqf is a entry with MAXPLAYERTEAMSIZE. Is there something similar for AI? I tried MAXAITEAMSIZE but that doesn´t change anything. My AI just won´t buy troops so i think its maybe related to that^^ -
Scripts not working on dedicated server
ZenWarrior posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, i just made an Alpha test of my mission on a dedicated server, and i found out that a huge part of my scripts don´t work on dedicated. For example: The server spawns the objects in the correct position. But they can be destroyed, so allowdamage false does not apply, and the addaction command doesn´t work either. How can i make it work for all clients? -
Bounty script problem
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thank you F2k, it really just was the underscore... :rolleyes: -
Hi, with the help of Clay, i added some bounty to enemy units. Here´s an example: All works pretty good, but ALL players on the server get the bounty and the message if one kills a enemy unit. In my init.sqf i have this line: playerw = ["wman1","wman2","wman3","wman4","wman5","wman6","wman7","wman8","wman9","wman10","wman11","wman12","wman13","wman14","wman15","wman16","wman17","wman18","wman19","wman20","wman21","wman22","wman23","wman24"]; How can i check what player killed the unit and allocate the bounty just to him?? Sry for the newb questions but i´m still learning^^
-
adding Quests/sidemissions
ZenWarrior posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I want to add some quest in my multiplayer mission, this is a part of my player_actions script: That works well. But i have some problems in the quests.sqf: It should be, if player choose yes then act1 and act2 should be deleted and another titletext shows the mission task. And if player chooses no then act1 and act2 should be also deleted and titletext shows "Maybe later". How can i determine what action the player executed? -
Certain Units/Players Spawn in with a Black Screen
ZenWarrior replied to serfma's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Maybe it´s a driver problem with your graphics card, sometimes i got this blackscreen too and thats related to my Graphics driver. The only solution i know is : press left ctrl+left shift+minus on numpad and type in flush. -
Bounty script problem
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Anyone got a clue why it won´t work?? -
Bounty script problem
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for the fast reply, i´ll try that out immediately. I changed code to this: _man setVariable ["Bounty", 5, true]; _man addMPEventHandler ["MPKilled", { _man = _this select 0; _bounty = _man getVariable "Bounty"; _killer = this select 1; if (player == _killer) then { DCV_Bank = DCV_Bank + _bounty; player groupchat format ["You earned 5 Bounty for killing a Zombie!"]; }; }]; }; Now i get no more bounty at all. -
Scripts not working on dedicated server
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ok, i´ll look into that Multiplayer Framework. But where can i download it? -
Hey guys, i want to modify the Item-Slots of the OA Backpacks for my Mission. But i´m stuck with the config.cpp. I don´t want to make a new addon for that, just want to modify the stats according to my mission. But the config.cpp doesn´t work. Here is what i have right now: Do i need to include the config.cpp in init.sqf or description.ext?? Or is something missing in the file?
-
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I got helped with the setpos Command problem. So Objects are now on the position where i want them to be. But another problem occured with the safezone... The script itself works really good but if i´m leaving the safezone with a vehicle then i´m invulnerable, actually the vehicle itself takes the damage like it should out of safezone. Even if i´m getting out of the vehicle then i can get no damage at all. Heres the script: How do i have to modify the script so that players take regular damage if the leave the safezone on vehicles? -
Hi guys, i´m making a mission where BLUFOR and OPFOR are able to take over Guerilla Outposts. Since i´m new to mission editing and scripting i could use a little help. I placed some Guerilla units in the Outposts and made a trigger. These are the triggers in the mission.sqm: These are working good so far. What i want now is that BLUFOR and OPFOR Groups are able to take over the outpost if they cleared it, and by activating a terminal its captured (after a amount of time, sort of progression bar like in some Capture and Hold missions). And when it´s captured it should be generating some money like towns in warfare mission. I hope you can help me here and give me some tips or examples. Ok. Got another problem here, i placed some safezones at the map with triggers. The problem is that all enemy units in the camp are invulnerable now. I used this type of trigger: class Item6 { position[]={5603.8721,10.848083,2218.3938}; a=400; b=400; rectangular=1; activationBy="ANY"; repeating=1; interruptable=1; type="SWITCH"; age="UNKNOWN"; name="safezone_1"; expActiv="{_x allowDamage false} forEach allunits;"; class Effects { }; }; I thought this would only affect the units in the trigger radius and not all units on the map. So how do i have to change the trigger??
-
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
The Problem with the setpos Problem is in this one: The objects are placed on the map but not at the exact postition. Even if i force them to with the "_vehicle setpos _pos" command. -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Another Problem if i try to script the "safezone" trigger that i placed in the editor in the first time. I don´t understand why i just can´t use the same line from the editor for the script... _safez1 = createTrigger ["EmptyDetector",[5492.9136,2219.6995]]; _safez1 setTriggerArea [400,400,0,false]; _safez1 setTriggerActivation ["ANY", "PRESENT",true]; _safez1 setTriggerStatements ["round (time %1) ==1";"{if ( _x distance _safez1 <380) then {_x allowDamage false} else {_x allowDamage true}} forEach thislist", ""]; My other triggers in the script are working but this one isn´t. -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I think the switch command is very helpful for that task. Thx for the tip. So right now i´m placing some objects on the map via script. The script for spawning units works fine, but i encounter some difficulties with spawning objects. They are placed on the map, but not at the exact position i want them to. Here´s part of script: Everything works fine, but something isn´t right with the _vehicle setpos _pos; I try to figure it out whats missing in that script... -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Great, that works. I could have been so clever to try that out but...:eek: Thx -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ok, this is weird.. it works.. but only with BLUFOR and OPFOR units, if the player is CIV or GUER then still nothing happens. But thanks Mikie :) you really helped me with this. -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Even if i write the captured.sqf just like you showed in the example, still nothing happens. Do i have to modify the init line of the object also?? -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ok, i skipped the idea with the progression bar and made it bit easier for me. I putted a Notebook on a table in the camp, with this addaction ["Hack Terminal!!", "captured.sqf"] in init line. captured.sqf: if (side player == west) then {hint "BLUFOR captured an Outpost";}; if (side player == east) then {hint "OPFOR captured an Outpost.";}; if (side player == guer) then {hint "Guerillas captured an Outpost.";}; if (side player == civ) then {hint "Civs captured an Outpost.";}; The action menu pops up but the script should check what side the player is, but nothing is happen. Also i don´t want all players on the server to see that someone captured an outpost. -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Cool thanks :D, i´ll try that immediately. Really nice, it performs flawlessly. -
Capture Outpost script
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
And i also need help with my first question pls... -
Arma2 CO linux dedicated server problems
ZenWarrior posted a topic in ARMA 2 & OA - Servers & Administration
Hey Guys, my friends and me just rented a linux root server. Since 5 days we try to setup a Arma2CO server on it. We downloaded the a2oa-server-1.60.87589.tar. We uploaded the addons, common, dta, expansion folders also. But something is still not right cause we get some error messages if we start it. Logfile: I had setup a windows server without problems, but it´s the first time to do it on linux for me. It really makes me a headache^^ Pls Help me guys. PS: sry for bad english. ---------- Post added at 15:05 ---------- Previous post was at 15:04 ---------- arma2oa.cfg: arma2oaserver configuration Parameters: server.cfg: -
Arma2 CO linux dedicated server problems
ZenWarrior replied to ZenWarrior's topic in ARMA 2 & OA - Servers & Administration
We finally got it working properly. Many thx to you guys :) -
[Alpha] RTE for ArmA II
ZenWarrior replied to i0n0s's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Hey guys, a few problems here. I got CBA, CBA_A2, CBA_OA and JayArma2Lib installed, i start the game with these and few other mods without any error. But when im in the editor and placing a unit and goin for preview then i get "Script not found" Message, before updating CBA and JayArma2Lib it was "Script BIS.url not found". Another Msg appears when i start RTE, "ION_LIB_CLOSE - DLL NOT INJECTED", No connection to rte capture etc. what am i doing wrong here. Pls advise.