Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > Warcraft > Warcraft General > Warcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 10-08-2004, 11:08 PM   #1 (permalink)
BattleForums Junior Member
 
Icey_Gregorio's Avatar
 
Join Date: Aug 2004
Location: My home
Posts: 129
Ok some though shit here.

I have had troubles with this for over a year it's why I quit mking the map for a while lol. How the **** do you make this trigger.

A. Unit grabs occupies flag
B. Units enters region X with flag
C. Add 1 point to leaderboard blahblah
D. Leaderboard = gametotal blah blah wins

I mainyl have trouble with the if he enters region with flag add 1 point. PLEASE HELP ME.
__________________
Join my clan it's none other then the famous "clan MILF" lol.

STUPID NOOBS
Icey_Gregorio is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 10-12-2004, 05:17 PM   #2 (permalink)
BattleForums Junior Member
 
darkened-angel's Avatar
 
Join Date: Sep 2003
Posts: 52
Quote:
Originally Posted by Icey_Gregorio
I have had troubles with this for over a year it's why I quit mking the map for a while lol. How the **** do you make this trigger.

A. Unit grabs occupies flag
B. Units enters region X with flag
C. Add 1 point to leaderboard blahblah
D. Leaderboard = gametotal blah blah wins

I mainyl have trouble with the if he enters region with flag add 1 point. PLEASE HELP ME.
If the flag is a an item then its easy.
I am at school right now when i get home i will write the trig out for it but i have do thing it took a while at first but now i can do it no problem ok so i will post it in 5 hours or so.
__________________
darkened-angel is offline   Reply With Quote
Old 10-12-2004, 09:16 PM   #3 (permalink)
BattleForums Junior Member
 
SlayMaximus's Avatar
 
Join Date: Dec 2003
Location: Virginia
Posts: 64
I would use a variable (of type unit) that is set to the unit when it grabs the flag and then check that condtion when it enters region X - (triggering unit) = [variable]. You may also need to clar the variable, etc. if the unit gets killed before getting to region X.

If that doesn't work or you don't get more help, let me know and I'll try and make a test map for you.

BTW, you spelled "tough" wrong :wasted
SlayMaximus is offline   Reply With Quote
Old 10-13-2004, 07:41 PM   #4 (permalink)
BattleForums Junior Member
 
Icey_Gregorio's Avatar
 
Join Date: Aug 2004
Location: My home
Posts: 129
Quote:
Originally Posted by darkened-angel
If the flag is a an item then its easy.
I am at school right now when i get home i will write the trig out for it but i have do thing it took a while at first but now i can do it no problem ok so i will post it in 5 hours or so.
Dam it where is it lol I need that :scary I need to know if I should work on the map or not. If I can't get this there's no point on contining I can't finish.
__________________
Join my clan it's none other then the famous "clan MILF" lol.

STUPID NOOBS

Last edited by Icey_Gregorio; 10-13-2004 at 07:46 PM.
Icey_Gregorio is offline   Reply With Quote
Old 10-13-2004, 07:45 PM   #5 (permalink)
BattleForums Junior Member
 
SlayMaximus's Avatar
 
Join Date: Dec 2003
Location: Virginia
Posts: 64
Post or email the map, Icey, and I'll try and modify that part of the trigger for you.

E.
SlayMaximus is offline   Reply With Quote
Old 10-13-2004, 08:10 PM   #6 (permalink)
BattleForums Junior Member
 
Icey_Gregorio's Avatar
 
Join Date: Aug 2004
Location: My home
Posts: 129
here we goes
Attached Files
File Type: w3x SkiesofArcadiaLegendsCTF.w3x (143.4 KB, 1 views)
__________________
Join my clan it's none other then the famous "clan MILF" lol.

STUPID NOOBS

Last edited by Icey_Gregorio; 10-13-2004 at 08:49 PM.
Icey_Gregorio is offline   Reply With Quote
Old 10-14-2004, 02:03 AM   #7 (permalink)
BattleForums Junior Member
 
SlayMaximus's Avatar
 
