Theater developmental notes - Events definition (".TRI" files)
-
@A.S:
Dont worry mate, we stopped listening long time ago as we figured, that those “games” CANT be of good nature and slowed down the progress too much. A honest “i dont know” is better than misinformation sometimes
It IS difficult as “rookie” to help someone who perceptible has the desire to potraits himself consistently as a 16 years of expirienced master regards falcon editing.
Sorry M8, you have just dug yourself a hole that you can not get out of.
Same hole as Hustler and Ram……4 years ago.
Your slight aside bothers me no more than it might bother the BMS boy’z.
You are ignoring the fact of the hours I spent with you and others in Team Viewer…to get you to the point of “I know it all now demer”
You don’t……PERIOD!!!
Nor do I…PERIOD!!!
FALCON has been and will be a constant development beyond your perceived “End Game” Korea.And “That’s the Way it Is”
Now let’s get back to helping those that “don’t know it all” !!!demer
(P.S. To Dunc and all, this is NOT a personal attack at A.S or anyone…Luv’ the man…just a point out, that is all)
-
I dont see any logic in purposly misleading someone, but hey… its now just a loss of trust remaining and there are other knowledged people willing to share infos in both directions without false data.
PS: lol@ that comparision, completly out of context unless they were served with intentional false data too
Peace old man. Luv u 2.
-
Moved to PM.
-
Yesterday talking with a fellow m8 triggered me to search for the team relations… After some search in the OLD code I found them so here they are to spice up things:
|
| NoRelations |
| ROE_NOT_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_ALLOWED |
| ROE_NOT_ALLOWED ||
| Allied |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, ||
| Friendly |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, ||
| Neutral |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, ||
| Hostile |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, |
| ROE_NOT_ALLOWED, |
| ROE_ALLOWED, ||
| War |
| ROE_NOT_ALLOWED |
| ROE_ALLOWED |
| ROE_ALLOWED |
| ROE_ALLOWED |
| ROE_ALLOWED |
| ROE_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_ALLOWED |
| ROE_ALLOWED |
| ROE_NOT_ALLOWED |
| ROE_ALLOWED |
| ROE_ALLOWED |
| ROE_ALLOWED ||
| ROE |
| ROE_NOTHING |
| ROE_GROUND_FIRE |
| ROE_GROUND_MOVE |
| ROE_GROUND_CAPTURE |
| ROE_AIR_ENGAGE |
| ROE_AIR_FIRE |
| ROE_AIR_FIRE_BVR |
| ROE_AIR_OVERFLY |
| ROE_AIR_ATTACK |
| ROE_AIR_USE_BASES |
| ROE_NAVAL_FIRE |
| ROE_NAVAL_MOVE |
| ROE_NAVAL_BOMBARD ||
Don’t know if it’s still the same but I believe it’s worth a try…
-
This is all well and good. But, as always in Falcon there are other “doctrines” and defines that must be followed. They have not been updated, as far as I can see, to match.We are getting into an area that I left “Grey” with the FF Senior Devs……though you do not need a line by line understanding of how it “works”. Suffice it to say you could do more damage to a campaign than good.
As well, the equipment type and weapons in the DB have changed over the years. So the new edits may not get you to your desired outcome.
Very touchy area here.demer
-
Just had a convo and question from a seasoned camp dev about the .tri file and its structure. I think CODEC assumed we “knew it all” when he posted his explanation years ago. Maybe that group did……LOL! but we don’t.Nor do I.
So to clear some things up and answer the question, we need to heed his statement:“The remaining parts can occur anywhere in the file”
What does he mean???
You can use the defines to trigger more than one thing in a Event definition, remember we have 22 coded events (Don’t need to use them all, but thats another topic of how we get there).Example:
// Event #1
// RED guys win
//
#IF_FORCE_RATIO A 6 2 L 5
#ELSE
#IF_FORCE_RATIO G 6 2 L 5
#PLAY_MOVIE 113
#DO_EVENT 14
#END_GAME 14
#ENDIFSo in this example your campaign can end IF you attrit aircraft ELSE (OR) you attrit ground units.
Cheers,
demer
(for the non coder types out there the .tri is an if/and/or/not/nor script….pretty BASIC if you keep it simple) -
Sorry for necro thread , decided it belongs here better then open a new one , so it is under same ‘environment’.
Now the the biggest question. Is it IF ‘NESTING’ working right , (in Balkans theatre)?
This and that works.
#IF_CAMPAIGN_DAY L 0 #DO_EVENT 1 #ELSE #DO_EVENT 2 #ENDIF // #IF_CAMPAIGN_DAY G 0 #DO_EVENT 3 #ELSE #DO_EVENT 4 #ENDIF //
But this dont … no any event fired…
// #IF_EVENT_PLAYED 2 #IF_CAMPAIGN_DAY L 1 #DO_EVENT 5 #ENDIF #ELSE #DO_EVENT 6 #ENDIF //
I’m still testing , but, anyone noticed similar behavior or knows the reason?
Thanks
-
Nesting Works.
It wont fire any of the two options, unless event 2 has been activated beforehand. (set as 1).Try adding a DO EVENT 2 at the begining… then, you will get event 5 done if camp day is greater or equal to 1 (IIRC it will actívate once day 1 is complete)…but till then, you will get event 6 activated.
TRI file and specially Events are really missunderstanded things.
To test it out just play a movie (two different movies) instead of activating events 5 and 6. This way you will see what happens and how often it happens (I tell you right the way… every 5 minutes)
-
Doh… under Balkans, no movies friend… movies.lst /id are only for saveX and intro , I would have to redo all art/gui to enable this… maybe should’ve run in Korea
But, there’s a catch! Event 2 is fired , so that should activate ‘event played 2’ … but it doesn’t activate it inside of nesting … neither 5 or 6
or I’am missing something obvious or there is something wrong… in other words, I don’t understand why… it’s freaking me out … it’s less then Basic .
Thanks…
edit…
// #IF_CAMPAIGN_DAY L 0 #DO_EVENT 1 #ELSE #DO_EVENT 2 #ENDIF // #IF_EVENT_PLAYED 1 #IF_CAMPAIGN_DAY L 0 #DO_EVENT 3 #ENDIF #ELSE #DO_EVENT 4 #ENDIF // //#ENDIF //
I get only event1 fired … and that is strange… or is it ?
-
Well…. maybe even if there is no movies, there are “Intel news” asociated. Try and see if they appear over the UI screen.
A suggestion, and it may sound really really stupid… I know that for “clarity” and “sanity” of our mind, it is better to add tabulations on the lines… just delete them… so simply try:
#IF_CAMPAIGN_DAY L 0
#DO_EVENT 1
#ELSE
#DO_EVENT 2
#ENDIF
//
#IF_EVENT_PLAYED 1
#IF_CAMPAIGN_DAY L 0
#DO_EVENT 3
#ENDIF
#ELSE
#DO_EVENT 4
#ENDIF
//
//#ENDIFThe result of this (if the condition CAMPAIGN_DAY L 0 is true… I havent tested), is to actívate “event 1”.
Then in the next conditional, as Event1 is true, and CAMPAIGN_DAY L 0 is still also true, the Event3 will be activated.Note that if CAMPAIGN_DAY L 0 is not true, event 2 will be active, and in the second conditional Event4 will be activated, but just because Event 1 is NOT active… not becasue CAMPAIGN_DAY L 0 is false.
What I want to say is take care about the ENDIF on the second conditional and the ELSE… The ELSE belongs to the #IF_EVENT_PLAYED 1 and not to the #IF_CAMPAIGN_DAY L 0
Maybe is on purpose, … just a heads up.I have multynested IF-ELSE-ENDIF … they work. I hope deleting the TABs will make it work.
-
You’re freaking genius… :rofl: … yah’ it wuz da ‘tabs’ … darn ascii…
…sometimes something so small slips under you never notice…
HUh… ThanksCheers :drink:
-
Another happy landing!
-
yah’ it wuz da ‘tabs’
I don’t understand why you would add tabs, I wondered that with your original post?? Several files in Falcon will not work if you add tabs. Matter of fact, if you add tabs to any .wch file, that will destroy the file, you’ll end up with a blank file.
C9
-
@Cloud:
I don’t understand why you would add tabs, I wondered that with your original post?? Several files in Falcon will not work if you add tabs. Matter of fact, if you add tabs to any .wch file, that will destroy the file, you’ll end up with a blank file.
C9
And “Space bar”……
demer
-
…One thing for sure that I’m constantly keep forgetting that Falcon under its 2016 hood have 1999 engine
-
fromteam to the toteam: what does this mean??
-
Good morning, Gentlemen.
This mine is obviously addressed most to the devs.: is there any update after the 4.34.1 has been released?
Thanks in advance and have all a nice day!
With best regards.
-
Even if its a bit old this post. i would like to ask about the FLOT function and how is that affecting the campaign/flights also besides 0 or 1 whats exactly is the “Drawdirection” ?