Jump to content
Sign in to follow this  
max power

WIP: Stuff you are working on 2!

Recommended Posts

I know a way to input stuff into arma2 from a C++ program (for exemple), but I don't how I could ouput stuff from arma2 :(.

To input stuff realtime into it, just create a script that constantly loop trough a second script. Now change that second script realtime with a C++ programm or anything else you like. With the command "execVM" the script is compiled everytime you call it, so it can be modified realtime.

what do you think

The file being modified and using the preprocessFile command is exactly how I was planning to get data back into ArmA2...

The other way is to use copyFromClipboard... but I am using copyToClipboard to send data out and it'd be a pain in the rear to handle two way communications via just the clipboard. Besides I am figuring that the data coming OUT of ArmA2 will be much more in most situations.

BTW, I tested it out last night with a little app that just reads the clipboard... and due to an unfortunate memory leak I was actually able to get a rough estimate on the bandwidth of using the clipboard. Roughly 3-4MBps of data can be shot through there it seems. Of course thats all relative. That was a loop in game just sending unit coordinates to the clipboard.

It's really a dead simple concept. Just need to write some wrapper libraries and some code to make sure communications is decent (as in when sending RPC that you get a positive return that its executed or being executed). Add in some event handlers for data in and out and you'd start to have yourself a pretty nice little communication path.

Edited by NouberNou

Share this post


Link to post
Share on other sites

ok finally got a model base for the scope with stand added feet to the legs just need to texture tho uv mapping it proved to be a real challenge as it turn out a right mess i followed a video from BWmod as i lived in Germany for nearly 10 year so i could understand it, got it to work before but i think the model is to complex to unfold and box top it. still have the script and stuff to do as well!

http://i765.photobucket.com/albums/xx296/DK717/FL-1.jpg

http://i765.photobucket.com/albums/xx296/DK717/front.jpg

http://i765.photobucket.com/albums/xx296/DK717/side.jpg

also is there a way to improve range and if pos elevation for a AI if tht AI was the shooter, tried it out with a AI he had M107 engaged the target at over 800m with "rapid fire" and could not hit jack! so is there a way to change him to single fire and/or slow the time he take each shot in order to give human spotter time to adjust orders for target type range and priority?

Edited by [=SFLR=]DK

Share this post


Link to post
Share on other sites

stuff i'm no longer working on, 'cause I just finished it,

(I NEED SOMEONE TO HELP RIG THIS AND MAKE IT A TROOP)

Edited by HarryZhe

Share this post


Link to post
Share on other sites

indeed pretty nicely executed! I suggest download the ArmA2 example soldier and just see ho the selections are arranged. Thats ur rig.

Share this post


Link to post
Share on other sites

PhilippRauch:

good idea! where is located that .rpt file that diag_log create?

I just had an idea: the server dump the position of every player in that file, then a program place a marker on a map of chernarus (that you have on your windows), then that map is saved and sent to a server every minute. Now clan members can watch the evolution of the game currently played on the server from their main website! :D

I tested the other idea about using a progam that modify an .sqf script. I can confirm it works pretty well. I got the globalchat of my player controled by my little C app.

NouberNou: I'm not familiar with copyfromclipboard unfortunatly. Hvae you tried using diag_log to output data?

HarryZhe: nice alien! Do you plan on doing any UFO craft to go with it?

Share this post


Link to post
Share on other sites

thinking about it. I need help with configs and stuff.

I do plan a raygun... But again, will need help for effects and stuff

Share this post


Link to post
Share on other sites
PhilippRauch:

NouberNou: I'm not familiar with copyfromclipboard unfortunatly. Hvae you tried using diag_log to output data??

I'd like to try and avoid putting stuff in the rpt file, just for the fact that other information gets tossed there in the debugging process. Also since its a file operation and not a higher level operation like moving data to the clipboard (which I believe is only in memory) it probably would be much slower.

Here is the biki link: http://community.bistudio.com/wiki/copyToClipboard

Share this post


Link to post
Share on other sites

before you do work twice, i0n0s did smth along these lines already... search at DevHeaven for ION_Lib_Clipboard.rar in this thread ...

http://dev-heaven.net/boards/37/topics/show/1091#message-1159

...

This is my try with copyToClipboard. SQL requires another dll (which is not included)

...

It allows to open pipes via the clipboard. See ION_Lib.sqf for details.

