wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Resources > Code Resources > Samples
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 02-06-2006, 01:08 PM   #1
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default 2 Spellbook experiments

How to add a spell to a spellbook and how to learn a spell and make it go to the spellbook.

I made this demo a long ago so many people know the trick already but I am submiting it anyways.
Attached Images
File Type: png spellbookdemo.png (94.0 KB, 3730 views)
Attached Files
File Type: w3x spellbook2006.w3x (22.9 KB, 3085 views)
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 02-12-2006, 03:35 PM   #2
BertTheJasser
xyzi - our universe
 
BertTheJasser's Avatar
 
Join Date: May 2005
Posts: 742

Submissions (2)

BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)

Default

I tested it and it's very usefull for me,... but there is a bug (not a real bug) when you cast any spell and the hero's (here it is the Archmage) Mana gets too low to cast it again the spellbook is closed but is reopanable. I guess it can be fixed by adding an invisble passive ability or an active disabled ability with no mana. Just a suggestion. Well done anyways.
BertTheJasser is offline   Reply With Quote
Old 02-12-2006, 06:40 PM   #3
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Just set spellbook to allow to be opened when out of mana, I think it is an option in the spellbook ability.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-12-2006, 09:04 PM   #4
BertTheJasser
xyzi - our universe
 
BertTheJasser's Avatar
 
Join Date: May 2005
Posts: 742

Submissions (2)

BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)

Default

Yes there is an option, but if the mana is too low the and no spell out of the book can be casted, the book gets closed.

Last edited by BertTheJasser : 02-12-2006 at 09:05 PM.
BertTheJasser is offline   Reply With Quote
Old 02-12-2006, 09:06 PM   #5
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

I meant that I thought there was an option to stop that. Seems there isn't. I think that empty spellbooks are always openable so if you use the trick it should work well anyways
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-12-2006, 09:12 PM   #6
BertTheJasser
xyzi - our universe
 
BertTheJasser's Avatar
 
Join Date: May 2005
Posts: 742

Submissions (2)

BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)

Default

No it doesn't. Last 10 sec I've tested it. With the addition of sphere it worked well, without it didn't. So I guess I was rigth. ;D
BertTheJasser is offline   Reply With Quote
Old 02-14-2006, 12:09 PM   #7
BertTheJasser
xyzi - our universe
 
BertTheJasser's Avatar
 
Join Date: May 2005
Posts: 742

Submissions (2)

BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)

Default

Please do something to fix this "bug" or at least mention it at the readme script.
Thx

(Sorry for double post.)

Last edited by BertTheJasser : 02-16-2006 at 03:20 PM.
BertTheJasser is offline   Reply With Quote
Old 02-16-2006, 08:39 AM   #8
mahallah
User
 
Join Date: Feb 2006
Posts: 1

mahallah has little to show at this moment (0)

Default

cant get this map to open can you explain what you need to do to make a spellbook
mahallah is offline   Reply With Quote
Old 02-16-2006, 10:21 AM   #9
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

the only reason to not be able to open is that is that you don't have Frozen Throne. If you don't have Frozen throne you can't use spellbooks.


And this is not an explanation on how to make a spellbook it is an explanation on being able to add spells to spellbooks in game.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-16-2006, 03:22 PM   #10
BertTheJasser
xyzi - our universe
 
BertTheJasser's Avatar
 
Join Date: May 2005
Posts: 742

Submissions (2)

BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)BertTheJasser has a spectacular aura about (111)

Default

I am waiting for some action!
BertTheJasser is offline   Reply With Quote
Old 02-23-2006, 04:52 PM   #11
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

All right I will do the thing *soon*
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-23-2006, 06:45 PM   #12
Joey.
User
 
Joey.'s Avatar
 
Join Date: Jul 2005
Posts: 284

Joey. has little to show at this moment (4)

Send a message via AIM to Joey. Send a message via MSN to Joey.
Default

This is extremely usefull to me.
__________________
Joey. is offline   Reply With Quote
Old 03-18-2006, 07:48 AM   #13
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Just thought I'd link to a thread that seeks to explain in what order the icons are added to the spellbook, looks like the right answer was found at last.
__________________
Anitarf is offline   Reply With Quote
Old 03-22-2006, 04:52 PM   #14
Do0mBringer
User
 
Join Date: Jan 2004
Posts: 5

Do0mBringer has little to show at this moment (1)

Default Multiple spell books

Is it possible to have multiple spell books on one hero? I've tried every way I can think of, but it just seems to stack in one.. I don't want to have to use items either. If anyone can point me in the right direction I would be very grateful.
Do0mBringer is offline   Reply With Quote
Old 03-31-2006, 10:34 PM   #15
fauvem
User
 
fauvem's Avatar
 
Join Date: Mar 2006
Posts: 32

fauvem has little to show at this moment (4)

Default

Well Done, Vexorian, This is incredibly useful but I do have 1 question does any of the jass actually have anything to do with the spellbook experiments or is it all to do with the map?
fauvem is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 01:22 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services