Ambrosia Garden Archive
    • Now that we know the capture algorithm, perhaps a small utility should be created capable of loading stats for two different ships (perhaps even loading ships from a plug-in and allowing you to choose) and comparing those ships with different variables (e.g. X percent shields, +X number of marines, etc).

      E.G. Choose ship A from the drop-down menu, choose ship B from the drop-down menu, make any changes, click 'Compute', get an approximate average capture value range (5% on either side to compensate for random chance).

      I think such a tool could be useful for scenario design and ship-balance...I'd make it myself, but I'm completely programming-illiterate, but from what I've gleaned, it wouldn't be a terribly difficult task.

      Any thoughts?

      ------------------
      (url="http://"http://www.geocities.com/ue_rd")Fatal Alliance- an upcoming quasi-TC for EVN.(/url)
      Secret Project: Nearing Completion. (No links available)
      Visit the (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=20&SUBMIT;=Go")Chronicles(/url) today! Be sure to read the short story ' (url="http://"http://www.ambrosiasw.com/cgi-bin/ubb/newsdisplay.cgi?action=topics &number;=20&forum;=*EV/EVO+chronicles&DaysPrune;=100&article;=000262&startpoint;=")Fiery Descent(/url)'!
      (url="http://"http://www.cwssoftware.com")Sephil Saga(/url): An upcoming TC, visit the web page today.| || Both the best and the worst plug-in editor for Windows! (url="http://"http://www.aznt.com/EVN/EVNEW")EVNEW(/url)!

    • Wouldnt be hard to do at all. If anyone makes it (i would, cept there arnt any programming languages that I am good enough in to both import ship data from a file, and have a GUI), it should pull in ship data from a ConText (or EVNEW-text, if it's for windows), so it could be used by plugmakers.
      -Az

      ------------------
      It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)

    • I've been in contact with Matt regards high-value capturing. I think it's going to fall into the "why are you doing that in the first place" category, ie. probably a Bible change along the lines of "don't make crew figures bigger than 'x'".

      Yes, we're really tired of making fixes to this game for esoteric issues. 🙂

      all the best,

      Dave @ ATMOS

    • Quote

      Originally posted by pipeline:
      Yes, we're really tired of making fixes to this game for esoteric issues.:)

      When I put a .rez extenstion on a nine hundred megabyte TIFF image of a pot of yoghurt and load it as a plugin, Nova crashes. I hope you're going to fix this bug soon.

      ------------------
      (url="http://"http://www.mazca.com/")Mazca(/url) , Moderator, (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/forumdisplay.cgi?action=topics&number;=9&SUBMIT;=Go&urgaylol;=yes")EV Developer's Corner(/url)
      look through a faithless eye - are you afraid to die?

    • :raises his eyebrows: Yogurt? What are we talking about?

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

    • Quote

      Originally posted by Mazca:
      **When I put a .rez extenstion on a nine hundred megabyte TIFF image of a pot of yoghurt and load it as a plugin, Nova crashes. I hope you're going to fix this bug soon.

      **

      I've noticed that if I press apple-q in-game and hit return, Nova quits for no reason. That needs fixing, too. 🙂

      ------------------
      The programmer's code of entomology: there's always another bug.
      Microsquash™ Winblows™ users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)

    • Okay, guys. The joke was bad the first time. 🙂

      Dave @ ATMOS

    • Hmmm... Its kind of too bad, because I think the large crew values are more realistic for truely massive capitol ships, especially if they are outfitted spesificly to capture.

      Could someone better than I am with binary/hex tell me what the maximum crew one can have and be able to capture a 1 crew fighter without this occuring?
      Thanks
      -Az

      ------------------
      It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)

    • Quote

      Originally posted by Azratax2:
      **Hmmm... Its kind of too bad, because I think the large crew values are more realistic for truely massive capitol ships, especially if they are outfitted spesificly to capture.

      Could someone better than I am with binary/hex tell me what the maximum crew one can have and be able to capture a 1 crew fighter without this occuring?
      Thanks
      -Az

      **

      That's easy. It's 3279. Since 32767 is the largest number a 2-byte signed integer can hold, and (3279 / (1 * 10)) * 100 = 327 * 100 = 32700, and when you do integer division on a computer, the remainder gets truncated. Anything larger than that will give an overflow.

      ------------------
      Get (url="http://"http://www.aznt.com/EVN/EVNEW")EVNEW(/url) - the free, open-source plugin EVN Editor for Windows!

    • Quote

      Originally posted by Aprosenf:
      That's easy. It's 3279. Since 32767 is the largest number a 2-byte signed integer can hold, and (3279 / (1 * 10)) * 100 = 327 * 100 = 32700, and when you do integer division on a computer, the remainder gets truncated. Anything larger than that will give an overflow.

      Remember to tally up 1/10th of all your warship escort crews as well.

      all the best,

      Dave @ ATMOS

    • Quote

      Originally posted by pipeline:

      **Remember to tally up 1/10th of all your warship escort crews as well.

      all the best,

      Dave @ ATMOS**

      In that case, make it 3200 or an even 3000 just for breathing room.

      ------------------
      "Before you judge someone, walk a mile in their shoes. That way, when you judge them, you're a mile away and you have their shoes." -Eric Drobile
      (url="http://"http://www.livejournal.com/~rootski")Rootski's Blog(/url) | (url="http://"http://www.AmbrosiaSW.com/games/evn/addons.html")Free Stuff That's Still Overpriced(/url) | (url="http://"http://www.winternet.com/~mikelr/flame1.html")Webboard Personality Test(/url) | (url="http://"http://www.evula.com")World Domination HQ(/url) | (url="http://"http://www.joecartoon.com")Yield to Immaturity(/url) | (url="http://"http://www.newgrounds.com")Prepare to be Offended!(/url) | (url="http://"http://macaddict.com")A Better Machine, a Better Magazine(/url) | (url="http://"http://www.maximonline.com")Sex, Gear, Sports, Entertainment, More Sex(/url) | (url="http://"http://homepage.mac.com/neonsoldierx/PhotoAlbum3.html")Sephil Saga(/url) | (url="http://"http://www.theonion.com")Because Turnips Suck(/url) | (url="http://"http://homepage.mac.com/neonsoldierx/.Pictures/studmuffin.jpg")Neon's Mug Shot(/url)

    • Do fighters count?

      ------------------
      Time flows faster on the sun.
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url)
      (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

    • Quote

      Originally posted by Artanis:
      **Do fighters count?
      **

      If they have only 1 crew, then you could never have enough as escorts to tip you over the "1 extra crew" mark (since you only get 10% of that figure).

      If you're talking about carried fighters, I don't believe they count.

      all the best,

      Dave @ ATMOS

    • Quote

      Originally posted by pipeline:
      **

      Quote

      Originally posted by Artanis:
      **Do fighters count?
      **

      If they have only 1 crew, then you could never have enough as escorts to tip you over the "1 extra crew" mark (since you only get 10% of that figure).

      If you're talking about carried fighters, I don't believe they count.

      all the best,

      Dave @ ATMOS**

      Based on EVN's system of calculation I find it unlikely as well that they count, since I sincerely doubt the engine looks within a ship's outfits and into each individual one to look for crew calculation. Maybe it does with some kind of running tally, but it seems like that would be a lot of uneccessary work for only a few guys here and there anyways.

      Besides, pilots are wussies- they wouldn't want to be on a boarding party anyways. That's for the tougher dudes. 🙂

      _bomb

      ------------------
      "that'll be 15 cents hippie!"

    • Quote

      Originally posted by Bomb:
      **Based on EVN's system of calculation I find it unlikely as well that they count, since I sincerely doubt the engine looks within a ship's outfits and into each individual one to look for crew calculation. Maybe it does with some kind of running tally, but it seems like that would be a lot of uneccessary work for only a few guys here and there anyways.

      Besides, pilots are wussies- they wouldn't want to be on a boarding party anyways. That's for the tougher dudes. 🙂

      _bomb

      **

      I dunno about that, Bomb. I mean, you could tell some pathetic fighter to go after a massive warship and it would try to take it (dumbass :)). Or did you mean they were scared of face-to-face combat?

      ------------------
      The programmer's code of entomology: there's always another bug.
      Microsquash™ Winblows™ users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)

    • Quote

      Originally posted by Azratax2:
      **Wouldnt be hard to do at all. If anyone makes it (i would, cept there arnt any programming languages that I am good enough in to both import ship data from a file, and have a GUI), it should pull in ship data from a ConText (or EVNEW-text, if it's for windows), so it could be used by plugmakers.
      -Az
      **

      (url="http://"http://www.evula.org/artanis/EVNOdds.html")Capture Odds Calculator!(/url)
      And all you need is (url="http://"http://www.macromedia.com")Flash 7(/url)!
      ...and all your stats... and your opponent's stats... But it works!
      You need to know your strength, crew, your escorts strength & crew, and your opponent's strength & crew. Then click Calculate. It gives you the minimum odds (worst case in the random step, -5) and maximum odds (best case in the random step, +5)

      It's not entirely accurate, as it can't/won't overflow, so your large-crew ships calculate to 75% odds.

      For those that know more flash than me, I put the .swf up for download (you need Flash MX 2004.) Feel free to make the document open ship data into menues ect. Then tell me so I can update the page where this is and give you credit.

      As far as I can tell, it's fairly bugless. Tell me if you find one.

      (Edit: sig update)
      ------------------
      "Time flows faster on the sun..." - Me; result of too much free time.
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url) | (url="http://"http://www.evula.org/artanis/EVNOdds.html")EVN Capture Odds Calculator(/url)
      (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

      (This message has been edited by Artanis (edited 11-28-2003).)

    • Quote

      Originally posted by Artanis:
      **Capture Odds Calculator!
      And all you need is Flash 7!
      ...and all your stats... and your opponent's stats... But it works!
      You need to know your strength, crew, your escorts strength & crew, and your opponent's strength & crew. Then click Calculate. It gives you the minimum odds (worst case in the random step, -5) and maximum odds (best case in the random step, +5)

      It's not entirely accurate, as it can't/won't overflow, so your large-crew ships calculate to 75% odds.

      For those that know more flash than me, I put the .swf up for download (you need Flash MX 2004.) Feel free to make the document open ship data into menues ect. Then tell me so I can update the page where this is and give you credit.

      As far as I can tell, it's fairly bugless. Tell me if you find one.

      (Edit: sig update)**

      Hmm...wouldn't it be better to make an HTML/JavaScript one for those idiots who don't have Flash?

      Sets to work because he's sick as hell of screwing with his Titles file

      EDIT: Dammit, can't get it to work. If anyone wants to try and finish it, here's the raw code:

      Quote

      function calculate(ship_strength,ship_crew,escort_strength_a,escort_strength_b,escort_strength_c,escort_strength_d,escort_strength_e,escort_strength_f,escort_crew_a,escort_crew_b,escort_cre w_c,escort_crew_d,escort_crew_e,escort_crew_f,marines_crew,marines_percentage,target_strength,target_crew){
      if(escort_strength_a == ""){escort_strength_a=0}
      else{escort_strength_a=eval(escort_strength_a+"/10")};
      if(escort_strength_b == ""){escort_strength_b=0}
      else{escort_strength_b=eval(escort_strength_b+"/10")};
      if(escort_strength_c == ""){escort_strength_c=0}
      else{escort_strength_c=eval(escort_strength_c+"/10")};
      if(escort_strength_d == ""){escort_strength_d=0}
      else{escort_strength_d=eval(escort_strength_d+"/10")};
      if(escort_strength_e == ""){escort_strength_e=0}
      else{escort_strength_e=eval(escort_strength_e+"/10")};
      if(escort_strength_f == ""){escort_strength_f=0}
      else{escort_strength_f=eval(escort_strength_f+"/10")};
      var escort_strength=eval(escort_strength_a+"+"+escort_strength_b+"+"+escort_strength_c+"+"+escort_strength_d+"+"+escort_strength_e+"+"+escort_strength_f);
      var strength=eval(ship_strength+"+"+escort_strength);
      if(escort_crew_a == ""){escort_crew_a=0}
      else{escort_crew_a=eval(escort_crew_a+"/10")};
      if(escort_crew_b == ""){escort_crew_b=0}
      else{escort_crew_b=eval(escort_crew_b+"/10")};
      if(escort_crew_c == ""){escort_crew_c=0}
      else{escort_crew_c=eval(escort_crew_c+"/10")};
      if(escort_crew_d == ""){escort_crew_d=0}
      else{escort_crew_d=eval(escort_crew_d+"/10")};
      if(escort_crew_e == ""){escort_crew_e=0}
      else{escort_crew_e=eval(escort_crew_e+"/10")};
      if(escort_crew_f == ""){escort_crew_f=0}
      else{escort_crew_f=eval(escort_crew_f+"/10")};
      var escort_crew=eval(escort_crew_a+"+"+escort_crew_b+"+"+escort_crew_c+"+"+escort_crew_d+"+"+escort_crew_e+"+"+escort_crew_f);
      var crew=eval(marines_crew+"+"+escort_crew+"+"+ship_crew);
      target_crew=eval(target_crew+"*10");
      target_strength=eval(target_strength+"*5");
      var sub_odds=eval(crew+"/"+target_strength);
      sub_odds=eval(sub_odds+"*100");
      var odds=eval(sub_odds+"+"+marines_percentage);
      if(strength > target_strength){var odds=eval(odds+"+10")};
      var max_odds=eval(odds+"+5");
      var min_odds=eval(odds+"-5");
      if(max_odds > 75){max_odds=75};
      if(min_odds > 75){min_odds=75};
      if(max_odds < 0){max_odds=1};
      if(min_odds < 0){min_odds=1};
      max_odds=max_odds.split(".");
      min_odds=min_odds.split(".");
      document.res_form.minodds.value=min_odds(0);
      document.res_form.maxodds.value=max_odds(0)
      }

      If anybody sees the error I keep getting, let me know.

      ------------------
      The programmer's code of entomology: there's always another bug.
      Microsquash™ Winblows™ users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)

      (This message has been edited by orcaloverbri9 (edited 11-29-2003).)

      (This message has been edited by orcaloverbri9 (edited 11-29-2003).)

    • Quote

      Originally posted by orcaloverbri9:
      **Hmm...wouldn't it be better to make an HTML/JavaScript one for those idiots who don't have Flash?

      Sets to work because he's sick as hell of screwing with his Titles file

      **

      I don't know javascript.
      Besides, you can download Flash, so there's no excuse for not having it unless your machine is incapable of running it.

      ------------------
      "Time flows faster on the sun..." - Me, result of too much free time. But I'd have 'less' on the sun.
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url) | (url="http://"http://www.evula.org/artanis/EVNOdds.html")EVN Capture Odds Calculator(/url) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

    • Quote

      Originally posted by Artanis:
      **I don't know javascript.
      Besides, you can download Flash, so there's no excuse for not having it unless your machine is incapable of running it.

      **

      I already did it. There's just one tiny bug that appears in all twelve "if this field was left blank, make it zero. Otherwise, divide it by ten" statements.

      Kicks computer

      ------------------
      The programmer's code of entomology: there's always another bug.
      Microsquash™ Winblows™ users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)

    • looks at javascript
      :eek:
      ...I love actionscripting...

      consults javascript textbook

      Javascript:
      function calculate(ship_strength,ship_crew,escort_strength_a,escort_strength_b,escort_strength_c,
      escort_strength_d,escort_strength_e,escort_strength_f,escort_crew_a,escort_crew_b,
      escort_crew_c,escort_crew_d,escort_crew_e,escort_crew_f,marines_crew,marines_percentage,
      target_strength,target_crew){
      if(escort_strength_a == ""){escort_strength_a=0}
      else{escort_strength_a=eval(escort_strength_a*0.1)};
      if(escort_strength_b == ""){escort_strength_b=0}
      else{escort_strength_b=eval(escort_strength_b*0.1)};
      if(escort_strength_c == ""){escort_strength_c=0}
      else{escort_strength_c=eval(escort_strength_c*0.1)};
      if(escort_strength_d == ""){escort_strength_d=0}
      else{escort_strength_d=eval(escort_strength_d*0.1)};
      if(escort_strength_e == ""){escort_strength_e=0}
      else{escort_strength_e=eval(escort_strength_e*0.1)};
      if(escort_strength_f == ""){escort_strength_f=0}
      else{escort_strength_f=eval(escort_strength_f*0.1)};
      var escort_strength=eval(escort_strength_a+escort_strength_b+escort_strength_c+escort_strength_d+escort_strength_e+escort_strength_f);
      var strength=eval(ship_strength+escort_strength);
      if(escort_crew_a == ""){escort_crew_a=0}
      else{escort_crew_a=eval(escort_crew_a*0.1)};
      if(escort_crew_b == ""){escort_crew_b=0}
      else{escort_crew_b=eval(escort_crew_b*0.1)};
      if(escort_crew_c == ""){escort_crew_c=0}
      else{escort_crew_c=eval(escort_crew_c*0.1)};
      if(escort_crew_d == ""){escort_crew_d=0}
      else{escort_crew_d=eval(escort_crew_d*0.1)};
      if(escort_crew_e == ""){escort_crew_e=0}
      else{escort_crew_e=eval(escort_crew_e*0.1)};
      if(escort_crew_f == ""){escort_crew_f=0}
      else{escort_crew_f=eval(escort_crew_f*0.1)};
      var escort_crew=eval(escort_crew_a+escort_crew_b+escort_crew_c+escort_crew_d+escort_crew_e+escort_crew_f);
      var crew=eval(marines_crew+escort_crew+ship_crew);
      target_crew=eval(target_crew*10);
      target_strength=eval(target_strength*5);
      var sub_odds=eval(crew/target_strength);
      sub_odds=eval(sub_odds*100);
      var odds=eval(sub_odds+marines_percentage);
      if(strength > target_strength){var odds=eval(odds+10)};
      var max_odds=eval(odds+5);
      var min_odds=eval(odds-5);
      if(max_odds > 75){max_odds=75};
      if(min_odds > 75){min_odds=75};
      if(max_odds < 0){max_odds=1};
      if(min_odds < 0){min_odds=1};
      max_odds=max_odds.split(".");
      min_odds=min_odds.split(".");
      document.res_form.minodds.value=min_odds(0);
      document.res_form.maxodds.value=max_odds(0);
      

      So besides the obvious "You're not pasting strings together, you're evaluating mathematic expressions," try that and see if it works.

      (edit: broke the tables)
      (edit2: fixing stupid mistakes. (of mine.))
      (edit3: changed the "/10" to "*0.1", which is the same thins, but won't give the "divide by zero" error)
      ------------------
      "Time flows faster on the sun..." - Me, result of too much free time. But I'd have 'less' on the sun.
      (url="http://"http://www.evula.org/artanis")www.evula.org/artanis(/url) | (url="http://"http://www.evula.org/artanis/EVNOdds.html")EVN Capture Odds Calculator(/url) | (url="http://"http://www.evula.org/artanis/Captaintripps10000.jpg")Oops.(/url)

      (This message has been edited by Artanis (edited 11-29-2003).)

      (This message has been edited by Artanis (edited 11-29-2003).)

      (This message has been edited by Artanis (edited 11-29-2003).)