Forza42 Posted September 28, 2011 Posted September 28, 2011 Hi guys for a MP mission, i d like to detect the string is entered as Message into the MFCD. for ex, go to msg page into R_MFCD, and type : move1, press send if move1 is entered, then Set Flag1. if move2 is entered, then Set Flag2. i didn t find into the Cockpit_arguments.doc what argument or command is needed to be check. thanks for help.:helpsmilie:
Grimes Posted September 28, 2011 Posted September 28, 2011 Humm. I would imagine the text messages get passed through lua at some point as they can be sent between players in a multiplayer environment and you receive formatted messages from JTAC. As an alternative solution you could use Speeds scripts to use chat text messages to accomplish the same result or the radio item triggers for SP/the host. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Speed Posted September 28, 2011 Posted September 28, 2011 Humm. I would imagine the text messages get passed through lua at some point as they can be sent between players in a multiplayer environment and you receive formatted messages from JTAC. As an alternative solution you could use Speeds scripts to use chat text messages to accomplish the same result or the radio item triggers for SP/the host. If it is sent through Lua, I've never seen where or how. It's quite likely that it never goes through Lua. But yea, if you want the game to respond to messages sent by clients, then you have to use slmod- see my signature. Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
Grimes Posted September 28, 2011 Posted September 28, 2011 Hmm, I wonder how it gets from client to client then. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Speed Posted September 28, 2011 Posted September 28, 2011 (edited) Hmm, I wonder how it gets from client to client then. Probably through whatever variant of C they programmed the majority of the game in. Lua is just a C API used so that ED's military users can make custom Lua edits that add in whatever classified performance parameters or behavior that they want to simulate. I could still be wrong though, maybe the lua functions to send messages are buried in here somewhere. I should probably look very carefully through the JTAC code, as you mention. But I actually HAVE looked through the JTAC code, a few times. I know where the "5 digit MGRS" problem is created, and how to fix it, for example. I also remember there being some kind of 9LineRemarks function or variable somewhere. But that doesn't mean the function to actually send and receive messages exists in Lua. Edited September 28, 2011 by Speed Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
Forza42 Posted September 28, 2011 Author Posted September 28, 2011 thanks for response guys i ll try using chat ;) i think it can be more immersive if we can do order form msg into MFD :p there are some param variable already used as i said in my other thread. Maybe someone of ED can tell us the param they are using. ( http://forums.eagle.ru/showthread.php?t=79919 )
Forza42 Posted September 29, 2011 Author Posted September 29, 2011 I ve tried to used the slmod.... and it works fine :p but, i have a question : is it possible to know if it s a Blue guy or a Red guy that entered a message ? because i want to be sure people who move blue units are into blue team :D for now, everybody can move every units.
Speed Posted September 29, 2011 Posted September 29, 2011 I ve tried to used the slmod.... and it works fine :p but, i have a question : is it possible to know if it s a Blue guy or a Red guy that entered a message ? because i want to be sure people who move blue units are into blue team :D for now, everybody can move every units. No, but coalition-specific parallel tasking and chat command functions are planned for a future version. I anticipated that someone would want them, but because force-on-force missions are so rare, I hadn't implemented them yet. If you want them, I could in fact do them sooner rather than later. I gotta get off my butt and finish the new events system first though. I haven't really worked on slmod for like 2 or 3 weeks. I needed a break from it. Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
Forza42 Posted September 29, 2011 Author Posted September 29, 2011 it s cool if it s already on your plan :p for now, i just want to do a ''proof of concept'' of a force-on-force mission. Many things work fine. so, no pressure, add it when you want ;)
Recommended Posts