Advertisement

Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Ah, well, this will be continued, but I also have gathered a team for a small ARMA I project too :P
2
OFP - Missions Beta Testing / Re: [SP]High Hills
« Last post by GW on Today at 13:34:37 »
i uploaded new version again.
3
Arma3 - Single Player Beta Testing / Re: [SP]Resistance: The Invasion
« Last post by h- on 28 Mar 2015, 08:46:21 »
Only a mad man would go from A3 to A1  :no:
4
OFP - Addons & Mods Beta Testing / Re: Text Command Engine
« Last post by h- on 28 Mar 2015, 08:42:59 »
Quote
Please take a look at this trench model and tell me - why hidden textures don't want to work?
Without even looking, IIRC if it's classed as a building (non-strategic, House, Building etc) setObjectTexture/hidden textures stuff doesn't work with it.
5
OFP - Addons & Mods Beta Testing / Re: Text Command Engine
« Last post by SoldierEPilot on 27 Mar 2015, 18:45:33 »
Looking 4 experienced and not very busy addon maker!

1) Please take a look at this trench model and tell me - why hidden textures don't want to work?
    (Test mission and unpbo-ed addon included).

2) Would you be so kind to re-texture this piece of polygons with 2 dummy textures
    (to be replaced with 2 island specific textures of earth surface and soil), so it will
    be rather good looking on desert and snowy maps.

--EDIT--
Fixed config - thanks to h- :clap:
Still need help with retexturing.
6
OFP - Editing/Scripting General / Re: Fwatch 1.13 for CWA in action
« Last post by SoldierEPilot on 23 Mar 2015, 18:20:10 »
To @Wiineri: glad to see someone else works in this field.
And I don't thought about cut-scene problem before.
Keep going man!

///////////////////////////////////////////////////////////////////

I have a dream...to parse SQF code and to interpret it like CSharp-like OOP language :hmmm:
2 functions to be developed:

1) OOP_Create: define new class with props, default values and methods.
All objects are arrays with "type" (0th element == case-sensitive class name)
Object itself is always  mentioned as 0th argument in all methods.
Methods and props are stored in "parallel" global arrays with class types array.

For example: lets suppose I already created 2 classes:

OOP_Types array: ["Line","Circle"]
OOP_Props array:
[
   ["start","end"],
   ["centre","radius"]
]

OOP_MethodNames array:
[
   ["Angle","CheckDotSide","Rotate","Shift"],
   ["Rotate","Shift","Area","HasPoint","IntersLine"]
]

OOP_Methods array:
[
   ["code3","code4","code5","code6"],
   ["code7","code8","code9","code10","code11"]
]

Code: [Select]
_sh={
private["_p", "_x", "_y"];
_p=_this select 0;
_x=_this select 1;
_y=_this select 2;
_p set [1, _x+(_this select 1)];
_p set [2, _y+(_this select 2)];
};

Creating another one:
Code: [Select]
"Point(x,y): {x=0, y=0, Shift(a,b)=_sh}" call OOP_Create;
So now:

OOP_Types: ["Line","Circle","Point"]
OOP_Props:
[
   ["start", "end"],
   ["centre", "radius"],
   ["x", "y"]
]

OOP_MethodNames:
[
   ["Angle","CheckDotSide","Rotate","Shift"],
   ["Rotate","Shift","Area","HasPoint","IntersLine"],
   ["Shift"]
]

OOP_Methods:
[
   ["code3","code4","code5","code6"],
   ["code7","code8","code9","code10","code11"],
   [_sh]
]

2) OOP_Run: actions with created instances.
"()" brackets and word "new" are reserved 4 correct interpretation

Code: [Select]
{
_p=new Point (2000, 3000);     
_p.Shift(100,-200) ; 
} call OOP_Run;

Bad: Fwatch character number limitations + speed lost on "interpretation"
Good: nothing wrong happens if we will use OOP_Run for shorter "OOP-code" sets.

Like that:
Code: [Select]
{_such_a_big_point=new Point (2000, 3000)} call OOP_Run;   
{_such_a_big_point.Shift(100,-200)} call OOP_Run;

This code must return: ["Point", 2100, 2800]
Code: [Select]
hint format["Point: %1", _such_a_big_point];
//////////////////////////////////////////////////

Any ideas, propositions, wishes, warnings, critical notes?
7
Arma3 - Single Player Beta Testing / Re: [SP]Resistance: The Invasion
« Last post by Rytuklis on 21 Mar 2015, 11:59:22 »
Yeah, well, I don't use any parameters since I'd expect the average user not to see those errors if they are not actual pop ups or do not affect the gameplay in any way.
Anyhow, I wonder, maybe I should scratch this and make a campaign for ARMA 1 instead? I am kind of disappointed that the game is not given enough justice. It has a great island and a background story, the only thing it needs is a proper campaign. Do you think it would be worth it and would it get any audience?
8
Ouch. I'll have to dig through my old PC HDD and find it. All of the files on my external drive are inaccessible til I can recover them.


EDIT: I had copied my files from my last PC to another computer and then again to a flash drive to this computer and all the data is somehow corrupted. None of the files are opening with their original format; they are instead, opening with other formats such as SQM opening as ext and ext as text and jpegs not recognized at all. So, until(IF) I can access the damaged external drive, I have lost everything. Cancel the review please, sorry.
9
Hi SBG would you mind updating the download link?..Says file not found.

Thanks  :good:
10
OFP - Missions Beta Testing / Re: [SP] Operation Sandy Lance
« Last post by Gruntage on 16 Mar 2015, 09:59:50 »
Sure thing, will get to it as soon as possible  :)
Pages: [1] 2 3 4 5 6 ... 10