Jump to content

Photo
- - - - -

Take On Helicopters Beta Patch 89707

tkoh;beta;java

  • Please log in to reply
23 replies to this topic
Thread Starter
dna
dna

    BI Developer

  • 1696 posts

#1

Posted 22 February 2012 - 15:18

Someone requested coffee? :chef:

Changelog:
Spoiler



Edited by DnA, 22 February 2012 - 15:25.

Bohemia Interactive
Arma 3 - Project Lead
Watch us, tweet us, poke us

Take On Helicopters - Project Lead
Take On Noisecontrollers!

NeMeSiS
NeMeSiS

    Captain

  • Members
  • 6366 posts

#2

Posted 22 February 2012 - 15:27

Oh awesome, i hope i can get around to trying this this week. :D

sickboy
sickboy

    Colonel

  • Members
  • 9947 posts

#3

Posted 22 February 2012 - 15:30

Congrats on release with Java!!

nuxil
nuxil

    Sergeant Major

  • Members
  • 1606 posts

#4

Posted 22 February 2012 - 15:46

Nice news.

Java isnt excatly my cup of coffee. but i'll give jython a try when i get the time and see if its works..

Happy Coding everyone. and go grind some beans :P

Jedra
Jedra

    Warrant Officer

  • Members
  • 2048 posts

#5

Posted 22 February 2012 - 16:17

"Take on World" - I love it - you are even pushing the boundries of the tried and tested "Hello World" application!

If anyone wants me I am in the back room overdosing on caffeine....
Jedra's Addons
Arma 2 : Enhanced Skills Slider
Take On Helicopters : Take On Taxi | Jedra's Time Trials | Weapon Indicators | No Radar

D3lta
D3lta

    Gunnery Sergeant

  • Members
  • 414 posts

#6

Posted 22 February 2012 - 17:04

Awesome news...
www.combatetatico.com.br

Core i7-4770K - MSI-GD65 - ASUS HD 7970 DCU2-TOP - 12GB

themaster303
themaster303

    Gunnery Sergeant

  • Members
  • 540 posts

#7

Posted 22 February 2012 - 17:31

nice one ;)

can we have now minecraft on an MFD :D

i looking forward to the possibilities now.

Edited by themaster303, 22 February 2012 - 18:11.


Sealife
Sealife

    Banned

  • 1362 posts

#8

Posted 22 February 2012 - 17:58

A chopper cup of Coffee in a chopper coffee pot :)

Jedra
Jedra

    Warrant Officer

  • Members
  • 2048 posts

#9

Posted 22 February 2012 - 20:12

lol - tried for a couple of hours to get this running in IDEA (been a while since I did java!) - failed. Installed Eclipse and in 5 minutes .....

TAKE ON WORLD!!!

Also Eclipse has changed since my last outing with it - previously if I installed it, it screwed up my Flex IDE (also Eclipse based, which is a major issue!), but they live happily together now it seems.

I need a coffee...
Jedra's Addons
Arma 2 : Enhanced Skills Slider
Take On Helicopters : Take On Taxi | Jedra's Time Trials | Weapon Indicators | No Radar

sbsmac
sbsmac

    Master Gunnery Sergeant

  • Members
  • 1297 posts

#10

Posted 22 February 2012 - 21:51

Hmm, just tried this after playing the 1.03 patch heavily for the last few days. First impressions....

Light helicopter is now much less controllable. There seems to be a lot more inertia on the pitch moment - ie when hovering if you start to pitch forward it can be very difficult to pull back. Ground-effect is very noticable. Whereas I used to be able to fly comfortably a meter above the sea the heli now seems to want to rise much higher than this and has to be actively forced down. I'll leave it to others to comment on whether these changes are actually more realistic - it's certainly causing me to relearn how to fly after getting pretty comfortable with 1.03. ;-)

On a more annoying issue, graphics glitches are much worse with the beta. The cockpit flickers in and out of existence for me on regular basis now (at least once per minute) and sometimes the entire world outside the cockpit disappears for a few frames. :-(
Author of PVPmissionWizard ArmA2FPSAnalyser AddonChecker and ... squint

Tools homepage

Crosseyed and Painless - a blog about my ArmA2 developments



kylania
kylania

    Lieutenant Colonel

  • Members
  • 8281 posts

#11

Posted 22 February 2012 - 21:59

That's a lot of code for
hint "Take on world!"
:)

.kju -PvPscene-
.kju -PvPscene-

    Brigadier General

  • Members
  • 12275 posts

#12

Posted 23 February 2012 - 05:51

Good code design is very important - in the long term and for more complex code, it will save you a lot of time in the end.



