| 10-06-2004, 06:35 PM | #1 |
I just wonder if anywone knows how to make a system like the one in the Bonus Campaign. Im not new to WE but i just dont know how to do that particullary thing, need it for my RPG So if anywone know, please help me. |
| 10-07-2004, 06:27 AM | #2 |
I might be wrong, but i think you could store an integer variable to load diffrent maps depending on what the variable is.. That way when the map ends. If the variable is X, don't load the bonus map. If the variable is Y, load the bonus map. I would use: X=0 Y=1 Hope this helps. P.S. Can a Mod move this to the triggering forum? |
| 10-07-2004, 02:42 PM | #3 |
Well I want It to change map when you enter a region. I've tested to make some triggers in WE Unit - A unit enters Region Region 000 <gen> Game Cache - Save (Last created game cache) Game Cache - Store Peasant 0000 <gen> as Peasant of Category in (Last created gam cache) and so on, that should work but how do i then change the map in for exampel a Campaign? I've tried "Game - Save game as Savefile.w3z and change level to Maps\MapName.w3x (Skip scores) but that doesnt work got any other suggestions? P.S sure |
| 10-07-2004, 03:36 PM | #4 |
I got a $50 saying there's something in the tut section. |
| 10-08-2004, 12:32 PM | #5 |
What is the "tut section"? |
| 10-08-2004, 01:08 PM | #6 |
tut means tutorials the ppl is just to lazy to write the full word^^(espicially me). i dont think there is anything there but there might be. -Arcy |
| 10-08-2004, 04:30 PM | #7 |
http://www.wc3campaigns.com/forumdisplay.php?f=425 = Tut section. Search it if anything. |
| 10-10-2004, 05:55 PM | #8 |
Unit - A unit enters Region 000 <gen> Game - Set the next level to Maps/Mapname.w3m Game - Vitory Player 1 (Red) (Skip diakogs, Skip scores) works but i dont know how to save the game cache. |
| 10-10-2004, 09:35 PM | #9 |
Game Cache -Create a game cache using "Your_FileName.w3z"- or whatever letter that is. Just use the default letter Game Cache - Store X in (Last Created Game Cache) as MyIntX in Folder Integers Game Cache - Store Y in (Last Created Game Cache) as MyHeroY in Folder Heros Game Cache - Save (Last Created Game Cache) then add your map-loading actions. |
| 10-10-2004, 09:48 PM | #10 |
Any thoughts on how to detect a critical strike? |
| 10-11-2004, 03:11 PM | #11 |
Well, How do I then load the hero? and do you meen the hero I want to save is X and Y? |
| 10-11-2004, 04:12 PM | #12 |
there was a conversation about this a while ago. search the forums for warping through maps and you'll find in the thread a link to a tut that really helps it's the one RoC made or you can just use winmpq and find the campaign that way |
| 10-11-2004, 11:34 PM | #13 |
No, X and Y are examples. The hero is whatever your hero is. Then store it in a name and add these actions to your next map: All filenames must be EXACTLY the same. I just figured if i bolded the [size=-2]exactly it would give... more emphasis..... Game Cache - Create Game Cache from (same filepath that you said earlier) Game Cahce - Load Unit from X in Heros at (Center of (Playable map area)) or whatever filename you used and whatever catagory, and whatever region you want. I hope that helps! ;) |
| 10-12-2004, 01:28 PM | #14 |
Well It works really thx!! I just need help so I can make it for more then 2 maps ex when the units enters "region 1" it changes map to "map 1" and if it enters "region 2" it changes to "map 2" I've tested some but then when I come back to the "Original Map" It makes 2 paladin heros know how to fix it? :( gonna test some myself.. thx for the help |
| 10-12-2004, 04:53 PM | #15 |
You DO know this is only possible in single player? Just store the whole hero in the cache and store any extra values in integers. After you load the new map you need to load the cache again and then you retrieve your hero and blabla from the cache again it should work just fine eventually but maybe you need to mess around with it a little bit ;) |
