RE: Sneak Peeks, Coming Attractions, Works-In-Progress (Full Version)

All Forums >> [New Releases from Matrix Games] >> Campaign Series: Middle East 1948-1985



Message


fritzfarlig -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/14/2017 6:08:28 AM)

I hope [:)] I have done one big scenario and almost finish the next
right now I testplaying against a opponent
I will be really sad to see a wasted job




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/14/2017 9:25:09 AM)


Certainly not wasted. In the worst case, you would send the scenario to us, then we would convert it for you (likely using our conversion utility program). But hopefully CSME 2.0 will have perfect backward compatibility, so loading up and running older, unconverted scenarios would be no problem. Hopefully.




fritzfarlig -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/15/2017 11:29:04 AM)

what time come update 2.0 ?




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/15/2017 12:45:44 PM)


Likely sometime this autumn.




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/15/2017 12:46:32 PM)

[image]local://upfiles/5869/33DCB107CAF24E9AACAB41178165BA55.jpg[/image]

[:)]




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/15/2017 6:33:53 PM)

quote:

ORIGINAL: berto

Determining on-map counter types:

[image]http://pikt.org/matrix/cs/graphics/LuaTest44.jpg[/image]

... you could, for example, test to see if armor and/or artillery and/or infantry etc. were at a certain hex location or map sector.




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/17/2017 10:52:44 PM)


At latest count, over 120 functions in the new Campaign Series (Lua) Event Engine:



adaptive_ai (side, nation, index)
advantage ()
aggressiveness (side)
ai (side)
ai_index (parm)
ai_parameter (index)
air_support (side)
ammo_level (side)
arty_ammo_level (side)
average_morale (side)
counter_airlevel (trackid)
counter_assault (trackid)
counter_defend (trackid)
counter_flags (trackid)
counter_hq (trackid)
counter_isairborne (trackid)
counter_ishq (trackid)
counter_isleader (trackid)
counter_leader (trackid)
counter_morale (trackid)
counter_name (trackid)
counter_nation (trackid)
counter_oid (trackid)
counter_orgname (trackid)
counter_pid (trackid)
counter_points (trackid)
counter_side (trackid)
counter_strength (trackid)
counter_type (trackid)
counter_x (trackid)
counter_y (trackid)
current_side ()
current_turn ()
current_visibility ()
event_points (side)
fow (side)
has_flag (flags, flag)
hexcoor (x, y)
inc_adaptive_ai (side, nation, index, increment)
inc_advantage (increment)
inc_aggressiveness (side, increment)
inc_air_support (side, increment)
inc_ammo_level (side, increment)
inc_arty_ammo_level (side, increment)
inc_event_points (side, increment)
inc_reinforcement_prob (id, increment)
inc_release_prob (id, increment)
inc_smoke_ammo (side, increment)
inc_star_shells (side, increment)
isai (side)
isdisrupted (trackid)
isfixed (trackid)
isfow (side)
isisolated (trackid)
islowonammo (trackid)
isnight ()
map_height ()
map_side (x, y)
map_trackid (x, y, number)
map_trackid_count (x, y)
map_width ()
major_defeat ()
major_victory ()
max_ai_index ()
message (title, string)
minor_defeat ()
minor_victory ()
night (turn)
objective_owner (x, y)
objective_value (x, y)
on_air_attack (x, y, pid, name, side, nation, points, strength)
on_next_phase (turn, side)
on_next_turn (turn)
on_objective_capture (x, y, value, side)
on_unit_kill (x, y, pid, name, side, nation, oid, orgname, points, strength, HQ, Leader)
on_unit_reinforce (x, y, pid, name, side, nation, oid, orgname, points, strength, HQ, Leader)
on_unit_release (pid, name, side, nation, oid, orgname, points, strength, HQ, Leader)
on_unit_remove (x, y, pid, name, side, nation, oid, orgname, points, strength, HQ, Leader)
other_side (side)
random (x)
reinforcement_flags (id)
reinforcement_hexcoor (id)
reinforcement_prob (id)
reinforcement_scatter (id)
reinforcement_turn (id)
reinforcement_x (id)
reinforcement_y (id)
release_prob (id)
release_turn (id)
set_adaptive_ai (side, nation, index, value)
set_advantage (value)
set_aggressiveness (side, value)
set_air_support (side, value)
set_ammo_level (side, value)
set_arty_ammo_level (side, value)
set_event_points (side, value)
set_major_defeat (value)
set_major_victory (value)
set_minor_defeat (value)
set_minor_victory (value)
set_objective (x, y, value, side)
set_objective_owner (x, y, side)
set_objective_value (x, y, value)
set_reinforcement (id, x, y, turn, prob, flags, scatter)
set_reinforcement_flags (id, flags)
set_reinforcement_hexcoor (id, hexcoor)
set_reinforcement_prob (id, prob)
set_reinforcement_scatter (id, scatter)
set_reinforcement_turn (id, turn)
set_reinforcement_x (id, x)
set_reinforcement_y (id, y)
set_release (id, turn, prob)
set_release_prob (id, prob)
set_release_turn (id, turn)
set_smoke_ammo (side, value)
set_star_shells (side, value)
set_victory (majordefeat, minordefeat, minorvictory, majorvictory)
smoke_ammo (side)
star_shells (side)
total_strength (side)
x (hexcoor)
y (hexcoor)






berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/18/2017 4:39:26 PM)


quote:

ORIGINAL: fritzfarlig

I have to ask berto
old scenarios and update 2,0
how will it works no problem ?
I Am really looking forward to the update

quote:

ORIGINAL: berto

There are so many changes in 2.0 that, although in theory the code will be backwards compatible with pre-2.0 scenarios, as a practical matter it will be better to convert them. I will be preparing a stand-alone utility program to handle the conversions. It will probably also work that you can load older scenarios into the 2.0 game engine, then resave them. The load/save process should do the trick. In theory. We shall see how well this works in practice.

There should be no problem with this. I loaded one of the CSME 1.02 Ode to Divided Ground scenarios into the latest game engine. No problem. I also loaded that scenario into the latest scenario editor, and resaved it. Again, no problem. It converted just fine.

By diffing the before and after versions (before and after conversion), I can see where the differences are easily accounted for. As a fallback, a Plan B scenario conversion utility program should be easy to implement.

All in all, I wouldn't worry too much about this. CSME 2.0 backward compatibility should be fine.




fritzfarlig -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/18/2017 7:04:50 PM)

Sound very good Berta looking very much forward to this update




Rosseau -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/19/2017 11:14:24 PM)

Improving the Campaign Series is not easy to begin with. But concentrating on the AI and scripting is a bullseye, imo.
I hope TOAW IV is as successful.




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/22/2017 10:46:01 AM)


As always, still a work-in-progress.

quote:

ORIGINAL: berto

Ta-da!

[image]local://upfiles/5869/9600249634BD4327BC088CB238CD184E.jpg[/image]

All buttons (and controls) fully functional and WAD.

No optional niceties yet, such as 3D button effects. Note also: 256 color, otherwise it won't display.

Moving on to the scen type screen next. Then the bigger challenge: the oversized scen select screen.




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/22/2017 2:19:09 PM)


quote:

ORIGINAL: berto

The scenario type dialog:

[image]local://upfiles/5869/813F265B11964838B09D57D06ED664DB.jpg[/image]

Two down, one to go. (In this initial round of frontend revamp anyway.)

Note of course that the frontend launcher EXE is no longer fixed, full-screen; rather, it's a windowed EXE just like any other.




Warhorse -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/22/2017 10:07:27 PM)

SWEET!




harry_vdk -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/23/2017 12:05:43 PM)

quote:

ORIGINAL: berto
Note of course that the frontend launcher EXE is no longer fixed, full-screen; rather, it's a windowed EXE just like any other.

[sm=sign0031.gif]




Big Ivan -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/24/2017 6:24:25 AM)


quote:

ORIGINAL: Warhorse

SWEET!



+1[:)]




dox44 -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/24/2017 1:10:18 PM)

