Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Show Leaderboard: Resources
Show Leaderboard: Resources
Dec 24 2008, 2:54 pm
By: SevGaming
Pages: < 1 2 3 >
 

Dec 31 2008, 12:22 am ForTheSwarm Post #21



That is physical, something that SevGaming doesn't want, and it interferes with the player's game (you're taking away their resources, even if only for a second).



None.

Dec 31 2008, 12:22 am NudeRaider Post #22

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from name:Epoch
Hehehe, silly Raider, share the resources, like when you mine 8, get 2 instead. Use binary countoffs to compare :D
What are you talking about? We're still discussing the method he's going to use (or rather not). Of course the mineral sharing will be done via binary count-offs. But that's not the point.
And he said no to anything physical, so there will be no civ.




Dec 31 2008, 12:24 am Kaias Post #23



Quote from name:Epoch
Hehehe, silly Raider, share the resources, like when you mine 8, get 2 instead. Use binary countoffs to compare :D

What you CAN do is have the option to switch it on and off, like move a civilian to a location or something. When that civilian gets to the beacon, you subtract all of the players resources, add death counters as you go, then add those death counters back as minerals. But, if you do it like this:

Trigger
Players

  • (Observers)
  • Conditions

  • Current Player Brings at least 1 civilian to (location x)
  • Actions

  • Subtract 1 Mineral for Player x
  • Add 1 (death) for Player x
  • Add 1 mineral for current player


  • ^(Wtf? Broke?)

    It won't work. Instead, use binary count offs to make it instant. If you would like, I could create a simple map that could do this for you.
    [See map attached] http://www.staredit.net/116872/



    None.

    Dec 31 2008, 6:07 pm Conspiracy Post #24



    Quote from ForTheSwarm
    That is physical, something that SevGaming doesn't want, and it interferes with the player's game (you're taking away their resources, even if only for a second).

    A SECOND? Wow, that wouldn't even take milliseconds.

    Quote from NudeRaider
    Quote from name:Epoch
    Hehehe, silly Raider, share the resources, like when you mine 8, get 2 instead. Use binary countoffs to compare :D
    What are you talking about? We're still discussing the method he's going to use (or rather not). Of course the mineral sharing will be done via binary count-offs. But that's not the point.
    And he said no to anything physical, so there will be no civ.

    Fine, then we could do it on a timer. Every five seconds it will switch or something.



    None.

    Dec 31 2008, 6:12 pm NudeRaider Post #25

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Quote from name:Epoch
    Quote from ForTheSwarm
    That is physical, something that SevGaming doesn't want, and it interferes with the player's game (you're taking away their resources, even if only for a second).

    A SECOND? Wow, that wouldn't even take milliseconds.
    For all intends and purposes it will happen instantly. The player will not notice it, it will not cause build orders to cancel or anything.
    All happens within a single trigger loop, and while triggers are being processed there's no game time passing.

    But 1 thing I'm not sure of: It could affect the resource score. So the screen after the game would show wrong (much higher) values.




    Dec 31 2008, 6:47 pm ForTheSwarm Post #26



    Quote from NudeRaider
    Minerals/Gas of the obs represent the resources of 1 player, and are switching to the other player in 10s intervals.
    Use the leaderboard, the countdown timer, or a display text action to show the obs whose resources he's observing.

    I don't think this is a horrible idea.



    None.

    Dec 31 2008, 6:57 pm Devourer Post #27

    Hello

    Quote from ForTheSwarm
    Quote from NudeRaider
    Minerals/Gas of the obs represent the resources of 1 player, and are switching to the other player in 10s intervals.
    Use the leaderboard, the countdown timer, or a display text action to show the obs whose resources he's observing.

    I don't think this is a horrible idea.

    Well...
    here's my idea:
    you get 4 messages
    P1 Minerals
    P1 Gas
    P2 Minerals
    P2 Gas


    The amount is rounded by each 100
    so.. for example P1 Gas: 100-200 or 200-300
    because you don't need the exactly amount... 100 or 10 counts are working as well.
    Thats my suggestion.



    Please report errors in the Staredit.Network forum.

    Dec 31 2008, 7:02 pm Kaias Post #28



    Quote from Devourer
    Quote from ForTheSwarm
    Quote from NudeRaider
    Minerals/Gas of the obs represent the resources of 1 player, and are switching to the other player in 10s intervals.
    Use the leaderboard, the countdown timer, or a display text action to show the obs whose resources he's observing.

    I don't think this is a horrible idea.

    Well...
    here's my idea:
    you get 4 messages
    P1 Minerals
    P1 Gas
    P2 Minerals
    P2 Gas


    The amount is rounded by each 100
    so.. for example P1 Gas: 100-200 or 200-300
    because you don't need the exactly amount... 100 or 10 counts are working as well.
    Thats my suggestion.
    May as well give exact figures, this'd be less convenient and more monotonous to trigger.



    None.

    Jan 2 2009, 11:28 pm iCafeMoto Post #29



    Wow people, you gotta think out of the box.

    It IS VERY possible to only display minerals/gas to ONLY the observers: You simply need to use an EUD condition that is only true for the observers.

    This won't cause a desync because the action to display leaderboards isn't shared with other people.

    Here's the trigger. Put it under "All Players", you don't need to understand it, just copy it exactly into Starforge. Make sure you modify your Starforge to use EUD triggers. If you dont know how to do this, ask someone else on this forum.

    Condition:
    Deaths(P8, AtLeast, 788594736, 22010);
    Deaths(P8, AtMost, 788607239, 22010);

    Action:
    Comment("Minerals/Vespene");
    LeaderBoardGreed(0);


    This trigger shows Leaderboard to players with 0 to 1 supply, so even normal melee players that once they kill their scvs, get to see mineral/vespene.

    If you need help on anything else, my msn is spartan-119@hotmail.com
    I'm maker of intra v1.2, Kah v2.0, and AH v1.4 obs/ah maps



    EDIT: If you or anyone uses this trigger, please give me some credit because I'm a genius and people need to know.

    Post has been edited 1 time(s), last time on Jan 7 2009, 2:06 pm by NudeRaider. Reason: fixed english, removed insults



    None.

    Jan 2 2009, 11:48 pm NudeRaider Post #30

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Quote from iCafeMoto
    it IS VERY possible to only diplay minerals/gas to ONLY the observers.... u simply need to use an EUD condition that is only true for the observers...
    Is this tested? Because the leaderboard display I know has only to be run by one player to be seen by every player.




    Jan 3 2009, 12:08 am iCafeMoto Post #31



    yes it's tested i have it on my play/obs + antihack map

    Quote
    "Is this tested? Because the leaderboard display I know has only to be run by one player to be seen by every player."

    Leaderboard only displays for players that condition is TRUE for, EUD conditions aren't shared by other players, so leaderboard won't be shared either

    Post has been edited 2 time(s), last time on Jan 3 2009, 12:13 am by iCafeMoto.



    None.

    Jan 3 2009, 10:17 am Wormer Post #32



    Quote
    Leaderboard only displays for players that condition is TRUE for
    This is not right.
    Quote
    the leaderboard display I know has only to be run by one player to be seen by every player.
    Only if soemthing special with EUD might cause it not to display, but I have not got much trust... With the same success you can use any other condition which is TRUE only for observers, like "Current player commands exactly 0 buildings" or any other. I dont understand what makes EUD special in this case.



    Some.

    Jan 3 2009, 11:45 am NudeRaider Post #33

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    This was what threw me off at first too.
    But I thought about it, and it makes sense. Every player is running his very own copy of starcraft. Only kept in synch by a few player inputs. That means, that the sc of a player not owning a trigger still must execute the instructions.
    But the EUD makes sure that the players see a false condition, and thus their copy of triggers do not run the leaderboard trigger while the observers see a true condition and run the trigger. Ironically you could even give this trigger to the players and it would still work.

    We must admit iCafe is a dipshit when it comes to personality, but he certainly knows a lot about EUDs.

    The only problem I see here is that Mac users are not able to participate in the Tournament if SevGaming uses that for the maps.

    Post has been edited 1 time(s), last time on Jan 3 2009, 11:50 am by NudeRaider.




    Jan 7 2009, 1:25 pm Wormer Post #34



    Hmm... :D This really makes sense, Nude! Thanks for explanation!

    Quote from iCafeMoto
    if u or anyone uses this trigger, plz give me some credit cuz im a genius and people need to know...
    You're a genius! :)

    Fine, I wanna try this myself. Can anyone explain me please how to modify Starforge to accept integer values instead of Units? Couldnt find anything in tutorials/SF help :unsure: Btw, I thought SCMD text trigger editor would accept values instead of units, wont it?



    Some.

    Jan 7 2009, 1:53 pm NudeRaider Post #35

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Quote from Wormer
    Hmm... :D This really makes sense, Nude! Thanks for explanation!

    Quote from iCafeMoto
    if u or anyone uses this trigger, plz give me some credit cuz im a genius and people need to know...
    You're a genius! :)

    Fine, I wanna try this myself. Can anyone explain me please how to modify Starforge to accept integer values instead of Units? Couldnt find anything in tutorials/SF help :unsure: Btw, I thought SCMD text trigger editor would accept values instead of units, wont it?
    You can use ScmDraft. The classic trigger editor supports EUDs, the text editor NOT.
    When entering unit IDs make sure to use EXACTLY the following format (without ""): "ID:####<Enter>"




    Jan 7 2009, 2:29 pm Wormer Post #36



    Quote from NudeRaider
    You can use ScmDraft. The classic trigger editor supports EUDs, the text editor NOT.
    When entering unit IDs make sure to use EXACTLY the following format (without ""): "ID:####<Enter>"
    Ah, I remeber SCMD was accepting numbers!.. but I tried to type like this: "####<Enter>" and it wasn't working :><:
    Catching myself on an idea I'm starting to forget some things about mapmaking :dontgetit: That is sad...
    I'm just curious if you know how to modify SF to accept numbers?



    Some.

    Jan 7 2009, 4:18 pm NudeRaider Post #37

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Just that there's no misunderstanding, here's an example:
    You choose deaths as condition and in the unit type field you enter this:
    ID:1000
    then press enter, instead of clicking somewhere

    And no, I don't use SF hence I haven't noted the way to modify it. All I remember is that you have to edit some file which contains readable text obviously and replace something. Unit node with unit ID or something along those lines.
    We had a few topics that explained that, maybe search gives you more precise info.




    Jan 7 2009, 4:54 pm Wormer Post #38



    Quote from NudeRaider
    Just that there's no misunderstanding, here's an example:
    You choose deaths as condition and in the unit type field you enter this:
    ID:1000
    then press enter, instead of clicking somewhere
    Yeah, thanks! I've made a test map and it really works :rolleyes:

    Quote from NudeRaider
    All I remember is that you have to edit some file which contains readable text obviously and replace something. Unit node with unit ID or something along those lines.
    You remember right! I've found that to configure you should edit the Data\Conditions.lst text file under the SF direcotory.
    Find there the string which describes Deaths conditions parameters:
    Condition Deaths(Player Player, Comparison Comparison, Number Number, Unit Unit)
    And replace Deaths condition signature with the following:
    Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)
    After this SF will accept numbers as units.




    Jan 7 2009, 5:29 pm NudeRaider Post #39

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Quote from Wormer
    Quote from NudeRaider
    All I remember is that you have to edit some file which contains readable text obviously and replace something. Unit node with unit ID or something along those lines.
    You remember right! I've found that to configure you should edit the Data\Conditions.lst text file under the SF direcotory.
    Find there the string which describes Deaths conditions parameters:
    Condition Deaths(Player Player, Comparison Comparison, Number Number, Unit Unit)
    And replace Deaths condition signature with the following:
    Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)
    After this SF will accept numbers as units.
    Glad you found it despite my vague description. :D




    Jan 7 2009, 11:58 pm iCafeMoto Post #40



    btw that trigger i wrote here doesn't work all the time.. It only works when a player starts out with 4 scvs or other units, and kill their scvs to have 0 or 1. It runs on the psi text 1/10 or 0/10 in upper right. Trigger I posted will not show Greed Leaderboard for observers who did not start out with 4 scvs (unless they started out with 4 scvs in the previous game and value wasn't reset). (It is because they don't have a PSI counter in top right)

    I have a different trigger for displaying to obs that start out with 0/0, but I think u should make up your own cuz a lot of ppl steal my ideas/triggers (aka brontobyte and his "AH Triggers" ROFL... that i made + thought of) and i get annoyed by them.

    And if anyone was wondering, yes I have new Antihack triggers that are 100% antihack unlike my old 1's that brontobyte jipped from me with osmap and posted here.... without giving me credit. New ah triggers actually detect maphack from source.. (not like my old 1's that used text detection to detect maphack.... Maphack: Full, Maphack: Lite, Etc). well.. im not 100% done with my new ah triggers.. im actually 99% done. I'm going to be more famous/popular for these ah triggers than when i released intra v1.2 ah triggers.......... ROFL thx



    None.

    Options
    Pages: < 1 2 3 >
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [10:00 am]
    KrayZee -- :0
    [09:36 am]
    Suicidal Insanity -- They just have a discord for posting even more memes than they post here ;(
    [08:20 am]
    SiKiN -- You guys have a testing group for maps? Or a discord?
    [06:34 am]
    MasterJohnny -- Zoan
    Zoan shouted: guys im going to China in 2 days
    Bring dust mask things and a mosquitoes net. If anyone asks nothing happened on June 4 1984.
    [06:34 am]
    O)FaRTy1billion[MM] -- NudeRaider
    NudeRaider shouted: FaRTy1billion I'm wondering: Does extended anything (like place extended units for supply) count as euds (i'd guess no)? Do these overflows still work?
    I'm pretty sure all extended units and extended players were fixed
    [06:14 am]
    Pr0nogo -- I mean I get people not wanting to put in the work, it's not easy, but then they'll say as much without people whining in the shoutbox about my posts
    [06:14 am]
    Pr0nogo -- in this case quality is my priority, so... yeah, you should share that LMAO
    [06:13 am]
    Pr0nogo -- I was just snarking at dem0n with that response anyways, but i don't think you can argue that deliberately handicapping your work within sc's engine means you don't care as much about quality
    [06:13 am]
    Pr0nogo -- NudeRaider
    NudeRaider shouted: Pr0nogo still turning a blind eye for the reason map making is more widespread than modding just insults your intelligence. It's an almost autistic view to demand that everyone shares your priorities.
    i am autistic
    [05:58 am]
    NudeRaider -- Pr0nogo
    Pr0nogo shouted: Dem0n people should probably stop just making maps
    still turning a blind eye for the reason map making is more widespread than modding just insults your intelligence. It's an almost autistic view to demand that everyone shares your priorities.
    Please log in to shout.


    Members Online: Roy, Brusilov, Nekron, sadus111564, jun3hong