Jump to content

Repeating Triggers


Recommended Posts

Nevertheless, a Penalty Zone might indeed be the solution; it would probably require the inverse logic. You wouldn't check for the player leaving an area, but instead detect that he's endtering a region he isn't supposed to go. In which case a message will appear in his 3D view that he is in a penalty zone and should leave it within the next 30 seconds. If not, from then on every 30 seconds a penalty will be applied. That can be a very light penalty with a very low likelihood if it's intended as a very gentle reminder, or insta-death with 100% likelihood after 30 seconds (and a lot in between those extremes).

Link to post
Share on other sites

If you are trying to achieve a zone that gives a message every time there is/isnt a unit within it, then you will need to use layered EVENTS for these messages.

Example:

1) CONDITION  that checks (continuously) if unit 1/A is in region "AREA" , called "AREA CHECK"

2) EVENT that is watching/waiting for "AREA CHECK"  condition to be true. You could call this "AREA CHECK MSG 1".  This EVENT can have text and audio message for the players.

3) Another EVENT called "AREA CHECK MSG 2" This event is the same, with the addition of checking that event "AREA CHECK MSG 1" is true.

You can 'que' multiple event messages for zones etc in this way, referencing the previous one as a requirement for the occurance of the next...

Ill do a video later!

 

Link to post
Share on other sites

But that approach will only work for a handful of repetition cases. May be sufficient, yes, but viability depends a lot on how many other events you need for other messages.

Link to post
Share on other sites
4 hours ago, Ssnake said:

Nevertheless, a Penalty Zone might indeed be the solution; it would probably require the inverse logic. You wouldn't check for the player leaving an area, but instead detect that he's endtering a region he isn't supposed to go. In which case a message will appear in his 3D view that he is in a penalty zone and should leave it within the next 30 seconds. If not, from then on every 30 seconds a penalty will be applied. That can be a very light penalty with a very low likelihood if it's intended as a very gentle reminder, or insta-death with 100% likelihood after 30 seconds (and a lot in between those extremes).

OK, so on a penalty zone, there's no way to get a message is there? I guess I could play around with that but I don't see any options to do that in the editor.

Link to post
Share on other sites
3 hours ago, Bond_Villian said:

If you are trying to achieve a zone that gives a message every time there is/isnt a unit within it, then you will need to use layered EVENTS for these messages.

Example:

1) CONDITION  that checks (continuously) if unit 1/A is in region "AREA" , called "AREA CHECK"

2) EVENT that is watching/waiting for "AREA CHECK"  condition to be true. You could call this "AREA CHECK MSG 1".  This EVENT can have text and audio message for the players.

3) Another EVENT called "AREA CHECK MSG 2" This event is the same, with the addition of checking that event "AREA CHECK MSG 1" is true.

You can 'que' multiple event messages for zones etc in this way, referencing the previous one as a requirement for the occurance of the next...

Ill do a video later!

 

I actually like this as a solution. I could do exactly what you say by making them if 1 is true, the 2 can be true, then 3 and so on and so on. No need to do a video for me. I understand the concept. I could do a bunch of them and hopefully the person doing the mission gets the point before they run out of messages.

By the way, I'm really sorry that my communication has been so bad on this. I didn't mean to turn it into a struggle to understand what I was trying to achieve. And I have played around with different options but was running out of patience on it. I've owned every copy of SB since the very original one and I still have the boxed version that I bought from Micro Center in 2000. I found that my M1 Abrams Campaign that I designed has a lot of event and condition problems because there have been a lot of major changes in the simulation so a lot of stuff is broken. I'm trying to fix them so I can post the update. I haven't used the editor for quite awhile so I basically have to learn it all over again.

Link to post
Share on other sites
18 hours ago, Striker said:

I've owned every copy of SB since the very original one and I still have the boxed version that I bought from Micro Center in 2000. I found that my M1 Abrams Campaign that I designed has a lot of event and condition problems because there have been a lot of major changes in the simulation so a lot of stuff is broken. I'm trying to fix them so I can post the update. I haven't used the editor for quite awhile so I basically have to learn it all over again.


Great to have such a long term fan around, 2000 !

 

And thx for updating your campaign, looking forward to playing it.

SB is a rich and interesting tool to create scenario’s ...

 

Best !

Link to post
Share on other sites

Layering events is about the only way to have a message fire multiple times if someone enters a penalty zone. I put a sample scenario below in which it fires once any friendly vehicle enters the zone.

 

It is also worth mentioning that in the current version of Steel Beasts the message "You are in a penalty zone!" flashes across your screen in bright red letters. This screenshot was taken in an offline scenario with realism set to "high." If you just want to warn your player that they are in a place where they shouldn't be, the game takes care of that for you. 

 

SS_17_49_25.thumb.jpg.5a67a18b30efaf6d568bc34b5a0f624b.jpg

 

Penalty Zone .sce

Link to post
Share on other sites
On 5/4/2021 at 3:45 PM, Koen said:


Great to have such a long term fan around, 2000 !

 

And thx for updating your campaign, looking forward to playing it.

SB is a rich and interesting tool to create scenario’s ...

 

Best !

Yeah, thanks! Not sure what happened to them but a lot of stuff probably got deleted on the events from the patching. They were missing a bunch of important things to make the AI work. I'm going through them with a fine tooth comb this time and testing the snot out of them. I'm almost done and should have them ready by the middle of next week. They include a lot of improvements. I've done a lot of work on the grouping, AI pathing, fixed the loadouts, fixed the repair logic, added sounds. After this I should be ready to put them together into an operation. I also removed some units on a couple because the vehicles had changed and the missions were just way too long. There's still one that's more than 2 hours but they're a hell of a lot more playable now but still challenging and follow the story line like they originally did.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...