+1




berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/24/2017 5:04:11 PM)


Best of all:

quote:

ORIGINAL: berto

Ta-da!

[image]local://upfiles/5869/F190597743B64083935931C95572987A.jpg[/image]

As with everything, still a work-in-progress of course.

In addition to

  • frontend EXE now a windowed app (no longer fixed, full-screen)
  • the much, much expanded scen description box (so that very few scenario descriptions are so lengthy as to require scrolling)
  • the new "skin"

    notice also the

  • implementation of a new sorting option, sorting by scenario Title

    Always, always [sm=00000028.gif] here.




  • berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/24/2017 5:19:21 PM)


    Credit goes to Crossroads for the redesign, and the artwork. Credit to me for the coding. [;)]




    Crossroads -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/24/2017 5:32:31 PM)

    ... and these can be modded as well, as long as the controls are kept in the same place [:)]




    Big Ivan -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/24/2017 6:46:00 PM)

    Man that is so cool guys, real sweet!![&o]

    Can't wait to see the new updates in action.

    Hopefully the Lord willing and the creek don't rise I'll be busy with CSME as winter sets in.

    "Another log on the fire and a glass of craft beer, its back to the new CSME!"[:)]




    Deepstuff3725 -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/24/2017 7:56:13 PM)

    Haha...

    Looks great guys. Like the arrangement with the dark green background.

    Keep up the good work.




    Crossroads -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/25/2017 2:09:46 PM)


    quote:

    ORIGINAL: berto
    < --snip-- >

    notice also the

  • implementation of a new sorting option, sorting by scenario Title

    Always, always [sm=00000028.gif] here.


  • One of my pet peeves! How nice to finally be able to browse the scenario listing sorted by scenario title. For instance, when playing through the Jerusalem 1967 scenarios they are neatly all there now [:)]

    [image]local://upfiles/32195/A5C8F7E4569C41BBAB910DAFAB83F468.jpg[/image]




    DM729 -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/25/2017 7:54:21 PM)

    This is excellent! Great job as always guys!




    fritzfarlig -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/26/2017 12:04:09 PM)

    GREAT WORK !!

    what about "bug" in the OOB, I have found some during working with my latest big scenario




    Crossroads -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/27/2017 12:47:03 PM)


    quote:

    ORIGINAL: berto


    At latest count, over 120 functions in the new Campaign Series (Lua) Event Engine:



    So cool, so much more finesse can now be put into scenario design.

    For instance, with the Crisis in Sirte scenario "Prelude", what if the Libyan player just decides to vacate Sirte, saving his troops from losses and thus preventing his opponent to gain additional Victory Points for destructing enemy unis? Gamey tactics, even, if Sirte would be such a key port facility to deny the Brits have access to it in later Sirte scenarios.

    How about we give him reinforcements, then, should he succesfully hang into Sirte for the first ten turns? Now he'd have a reason to fight tooth and nail to keep the Brits out!

    Something like this perhaps? [:)]

    -- Early stuff, by the way! The CS Event Engine will be worth both Coder and Developer Diaries in due time, just not quite yet --

    [image]http://www.matrixgames.com/forums/upfiles/32195/CD320D25E56A4C5395DDF01FEBE1C7BC.jpg[/image]

    [image]local://upfiles/32195/00A73FC50EF345BFB62A211599AC529F.jpg[/image]




    dox44 -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/27/2017 1:00:05 PM)

    now that is a game changer for sure. so is the lua script contained within the .ini scenario file?




    Crossroads -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/27/2017 1:01:44 PM)

    ^^ Note, by the way, how the British player has his Ammo and Arty Ammo levels at 60, compared to 80 for the Libyan player. They both start at 80, so how is this happening?

    CS Event Engine, of course. In this test bed, the Brits have their ammo level reduced as the turns go, depicting how difficult it is to supply airborne units in battle.

    The player get just to play them, for improvement fun factor I hope! [:)]

    Note, also, as a player this is not something you need to worry. It is for the scenario designer to have the what ever events he wishes for to take place in the scenario.

    Here's the code snippet to test the gradual reduction of the ammo levels:

    [image]local://upfiles/32195/A3B107960D9B4D5A8ECE265291AAF667.jpg[/image]




    Crossroads -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/27/2017 1:05:44 PM)


    quote:

    ORIGINAL: casebier

    now that is a game changer for sure. so is the lua script contained within the .ini scenario file?


    It certainly is a game changer!

    Each scenario has its unique lua scripts, in a new scenario file, if the scenario designer so wishes.

    In this case:

    [image]local://upfiles/32195/FF30163E8E0947CDB6097D4B417331F9.jpg[/image]




    dox44 -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/27/2017 3:15:04 PM)

    its gonna make it a whole new game.

    great job!




    berto -> RE: Sneak Peeks, Coming Attractions, Works-In-Progress (6/29/2017 7:17:32 PM)

    quote:

    ORIGINAL: berto

    Introducing a new on_* function: on_startup()

    on_startup() is run once, at scenario (or save game) load and startup. It has no input parameters.

    Here is a test example:

    [image]http://pikt.org/matrix/cs/graphics/LuaTest65.jpg[/image]

    (The function definition for on_next_turn(turn) follows. Note that you would probably want, as in this example, to locate the on_startup() definition at the very beginning of the <scenario>.lua file. You would define on_startup() in your scenario-specific .lua files, not in user.lua. Defining on_startup() in your <scenario>.lua file is not absolutely necessary. The Lua EE will not choke or complain if it doesn't see it.)

    With that in place, if you launch the scenario, you would see this:

    [image]http://pikt.org/matrix/cs/graphics/LuaTest62.jpg[/image]

    "Okay," you may be thinking to yourself. "So what?"

    Well, what if you have a commander, and you know that counter's trackid? (In this case 363.) (Maybe you know the counter's trackid by inspecting the .scn file.) You can set the (scenario-specific) global value THE_KING (or whatever you name it) to that trackid. Thereafter, you don't need to reference the trackid; you could instead reference its label. For instance:

    [image]http://pikt.org/matrix/cs/graphics/LuaTest66.jpg[/image]

    (You might note where I have added trackid as one of the on_unit_kill() input parameters. New EXEs with this, also the new on_startup() function, will be released soon.)

    Let's try it out ...

    ... After unit 363 was killed, I saw this:

    [image]http://pikt.org/matrix/cs/graphics/LuaTest63.jpg[/image]

    Then checking the Victory Dialog, I saw this:

    [image]http://pikt.org/matrix/cs/graphics/LuaTest64.jpg[/image]

    (There is another way to set the loss points for this unit so high: in edorg, in the .org file. But this is another way. Doing it this way also lets us apply different special conditions, or perhaps vary the lost EPs according to circumstances or some computed formula.)

    Likewise, we could reference VIP in our Lua code. VIP is much more meaningful than the number 1287.

    So too THE_CASTLE. On capture/loss of that objective (indeed even if it's not a formal objective), we could trigger something to happen. By using THE_CASTLE in our code, it is more readable and sensible than seeing the "20,55".

    We will adopt the convention to have all on_startup() labels be all caps (but it is not mandatory).

    on_startup() can be used to

  • Display a greeting (or whatever) dialog at scenario startup. (Showing at startup only, because sited in on_startup(), guaranteed never to recur.) (In the test example shown above, displaying that message was for demonstration and testing purposes only. Ordinarily one would not show label assignments in this way; on_startup() would just do them silently.)
  • Set some meaningful value labels.
  • Do other set-up processing.

    You could do these same tasks in the ordinary on_next_turn() function, and guarantee they are only done once by putting an 'if turn == 1' wrapper around things. But doing it in on_startup() is cleaner, and guaranteed to happen only once.

    (Note that on_startup() doesn't preclude any global initializations you might otherwise do in your (optional) user.lua file. But any such initializations would apply to all scenarios, since user.lua is general in scope.)




  • Page: <<   < prev  10 11 [12] 13 14   next >   >>

    Valid CSS!




    Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
    2.906982