Join Date: Dec 2003
Location: Virginia
Posts: 64
The revised map is attached. I changed the following:

Added Super Warden custom unit for testing and modified blink to get around.

Changed trigger Stuff|Things to an event of elapsed game time (rather than map initialization) to create leaderboard properly. You can't create leaderboards under map initialization!

Created variables team1scr and team2scr to hold the team’s scores. They are integer variables.

Added player 1 (red) to leaderboard with label Team 1
Added player 7 (green) to leaderboard with label Team 2
These are just simple labels for the teams and you can change it as necessary.

Added variable Team1_hasflag (a unit variable) that is set to the unit that picks up the flag and used to check that the unit that enters the return point is the unit that has the flag. It gets cleared when the flag is returned, but probably needs to also be cleared if the unit gets killed. You need to make that trigger (event, a unit dies; condition, dieing unit=Team1_hasflag; action, set Team1_hasflag=no unit). may also need to clear it if they drop the flag.

Added under the trigger Getting the flag|Gettign the point (your spelling, not mine) an increment to team1scr and changed display in leaderboard to reflect the same. See trigger below.

Changed the message from “Team 1 had scored a point” to --Team 1 has scored a point-- to conform to English idiom. Just to be an ass, but BTW, you need to learn to spell - lol!

Changed triggers as follows:

The flag thing
Events
Unit - A unit enters Team 2 flag <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Player 7 (Green)
(Owner of (Triggering unit)) Not equal to Player 8 (Pink)
(Owner of (Triggering unit)) Not equal to Player 9 (Gray)
(Owner of (Triggering unit)) Not equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Not equal to Player 11 (Dark Green)
(Owner of (Triggering unit)) Not equal to Player 12 (Brown)
Actions
Item - Change ownership of Team Two's Flag 0101 <gen> to (Owner of (Triggering unit)) and Retain color
Set Team1_hasflag = (Triggering unit)


Gettign the point
Events
Unit - A unit enters Team1 flag return for point <gen>
Conditions
(Triggering unit) Equal to Team1_hasflag
Actions
Set Team1scr = (Team1scr + 1)
Set Team1_hasflag = No unit
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Team1scr
Quest - Display to (All players) the Quest Update message: Team 1 has scored a...
Item - Move Team Two's Flag 0101 <gen> to (Center of Team 2 flag <gen>)

You need to create something similar for team2. Also, Team1 can grab their own flag and Team2 can grab theirs. not sure if you intend that or not, but if not, you need to work with the items to avoid it - I'm not sure how.

Hope this helps and let me know if there is anything else.

Eric
Attached Files
File Type: w3x Icey001.w3x (144.0 KB, 1 views)

Last edited by SlayMaximus; 10-14-2004 at 02:07 AM.
SlayMaximus is offline   Reply With Quote
Old 10-14-2004, 08:42 PM   #8 (permalink)
BattleForums Junior Member
 
Icey_Gregorio's Avatar
 
Join Date: Aug 2004
Location: My home
Posts: 129
Dude i love you

Why did u add a warden and blink stopping thingy's?
__________________
Join my clan it's none other then the famous "clan MILF" lol.

STUPID NOOBS
Icey_Gregorio is offline   Reply With Quote
Old 10-15-2004, 12:57 AM   #9 (permalink)
BattleForums Junior Member
 
SlayMaximus's Avatar
 
Join Date: Dec 2003
Location: Virginia
Posts: 64
For testing. I didn't want to have to run back and forth across the map for 10 minutes everytime I wanted to test the triggers so I made the warden with a strong attack and a long range blink to jump around the map. You should delete her when you finish the map, and restore the blink ability if you use it for anyone else to the normal parameters.

I dont know what you mean by "blink stopping thingy's," but I didn't add any of those intentionally.
SlayMaximus is offline   Reply With Quote
Old 10-15-2004, 06:10 PM   #10 (permalink)
BattleForums Junior Member
 
Icey_Gregorio's Avatar
 
