I can't wait. It sounds great.
Forgot to tell about artillery. It will not be CoC UA, for simplicity. In conversions it may be included, BUT I made a new artillery support. It should be something inbetween the old VTD arty (improved the DMA stuff) and CoC UA. It doesn't have all the fancy stuff like UA, but:
- the arty exists on map
- if they're destroyed, arty won't be available until the base is resupplied
- some basic calculations are implemented (time of flight of the shells, min/max range, and dispersion according to range)
- smoke support is also done by the arty, so it works as arty strike. If I'll have the time and will, I'll improve this more (cuurently if you don't see them firing the shells, only the sound)
- it's not perfect (yet ), but you can hear them from the distance firing the shells, and after a while the fireworks begin
BTW After all, in this mission you're not a real spotter, you just need sometimes to call for arty support.
Thanks 4 the suggestions!
No prob., I just thought you forgot.
Originally Posted by [b
I'll have to read your post several times to make everything clear clear .
Some I can answer now:
@DAC: I thought about what you said, but I wanted to keep separate DAC from VTD, to be able to implement a newer version of DAC when released. I also have many specific arrays for vehicle and unit names, and the 4 arrays defined by DAC are to general for this. I think the only way would be to put all my arrrays into DAC_confing.sqs which I'd like to avoid (mentioned before).
@weapons: that's a good idea, and I'll try to find a solution, altough for the rearming script it will be tought or I'll have to simplify it.
@arrays: maybe I didn't really understand, but if you were speaking about spaces between array elements, like:
arrary1 = [ el1, el2, el3, el4, el5 ]
or another version:
arrary1 = [ el1 , el2 , el3 , el4 , el5 ]
Then it's done (the first version).
Again thanks for help!
sorry it wasnt well described - for DAC configs i meant to exchange the classes there with global variables:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;
_Unit_Pool_S = [VTE_INFANTRY_1, VTE_INFANTRY_2, ..., VTE_INFANTRY_x]
_Unit_Pool_V = [VTE_VEHICLE_1, VTE_VEHICLE_2, ..., VTE_VEHICLE_X]
_Unit_Pool_T = 
_Unit_Pool_A = 
_Unit_Pool_C = ["\VTE_objects\VC.pac","Ca mpEast","Shed",[100,3]][/QUOTE]
and move their definition into VTD014.seb_iadrang\main\globals.sqs
, so that this files contains all class definitions for infantry, vehicles and weapons.
its not very visible in the code block i posted,
the idea is to have different amount of spaces between each object, like
so like always one more. as you can identify a specific column by this.
(find me "something" followed by three spaces and a comma)
yet maybe the tabs are the easier way to go.
excel reads tabs as new column.
so you can copy the whole column number X into another file.
do the replacement and put it back into the file overwritting just that one column.
hope its more clear now ***
the arrays i speak of not only contain a set of classes.
then there is no need if the type is all the same, but take this for example:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_M60 = [ Localize "STRM60MG" ,30 ,zeusPrimary ,west ,"WGL_M60" ,2 ,"\dtaExt\equip\w\w_m60" ,"WGL_M60Mag" ,10 ,2 , ] call fAddWeapon[/QUOTE]
it contains the name, the weapon class and the magazine.
Now I (hope I) understand
For the DAC_config, I'll do it, but maybe better, to fill it by script, not by hand. I get the arrays, from my globals.sqs and fill them into appropriate DAC _Unit_Pool arrays. Well, not that simple, just a rough idea.
About the arrays, I think now I get it, but not sure. It's beyond my (current) scripting ability (not the implementation but the "ps" part), but I'll look at it. I know that it's an example, but what does the Localize do?
EDIT: a not so idea of mine about DAC _Unit_Pool, since the array will be reset to empty if I fill it only by script. You were right that I have to put some var in it. I can set, say:
_Unit_Pool = some_other_array
and I fill that array with what I want. A bit chaotic thinking, but hope understandable
sorry again. it didnt wanna suggest or incourage you to use this kind of arrays - it was only to make the example more clear.
if the classes are properly named (unlike BIS ones (m60 - tank, weapon, ammo - also used as marker name by some ppl)), there is no need to make the replacement context based.
In the meantime, I understood what you meant to say about array spacing. It'll be done.
Also will do the DAC units by reference.
I'm traveling today, so I'll continue after weekend.
Appreciate your help
EDIT: progress is going ok, but some nasty things remained, but I think I'm able to handle all of it. Release hopeful in about 2 weeks.
looking FORWARD to it