sickboy 13 Posted December 3, 2006 I was thinking... as somethings changed in ArmA concerning scripting, it might be possible to create a few fancy regex search and replace strings for converting scripts automagicly to ArmA. Despite the fact that certain scripts rely on features that are not present or different in ArmA, e.g. Animations, I think it would be very great if the hugest parts of most scripts can be turned into ArmA with the click of a button, the smaller things and other edits/additions can still be done manually of coarse... I know some basic regex, but if I should name at least someone who is huge amounts better, it's WGL.Q Examples of the changes I'm talking about: Code is now a distinct type, code must be put in between brackets {}, and may not reside anymore in quotes " " = string, except when the string is called with: compile string As such, strings may also not be written in between brackets {} anymore As such while, foreach, hint, call etc. must be rewritten in cases where the editor used " " where {} are needed in ArmA and visa versa. Share this post Link to post Share on other sites
raedor 8 Posted December 3, 2006 Afaik Q is already working on something like that. Share this post Link to post Share on other sites
sickboy 13 Posted December 3, 2006 Afaik Q is already working on something like that. Lol you gotto be kidding me Gonna get him on my MSN asap lol Share this post Link to post Share on other sites
Sgt_Eversmann 1 Posted December 11, 2006 do I have to type this flyinheight {20}; instead of this flyinheight "20"; now? because 2nd one doesn't work anymore and pops up a message that ; is missing or so !? it's also wrong in mr-murrays editing book edit: got damnit I have to be blind, it's correct in the editing book by mr-murray! Share this post Link to post Share on other sites
Lolsav 0 Posted December 11, 2006 this flyinheight "20"; take out the "" and it works just fine Share this post Link to post Share on other sites
Sgt_Eversmann 1 Posted December 11, 2006 oh...err ok never had that idea think I have to improve my creativity skill thanks Share this post Link to post Share on other sites
sickboy 13 Posted December 11, 2006 do I have to type  this flyinheight {20}; instead of  this flyinheight "20"; now? because 2nd one doesn't work anymore and pops up a message that ; is missing or so !? it's also wrong in mr-murrays editing book  Weird you get these questions from (well)known & respected modmakers from OFP, you would've guessed they understood R-T-F-M   http://community.bistudio.com/wiki/flyInHeight --- Little update on the project itself... It seems Q is getting further and further and I've did a few tests with the replacer and it wasn't perfect yet but most definatly this will kick butt very soon! Already got DAC & KI v2 running!! Still need to debug certain aspects as replace certain voices like "RUS15" etc and some moves, but the first mission is already ready based on it (Altough DAC v2 etc will be kicking butt of coarse when it gets released, I feel that having DAC v1 in ArmA is already a great step ahead and a nice temporary solution until Silola finishes his master piece ) Share this post Link to post Share on other sites
mattxr 9 Posted December 11, 2006 Already got DAC & KI v2 running!! Still need to debug certain aspects as replace certain voices like "RUS15" etc and some moves, but the first mission is already ready based on it AWESOME DOOD. Share this post Link to post Share on other sites
Sgt_Eversmann 1 Posted December 11, 2006 Sickboy, true mod-addon-maker ye, but not scripter I'm not very familiar with c++ and stuff, making my way through it and try to understand things. and from ofp I knew that it was this flyinheight "20"; ...so I thought it would be the same in ArmA but now I know better ye that project sounds really cool, looking forward to it Share this post Link to post Share on other sites
sickboy 13 Posted December 11, 2006 Sickboy,true mod-addon-maker ye, but not scripter  I'm not very familiar with c++ and stuff, making my way through it and try to understand things. and from ofp I knew that it was this flyinheight "20"; ...so I thought it would be the same in ArmA but now I know better  ye that project sounds really cool, looking forward to it  No biggy m8, was more or less joking about the fact that you didn't look it up at the WiKi... good first stop for everyone with such questions Anyway, hope to see some productions from ye soon! Share this post Link to post Share on other sites
Sgt_Eversmann 1 Posted December 11, 2006 heh ye the wiki, forgot to look into it, have to get used to that we have a wiki for ArmA dunno if you have seen my pictures in photography topic, there you see the pmcs I started working on yesterday! They are far from perfect but I give my best sry for OT Share this post Link to post Share on other sites
silola 1086 Posted December 11, 2006 hi a nice idea to convert the old scripts for Arma Simple script projects can be converted thereby certainly well. For the DAC, this kind of conversion is not sufficient. Some Scripts must be changed ... sqs --> sqf. The complete part of the unit creator must be rewritten. Also the waypoint generation and the unit reduction, which makes sense also in Arma. For the moment I develop the "XCam Light". This console helps me to have the DAC units under control It will cost some more time, until DAC is really finished. sorry, but I would like that the DAC optimally functioned. bye silola Share this post Link to post Share on other sites
sickboy 13 Posted December 11, 2006 hi  Hey Silola, I fully agree with you. But there is one tiny little problem... I Deny to make missions without DAC, you just made SUCH a great product... I truelly won't make missions without it, simple as that... so I had a choice... Convert your current work, or wait months (don't get me wrong, I very much understand why it takes long and that it is much work, really!! ), so I choose for the "1.5" solution lol... Everything is already working, incl the ai creator (the new format of createunit of arma rox.. but you can still use old fashioned aswell! ), waypoints etc. etc. Even the KI2 expansion works fine except a couple of things. I used the regex converter, and then I went manually debugging every single part, took me nearly 12 hours to get it working (near)properly with KI2 I agree that DAC V2, fully written for ArmA, will both feature more and make better usage of the (new) functions in ArmA etc. etc. And I truelly can't wait for your masterpiece (in every sence) btw Any ETA on Xcam Light? Are you going to make it also possible to use it as a spectator script after death, or just mission debugging again? Quote[/b] ]Dunno if you have seen my pictures in photography topic, there you see the pmcs I started working on yesterday!They are far from perfect but I give my best Did'nt check it yet, so frigging busy on all fronts lol, I love it, but it doesn't allow time for looking at photo-topics etc. Share this post Link to post Share on other sites