Current active projects: None :(

Maintained/assisted projects: IFA3, Blitzkrieg


Help: Got a crash? Report it! What is the RPT log file?


kylania
kylania

    Lieutenant Colonel

  • Members
  • 8281 posts

#13

Posted 23 February 2012 - 06:03

Hopefully someone can come up with some Netbeans instructions for this. Since it took me 30 minutes and multiple tries to get just a simple Hello World to work... Maybe some explanation for how this all is supposed to work? Do we need to write java wrappers for every command? An object for showHint which calls RVEngine.hint? Will we need to do that for every single command? To type out a hint this example has you writing three different versions of hint in three different places. Surely that can't be how all of this will work?

I know I'm missing a lot here, can anyone explain this stuff please?

Thread Starter
dna
dna

    BI Developer

  • 1696 posts

#14

Posted 23 February 2012 - 08:28

Hopefully someone can come up with some Netbeans instructions for this.


We have WIP documentation for Netbeans, which I'll try to post soon.

Do we need to write java wrappers for every command? An object for showHint which calls RVEngine.hint?


No, that is a sample to get the IDE up and running. Just to show a hint this is obviously way too much overhead. One example of how you could better utilize Java, is by treating the jCall as just the start of a larger Java hierarchy of Object-Oriented classes. The rest of the system would be executed within the Java classes (and occassionally using RVEngine methods to effect change in the mission). As we move forward the things the JVM can do will expand, and the issues will be fixed. As for the commands (methods) now available, it's currently our library (JNIScripting) + JDK (huge amount of standard methods - maths, XML, etc.) + whatever you create yourself.

An abstract example based on OA's ARMEX: a GameMaster class would manage everything related to dynamic challenges. It would then instantiate objects of a Challenge class for each time a challenge is started and handle everything specific to that challenge. All data and function is stored with the class / object responsible for it; making it cleaner, clearer and easier to debug. Just like game configuration files are a class hierarchy, this makes scripting work in a hierarchy as well. You can use all of the benefits of that in a well-designed system: inheritance, abstraction, etc.
Bohemia Interactive
Arma 3 - Project Lead
Watch us, tweet us, poke us

Take On Helicopters - Project Lead
Take On Noisecontrollers!

Jedra
Jedra

    Warrant Officer

  • Members
  • 2048 posts

#15

Posted 23 February 2012 - 11:18

Hello World examples are always like this and are just to show the concepts. Done properly, as DnA said, the call to Java would initiate a self contained functional section of a mission. It would do all the loops/validation/calculations making call backs to Arma when needed using the methods in the JNIScripting library.

What it gives the developer is the ability to test stuff in a self contained environment with proper debugging tools and management. Also, new methods can be cretaed in a much more flexible way using Java.

The potential is huge!
Jedra's Addons
Arma 2 : Enhanced Skills Slider
Take On Helicopters : Take On Taxi | Jedra's Time Trials | Weapon Indicators | No Radar

Angle
Angle

    Sergeant

  • Members
  • 134 posts

#16

Posted 23 February 2012 - 16:45

I need some help. I downloaded eclipse and i think i have gotten to the

Set Default output folder to just JavaSample (remove \bin)
Go to the Libraries tab

part, Problem here, it wont let me just remove \bin, it grays out "ok" and there is no libraries tab. (found a add library entry in the build-path submeny but it has no add external jar option)

Edit: sorry maybe this is for the java thread.
Spoiler

rfc
rfc

    Staff Sergeant

  • Members
  • 210 posts

#17

Posted 23 February 2012 - 20:17

Got Eclipse and the minimal Java sample up and running without a hitch; so far, so good ;-)
System: CPU: i7-980X, RAM: 12GB Kingston HyperX, GFX: XFX Radeon HD 5970 Black Edition, MOBO: GA-X58A-UD7 X58, POWER: be quiet P8 1200W ATX 2.3, HDD: 2x Intel X25-M G2 160GB, 2.5", OS: W7Pro 64bit, Drivers: Catalyst: 13.12, 2D: 8.01.01.1360, D3D: 9.14.10.01001, OGL: 6.14.10.12618, CCC: 2013.1206.1603.28764

Sealife
Sealife

    Banned

  • 1362 posts

#18

Posted 23 February 2012 - 20:37

Hi
I have big problems with alt tab with latest Beta running in full screen mode not windowed anyone else experience it ?

Problem
Cant alt tab from game ,Seems harder when in map screen for some reason

windows XP home 32 bit
GTX 470 Nvidia No addons only latest Beta

PLEASE READ FIRST POST JAVA HAS DEDICATED THREAD :)

Angle
Angle

    Sergeant

  • Members
  • 134 posts

#19

Posted 23 February 2012 - 21:13

Sadly as far as i can tell the current state of affairs is not permissive of jython, however i only just spent 3 hours trying to learn how its held together. Since I'm not a fan of the java philosophy of if its to verbose it ain't verbose enough this makes me sad. Well i guess I'll have to learn java then. And i dont understand what im missing in the Initial Java documentation since for some it just seems to work.
Spoiler

rfc
rfc

    Staff Sergeant

  • Members
  • 210 posts

#20

Posted 23 February 2012 - 21:47

Sadly as far as i can tell the current state of affairs is not permissive of jython, however i only just spent 3 hours trying to learn how its held together. Since I'm not a fan of the java philosophy of if its to verbose it ain't verbose enough this makes me sad. Well i guess I'll have to learn java then. And i dont understand what im missing in the Initial Java documentation since for some it just seems to work.

Java stuff over here
System: CPU: i7-980X, RAM: 12GB Kingston HyperX, GFX: XFX Radeon HD 5970 Black Edition, MOBO: GA-X58A-UD7 X58, POWER: be quiet P8 1200W ATX 2.3, HDD: 2x Intel X25-M G2 160GB, 2.5", OS: W7Pro 64bit, Drivers: Catalyst: 13.12, 2D: 8.01.01.1360, D3D: 9.14.10.01001, OGL: 6.14.10.12618, CCC: 2013.1206.1603.28764



Also tagged with one or more of these keywords: tkoh;beta;java