Weapon Upgrade System and in game camera

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

Moderator: Cheaters

Darkness568
Member
Posts: 97
Joined: June 18th, 2007, 12:45 am

Weapon Upgrade System and in game camera

Post by Darkness568 »

Hi i also am wondering if there is a way for gui to have a weapon and then pay lets say 500 gold and change Example item to Example item (Upgraded) and be able to maybe do it another time and both of the weapons have different stats so like one has 20 damage and the other has 30damage, but that would come with the item switch. Also how would i make it in game so that the standard camera is lets say 2000 the entire time and doesnt revert to normal.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Weapon Upgrade System and in game camera

Post by Arabidnun »

OK, it works, however. There is no condition that checks for if hero has the item in his inventory first...If u can find out how to check for that it will be perfect.

EVENT:
Player - Player 1 (Red) types a chat message containing -up as An exact match

CONDITION:
((Triggering player) Current gold) Greater than or equal to 500

ACTION:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
***MISSING***
Then - Actions
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
Loop - Actions
Item - Remove (Item carried by (Picked unit) of type Sword Of Punishment(20))
Item - Create Sword Of Punishment(30) at (Position of (Picked unit))
Hero - Give (Last created item) to (Picked unit)
Player - Add -500 to (Triggering player) Current gold
Else - Actions
Do nothing
Darkness568
Member
Posts: 97
Joined: June 18th, 2007, 12:45 am

Re: Weapon Upgrade System and in game camera

Post by Darkness568 »

Yea i will try it and for the item detection there are a few codes for the doubling system i have that i believe checks it. Thanks again and will report if more errors, but i would still like to know a way for a permanent higher camera whether in gui or jass.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Weapon Upgrade System and in game camera

Post by Arabidnun »

EVENT:
Time - Elapsed game time is 0.00 seconds

CONDITION:
None

ACTION:
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
Camera - Set (Picked player)'s camera Height Offset to 1000.00 over 0.00 seconds

If you need a test map, please, don't hesitate to ask
Darkness568
Member
Posts: 97
Joined: June 18th, 2007, 12:45 am

Re: Weapon Upgrade System and in game camera

Post by Darkness568 »

Alright i am testing both triggers now.

Edit: Ok the upgrader works, the ally changer works, but the camera doesnt but it doesnt help that i got another camera set for ingame, but i was wondering if you know of a -zoom system because i tried a few times before and never got it working right the best ive done is like -med which is 1600 or 2000. If you have a -zoom system that be great and thanks for all your help.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Weapon Upgrade System and in game camera

Post by Arabidnun »

If you are talking about a zoom system with people can type the settings they want for height elevation, call it as good as done.


[blinking]
ZOOM TRIGGER SYSTEM
[/blinking]
Spoiler:
Here's a little system that when you type something such as -zoom ### it moves your camera to that designated spot. Have fun
Zoom System.w3x
Also, check out more of my tutorials at http://forum.wc3edit.net/gui-triggers-f ... t5868.html

If you can't download, heres the GUI

EVENT:
Player - Player 1 (Red) types a chat message containing -zoom as A substring
Player - Player 2 (Blue) types a chat message containing -zoom as A substring
Player - Player 3 (Teal) types a chat message containing -zoom as A substring
Player - Player 4 (Purple) types a chat message containing -zoom as A substring
Player - Player 5 (Yellow) types a chat message containing -zoom as A substring
--ect...

Condition:
(Substring((Entered chat string), 1, 6)) Equal to -zoom<space>

Action:
Camera - Set (Triggering player)'s camera Height Offset to (Real((Substring((Entered chat string), 7, 20)))) over 0.50 seconds
You do not have the required permissions to view the files attached to this post.
Darkness568
Member
Posts: 97
Joined: June 18th, 2007, 12:45 am

Re: Weapon Upgrade System and in game camera

Post by Darkness568 »

Thanks man i will be testing it out. Also for the ally changer how do u make it so if blue comes and trys to capture reds that already captured neutral how would you do that? Also how would you make a teleporting spell that makes it so it teleports you to the control points that your team currently holds and not the ones the other team holds? and i will put your name in my map as thanks and wow i cannot believe i didnt see that lol.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Weapon Upgrade System and in game camera

Post by Arabidnun »

[blinking]
CAPTURE SYSTEM!
[/blinking]
Spoiler:
This is a tutorial where blue moves into the region to capture the neutral unit. However, when he leaves, he is out of range of the building for another person to come along and capture it. You can change the range depending on how far a unit is away for another player to come along and capture it. Just used so a player can't just come up and capture it when your are right there.Check it out!
Capture System.w3x
You do not have the required permissions to view the files attached to this post.
Darkness568
Member
Posts: 97
Joined: June 18th, 2007, 12:45 am

Re: Weapon Upgrade System and in game camera

Post by Darkness568 »

Alright i just thought the one you gave me earlier was that exact one or not because i wasnt sure. Thanks again though. If you could find a answer to the teleportation spell that be great.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Weapon Upgrade System and in game camera

Post by Arabidnun »

[blinking]
CAPTURE SYSTEM+TELEPORTATION!!
[/blinking]
Spoiler:
This tutorial now, when you have control of the barracks you can teleport there, waiting 3 seconds before you teleport there. However, if you do not have control of the barracks, nothing happens.Check it out!
Capture System+Tele System.w3x
Please don't hesitate to ask for custom map tutorials
You do not have the required permissions to view the files attached to this post.