As Spooner wrote: Be aware that using those commands will clear the current clipboard.

It is possible to restore it, but at least in the time of the communication the clipboard has to differ.

Share this post


Link to post
Share on other sites

It's been awhile since I posted anything, might have been during the arma 1 days. But today I bring you my latest wip. It's a modified m240 made by BI, and I'm trying to convert it into the swedish Ksp 58 (FN MAG)

So far the muzzle break and front sight are nearly done:

The Muzzle break

http://img269.imageshack.us/i/ksp581.jpg/

Front sight

http://img705.imageshack.us/i/ksp582.jpg/

I know there's alot of sharp eges around, but It helps with modeling:)

Edited by cribban

Share this post


Link to post
Share on other sites

KSP58 is different from FN MAG also on belt feed cover, remember about this detail if you make another KSP

kspp.jpg

Share this post


Link to post
Share on other sites

Yeah, there are alot of details that needs to be remodeled, like the gas regulator, the cover as you said, the handle and stock

Share this post


Link to post
Share on other sites

Hey all

You guys know that Myke is working on the F-16 .

Well im working on Wip F-16BM form a older glt_f-16 mlod

Here is a screenshot :

Arma_f16b.jpg

This is for testing .

cya

eddyD

Share this post


Link to post
Share on other sites

yea poor model, that does get abused quite alot. Anyone know what happended to footmunch? is he still making addons?

Share this post


Link to post
Share on other sites
Anyone know what happended to footmunch? is he still making addons?

Lots contact. Can't raise him. Haven't seen him for a looong time. :(

If anyone has got contact, I'd appreciate a PM.

Share this post


Link to post
Share on other sites
Footmunch's F-16 must be the most abused model in the history of OFP :)

I just hope you don't state the things i do with as an "abuse"....just say a word and i'll stop abusing.

Share this post


Link to post
Share on other sites
I just hope you don't state the things i do with as an "abuse"....just say a word and i'll stop abusing.

Ahh dont get puffy m8, i was just saying that its the most modded mod of all time, people love it, dont stop :) and forgive my jokes :)

Share this post


Link to post
Share on other sites
Ahh dont get puffy m8, i was just saying that its the most modded mod of all time, people love it, dont stop :) and forgive my jokes :)

I have to apologize, mate. As english not being my native language, sometimes i miss the jokes.

And as a little update of my "abuse":

- redoing the whole cockpit in 3D modelling (textured faces before)

- setting up instruments so they can fail if F-16 got damaged on vital parts

- altimeter can be zeroed to airport ASL height

- reworking scripts, mainly adding a more immersive (as far as possible) startup sequence

Share this post


Link to post
Share on other sites
Hey all

You guys know that Myke is working on the F-16 .

Well im working on Wip F-16BM form a older glt_f-16 mlod

This is for testing .

cya

eddyD

Is it possible to make double control of plane form both seats via scripting?

Share this post


Link to post
Share on other sites

due to my first attempt as creating a spotting scope and the fact im to noob to 3ds and my uv map got FUBAR, i ended up restarting my scope and made better progress this time and made a bit more detail than the first pics i posted, :bounce3:

http://i765.photobucket.com/albums/xx296/DK717/Pic4.jpg

http://i765.photobucket.com/albums/xx296/DK717/pic3.jpg

http://i765.photobucket.com/albums/xx296/DK717/Pic2.jpg

http://i765.photobucket.com/albums/xx296/DK717/Pic1.jpg

Share this post


Link to post
Share on other sites
Is it possible to make double control of plane form both seats via scripting?

remove pilots to somewhere else then exchange model with one thats configged with pilot2 as driver then putting them back in.. i would say right off the top of my (tired *g) head

Share this post


Link to post
Share on other sites

Speaking of abused models, here's my little Jonny's-SF-turned-digger now with normal maps (and no head).

d00dnorms.jpg

I recently discovered that the program I was using to make my normal maps was inverting my red (right/left) normal channel, damn its eyes, without me asking it to. Upon discovering this, I immediately deliverated a smackdown uponst it.

Next step is to do the main body occlusion bake... but my internet is too crap to download the .OBJ exporter for O2. <sigh>

I also decided to tone down the normals on the arms and legs down a bit. Honest to god, some of the normals I've done before defy the laws of physics concerning cloth wrinkles.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×