• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Cook System

Status
Not open for further replies.
Level 4
Joined
Dec 12, 2008
Messages
98
hi all, i found a cook system at here (click here) and i import everything in my map but the guy typed how to import it;
How To Implement:
1) Copy all abilities from the object editor to your map.
2) Copy all fire pit units from the unit editor to your map.
3) Copy all the items from the item editor to your map.
4) Replace all unit rawcodes to the globals in trigger Cook System
5) Replace all item rawcodes to the globals in trigger Cook System
6) Replace all spell rawcodes to the globals in trigger Cook System

but i dont understand the last 3 steps, what do they mean with rawcodes and how do i do it. please help me
 
Seas =)

The Rawcodes:

If you open the Object Editor you have to press: Crtl + D ( The same as: View > Display Values as Raw Data )
Now you see all the raw dates of every unit > every item > every ability.

As you see in the Trigger Editor of this system, the trigger starts with putting every stuff into constants. Now you have just replace the code parts ( 'A000' - I004' - 'h002' ) with you codes. Because you use other items ( so they have a different raw code as well )

Edit: Pharao is talking about this "This spell is rejected and can cause errors." ... This means that the spell maybe can force an error. But I tested some around ... hmm maybe the error chance is 0.1% :wsmile: ( Ahh I found an error: If you stop cooking at 104% the meat is burned - tooltip says it's burned at 105% ... )
 
okay, but i get like 102 errors. I changed all rawcodes but i get errors like:
"Expected end of line"
"Expected end loop"
"Expected a name"
"Expected a Variable name"
"Expected a Fuction name"

only those types of errors i get. In the download file of the system i dont get those errors
 
you simply haven't synced your data properly, at least it sounds that way. every function takes something and returns something. like for instance, A boolean comparison ie (triggering unit is a structure equal to true) takes boolean and returns boolean.
if the first value was not defined or incorrect, it would say something like "Expected a boolean" You need to go over all of your triggers and make sure everything is correct. If you have any red flags, you will know you need to fix that trigger.
 
Status
Not open for further replies.
Back
Top