Parasite 2 [1.09] --- Secrets?

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

Mike951
Newcomer
Posts: 14
Joined: September 21st, 2007, 5:51 pm
Title: Mike951 @ Lordaeron
Location: California

Re: Parasite 2 Secrets?

Post by Mike951 »

I'm not entirely happy with it yet so I may change it a little more, and edit the link. If you want you can move it to fulfilled. As for deprotection, I know that I can't get the original map in gui form, but I was wondering how to give out the map so that it has my triggers in gui form at the very least. (i.e. the map is viewable, the main stuff is still in jass form but my triggers are viewable so that I might get a few suggestions on what to do better.)
Quietly sitting on the sidelines...
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Parasite 2 [1.09] --- Secrets?

Post by Xantan »

your stuff should stay in gui unless you use a map optimizer or protector and check options to delete that stuff =/
Mike951
Newcomer
Posts: 14
Joined: September 21st, 2007, 5:51 pm
Title: Mike951 @ Lordaeron
Location: California

Re: Parasite 2 [1.09] --- Secrets?

Post by Mike951 »

Ok, I added in a few commands and changed a few of the things to work better, would like to know how to do your -move command as well as "cloning" the currently selected unit. Also, would this work?

Code: Select all

Change HP
    Events
        Player - Player 1 (Red) types a chat message containing -hp as A substring
        Player - Player 2 (Blue) types a chat message containing -hp as A substring
        Player - Player 3 (Teal) types a chat message containing -hp as A substring
        Player - Player 4 (Purple) types a chat message containing -hp as A substring
        Player - Player 5 (Yellow) types a chat message containing -hp as A substring
        Player - Player 6 (Orange) types a chat message containing -hp as A substring
        Player - Player 7 (Green) types a chat message containing -hp as A substring
        Player - Player 8 (Pink) types a chat message containing -hp as A substring
        Player - Player 9 (Gray) types a chat message containing -hp as A substring
        Player - Player 10 (Light Blue) types a chat message containing -hp as A substring
        Player - Player 11 (Dark Green) types a chat message containing -hp as A substring
    Conditions
        ((Triggering player) is in force15) Equal to True
    Actions
        Unit - Set life of (Random unit from (Units in (Current camera bounds) owned by (Triggering player))) to (Real((Substring((Entered chat string), 4, 18))))
It would also be useful to have constant percentages of hp/mana being enforced to those activated it, how would I change these 2 (hp % activator and hp %) to reflect that?

Code: Select all

Max Life
    Events
        Unit - A unit Finishes an upgrade
        Unit - A unit Begins casting an ability
        Unit - A unit Begins an upgrade
        Unit - A unit Stops casting an ability
        Unit - A unit Starts the effect of an ability
        Unit - A unit Finishes casting an ability
        Unit - A unit Is issued an order targeting a point
        Unit - A unit Is issued an order with no target
        Unit - A unit Is issued an order targeting an object
        Unit - A unit Uses an item
        Unit - A unit Is attacked
        Unit - A unit Begins channeling an ability
    Conditions
        ((Triggering player) is in force15) Equal to True
        ((Triggering player) is in force18) Equal to True
    Actions
        Unit - Set life of (Triggering unit) to 100.00%

Code: Select all

Max Life Activate
    Events
        Player - Player 1 (Red) types a chat message containing -maxlife on as An exact match
        Player - Player 2 (Blue) types a chat message containing -maxlife on as An exact match
        Player - Player 3 (Teal) types a chat message containing -maxlife on as An exact match
        Player - Player 4 (Purple) types a chat message containing -maxlife on as An exact match
        Player - Player 5 (Yellow) types a chat message containing -maxlife on as An exact match
        Player - Player 6 (Orange) types a chat message containing -maxlife on as An exact match
        Player - Player 7 (Green) types a chat message containing -maxlife on as An exact match
        Player - Player 8 (Pink) types a chat message containing -maxlife on as An exact match
        Player - Player 9 (Gray) types a chat message containing -maxlife on as An exact match
        Player - Player 10 (Light Blue) types a chat message containing -maxlife on as An exact match
        Player - Player 11 (Dark Green) types a chat message containing -maxlife on as An exact match
    Conditions
        ((Triggering player) is in force15) Equal to True
    Actions
        Player Group - Add (Triggering player) to force18
Last edited by Mike951 on October 10th, 2007, 10:41 pm, edited 1 time in total.
Quietly sitting on the sidelines...
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Parasite 2 [1.09] --- Secrets?

Post by Xantan »

-move:

take one trigger and if he types -move turn on another trigger, and the event on that trigger would be a unit issues an order
conditions, you know, he has the cheats activated or w/e
AND issued order was move or right click

