Home   Help Search Login Register  

Author Topic: Creating waypoints ingame  (Read 1706 times)

0 Members and 1 Guest are viewing this topic.

Offline Gadjuka

  • Members
  • *
  • Programmer
    • Operation Flashpoint: Commander
Creating waypoints ingame
« on: 24 Sep 2002, 14:52:51 »
I want to make it possible to add waypoints (maybe by using user-markers) ingame. This is possible by using the command move, because it actually adds a move-waypoint to the specified group. BUT..I want to add a cycle-waypoint so that the group patrols a certain area.
Can this be done without a script that loops through a series of move-commands?
Currently working on Operation Flashpoint: Commander.
Website: http://www.nordserver.se/commander/

walker

  • Guest
Re:Creating waypoints ingame
« Reply #1 on: 24 Sep 2002, 23:54:38 »
Hi ViperSWE

Sounds like you need the Command Engine. If it is for squads on your own side. (The system is capable of control of a light battalion)

http://www.thechainofcommand.com/graphic/

There are download links there or you can go to The Chain of Command Forum

http://www.forum.thechainofcommand.net/

If you are wanting dynamic waypoints for the enemy AI; look at the Editable version of BS06 in The CoC forum. It uses waypoints moved to game logics dependent on the players defence and in game random events. (More complex sounding than it realy is)

There is no reason that AI Waypoints can not be placed in the same way as Player waypoints in the command engine but it needs either programming as in BS06 or a generic strategic AI. The team at The Chain of Command are working on this but is a long term goal.

Kind Regards walker
« Last Edit: 24 Sep 2002, 23:57:16 by walker »

Offline uiox

  • Contributing Member
  • **
Re:Creating waypoints ingame
« Reply #2 on: 25 Sep 2002, 11:25:49 »
With 1.75 all you ask is possible.
I know, I have done.
With a dialog, during the game not in the editor, I can add  WPs with all features of editor's wps except talk, support and radius (don't care they are not useful in dynamical mission). This for 63 groups if you want.
The marker after creating wp have a number and the right direction.
I have added also some features of triggers...

Offline uiox

  • Contributing Member
  • **
Re:Creating waypoints ingame
« Reply #3 on: 25 Sep 2002, 11:35:02 »
I forget, for solve your problem you can take the method I say above related to ONE wp created in the editor. After this you can move the wp and manage it in a script.
I have make some tests this works correctly for A10.

PS Don't use "distance" in 1.75 bug for the moment, use all od Pythagore...

Gameer_77

  • Guest
Re:Creating waypoints ingame
« Reply #4 on: 25 Sep 2002, 13:01:19 »
With 1.75 all you ask is possible.
I know, I have done.
With a dialog, during the game not in the editor, I can add  WPs with all features of editor's wps except talk, support and radius (don't care they are not useful in dynamical mission). This for 63 groups if you want.
The marker after creating wp have a number and the right direction.
I have added also some features of triggers...

Cool, when's this coming out?  :P

 8)PEACE

Offline uiox

  • Contributing Member
  • **
Re:Creating waypoints ingame
« Reply #5 on: 25 Sep 2002, 23:46:56 »
I have put my beta version in the beta test area of the CoC forum.

You can test it if you want.

tutorial of it :

This version, for me, is finish for the main implementation of WPs relate to groups.

In it 4 dialogs: waypoint, orbat, select group and battle view.

Waypoint
You can add a waypoint by double clicking on the map, after validation with enter key the dialog appear. The first time it takes a little time more because it searches the fist number of markers.

In this dialog you have all the features of WP in editor except support (will be doing in supplies dialog), and talk. Note Cycle and Sentry works like in OFP, some of them are not implemented yet (destroy, seek and destroy, take off), one will be doing maybe with supplies (transport unload). For destroy I have a problem for a dynamical definition of a target, and nearest bugs, I can make something without but to much complicate (I do it in ACE).
I have added some other features, like wait for order, the order wait until the other order is not finish; transport with this you can assign transport to groups (may be remove with supplies); daytime you can start  the WP at 8 h 10 for example (daytime is execute before time so you can start the WP 120 seconds after 8 h 10 mn).
You can change the type of the marker (I have put all USMC markers)
In this dialog you can start, pause (the current WP finish and stop execution of he wps) and stop (stop immediately, but the WP is not finish, if you start again it continues) the way points relates to the group.
You can add a script just like in trigger: leader squad1 sidechat "Hello world"; leader squad2 sidechat "Hello universe"; v = v+1; [0, 2] exec "Whatyouwant.sqs"
In it all OFP commands.

Orbat
In it you can see all the WP and different groups. You can add, modify a WP but with direction and distance, delete is not implemented yet.
You can start, pause and stop all the WPs of groups in it.
If you call it without the map shown you can use it for going to the different groups.

Select group
This dialog have a tool bar like in battle view, if you select a group the dialog is close and you go to the select group, if you call this dialog with radio menu with the OFP map (call by keyboard) you can place very quickly your WPs.

Battle view
This dialog has a tool bar and a command window in it you can overwrite the orders give to groups, you can select a group and see it.

Remark about the player
You can put the player's group in the groups manage by the program (like an other group), it useful when the player is in armoured, so you plan WPs to the player's group and you have a general view of all the moves include player.
If the player is not in armoured the gamer need to move it himself, I will fix a bug, not really a bug it's a problem relate to switchcamera "group", the player is in "external group" view and it's special to move it, you can solve the problem with the enter key.

Regards
uiox



Offline Gadjuka

  • Members
  • *
  • Programmer
    • Operation Flashpoint: Commander
Re:Creating waypoints ingame
« Reply #6 on: 26 Sep 2002, 13:50:42 »
Thanks for the answers, both Walker and Uiox!
Really nice work you've done with "The Chain of Command", I really like it!!!  :thumbsup: Strange that I haven't heard about it before!
Currently working on Operation Flashpoint: Commander.
Website: http://www.nordserver.se/commander/