Using two saving/loading systems in the same map...

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Luciferianism
Senior Member
Posts: 112
Joined: November 8th, 2008, 4:38 am
Title: God

Using two saving/loading systems in the same map...

Post by Luciferianism »

(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.
User avatar
Luciferianism
Senior Member
Posts: 112
Joined: November 8th, 2008, 4:38 am
Title: God

Re: Using two saving/loading systems in the same map...

Post by Luciferianism »

...Still need an answer.
Vesper77
Member
Posts: 73
Joined: May 28th, 2008, 5:20 am

Re: Using two saving/loading systems in the same map...

Post by Vesper77 »

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: Select all

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: Select all

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: Select all

    // ------------------------
    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.