Home   Help Search Login Register  

Author Topic: Err... Okay, I feel like an idiot  (Read 4320 times)

0 Members and 1 Guest are viewing this topic.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Err... Okay, I feel like an idiot
« Reply #15 on: 12 Apr 2005, 10:04:45 »
Nah, for the beginner this is much easier to comprehend.   This is the way BIS would do it.

Scripting is really hard, completely new, and (at first) doesn't relate at all to the mission editor.    Most people start from a position of wanting to avoid scripts at all costs, not least because the game is designed to used without scripts.
Plenty of reviewed ArmA missions for you to play

Dionysos

  • Guest
Re:Err... Okay, I feel like an idiot
« Reply #16 on: 12 Apr 2005, 18:44:53 »
I'm about to start crying any second now...
The method with the Game Logic and the waypoints was succesful, almost. All the main characters messages are transmitted and displayed without a hitch. However, "hqman's" messages are still AWOL. It is as if he wasn't there. He is a resistance colonel named "hqman" who is in a town where there are no enemies so there is no way he can be killed.

WHAT IS GOING ON???  ??? >:( :'(

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Err... Okay, I feel like an idiot
« Reply #17 on: 12 Apr 2005, 19:39:30 »
If a character is going AWOL, check him out.   Play the mission as a test unit watching said colonel and see what happens to him

However, in this case, it sounds like you have  spelling mistake or typo somewhere.   Check everything again very, very carefully.  
Plenty of reviewed ArmA missions for you to play

marcus3

  • Guest
Re:Err... Okay, I feel like an idiot
« Reply #18 on: 13 Apr 2005, 16:20:34 »
did you ever get it to work?

Dionysos

  • Guest
Re:Err... Okay, I feel like an idiot
« Reply #19 on: 13 Apr 2005, 20:45:54 »
Okay, I tried to play as a test unit and watched the colonel during the entire mission. Nothing happened to him. Then, the sideChat trigger was triggered.

Guess what?

The message which was AWOL before was displayed but not the other ones.
It is like this:

1. From player

2. From hqman

3. From player

This time, number 2 was displayed but not 1 and 3. This might be because the "player" unit was dead, I don't know. Anyways, why did message number 2 appear this time??

What the **** is going on?

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:Err... Okay, I feel like an idiot
« Reply #20 on: 13 Apr 2005, 22:12:51 »
Ok take a deep breath. Good news is that it all works at some point.  :D
I would take your guys and triggers, logics, waypoints, and whatever else that is related to the sidechat you have, group them together and copy (control "C" for in game copying) and transfer these to Desert island useing in ( pasted by control "V". ) Save it as Sidechat test or what-ever you want. Also go into mission folder and save everything  in there execpt for (mission sqm) to the new folder Sidechat Test. This way there is no interference, no enemy.
Now test and see.
It maybe timing error, two triggers going off at once, logic waypoints maybe waiting on another condition.
This is sounds compliacated, but is easy to do and good for bebugging.
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Offline Morglor9

  • Members
  • *
Re:Err... Okay, I feel like an idiot
« Reply #21 on: 14 Apr 2005, 00:47:19 »
i'd say figure out how to use a very simple conversation script.
Cymbaline

Dionysos

  • Guest
Re:Err... Okay, I feel like an idiot
« Reply #22 on: 14 Apr 2005, 07:59:54 »
I DON'T BELIEVE THIS!!!!!!!

THIS IS ALL A CRUEL JOKE!!!!!

Sharkyjoe, I followed your instructions and actually, everything worked smoothly. All the messages were triggered and displayed perfectly. Using this method, I was able to discover that I had forgot to set the timeout for the last logic waypoint. So I set it and tested it on Desert Island. Then, I went back to the actual mission and set the timeout...

NO DIFFERENCE! THE SECOND MESSAGE IS STILL AWOL IN THE MISSION, AS IF HQMAN IS DEAD OR MISSING! WHAT IS GOING ON!!!!!!!!!!????????

Offline Pilot

  • Contributing Member
  • **
Re:Err... Okay, I feel like an idiot
« Reply #23 on: 14 Apr 2005, 15:02:04 »
@Macguba
I repectfully disagree with you, A few lines of code isn't too hard to understand.  But seeing as Dionysos has already done it the BIS way, I won't press the issue.

@Dionysos
Did you change the right timeout?  Maybe you set the timeout for the wrong waypoint?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Err... Okay, I feel like an idiot
« Reply #24 on: 14 Apr 2005, 15:13:44 »
Quote
I repectfully disagree with you, A few lines of code isn't too hard to understand.
It really all depends on your upbringing.   If you are very familiar with triggers and waypoints then that is easier:  if you are very familiar with scripts then that is easier.    

The most important thing is to get the problem solved.   Dionysos, it is almost certainly some stupid little error of spelling or syntax:  or something so painfully obvious it is impossible to spot.   These things are very frustrating and very hard to find.    

OFP does occasionally go a little bit mad, and finding your own mistakes is a difficult task.   When I am completely stumped like this I delete the relevant triggers, waypoints and units and carefully recreate them, testing at every stage.   It usually works.

If hqman is apparently dead or missing, but in fact is not dead or missing, then you may have spelt his name wrong in his name field or somewhere else.   Check yet again.
« Last Edit: 14 Apr 2005, 15:18:06 by macguba »
Plenty of reviewed ArmA missions for you to play

Dionysos

  • Guest
Re:Err... Okay, I feel like an idiot
« Reply #25 on: 14 Apr 2005, 18:07:06 »
That's it, I surrender! I am defeated!

I can't take this any more! I have been trying for days, following all the instructions from you guys, but I can not do this! Enough! The editor is hell bent on not letting me do this!

I'm just so tired... I want this to work, but I'll have to scrap the mission and start a new one. Thank you all for trying to help! You guys are the best there ever were!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Err... Okay, I feel like an idiot
« Reply #26 on: 14 Apr 2005, 18:33:25 »
Nah, don't give up.   Just put it to one side for a couple of weeks then come back to it.    With the fresh eye you'll have it working in notime.  :)
Plenty of reviewed ArmA missions for you to play

Dionysos

  • Guest
Re:Err... Okay, I feel like an idiot
« Reply #27 on: 14 Apr 2005, 18:47:58 »
Macguba, what would I do without you? I'm really honored, being coached by the creator of the Un-Impossible mission. Thank you very much! I hope you will be around when I start working on the problem again!

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Err... Okay, I feel like an idiot
« Reply #28 on: 14 Apr 2005, 19:38:50 »
dunno if this will be of any use to you, but i hashed together a missionette to show you how the scripting side would work. it's the very bare necessities so you can see what's going on.

i did also notice that if you define someone's radio with the

Code: [Select]
radioname = [WEST, "HQ"]

command, as a side other than the side which you want to hear the sidechat, it won't appear.

so for example, both characters in the sample mission are resistance. i defined one as west and true to your problem, his sidechats didn't show. but by using

Code: [Select]
radioname = [RESISTANCE, "HQ"]

there they were.

i've left that part out though, as it needlessly complicates things. i confess i've seldom used sidechats, so i don't know about getting different colours and suchlike, but hopefully this will help. i know how infuriating and frustrating these things can be, so hang in there ;)