LocUnlock v1, Modders finally get locations in melee!
Post #1
MC˛poiuy_qwert
Sep 15 2008, 4:57 am
|
PyMS and ProTRG developer
|
LocUnlock is an MPQDraft and FireGraft v0.93 plugin supporting SC:BW versions 1.15.1 to 1.15.3 (1.15.2 and 1.15.3 are currently not supported by FireGraft v0.93), designed to allow modders the use of locations in game types other then Use Map Settings. The two things you can do with this plugin is make the Anywhere location cover the whole map with all elevation levels, or set one or more values (top left x/y, bottom right x/y, and elevation flags) of any location you want.
MPQDraft Installation/Application: 1) Extract LocUnlock.qdp to your MPQDraft folder 2) When creating a SEMPQ or loading an MPQ patch, make sure the "LocUnlock v1" plugin checkbox is checked FireGraft v0.93 Installation/Application: 1) Extract LocUnlock.qdp to your FireGraft folder 2) When editing your project, go to the Plugins tab 3) Click tha add Add button under MPQDraft plugin, and select LocUnlock.qdp Usage: LocUnlock uses the EnableDebugMode (which is currently only supported by PyTRG) action to edit locations, and takes its parameters from the Start Locations (unit 214) death count of different players: Player 2: Location number Player 3: Values to change (bitmask: 1 = top left X, 2 = top left Y, 4 = bottom right X, 8 = bottom right Y, 16 = flags) Player 4: Top left X Player 5: Top left Y Player 6: Bottom right X Player 7: Bottom right Y Player 8: Elevation flags (bitmask: 1 = Low Elevation, 2 = Medium Elevation, 4 = High Elevation, 8 = Low Air, 16 = Medium Air, 32 = High Air) If the Location number or Values to change is 0, then the Anywhere location is automatically set to cover the whole map with all flags set (like how it starts for UMS maps). Examples: Make Anywhere cover the whole map at the start of the game: CodeTrigger(All Players): Conditions: Always() Actions: EnableDebugMode() Cover 2x2 square of tiles in the top left with location 1 when switch 1 is set: CodeTrigger(All Players): Conditions: Switch(1, Set) Actions: SetDeaths(Player 2, Start Location, Set To, 1) SetDeaths(Player 3, Start Location, Set To, 31) SetDeaths(Player 4, Start Location, Set To, 0) SetDeaths(Player 5, Start Location, Set To, 0) SetDeaths(Player 6, Start Location, Set To, 64) SetDeaths(Player 7, Start Location, Set To, 64) SetDeaths(Player 8, Start Location, Set To, 63) EnableDebugMode() Credits: bajadulce: Giving me the idea to make this and for hosting! Doodle: Some code I used to learn from A_of-s_t: Helping, and being cool DiscipleOfAdun: Supplied function to get the SC version and for mucho grande help! Download: LocUnlock.zip This post was edited 1 time, last edit by poiuy_qwert: Sep 15 2008, 9:46 pm. ![]() ![]() ![]() ![]() ![]() ![]() ![]() We mod Starcraft. PyMS (Forums/Local) | FNTGen | ProTRG (Local) | LocUnlock | BWAI Launcher BroodWarAI.com (Forums) | StarCraft: Team Fortress (Forums/Local) |
Post #2
Sand Wraith
Sep 15 2008, 8:23 pm
Post #3
MC˛poiuy_qwert
Sep 15 2008, 9:23 pm
|
PyMS and ProTRG developer
|
Well the EnableDebugMode action is not supported by any map editor, and I don't know of any trg editors other then PyTRG. You could always hex edit the trigger, or (someone just told me) you can use uberation to do raw triggers. But if my vote counts i'd say PyTRG is better then those options.
![]() ![]() ![]() ![]() ![]() ![]() ![]() We mod Starcraft. PyMS (Forums/Local) | FNTGen | ProTRG (Local) | LocUnlock | BWAI Launcher BroodWarAI.com (Forums) | StarCraft: Team Fortress (Forums/Local) |
Post #6
O)FaRTy1billion
Sep 15 2008, 10:22 pm
|
.rapsdleF
|
Too bad TrigPlug isn't nearly finished. I guess you could release the alpha with PyTrg, but only specific players and units would work for most things.
![]() ![]() ![]() ![]() ![]() ![]() TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!) EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab! MapSketch - New image->map generator! EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported) SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor! times! |
Post #7
MC˛poiuy_qwert
Sep 15 2008, 10:32 pm
|
PyMS and ProTRG developer
|
Well PyTRG has had TrigPlug support in it for 3 version's. If you don't mind releasing an alpha then do it!
![]() ![]() ![]() ![]() ![]() ![]() ![]() We mod Starcraft. PyMS (Forums/Local) | FNTGen | ProTRG (Local) | LocUnlock | BWAI Launcher BroodWarAI.com (Forums) | StarCraft: Team Fortress (Forums/Local) |
Post #9
MC˛poiuy_qwert
Sep 16 2008, 1:34 am
|
PyMS and ProTRG developer
|
Anything possible in UMS (and new things too) is now possible. So yes that is possible.
![]() ![]() ![]() ![]() ![]() ![]() ![]() We mod Starcraft. PyMS (Forums/Local) | FNTGen | ProTRG (Local) | LocUnlock | BWAI Launcher BroodWarAI.com (Forums) | StarCraft: Team Fortress (Forums/Local) |
Post #13
MC˛poiuy_qwert
Sep 18 2008, 5:29 pm
|
PyMS and ProTRG developer
|
Im glad you guys like it
![]() ![]() ![]() ![]() ![]() ![]() ![]() We mod Starcraft. PyMS (Forums/Local) | FNTGen | ProTRG (Local) | LocUnlock | BWAI Launcher BroodWarAI.com (Forums) | StarCraft: Team Fortress (Forums/Local) |
Post #15
MC˛Hercanic
Sep 23 2008, 2:18 am
Post #16
MC˛poiuy_qwert
Sep 23 2008, 4:11 am
|
PyMS and ProTRG developer
|
It should work fine in multiplayer but i've never actually tested it
![]() ![]() ![]() ![]() ![]() ![]() ![]() We mod Starcraft. PyMS (Forums/Local) | FNTGen | ProTRG (Local) | LocUnlock | BWAI Launcher BroodWarAI.com (Forums) | StarCraft: Team Fortress (Forums/Local) |
Post #19
MC˛Hercanic
Sep 24 2008, 3:25 pm
|
Pardon if any of these are basic, or "no duh", questions:
1. How many locations can be made/exist? 2. Can locations be removed? 3. Do you predefine each location, or is creation dynamic? As in, could I specify a new 2x2 location to be created and centered on every Marine every player makes? ![]() ![]() ![]() ![]() ![]() ![]() |
Post #20
MC˛poiuy_qwert
Sep 24 2008, 9:57 pm
|
PyMS and ProTRG developer
|
1. 255 locations exist
2. Locations always exists, you cant remove them, just stop using them. 3. Since locations always exist, you don't actually create them, LocUnlock lets you change any property about any location at anytime, then you can do whatever you want with it. Centering would be done with the normal Center Location action. ![]() ![]() ![]() ![]() ![]() ![]() ![]() We mod Starcraft. PyMS (Forums/Local) | FNTGen | ProTRG (Local) | LocUnlock | BWAI Launcher BroodWarAI.com (Forums) | StarCraft: Team Fortress (Forums/Local) |
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)
+ guest(s)
[07:19 am]
[06:56 am]
[06:56 am]
[06:51 am]
[06:50 am]
[06:50 am]
[06:49 am]






. 

times!

![[close]](/images/up.gif)