st_dux
Member-
Content Count
876 -
Joined
-
Last visited
-
Medals
Everything posted by st_dux
-
Probability of presence and not alive
st_dux replied to allamawitharifle's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Your condition is failing because in the case that either armoura1 or armoura2 doesn't exist, one or both of those variables are undefined. This means that the engine does not know how to evaluate anything about these variables, leading to a boolean statement that returns neither true nor false. To fix the problem, you will need to declare these variables as null objects in the case that the vehicles don't show up. In your init.sqf file, put the following code: if (isNil "armoura1") then {armoura1 = objNull}; if (isNil "armoura2") then {armoura2 = objNull} Now your original condition will work, as "crew objNull" returns an empty array (whereas "crew <undefined variable>" returns nothing). -
Magic Bullet Script
st_dux replied to camo1018's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It's possible to manipulate the bullet, but calculating exactly where it will end up relative to a moving player involves a fair amount of complex math, which includes some calculus. -
Magic Runway -repair,rearm,refuel,heal
st_dux replied to A-SUICIDAL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
The only issue with using "player" is that everyone will heal whenever one person flies over the runway. Replace the old activation with the following, and all should be well: {if ((getPosATL _x select 2) < 50) then {[b](driver _x)[/b] setDamage 0;_x setDamage 0;_x setFuel 1;_x setVehicleAmmo 1}} forEach thisList;(driver _x) vehicleChat "Your Fighter is ready..." As it turns out, the trigger was returning the name of the vehicle passing through the trigger area, not the pilot of the vehicle. Thus, "vehicle _x" is unnecessary, but "driver _x" is required. -
Using one script's variables by other scripts
st_dux replied to dwinar's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
This is only true if the variable was declared/changed in a script or trigger that was only run by a particular client or server. In most cases, publicVariable isn't necessary because the script/trigger/init line is being run by all clients as well as the server. Common exceptions include scripts activated via addAction and anything activated within an isServer-conditional scope. -
Using one script's variables by other scripts
st_dux replied to dwinar's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
That depends on which clients ran the script. If all of them did, then yes, it's global. -
Magic Runway -repair,rearm,refuel,heal
st_dux replied to A-SUICIDAL's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Change the condition to simply "this." Then, the following activation should produce the desired results: {if ((getPosATL _x select 2) < 30) then {_x setDamage 0;(vehicle _x) setDamage 0;(vehicle _x) setFuel 1;(vehicle _x) setVehicleAmmo 1}} forEach thisList -
We've Been Compromised!
st_dux replied to rangerpl's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Not really, no. As long as the loop is only being run once per frame (which is how triggers operate by default, I believe), the code involved isn't complex enough to have any sort of noticeable performance impact. Computers can count very quickly. -
Help with AI optimization
st_dux replied to maturin's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
1. That depends on what you mean by "a lot." 2. Create an exterior script file that is called by the trigger and use sleep to create delays between rocket creations. 3. deleteVehicle x, where 'x' is the name of the unit you wish to delete. 4. x enableSimulation false, where 'x' is the name of the unit you wish to disable. 5. I wouldn't worry about it. -
We've Been Compromised!
st_dux replied to rangerpl's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
You could continuously count how many enemies know about the player and trigger the QRF after a certain threshold is reached. For example: {(side _x == east) && (_x knowsAbout player > .8)} count allUnits > 5 If you wanted to do it over a smaller area you could count only those within the trigger boundaries using thisList. -
Supreme Court Strikes Rule Banning Violent Video Game Sale to Kids
st_dux replied to Hans Ludwig's topic in OFFTOPIC
There is no law that says you can't. The restrictions are all voluntarily enforced, as it should be. -
Supreme Court Strikes Rule Banning Violent Video Game Sale to Kids
st_dux replied to Hans Ludwig's topic in OFFTOPIC
Not every school shooting involves assailants who were addicted to video games, and school shootings occurred before there was any such thing a video game. The question about violent video games leading to real-world violence has been brought up many times, but an actual scientific link has not been established. From personal experience, I can tell you that I played plenty of violent video games as a kid and never once believed that such violence was meant for the real world. -
Supreme Court Strikes Rule Banning Violent Video Game Sale to Kids
st_dux replied to Hans Ludwig's topic in OFFTOPIC
The only thing that limits a kid from buying an "M"-rated (17+) game is a voluntarily-enforced restriction by the retailer. Movies work the same way in the United States: There is no law that says that someone under the age of 17 can't see an "R"-rated (17+ or accompanied by an adult) film, but just about every movie theater agrees to voluntarily enforce this standard. The fact that neither movies nor books are restricted to age groups by law was actually one of the major arguments against the California law: It would be inconsistent to limit videogames with the law while leaving film and book restrictions up to voluntarily-enforced programs. The only material that has its sale to children restricted by law in the United States is pornography, which is a cultural exception more than anything (it's arguably logically inconsistent, but we can't seem to break away from our Puritan roots). @vilas: There have been no studies done that conclusively link violent videogame exposure to violent behavior in kids. Most studies done on the subject have conclusively demonstrated that there is no causal link at all. Your idea that kids getting access to Call of Duty will somehow lead to mass murder is hysterical at best. -
ArmA has always been an infantry simulator; it has never been a vehicle and/or aircraft simulator. The aircraft and vehicles are controllable to the extent that the result appears realistic from an infantry perspective while being accessible enough for direct control by a novice. If a more realistic (and thereby much more challenging) flight model is introduced, it is imperative that it be optional, lest the heart of the game (the infantry experience) be diminished.
-
What new waypoint would you like to see in the editor list for ARMA3.
st_dux replied to avibird 1's topic in ARMA 3 - GENERAL
The most useful waypoint type they could add would be an Assault/Charge waypoint. All it would need to be is a Move waypoint that is modified so that the AI combat FSMs, which cause the AI to move excruciatingly slowly and attempt bounding overwatch at ridiculously short intervals, are suppressed. Presently, there is no way at all to suppress these, either through scripting or otherwise, and it makes it pretty much impossible to make the AI actually assault a position (rather than immediately get bogged down and slowly die). -
I see your point with regard to a conflict of interest, but Greenpeace has their own bullshit political agenda which is also a conflict of interest. If it were up to Greenpeace, nuclear power would be removed altogether; but nuclear power is a potent resource that we shouldn't abandon just because of a handful of isolated incidents.
-
@Prydain: How do you fund welfare?
-
Gee, this will be really great the next time there's an epic tank battle. Oh wait, that will never happen again.
-
-
Nothing can beat the Airwolf theme.
-
MultiDiscussion : TES5: Skyrim, BattleField 3, COD, R6 etc.
st_dux replied to Second's topic in OFFTOPIC - Games & Gaming
For millions of people CoD is fun. The fact that you don't like something that's popular doesn't mean the people who made it are evil. Also, Bohemia is a for-profit company, too. They make games to make money just like every other commercial game developer. They just target a niche market. ---------- Post added at 04:23 PM ---------- Previous post was at 04:20 PM ---------- This community has done the exact same thing with ArmA and ArmA II, and both games were buggy on release. -
Could you show me that part of my post that gives you a lecture on the wear and appearance of the beret? I'm having trouble finding it. My whole point was simply that having black berets as a part of the normal (non-Ranger) Army uniform is a relatively new thing. Are you disputing that?
-
Brothers in Arms: Franchise Down
st_dux replied to CameronMcDonald's topic in OFFTOPIC - Games & Gaming
Apparently, this game is officially a "spin-off"; the continuation of the main series at a later date has been promised by at least one developer. -
It already has been thanks to the handleDamage event handler. ACE has used this to create a more realistic damage system that does away with hitpoints.
-
This thread is basically a continuation of the side discussion on economic systems that was going on in the Libya thread. I am splitting it off into its own topic so as not to drag the other thread further off course. I am simply interpreting the data that I am able to find. I meant no offense, nor did I mean to infer that I have first-hand experience of living in Poland (or any previously-communist country). All of the things you described above -- paying for your own flat, your own food, your own medical expenses, your own holidays, etc. -- are aspects that are typical of capitalist societies, and average (not ALL, but average) people in many of these societies that I am aware of are able to pay for all of these things. I can tell you from first-hand experience that average people can afford these things in the United States, and from looking at the statistical data that is available, it looks like most people are able to pay for these things in Poland as well (i.e., most people are not currently in poverty). Your own personal experience may be different, and I would be interested in hearing it. I am only able to look at the hard data, and this data does not seem to paint the disastrous image of post-communism Poland that you describe. Note the added emphasis. You have contradicted yourself here. The fact that it is "free" for individuals does not mean that it is actually free. It is paid for, by everyone, whether they choose to utilize the education or not. This limits choice, which can hinder economic growth in a market economy. You could certainly argue that this is a worthy sacrifice in order to allow even the poorest of people to get an education (I wouldn't), but you can't argue that it's free. It isn't. I give you a lot of credit for emigrating from your home country in order to find a better life. That has to be difficult, and I sympathize. That said, most people did not leave, and at least in Poland, the number of Poles coming back to Poland has overtaken the number emigrating in recent years (although it was the opposite for a while). Unemployment in the Czech Republic is only 4.4% right now, which is really quite low by world standards at the moment. I apologize if I have offended you. I have studied economics quite a great deal, both in and out of school, so I don't think it's quite fair to say that I know absolutely nothing about how various economic systems work. Obviously, I have neither the experience nor the perspective of you or vilas, and that is really why I am having this discussion: I'm curious as to how your experience has brought you to conclusions so different from my own. I have seen the prosperity that capitalism creates, both first-hand and historically. In both Poland and the Czech Republic, economic growth has gone up substantially since the transition to capitalism, yet it was stagnant during the later phases of the communist regime. Where is the problem here that I am missing?
-
Capitalism and the free market go hand-in-hand. Capitalism without a free market might as well be called feudalism. This sort of thing -- the government using its power and monopoly on violence to provide help to particular private business interests -- happens in the United States, too, and whenever it happens, the economy (and thus, the people) suffers for it. However, the corruption isn't typically seen on the scale of something like total tax exemption. While we do outsource a lot of basic manufacturing to China (because labor is so expensive over here), the United States grows pretty much all of its own food. We export a lot of food, too. This is especially true for my country, as the Chinese government has funded a large portion of our national debt. This is a really big problem, and I honestly have no idea how to solve it. Ridiculous. This is more anti-capitalist nonsense. As you can see, government interference like this messes with prices and creates economic problems that wouldn't otherwise exist. It's no wonder the EU is having so many economic difficulties lately.