Sign in to follow this  
Followers 0
mccollums

Slider - Help with researching a solution

2 posts in this topic

Hey guys, I just need some help with researching a resolution for my problem. I was trying to figure out a way to automate player creation for an online football game. I had no problems figuring out the basics to Auto it when it comes to Mouse clicks, send keys etc..etc.. However, there is a height and weight slider on the player creation tool - and the sliders are in a different location each new player that I create. Heres the source for the sliders..

what terms do I need to lookup in the auto it help section to figure out a way to adjust the sliders? Any help is appreciated, thanks!

<div class="content_container" style="padding: 6px;">

<div class="small_head">Set Height/Weight (move sliders) <img src="/images/question.gif" onmouseover="set_tip('Height and weight will add modifiers to your initial attributes, depending on what you choose. The modifiers you will receive are listed to the right of the sliders.', 0, 1, 1, 1)" onmouseout="unset_tip()"></div>

<form method="POST">

<div id="height_container">

<b>Height:</b> <img src="/images/question.gif" onmouseover="set_tip('How tall to make this player? Taller players will need more stamina and are easier to knock off balance, but they can outjump shorter players and see more of the field.<br><br>Shorter players have a lower center of gravity and therefore better balance, but they may have trouble catching or defending passes when matched up with taller opponents.', 0, 1, 1, 1)" onmouseout="unset_tip()"><br>

<div class="slider_container">

<div class="slider"><div style="left: -5px;" class="slider_control" id="height_slider">&nbsp;</div></div>

<div class="slider_text_left">Short<br>+agility, stamina<br>-jumping, vision</div>

<div class="slider_text_center">Avg</div>

<div class="slider_text_right">Tall<br>+jumping, vision<br>-agility, stamina</div>

</div>

<div class="slider_input"><input name="height" id="height" value="-100" onblur="updateSlider('height', 'calculateHeight(value)');" onkeyup="updateSlider('height', 'calculateHeight(value)');" type="hidden"></div>

<div class="slider_max_text" id="convert_text_height">66in (5'6"); <b>(agi, sta +2) (jmp, vis -2)</b></div>

</div>

<div class="clear">&nbsp;</div>

<div id="weight_container">

<b>Weight:</b> <img src="/images/question.gif" onmouseover="set_tip('How heavy to make this player? Heavier players will need more stamina and move more sluggishly, but they make bruising rushers, great blockers, and punishing tacklers.<br><br>Lighter players are much quicker on their feet, but tend to get pushed around more easily.', 0, 1, 1, 1)" onmouseout="unset_tip()"><br>

<div class="slider_container">

<div class="slider"><div style="left: 0px;" class="slider_control" id="weight_slider">&nbsp;</div></div>

<div class="slider_text_left">Light<br>+speed, stamina<br>-strength, blocking</div>

<div class="slider_text_center">Avg</div>

<div class="slider_text_right">Heavy<br>+strength, blocking<br>-speed, stamina</div>

</div>

<div class="slider_input"><input name="weight" id="weight" value="-95" onblur="updateSlider('weight', 'calculateWeight(value)');" onkeyup="updateSlider('weight', 'calculateWeight(value)');" type="hidden"></div>

<div class="slider_max_text" id="convert_text_weight">181lbs; <b>(str, blk -1.9) (spd, sta +1.9)</b></div>

</div>

<div class="clear">&nbsp;</div>

</form></div>

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Just read the announcement at top of the forum and adhere to it.

*click*

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0