Home   Help Search Login Register  

Author Topic: CE2 graphical interface?  (Read 911 times)

0 Members and 2 Guests are viewing this topic.

Offline SelectThis

  • Former Staff
  • ****
  • .
CE2 graphical interface?
« on: 24 Jan 2003, 03:57:14 »
Are there plans to introduce a more graphical interface for the Ce2 engine?

More specifially for the group/team selection process.

As it is now most of the time is spent navigating the radio commands to select the unit that you wish to give commands to. With the introduction of the singleclick functionality the engine seems to have lost the ability to directly select the unit from the map (maybe I missed something here! ;)).

SelectThis

Eviscerator

  • Guest
Re:CE2 graphical interface?
« Reply #1 on: 24 Jan 2003, 07:08:16 »
Are there plans to introduce a more graphical interface for the Ce2 engine?

More specifially for the group/team selection process.

As it is now most of the time is spent navigating the radio commands to select the unit that you wish to give commands to. With the introduction of the singleclick functionality the engine seems to have lost the ability to directly select the unit from the map (maybe I missed something here! ;)).

SelectThis

I think a graphical interface would be very good, but ive heard from TheCaptain who(as you know ST) making a big mission using a graphical interface (looks a lot like X-COM), and he cant use the map, so that means no clicking at all, so from what ive heard its not possible...i hope it is though, oh and you need to go back to the main menu to select a squad from the map, in groups it tries to make a new waypoint (although this is from Bagels superb TOD mission)

Offline KTottE

  • Former Staff
  • ****
Re:CE2 graphical interface?
« Reply #2 on: 24 Jan 2003, 10:46:31 »
Well, I know the exact story of what happened with TheCaptain, as I was right there with him.

If you use forceMap to bring the map up (which you have to do, if you want a dialog to work in conjunction with the map) you cannot use onMapSingleClick. It doesn't work with forceMap.
And there's no way of detecting if the player opens the map (presses the 'M' key), so we can't do a check if the map is up and create the dialog after that.
I.E shownMap doesn't tell you if the player has the map up or not, it just checks if he has the possibility of opening it in the mission (as in "It's in the mission".)

I'm sure there are work-arounds though, our work-around was to simply ignore the onMapSingleClick approach, and we did it through the use of menus (you can access them at the same time pretty much, nice list of the platoons with information such as name, number of men, type of platoon (recon, assault a.s.o), home-base, current position blah blah).

But, there's no smooth way of incorporating onMapSingleClick into dialogs atm.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:CE2 graphical interface?
« Reply #3 on: 24 Jan 2003, 13:09:36 »
@ KTottE,

just one question:

I'm at work right now, so i can't test this now.

There's a command in the official comref:

Code: [Select]
shownMap
Type of returned value:
    Boolean
Description:
    Check if player has map enabled.

I have to say, that i've never been using this command,
but from reading it i always thought that it's there to check,
wether a player displays his map or not.

OK, i also think that you've been looking into comref aswell
dozens of times, but i thought it's worth a try to show ya
the command (sometimes we're reading and do not take
notice of some stuff).

:edit - after reading my reply, i noticed that it wasn't really
a question, what i was posting here   ;D  ;)

~S~ CD
« Last Edit: 24 Jan 2003, 13:11:39 by Chris Death »
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline KTottE

  • Former Staff
  • ****
Re:CE2 graphical interface?
« Reply #4 on: 24 Jan 2003, 13:39:15 »
We have tried that, and it doesn't work.

It's like this.

showMap  true/false

that tells OFP whether the player will be able to open the map or not, I.E sets the state of availability.

shownMap returns true if showMap  true, false if showMap false

I.E it detects the state of availability.

I was also under the impression that shownMap is "does the player have map up or not", but it's "can the player have map up or not"

UGH!
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Offline Spinor

  • Members
  • *
  • I'm a llama!
    • The chain of command
Re:CE2 graphical interface?
« Reply #5 on: 24 Jan 2003, 14:04:57 »
Quote
Are there plans to introduce a more graphical interface for the Ce2 engine?

More specifially for the group/team selection process.

As it is now most of the time is spent navigating the radio commands to select the unit that you wish to give commands to. With the introduction of the singleclick functionality the engine seems to have lost the ability to directly select the unit from the map (maybe I missed something here! ).

SelectThis

Actually, I extended the ability to do this:
If you are in the radio main menu (and in most other menus), you should be able to select a group simply by clicking it (this then shows the hint info), when you click it again, it gives you the group control menu.
In all menus, if you ALT-click a group it takes you directly to the group control menu.
If this doesnÂ't work for you, there maybe a problem with the mission (or are you using any other script with the onMapSingleClick command?).

The interface of the CE2 will be reworked over time, away from the radio and towards dialogs (within the limits you all mentioned above).

Quote
i hope it is though, oh and you need to go back to the main menu to select a squad from the map, in groups it tries to make a new waypoint (although this is from Bagels superb TOD mission)
Here the same as above applies: If you want to select another group (open its control menu), ALT-click it