Staredit Network

Staredit Network -> UMS Assistance -> about that save/load character code...
Report, edit, etc...Posted by retardedwhale on 2007-02-02 at 21:41:58
Still needing some help on that save/load code @_@ so Can any1 tell me everything they know about this system, n how to do it? i dun understand all the tutorials on how to do this @_@ and i want to know in much simpler words >.<
Report, edit, etc...Posted by Falkoner on 2007-02-02 at 21:53:29
Okay, you set different death counts depending on which beacon they go to, so they go to spot one, then 2, then 3, and 4, and 5, then depending on which one they hit you add that amount to a different death count so the conditions for one save would be, if dc1 has 1 death, dc2 has 2, dc3 has 4, and dc5 has 5, then start them out at X point in the map, and also have a beacon that says 'Nevermind', so if they don't know a code they can go there and start the map.
Report, edit, etc...Posted by retardedwhale on 2007-02-02 at 22:09:41
mannnnnnnnnnnnnnnnn, how much trigs will this save/load code take?
Report, edit, etc...Posted by Fwop_ on 2007-02-02 at 22:24:56
QUOTE(retardedwhale @ Feb 2 2007, 08:09 PM)
mannnnnnnnnnnnnnnnn, how much trigs will this save/load code take?
[right][snapback]622467[/snapback][/right]


Xuru took around 170, while LoA took maybe over 600 but was 100x better. It just depends on how you do the system and what you want to be saved for it.
Report, edit, etc...Posted by retardedwhale on 2007-02-02 at 22:30:06
O.O thats alot of triggers. Hey fwop u made those maps, so how about tell me exactly what u did to make it work :-O (sry if im rude for asking >.<)
Report, edit, etc...Posted by Pyro-Fire on 2007-02-02 at 23:04:16
trigger duplicator would be your best investment.
Report, edit, etc...Posted by Falkoner on 2007-02-02 at 23:32:22
I'm pretty sure those other ones used triggers to detect if a wrong code was used, my way you would only need a few triggers for the first part, then one trigger per combination, and if you can't get it right on the first five then you don't get anything.

There are 3125 combinations you can have with 5 locations and 5 numbers, so it would be really annoying to set up a trigger system to detect when you put in a wrong combo.
Report, edit, etc...Posted by retardedwhale on 2007-02-03 at 01:22:12
im so confuzzled @_@ i mean.. i think i get it but i dont but think i do but cant really do it but know i can but think i dont know but i do but not really but... @_@ so confuzzled... I DONT GET IT I DONT GET IT I DONT GET IT angry.gif

ADDITION:
well what i really mean is i KINDA understand what to do, but i dont know how to do it, or atleast thats what i think i mean @_@ sorry if im causing any of u trouble, but i need like some kind of funny example to explain exactly whats going on n what to do, in some cool funlike way, thats just how i am >.< so sorry
Report, edit, etc...Posted by Dark_Marine_123 on 2007-02-03 at 01:45:00
QUOTE(Fwop_ @ Feb 2 2007, 10:24 PM)
Xuru took around 170, while LoA took maybe over 600 but was 100x better.  It just depends on how you do the system and what you want to be saved for it.
[right][snapback]622475[/snapback][/right]


And I thought you said 10,000 triggers shifty.gif
Report, edit, etc...Posted by retardedwhale on 2007-02-03 at 05:28:59
o.O ...
Report, edit, etc...Posted by Ahli on 2007-02-03 at 07:05:25
I would make a few beacons:

DC
+1
+10
+100
+1.000
+10.000

if player has more than 99.999 deaths, set it to 0 again.

a mineral field or a vespin geysir to show the player the current amount of DC.
(add/substract/set to 0)

and a beacon to set the DC to 0...

and a beacon to compare your current amount of deaths with your triggers:

choser unit on the field and the right DC -> action
(you should do with always totally diffrent DC)

if nothing changed after the comparing, set everything to 0 and reset the choser.



this example has 100.000 possibilitys, so it's hard to guess the right DCs.

You need 8 locations and 1 death count from a unit.

this system needs 8 triggers + your "you got a right number"-triggers