actions: move unit to point of issued order
trigger: turn off this trigger

-copy is a Jass command as it uses selectedunit() or w/e, but I can help you to do it with gui as well.

basically have two commands, one -set or something.
so...

-set:
turns on a new trigger
displays a game message saying to select something
trigger: add condition - player = triggering player

new trigger:
events:
player selects a unit (1-12)
conditions were made in above trigger
actions:
set triggering unit = variableUNITSETarray[player numger of triggering player] (so you'll want a unit group arrayed up to 12.)
trigger: remove conditions from this trigger

(note these trigger: add conditions or remove are WEU only things I believe)

Now -copy:
events: chat string - as a substring
conditions or if/then/else conditions:
string = -copy
actions:
create a new unit (variableUNITSETarray[player numger of triggering player]) for owner of (variableUNITSETarray[player numger of triggering player]) at (variableUNITSETarray[player numger of triggering player]).

you can probably fool around with things and do better or do some cool things knowing this, but that should work so enjoy.

its probably hard since its all text lol. probably could have done it just as fast in the trigger editor, eh just let me know.
Mike951
Newcomer
Posts: 14
Joined: September 21st, 2007, 5:51 pm
Title: Mike951 @ Lordaeron
Location: California

Re: Parasite 2 [1.09] --- Secrets?

Post by Mike951 »

Hmm, thanks, I should be able find a way to do it, I'll tell you how progress is later, but for now, I need to do something else, my brain is gonna pop and shrivel otherwise :shock: . Here's the current map. Link
Quietly sitting on the sidelines...
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Parasite 2 [1.09] --- Secrets?

Post by Xantan »

ok btw about your edited post, I believe -hp (the current camera bounds thing) it isnt actually current camera bounds, I think if you use a camera then lock it to those bounds thats what itis... so maybe use Entire Map or playable map area instead...

the rest looks like it works, idk, try it and let me know.
User avatar
backspaceoneone
Junior Member
Posts: 44
Joined: July 21st, 2007, 7:31 am

Re: Parasite 2 [1.09] --- Secrets?

Post by backspaceoneone »

You cant fully deprotect maps to their original forms (ie gui triggers and pre-placed units for the world editor) as they are deleted by most map optimizers... I think thats what you were asking? =/
I've always wondered why there hasnt been a program released that does that already.. :P
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Parasite 2 [1.09] --- Secrets?

Post by GeorgeMots »

backspaceoneone wrote:
You cant fully deprotect maps to their original forms (ie gui triggers and pre-placed units for the world editor) as they are deleted by most map optimizers... I think thats what you were asking? =/
I've always wondered why there hasnt been a program released that does that already.. :P
They get deleted because the map author wont work on this map (so he doesnt want you to work either on it). So if something gets deleted and the data of the deleted files are into the war3map.J then it would take like days for them to be recovered or its impossible - its just a guess - but im pretty sure that the way it works.
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this
Mike951
Newcomer
Posts: 14
Joined: September 21st, 2007, 5:51 pm
Title: Mike951 @ Lordaeron
Location: California

Re: Parasite 2 [1.09] --- Secrets?

Post by Mike951 »

Hmm, I'm probably doing these kinda screwy but here they are, the hp command instantly kills you if you type any number even after it was changed from camera bounds to entire map. I tried out a few things with the move command as well and it didn't work. As for the maxlife % I was talking about earlier, I want the user to be able to type -maxlife # and always have that percentage of life (so long as they don't get more damage than their current hp).

Code: Select all

Move2
    Events
        Player - Player 1 (Red) Selects a unit
    Conditions
        ((Triggering player) is in force15) Equal to True
        ((Triggering player) is in force19) Equal to True
    Actions
        Unit Group - Add (Ordered unit) to group10
        Unit - Move (Random unit from group10) instantly to (Target point of issued order)
        Wait 5.00 seconds
        Player Group - Remove (Triggering player) from force19
(in a previous command they are added into force19)

Code: Select all

Change HP
    Events
        Player - Player 1 (Red) types a chat message containing -hp as A substring
    Conditions
        ((Triggering player) is in force15) Equal to True
    Actions
        Unit - Set life of (Random unit from (Units in (Entire map) owned by (Triggering player))) to (Real((Substring((Entered chat string), 4, 18))))
Should also move this into GUI editing for now (at least until I'm happy with the way the cheats work)
Quietly sitting on the sidelines...
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Parasite 2 [1.09] --- Secrets?

Post by Xantan »

ahhh I see, for -hp you used set life, change that to set life %, and then, 4,18 should be working fine for that.

With the -move you need three triggers.

One is type -move

Two is ordering the unit to move



so, the event isnt selects a unit, its unit issues an order, right?