HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How did they do it?

09-29-2003, 10:18 PM#1
Zeppelin_Child
ok, i might be a newb, but im trying to improve...

i was just wondering how this was done in the map i will post below: how was the movement and turning done? the stoping too. what kinda triger makes the cars keep moving straight, then turn the correct direction on command, stop, and get going again? if anyone could help me out i would greatly apreciate it:D

edit: eh, maybe this should be in the triggers subsection...srry if so...:bgrun:
09-30-2003, 01:44 AM#2
FyreDaug
Trigger subsection is for COMPLETED triggers you are showing off.

But you can use the key movement arrows as an event. Look closer.
09-30-2003, 01:55 AM#3
Zeppelin_Child
ic, well i woulndt post this if i could open the map, erg

but also how does the car keep moving forward when you are not pressing and things like that i dont get
09-30-2003, 03:25 AM#4
Draco
It just does a periodic trigger and uses a condition making sure the player isn't pushing the stop button. If the stop button is not being pushed, it just orders the unit to move towards the facing direction of the unit.
09-30-2003, 02:16 PM#5
Ant
Firstly, I should point out to you that this map was originally released around Classic 1.02, and that Mario Kart is basically a rip off version.
Secondly, let me point out to you a nice useful tutorial!
http://www.wc3campaigns.com/forums/s...threadid=29961
Arrow key movements for third person and isometric and basically can be modified for everything. Read through, and if by some miracle you actually understand my gibberish, good for you. If not, here's how it works in the MAP (it's a classic map so arrow keys had not been implemented and it was too early for advanced jass knowledge).
Firstly, items are placed on the merchant which is targeted, and when the item is bought, a trigger is turned on. This one in particular makes the tank go forward every few seconds.
Then when you buy another item, the trigger is turned OFF!!
The turning is just issuing unit an order with polar offset that is in front. This means that even when you stop turning moves the tank. Bad bad bad...
http://www.wc3campaigns.com/forums/s...threadid=27801
Look through those triggers... easy to understand and it doesn't have some funny function that disables u opening the map (well I for one couldn't open it).

<end message>
Background unrelated info: This system of buying to control the tank was devised HERE in wc3campaigns.com The author credited it in his map, and well... that was how I got to know wc3campaigns.com
09-30-2003, 06:47 PM#6
D4RKSLAY3R
Yea i was wondering about the triggers as well... they would be good for a mini game in a senario. :mtk:
09-30-2003, 11:31 PM#7
Zeppelin_Child
thanks you very much, i have a huge test to study for now, but ill read through all that later, thanks though:D

edit: i looked over it all, thanks a lot!:D