Theater developmental notes - Events definition (".TRI" files)
-
just mark the letters with the mouse.
Cheers,
LS -
Nice one
-
While examining saved campaign files with Mission Commander I noticed PAK priorities are actually displayed in the political tab. They are set to anywhere from 0 to 100 by the campaign engine, so I guess values lower than 81 are safe also for the trigger files.
Only Cities\Towns can OWN PAK priorities\parenting >80 (actually 81 due to the fact that the code starts at 0 and then counts to 80, so 0+80 = 81 ) You CAN change this in the .aii file if for some reason you need some minor objectives to kick events for gameplay. Again it would have to be a city or town to work. You would need to reset Parent’s in TacEdit and then SAVE and EXIT for it to pick it up. Oooppss!! You need to be in link edit in TacEdit…;)
If you have a small theater like Panama,Battle for Sinai or Guam, that may come in handy to promote the War, if done correctly. But in larger theaters like Aegean,Balkans and Korea this is counterproductive IMHO.demer
-
Only Cities\Towns can OWN PAK priorities\parenting >80 (actually 81 due to the fact that the code starts at 0 and then counts to 80, so 0+80 = 81 ) You CAN change this in the .aii file if for some reason you need some minor objectives to kick events for gameplay. Again it would have to be a city or town to work. You would need to reset Parent’s in TacEdit and then SAVE and EXIT for it to pick it up. Oooppss!! You need to be in link edit in TacEdit…;)
If you have a small theater like Panama,Battle for Sinai or Guam, that may come in handy to promote the War, if done correctly. But in larger theaters like Aegean,Balkans and Korea this is counterproductive IMHO.
demer
tHAnKs FoR CLaRIfiCAtIOn.
-
tHAnKs FoR CLaRIfiCAtIOn.
Your welcome……:mrgreen:
@Lukas and “Joe Public” .
I know at times (probably most times) that my post’s seem a bit misleading at best and/or sarcastic at worse, when we don’t “Get It”.
The intent of my post’s are to inspire y’all to seek the solutions on your own.
FALCON, over the years, has become a “Hard Row to Hoe”, for me, so to say.
BUT the BMS Team has done some outstanding CODE work that promises to continue into the next decade.
Therefore, I am excited to to see what we CAN do with the Bi’attchdemer
-
well demer your posts are a extra valuable asset for us newbs on the area but some times finding your way to the solution is a pain in the ass not to mention misleading and ending to giving up.
We all know sources are the:
1. PCM wiki and Forum.
2. Frugals forum.
3. Global Falcon forum.
4. BMS forum.The 3d one is gone.
Frugals and PCM forum info is way scattered and u have to search and search and search losing more time to search then working on the project, also info is outdated in some cases.
PCM wiki is the one and only valid source but also there many things point to the forum in general and info is outdated.
BMS forum also info is scattered, well I try some to gather them in my HotList but I don’t think this is the solution.I believe u get the point.
An example: I was looking for the addcopy function u posted for way much time and I gave up. Then when u posted the document that got me on track and since then I was able to help in my squad theater development.
-
well demer your posts are a extra valuable asset for us…
+1
I read(or am trying to read) all your posts as well…no problem with sarcasm -
Perfection requires mastery of the tools, and there Demer is a good help as old expirienced guy. Sometimes he “misled” me unintentionally and i wasted alot of time figuring things out otherwise, but his heart to help is appreciated anyways.
-
Your welcome……:mrgreen:
@Lukas and “Joe Public” .
I know at times (probably most times) that my post’s seem a bit misleading at best and/or sarcastic at worse, when we don’t “Get It”.
The intent of my post’s are to inspire y’all to seek the solutions on your own.
FALCON, over the years, has become a “Hard Row to Hoe”, for me, so to say.
BUT the BMS Team has done some outstanding CODE work that promises to continue into the next decade.
Therefore, I am excited to to see what we CAN do with the Bi’attchdemer
Ask me the questions bridge keeper… I’m not afraid!
EDIT: it was just sarcastic, I’ve nothing against demer!
-
Ask me the questions bridge keeper… I’m not afraid!
EDIT: it was just sarcastic, I’ve nothing against demer!
And you, my friend, are Sir Robin???...LOL!!!
There are still many, many things in Falcon that I and the MASTERS just…. DUNNO??? But we can find out\explore.@A.S and others. I will not deny that I misled you and Mystic intentionally in the last year or so. In an effort to get you guys to seek a better understanding of the tools and the Database.
You both have done well in your endeavours. I must remind you both though, that a “Help!!..ME Demer!!!” PM\TS was most always responded to.I have stated this B4 and will state it again, but this time a bit more thorough “It has taken me 16 years to get a grip, somewhat, on Falcon and SHE still Pee"s on me at time’s”
:rofl:
demer
-
@A.S and others. I will not deny that I misled you and Mystic intentionally in the last year or so. In an effort to get you guys to seek a better understanding of the tools and the Database.
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
You both have done well in your endeavours. I must remind you both though, that a “Help!!..ME Demer!!!” PM\TS was most always responded to.
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.
-
@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 ?