| 11-09-2004, 11:27 AM | #1 |
Hi, I need help with a probably kinda big Trigger. To expain easily: When the game starts, a window appears with a few button, 1 button for each class of hero, kinda like: "Psychic" "Commando" "Sharpshooter" etc. And then u choose the class, then another window opens, and you choose his armor, Light, medium, or heavy. And when u've chosen there, another window opens, in which you choose his traits, such as: "Mental Domination - Adds 500 additional mana" "Resistant Suit - Immune to spells" "Agility Boost - Increases movement speed" "Strength Boost - Adds 500 additional life" "Regeneration - High Life Regeneration" "Skilled - Level 4 Skills instead of 3" And when u've chosen there, you choose the weapon (if u've chosen Commando or sharpshooter) Which could be for example: "M43 Assault Sniper Rifle - high Attack speed and range, but low damage" "K9-Berrett Sniper Rifle - High Damage and range, but very low attack speed" "F-21 Rogue Rifle - Balanced sniper rifle" "XM12 Pulse Rifle (Sniper vers.) - VERY strong, but require energy to work (mana)" And when u've chosen that, your hero appears. And I want him to have an extra button, that you can click to view his Special Traits and stuff. - Mephie |
| 11-09-2004, 12:49 PM | #2 |
well, hmm do you know how dialoges work? if so you should use dialoge arrays and dialoge button arrays(1 array for every player) you will also need to save what button the player pushed in booleans, im too lazy too explain it in detail couse i hate dialoges :\ |
| 11-09-2004, 12:58 PM | #3 |
You need to create every possible unit that can come out of it. That would be probably around 50 seperate heros, or more. And THIS is why WC3 sucks ass. |
| 11-09-2004, 02:57 PM | #4 |
You could avoid doing every hero individually by using abilities/triggers to do some of the distinctions between heroes. That's not that easy either. In fact, what you want is some quite complex or tiresome stuff to do. This is not just individual triggers we're talking about, these are whole systems. Not something you could just say "hi can someone do this?", this is practically all the triggers a map would need to run. |
| 11-09-2004, 03:22 PM | #5 |
Guest | All the Traits you listed, with the exception of Skilled, can be done by adding custom item abilities. Skilled is pretty hard. You will PROBABLY need to make two versions of each hero ability, one with 3 levels and one with 4, and use Engineering Upgrade to swap them when the person picks the Skilled trait. There might be a better way. For the weapons, you will need to make 4 versions of each hero, each with the appropriate type of weapon. Then take a look at the Orc ability Chaos (Grom) -- it can be used to morph a hero into another hero. When they pick a weapon, add the appropriate Chaos ability to change them into the correct guy. The XM-12 pulse rifle will require a separate On Attacked trigger to subtract the mana for each attack, and some trigger work to get the unit to stop attackign when he runs out of mana. EDIT: Here's a good post with some info on making an attack use mana: http://www.wc3campaigns.com/showthread.php?t=46552 |
| 11-09-2004, 04:51 PM | #6 |
The weapon attributes and projectile could use an orb ability, no? And then another ability for the attack speed. |
| 11-09-2004, 05:00 PM | #7 | |
Quote:
|
| 11-09-2004, 05:52 PM | #8 | |
Guest | Quote:
|
| 11-09-2004, 06:13 PM | #9 | |
Quote:
That's a one way road. Upgrades cannot be unlearned. |
| 11-10-2004, 05:35 AM | #10 |
Guest | Hey, so I started hacking at something related to this last night. I have a hero that can switch from Fortified armor/normal damage to Normal armor/Chaos damage using a Chaos ability, and I use engineering upgrades to manipulate his other abilities. I learned that Chaos does NOT play nice with engineering upgrades. In order to get it to work, I had to add all possible engineering upgrades to the chaos-morphed version of the hero; Chaos then seemed to keep the correct abilities. Keep that in mind when you're implementing it; it took me an hour and a half of messing around to stumble on it :P |
| 11-10-2004, 07:17 AM | #11 |
For the mana and health type things, instead of creating another hero. Base an ability of the item Pedant of Energy, then just make it as a hero abilitys, check hide buttons and add it to the hero when they select the dialog AS for all them choices, its not so much difficult its time consuming and you will probablly end up with a very big trigger or collection of them, so it would be even HARDER to scan for bugs when you came up with errors. |
| 11-10-2004, 09:41 AM | #12 |
Hmm... Well the weapons would be items, so that's fixed. (Just have them in classes and also make them only be able to carry one weapon at a time) The traits, as said, can be done by adding abilities which boost the selected areas, apart from "Skilled", which has now been solved, so you can do that too. Are you going to have different spells choosable? That's something I always love to do, choose my own spells. Adds even more flexibility. |
| 11-10-2004, 07:11 PM | #13 |
Well, you wont be able to choose your spells/abilities, only the special traits and so on. Each hero has his own spells/abilitie. But yeah, I agree with you there, but I really aint got the patience... Damn, based on what u guys say, I dont think I could work my way through this, so I'll have to add a normal Altar with several heroes to choose from :P Thanks though! |
| 11-10-2004, 07:32 PM | #14 |
Lazy sod.... DO NOT ask for help if you can't be bothered... |
| 11-10-2004, 09:47 PM | #15 |
Hm... No need to flame, what I meant is that I have a life outside the warcraft reality... I was just looking for easy help, and please, do not reply to me unless you have anything creative to say, Thanks. And well I cant make out any of the stuff you guys say, therefore I cant do it, so someone that understands everything of that, please add it together in ONE reply and lemme read it, or else I wont be able to do it, okay? ... |
