Home   Help Search Login Register  

Author Topic: Actions in MP and those great clumsy radios  (Read 480 times)

0 Members and 2 Guests are viewing this topic.

Iso_Marvel

  • Guest
Actions in MP and those great clumsy radios
« on: 27 Feb 2003, 08:42:32 »
Hi and sorry  :-X  :-X  :-X

Im making coop mission with SebNam packÂ's clumsy radioÂ's in it (what kind are used in realword armies even today - damn those OFP walkman radios  >:( ). So idea is simple, only RTO guy can use radio via action menu.

 ???
When you add action to player (what should be only personal use), other playerÂ's near by can see that action too. Anyone smart enought to know how to make Addaction for "private" use only? Im lost.
 :'(  :'(  :'(

By the way... Somebody was also talking about using SebNam pack radioÂ's earlier in this forum. Did you guys figure out how to detectet sitsuation when player have radio in hand (so you donÂ't need to look "Weapon AN/PRC-25 radio" text in your action menu same time when you have actual radio commandÂ's in it...)?!

Thats was pretty much all I had in my heart for today...

Over & out and teenage rampage! :cheers: :gunman: :beat:

Cervomix

  • Guest
Re:Actions in MP and those great clumsy radios
« Reply #1 on: 03 Mar 2003, 16:21:45 »
why do you wanna use the Addaction command, you could use real radio using 0-0-x instead?  :)

Iso_Marvel

  • Guest
Re:Actions in MP and those great clumsy radios
« Reply #2 on: 03 Mar 2003, 19:49:22 »
Hi, that was a good question   :P

This is so tricky problem, than I think I must use radiochannelÂ's anyway. But actual answer is following...

I want to add little bit more realism to mission and more role to RTO guy in coop. Leader and guy with the radio could be in huge distance from each otherÂ's. And it seems funny that group leader can use radio even he is far away from it. Well, I know - group can communicate anyway each otherÂ's even if they are in different sideÂ's of map. And I can make leader distance to radioguy trigger to show radiocommandÂ's only in leader<->RTO near from each others... so no problem anymore about radio on second thought. You are right about that.

...BUT! :-X

I still wonder same question (not becouse of radio anymore), but for other things to do in coop missions. For example. I have truck in this same mission, and itÂ's long journey. I add action"Radio on" to truck, so playerÂ's can choose that do they need some entairment for a ride. If they hate that song they can put radio off (nothing is more annoying than crappy music in game and you canÂ't make all happy, so I think its only fair to get some options to players about it). Okay, here is problem. I KNOW that if everyone in group can put radio on or off, it could be like on-off-on-off-on-off... so I want to get that option only for driver (itÂ's army, not demochraty  ;D), so other players may ask him to turn radio on or off. But again - same problem. Nearby unitÂ's can use driverÂ's actionÂ's.

So still... if anyone knowÂ's how to make players actions for private use only please give me some advise. Is this even possible? I think itÂ's things like "good to know" for many mission makers who add actions to multiplayer missions.



Cervomix

  • Guest
Re:Actions in MP and those great clumsy radios
« Reply #3 on: 03 Mar 2003, 22:49:59 »
Directly from Kegetys (in official forum)


you need to check if the current player is the guy your are adding the action to, for example if you are doing:

dude1 addaction["suicide","suicide.sqs"]

do this instead:

? player == dude1 : dude1 addaction["suicide","suicide.sqs"]

Nasty Buttler

  • Guest
Re:Actions in MP and those great clumsy radios
« Reply #4 on: 03 Mar 2003, 23:24:53 »
the only problem with that is u will need that line in the script itself can anyone that comes close to you can run it also....

Iso_Marvel

  • Guest
Re:Actions in MP and those great clumsy radios
« Reply #5 on: 04 Mar 2003, 05:42:15 »
Yep, that is exactly my bottom line Nasty Buttler. Thank you for making it short   m8 :)

 ??? Aint this tricky problem?
« Last Edit: 04 Mar 2003, 07:48:39 by Iso Marvel »