Join Date: Aug 2004
Location: My home
Posts: 129
Quote:
Originally Posted by SlayMaximus
For testing. I didn't want to have to run back and forth across the map for 10 minutes everytime I wanted to test the triggers so I made the warden with a strong attack and a long range blink to jump around the map. You should delete her when you finish the map, and restore the blink ability if you use it for anyone else to the normal parameters.

I dont know what you mean by "blink stopping thingy's," but I didn't add any of those intentionally.
O I thoguht you said u did my bad.
__________________
Join my clan it's none other then the famous "clan MILF" lol.

STUPID NOOBS
Icey_Gregorio is offline   Reply With Quote
Old 10-18-2004, 01:29 AM   #11 (permalink)
BattleForums Junior Member
 
Icey_Gregorio's Avatar
 
Join Date: Aug 2004
Location: My home
Posts: 129
nm i got it.
Attached Files
File Type: w3x SOAL CTF.w3x (144.4 KB, 0 views)
__________________
Join my clan it's none other then the famous "clan MILF" lol.

STUPID NOOBS

Last edited by Icey_Gregorio; 10-18-2004 at 08:16 PM.
Icey_Gregorio is offline   Reply With Quote
Old 10-21-2004, 03:38 PM   #12 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,856
Variables need to be declared in order to work the point system. I enjoy Warcraft III Editor for its variable declarations.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.


Kurisu - Zy-el Sorceress - Level 46 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is offline   Reply With Quote
Old 10-21-2004, 04:35 PM   #13 (permalink)
BattleForums Junior Member
 
Icey_Gregorio's Avatar
 
Join Date: Aug 2004
Location: My home
Posts: 129
Quote:
Originally Posted by Hellwolf_36
Variables need to be declared in order to work the point system. I enjoy Warcraft III Editor for its variable declarations.
AAAGGGGGHHHH :angry I hate them so much. They screw me over all the time. Then again I barely kno how to use them so that's probarly the reason there
__________________
Join my clan it's none other then the famous "clan MILF" lol.

STUPID NOOBS
Icey_Gregorio is offline   Reply With Quote
Old 10-21-2004, 04:38 PM   #14 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,856
Very simple, make one trigger called Variable Declaration

Action
Map Initialization
Conditions
None

Event
Set (variable_name) to (variable type)

Repeat event line until you have all the variables you need, think of it as C or Turing. Create your variables off hand before you create the program.

Example, if you need gold as a variable. First declare variable_name as an integer (whole numbers ONLY). Then set the value to something like Gold count or whatever.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.


Kurisu - Zy-el Sorceress - Level 46 of 10000

My Personal Blog Page - Updated every Friday
Join the Phantasy Star Online sensation - ChrisH36
Chris is offline   Reply With Quote
Old 10-21-2004, 09:10 PM   #15 (permalink)
BattleForums Junior Member
 
SlayMaximus's Avatar
 
Join Date: Dec 2003
Location: Virginia
Posts: 64
Not to be picky, but I think the "Event" should be Map Initialization and the "Actions" should be repeated to keep with the WE nomenclature, but the concept remains the same.

Variables are pretty basic stuff. Most current compiled languages, like C I believe, require you to declare your variables prior to using them. The last thing I programmed that didn't was BASIC on the Apple ][ (called Applesoft if I can remember back 20+ years) and 6502 assembler. Even in the assembler, we often informally "declared" the variables by assigning memory locations to specifc uses (character X position at $300 hex, Character Y position at $301H, Character shape number at $302 hex, etc.) and "setting" these defaults during the loading process. But, I date myself and bore you all born after 1985 . . .

In any event, if you are having trouble on variables, I strongly suggest you Google some tutorials and spend 30 minutes reading about them. After integers, floating points (reals), and strings, you can read about arrays. There's also longs, shorts, unsigneds, doubles, etc. Once you have a good understanding of these, the extensions to the WE specific types ("unit" or "unit group") should be easy. Not only will Your WC3 maps improve, but you'll gain knowledge that any future computer use (programming or just simple spreadsheeting) will require.

Just my $.02.

Eric.
SlayMaximus is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« Map genre question | Question! »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 02:58 PM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0