automated way of reducing supp.& pri. of objects?
Moderators: Lone Wolf, Snake Man
-
- Recruit
- Posts: 46
- Joined: 2002-04-11 22:01:01
- Location: izmir, Turkey
automated way of reducing supp.& pri. of objects?
any ideas how to reduce amount of supplies and priorities of the objects without having to go tru em all in a manual way?
i thought of dumping objects into a csv file and editing with oo calc or ms excel but the resulting file is not compatible with tacedit because, both excel and calc tend to save empty cells as zeroes instead of leaving them empty as they are initially...
in the other thread SM mentioned it might be doable via tcl scripting yet i have no idea how to print hello world via tcl scripts let alone finding and changing very specific values.....
i thought of dumping objects into a csv file and editing with oo calc or ms excel but the resulting file is not compatible with tacedit because, both excel and calc tend to save empty cells as zeroes instead of leaving them empty as they are initially...
in the other thread SM mentioned it might be doable via tcl scripting yet i have no idea how to print hello world via tcl scripts let alone finding and changing very specific values.....
-murad
-
- Banned user
- Posts: 43
- Joined: 2002-03-08 23:01:01
- Gaming Interests: Falcon 4.0
- Editing Interests: All, I (try) to edit everything.
- Location: Dallas, Texas
Re: automated way of reducing supp.& pri. of objects?
Zero is not a bad number. All of the Objectives in FF5.5 were exported, adjusted and imported. The code would not read an 'empty cell', that cell would be read as 0 or -1.

-
- Commander-In-Chief
- Posts: 9840
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Re: automated way of reducing supp.& pri. of objects?
By "supplies" if you mean Supply, then yes that is a command in the TCL, ie "Supply".lamurt wrote:any ideas how to reduce amount of supplies and priorities of the objects without having to go tru em all in a manual way?
Priorities can be changed also, use the "Priority" command for it. I'm using it in the creating of PAK objectives, this is small part of it:
Code: Select all
foreach paks $olist {
if {[objective get $paks priority] > 80} {
#... your code here
}
}
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN OCTOBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".