Kolmain
Member-
Content Count
519 -
Joined
-
Last visited
-
Medals
Everything posted by Kolmain
-
The player has the ability to establish 1 camp per rank he has achieved. (IE: PVT gets 1, CPL gets 2, SGT gets 3 etc) The player must place a flag of his faction (which will be available) in order to call for an AI squad to come and reinforce the camp. The script I can handle writing and even the calculations for rank dependency I can handle. The hard part is how the player will be presented with the script? Im not sure if the player should have an action the whole time, or maybe a radio action? Players will be on opposite sides, CDF+USMC and RU.The solution needs to be the most CPU compatable since the server mission will be MSO (high number of active scripts). So, what do you guys think?
-
The best approach...
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It's a continous check? -
Can this run serverside?
-
Multi-Session Operations v3.4 is released!
Kolmain replied to wolffy.au's topic in ARMA 2 & OA - USER MISSIONS
I check this thread on the hour, every hour lol -
Amazing BIS, outlet amazing.
-
SR5 Tactical IED Detection and Remote Det Script
Kolmain replied to Reezo's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Is the dedicated problem sorted? -
Determine What side vehicle the player is in?
Kolmain posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I need to detect if the player is in a civilian vehicle? Any ideas? -
Determine What side vehicle the player is in?
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Nope, vehicles are the side of the commander :( anyone know how to use CfgVehicles? -
Random Building, and Random Position
Kolmain posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I created a script to chose a random building and create a target in the building (east man). If I set him to a random building pos, nothing happens, if I run crb_HousePos he dies and if I run the house patrol script on him nothing happens? This is one of the most bazare things I've seen in arma, but I just need this high-value target to be in a random room in the building so hes not standing on the roof? Im not worried about patroling, actually he can just hide in the room but I cant get him to be anywhere but the roof! Any ideas? Note: Im testing on Lingor, meaning there are some custom buildings, perhaps theyre not indexed? But it still does not work with A2/OA buildings either :( -
Random Building, and Random Position
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
No, the copy paste took out all of the spaces... odd, I found the problem, createUnit doesnt have a handler. -
Random Building, and Random Position
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
This code still wont position him... fnc_pick_housepos = { [size=2][color=#808080][size=2][color=#808080]_house[/color][/size][/color][/size][size=2] = [/size][size=2][color=#ff0000][size=2][color=#ff0000]getPos[/color][/size][/color][/size][size=2] [/size][size=2][color=#0000ff][size=2][color=#0000ff]_this[/color][/size][/color][/size][size=2] [/size][size=2][color=#ff0000][size=2][color=#ff0000]nearestObject[/color][/size][/color][/size][size=2] "Building"; [/size][size=2][color=#808080][size=2][color=#808080]_posarray[/color][/size][/color][/size][size=2] = []; [/size][size=2][color=#808080][size=2][color=#808080]_rndpos[/color][/size][/color][/size][size=2] = []; [/size][size=2][color=#808080][size=2][color=#808080]_pos[/color][/size][/color][/size][size=2] = []; [/size][size=2][color=#808080][size=2][color=#808080]_cnt[/color][/size][/color][/size][size=2] = 0; [/size][size=2][color=#0000ff][size=2][color=#0000ff]while[/color][/size][/color][/size][size=2] {[/size][size=2][color=#ff0000][size=2][color=#ff0000]format[/color][/size][/color][/size][size=2] ["[/size][size=2][color=#0000ff][size=2][color=#0000ff]%[/color][/size][/color][/size][size=2]1", [/size][size=2][color=#808080][size=2][color=#808080]_house[/color][/size][/color][/size][size=2] [/size][size=2][color=#ff0000][size=2][color=#ff0000]buildingPos[/color][/size][/color][/size][size=2] [/size][size=2][color=#808080][size=2][color=#808080]_cnt[/color][/size][/color][/size][size=2]] [/size][size=2][color=#0000ff][size=2][color=#0000ff]![/color][/size][/color][/size][size=2]= "[0,0,0]" } [/size][size=2][color=#0000ff][size=2][color=#0000ff]do[/color][/size][/color][/size][size=2] { [/size][size=2][color=#808080][size=2][color=#808080]_pos[/color][/size][/color][/size][size=2] = [/size][size=2][color=#808080][size=2][color=#808080]_house[/color][/size][/color][/size][size=2] [/size][size=2][color=#ff0000][size=2][color=#ff0000]buildingPos[/color][/size][/color][/size][size=2] [/size][size=2][color=#808080][size=2][color=#808080]_cnt[/color][/size][/color][/size][size=2]; [/size][size=2][color=#808080][size=2][color=#808080]_posarray[/color][/size][/color][/size][size=2] = [/size][size=2][color=#808080][size=2][color=#808080]_posarray[/color][/size][/color][/size][size=2] + [[/size][size=2][color=#808080][size=2][color=#808080]_pos[/color][/size][/color][/size][size=2]]; [/size][size=2][color=#808080][size=2][color=#808080]_cnt[/color][/size][/color][/size][size=2] = [/size][size=2][color=#808080][size=2][color=#808080]_cnt[/color][/size][/color][/size][size=2] + 1; [/size][size=2][color=#ff0000][size=2][color=#ff0000]sleep[/color][/size][/color][/size][size=2] 0.01; }; [/size][size=2][color=#808080][size=2][color=#808080]_rndpos[/color][/size][/color][/size][size=2] = [/size][size=2][color=#808080][size=2][color=#808080]_posarray[/color][/size][/color][/size][size=2] [/size][size=2][color=#ff0000][size=2][color=#ff0000]select[/color][/size][/color][/size][size=2] ([/size][size=2][color=#ff0000][size=2][color=#ff0000]floor[/color][/size][/color][/size][size=2] ([/size][size=2][color=#ff0000][size=2][color=#ff0000]random[/color][/size][/color][/size][size=2] ([/size][size=2][color=#ff0000][size=2][color=#ff0000]count[/color][/size][/color][/size][size=2] ([/size][size=2][color=#808080][size=2][color=#808080]_posarray[/color][/size][/color][/size][size=2])))); [/size][size=2][color=#0000ff][size=2][color=#0000ff]_this[/color][/size][/color][/size][size=2] [/size][size=2][color=#ff0000][size=2][color=#ff0000]setpos[/color][/size][/color][/size][size=2] [/size][size=2][color=#808080][size=2][color=#808080]_rndpos[/color][/size][/color][/size][size=2]; [/size][size=2][color=#008000][size=2][color=#008000]//_this [/color][/size][/color][/size][size=2]}; [/size][size=2][color=#808080][size=2][color=#808080]_hvtposition[/color][/size][/color][/size][size=2][color=#000000] = mso_hvt_locations [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]call[/color][/size][/color][/size][size=2][color=#000000] BIS_fnc_selectRandom;[/color] [/size][size=2][color=#808080][size=2][color=#808080]_hvtclasses[/color][/size][/color][/size][size=2][color=#000000] = ["Ins_Commander","Ins_Lopotev","TK_Soldier_Officer_EP1","TK_INS_Warlord_EP1","TK_GUE_Warlord_EP1"];[/color] [/size][size=2][color=#808080][size=2][color=#808080]_hvtclass[/color][/size][/color][/size][size=2][color=#000000] = [/color][/size][size=2][color=#808080][size=2][color=#808080]_hvtclasses[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]call[/color][/size][/color][/size][size=2][color=#000000] BIS_fnc_selectRandom;[/color] [/size][size=2][color=#808080][size=2][color=#808080]_grp[/color][/size][/color][/size][size=2][color=#000000] = [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]createGroup[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]EAST[/color][/size][/color][/size][size=2][color=#000000]; [/color] [/size][size=2][color=#808080][size=2][color=#808080]_hvt[/color][/size][/color][/size][size=2][color=#000000] = [/color][/size][size=2][color=#808080][size=2][color=#808080]_hvtclass[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]createUnit[/color][/size][/color][/size][size=2][color=#000000] [[/color][/size][size=2][color=#808080][size=2][color=#808080]_hvtposition[/color][/size][/color][/size][size=2][color=#000000], [/color][/size][size=2][color=#808080][size=2][color=#808080]_grp[/color][/size][/color][/size][size=2][color=#000000]];[/color] [/size][size=2][color=#808080][size=2][color=#808080]_hvt[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]allowDamage[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#0000ff][size=2][color=#0000ff]false[/color][/size][/color][/size][size=2][color=#000000];[/color] [/size][size=2][color=#ff0000][size=2][color=#ff0000]sleep[/color][/size][/color][/size][size=2][color=#000000] 1;[/color] [/size][size=2][color=#808080][size=2][color=#808080]_null[/color][/size][/color][/size][size=2][color=#000000] = [/color][/size][size=2][color=#808080][size=2][color=#808080]_hvt[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]spawn[/color][/size][/color][/size][size=2][color=#000000] fnc_pick_housepos;[/color] [/size][size=2][color=#ff0000][size=2][color=#ff0000]sleep[/color][/size][/color][/size][size=2][color=#000000] 1;[/color] [/size][size=2][color=#808080][size=2][color=#808080]_hvt[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#ff0000][size=2][color=#ff0000]allowDamage[/color][/size][/color][/size][size=2][color=#000000] [/color][/size][size=2][color=#0000ff][size=2][color=#0000ff]true[/color][/size][/color][/size][size=2][color=#000000];[/color][/size] [size=2][color=#000000] [/color] [/size] -
Random Building, and Random Position
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
The link you gave me links to ArmA actions? :P And so how could true/false returns work? -
Random Building, and Random Position
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
the only thing I dont understand is A) Is this local or global? Global right? and B) why does it in end with _this? -
Random Building, and Random Position
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
How can I create fnc_pick_housepos with that code so I can use fnc_pick_housepos later in the script to do that? -
We not have a custom Chernarus/Takistan/Lingor MSO, and 3 dedicated servers! Our players enjoy working as a team in a hardcore tactical enviroment and relaxing as a team through other games and activities. If you think the 97thRR is right for you, contact us today! We're reaching full capacity and need you in our ranks!
-
SR5 Tactical IED Detection and Remote Det Script
Kolmain replied to Reezo's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm waiting on the dedicated problem as well :/ -
Vehicle Buying/ Spawing script
Kolmain replied to Horner's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
the variable money is global, are you sure thats right? Sounds like you want a local variable, like _money after you label _money as the unit's variable, sorry I dont have the perfect syntax, you know what I mean? -
My unit has our own server with rather high specs and a 100mbs uplink, but we seem to get desync when players connect that gets increasingly worse. What are optimal settings in the arma2oa.cfg for a server? Maybe it's bandwidth allocation issues?
-
Im trying to create a script that will spawn a high ranking officer inside a "villa" across the map of Lingor. First, how can I create an array of the locations of all positions of villas on the map? Next, I don't understand how to gather information from an AI and be able to format text to display their name. I will need to create a task explaining who they are. Finally, the defenses aren't too hard, just some find safe pos's?
-
SR5 Tactical IED Detection and Remote Det Script
Kolmain replied to Reezo's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Is this script officially working on a dedicated server? -
The Deck of Cards
Kolmain replied to Kolmain's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks, but I'm trying to limit it to villa-mansions only across the whole island :( -
Free DLC: Lingor Units for Arma 2/OA
Kolmain replied to icebreakr's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Thanks, are they setup with groups? And are these units included with Lingor now? -
Free DLC: Lingor Units for Arma 2/OA
Kolmain replied to icebreakr's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
And civilians? -
Multi-Session Operations v3.4 is released!
Kolmain replied to wolffy.au's topic in ARMA 2 & OA - USER MISSIONS
Lingor link doesnt work :( -
Multi-Session Operations v3.4 is released!
Kolmain replied to wolffy.au's topic in ARMA 2 & OA - USER MISSIONS
Wolffy, this single mission has definatley changed the way I look at ARMA2, you need a custom forum title for this! NICE JOB!