wc3edit.net

United Warcraft 3 map hacking!
It is currently January 6th, 2009, 6:07 am

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Using two saving/loading systems in the same map...
PostPosted: November 11th, 2008, 6:29 am 
Offline
Senior Member
User avatar

Joined: November 8th, 2008, 4:38 am
Posts: 114
Title: God
(I didn't think that title would fit... damn...)

Anyways, back to the point of this thread.

Would you be able to use two different saving/loading systems in a map for different units?
For example... There are 3 maps...
Map A, B, and C.

Codes from map A work on B, and I am making map C. I want the codes from maps A and B to load on C (I will add
all the things needed for the heroes), BUT, I also want map C to have it's OWN system and units that will load.
So even though you can't pick the heroes from map A and B on C, you can load them (They will be in WE, of course,
just not pick-able on the map, being loaded from maps A and B's loading system) while map C's loading system would
load the NEW heroes added into map C.

_________________
Image
TCO Alpha v2.8 Hacked
TBR v1.34b (Winter Edition) Hacked
Requesting rules


Top
 Profile  
 
 Post subject: Re: Using two saving/loading systems in the same map...
PostPosted: November 29th, 2008, 5:25 pm 
Offline
Senior Member
User avatar

Joined: November 8th, 2008, 4:38 am
Posts: 114
Title: God
...Still need an answer.

_________________
Image
TCO Alpha v2.8 Hacked
TBR v1.34b (Winter Edition) Hacked
Requesting rules


Top
 Profile  
 
 Post subject: Re: Using two saving/loading systems in the same map...
PostPosted: December 7th, 2008, 12:08 am 
Offline
Member

Joined: May 28th, 2008, 5:20 am
Posts: 35
Yes you can, if you want heroes and items from maps A and B loadable into map C.
You will need to recreated EVERY hero and item you want to have in map C. Once you've done that you need the raw codes to make them saveable.

Say for example that this is your save trigger that saves ONLY specific heroes:
Code:
function Trig_Class_Array_Setup_Actions takes nothing returns nothing
    set udg_Class_List_Array_BitsRq = 5
    // ------------------------
    set udg_Temp_Integer = 0
    set udg_Class_List_Array[udg_Temp_Integer] = 'Hpal'
    // ------------------------
    set udg_Temp_Integer = ( udg_Temp_Integer + 1 )
    set udg_Class_List_Array[udg_Temp_Integer] = 'Hamg'
    // ------------------------
    set udg_Temp_Integer = ( udg_Temp_Integer + 1 )
    set udg_Class_List_Array[udg_Temp_Integer] = 'E003'

Lets call the 'Hpal, 'Hamg' and 'E003' = Your hero raw codes. If you want to do a item save this is the exact same except with different wordings
Code:
function Trig_Item_Array_Setup_Actions takes nothing returns nothing
    set udg_Item_List_Array_BitsRq = 6
    // ------------------------
    set udg_Temp_Integer = 0
    // First Item in list Must be NO ITEM!!!!
    set udg_Item_List_Array[udg_Temp_Integer] = GetItemTypeId(null)
    // ------------------------
    set udg_Temp_Integer = ( udg_Temp_Integer + 1 )
    set udg_Item_List_Array[udg_Temp_Integer] = 'I00P'

All you need to do is copy and paste this part:
Code:
    // ------------------------
    set udg_Temp_Integer = ( udg_Temp_Integer + 1 )
    set udg_Item_List_Array[udg_Temp_Integer] = 'I00P'

Remove the "I00P" and put in your raw item code. Same with the hero save trigger listed above. Hoped this helped. :D

Edit : This save system is pretty simple, if its different from yours, all you need to do is find the 4 digit raw code, copy and paste it in the pattern your save system (like show above) and change it do your specific hero / item.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Privacy Policy Statement
Impressum (German)