So everything depends on how much you want to save...
Report, edit, etc...Posted by Falkoner on 2007-02-03 at 08:59:26
I would have 5 beacons - (#), and one civilian - & and a 'I Don't Know Beacon' - (?)

(1) (2) (3) (4) (5)

& (?)

Step 1:Now, if the civilian goes to beacon one, then set a death count for a ragnasaur to 1, and set switch 1

Step 2: If the civilian goes to beacon 2, and switch 1 is set, add 2 death counts for kakaru and set switch 2

Step 3: If civilian goes to beacon 3 and switch 2 is set, add 3 death counts for independant starport and set switch 3

Step 4: If civilian goes to beacon 4 and switch 3 is set, add 4 death counts for independant command center and set switch 4

Step 5: If civilian goes to beacon 5 and switch 4 is set, add 5 death counts for cargo gunship and set switch 5

Step 6: If switch 5 is set, and there is 1 death for ragnasaur, 2 for kakaru, 3 for independant starport, 4 for independent command center, and 5 for cargo gunship, then bring them to this point in the game.

Step 7: If civilian goes to 'I Don't Know' beacon, then start then out at the beginning of the map

--------------------------------------------------------------------------------------------

Okay, so if they don't know a password, then after they try a random one, they have to go to the 'I Don't Know' Beacon, most other systems detect if they put in a wrong password, and therefore have to make triggers for most of the wrong ones too, this way, if they know a password, then they enter in and they get a result, if they don't know one, then nothing happens, this might take around 50 triggers.
Report, edit, etc...Posted by Ahli on 2007-02-03 at 12:16:36
and how you want to add more right possibilities???

and if u know 1 password, u can think of the others...
Report, edit, etc...Posted by Falkoner on 2007-02-03 at 13:43:34
??? What you mean? you simply add a different death count to each unit depending on which beacon they choose. Then you just add more combos by adding more combinations.
Report, edit, etc...Posted by retardedwhale on 2007-02-03 at 17:53:48
so what about the minerals? say if i wanted the exact ammount of minerals to be saved... how do i do that?
Report, edit, etc...Posted by Dark_Marine_123 on 2007-02-03 at 17:58:07
5 death counters, set one for each place, ones tens hundreds.

Encode it in some strange 7 digit code so nobody guesses ;( then take like the 2 4 5 6 7 digit from the code they put in, and set the minerals back to what the number was givin.
Report, edit, etc...Posted by retardedwhale on 2007-02-03 at 18:03:31
@_@ so confusing..
and the heros level, say the max is 40, u gotta make a trigger for each level rite?
Report, edit, etc...Posted by Falkoner on 2007-02-03 at 19:58:41
Yes, you would, and then depending on which code they put in it brings them to a different level, you don't NEED a code for each level, but you can have one if you want to, I would personally do one like every 5 levels.
Report, edit, etc...Posted by retardedwhale on 2007-02-03 at 20:05:14
bleh, i could save time by making the max level to 20 smile.gif but damn will it really take like 500 triggers or sumthing? i wish it was more like wc3 >.<
Report, edit, etc...Posted by Falkoner on 2007-02-03 at 22:43:48
No, not 500, the ones with 500 have that many because they also detect if you put in a wrong password.
Report, edit, etc...Posted by retardedwhale on 2007-02-04 at 04:32:11
oo okay biggrin.gif ... i still dont understand how make it save the exact ammount of money
Report, edit, etc...Posted by Falkoner on 2007-02-04 at 09:32:12
There is no way, just an estimation, I'd play the map myself, and find out how many minerals have at each level.
Report, edit, etc...Posted by Oo.l3ahamut.oO on 2007-02-04 at 11:37:04
QUOTE(Falkoner @ Feb 4 2007, 09:32 AM)
There is no way, just an estimation, I'd play the map myself, and find out how many minerals  have at each level.
[right][snapback]623070[/snapback][/right]


Well using binary countoffs (suggested in almost every post here) you can break up the minerals into smaller single digit dcs such as...

At least 10000
at most 99999
----------------
subtract 10000
add 1 to dc1

at least 1000
at most 9999
---------------
subtract 1000
add 1 to dc2

and then...
3 digits...
2 digits...
and...

At least 1
at most 9
-----------
subtract 1
add 1 to dc5

That would break it up but I see a problem entering it back as a code. People will know what to set the numbers to unless you change each of the dcs to a different number like 3=7, youd have to mix it up.

I think the harder part is figuring out how you plan on adding that to say... charcer level, spells, and whatever else you are going to need to save. figuring you already have 5 dc, youd need 2 for level and X for spells depending on who has how many.
Report, edit, etc...Posted by retardedwhale on 2007-02-05 at 18:27:27
ok... @_@ yah im kinda confuzzled rite now @_@
Report, edit, etc...Posted by SomeIdiotNerd on 2007-02-05 at 20:04:12
that method was kind of like Tux's way.

I think that there should be a tutorial posted up on this, as soon as we find the best method.
Next Page (1)