Beta Testers wanted! Tatooine Life needs you!

Leave us posts on anything related to your views on gametoast.com, improvements, gripes, etc...

Moderator: Moderators

User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2380
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Beta Testers wanted! Tatooine Life needs you!

Post by guru »

Yes I can setup regions
In the code so each building can click and send players to their selected area/page.
User avatar
The66Order66
Second Lance Corporal
Second Lance Corporal
Posts: 108
Joined: Tue May 28, 2013 12:34 pm
Projects :: Clone Wars Era Mod Version 2
Games I'm Playing :: OldFront - EAFront
xbox live or psn: No gamertag set
Location: Germany

Re: Beta Testers wanted! Tatooine Life needs you!

Post by The66Order66 »

I expanded the map a bit and added a suggestion image for the hover/click state, so someone can distinguish between clickable and non clickable buildings
Hidden/Spoiler:
ImageImage
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2380
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Beta Testers wanted! Tatooine Life needs you!

Post by guru »

That’s great ! So it has every spot in the game essentially looks like? Really nice job
User avatar
The66Order66
Second Lance Corporal
Second Lance Corporal
Posts: 108
Joined: Tue May 28, 2013 12:34 pm
Projects :: Clone Wars Era Mod Version 2
Games I'm Playing :: OldFront - EAFront
xbox live or psn: No gamertag set
Location: Germany

Re: Beta Testers wanted! Tatooine Life needs you!

Post by The66Order66 »

I don't know how you're going to do it with the clickable regions. Once the map is finished I can export every clickable building as a separate image if that works for you. I can also send you the AI and PSD file.
What dimensions did you have in mind? 1920 x 1080?

Furthermore:
- when I battle with the speeder I now get Anakins speeder stats (30/30/30). My speeder has 25/20/20
- the "Traveler Biscuit" still gives you +2200 respect
- the chat in the middle under the energy bars is a nice idea. But will the chat-window get wider then? And will it be a separate box where you can scroll in?

Plus what would be great is a notification center for when someone fought you or raced you. So you can see if you lost or won
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2380
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Beta Testers wanted! Tatooine Life needs you!

Post by guru »

i can wipe the vehicles you guys have and reset them and that will fix it, its because i erased some accounts so the numbers in battle got confused. let me know and i can reset vehicles to brand new setting

also i put the city map up right now its using my map until i can get a high def copy of your anakin.

i adjusted travel bicuits
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4781
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Beta Testers wanted! Tatooine Life needs you!

Post by Anakin »

What language is this written? Would you mind to send me the pod race files? i can have a look at it, maybe i find the problem with the vehicle values
User avatar
The66Order66
Second Lance Corporal
Second Lance Corporal
Posts: 108
Joined: Tue May 28, 2013 12:34 pm
Projects :: Clone Wars Era Mod Version 2
Games I'm Playing :: OldFront - EAFront
xbox live or psn: No gamertag set
Location: Germany

Re: Beta Testers wanted! Tatooine Life needs you!

Post by The66Order66 »

That's the current progress of the map. I just want to fill in the blue area with houses and then call it complete. What do you say?
Hidden/Spoiler:
Image
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4781
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Beta Testers wanted! Tatooine Life needs you!

Post by Anakin »

noice
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2380
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Beta Testers wanted! Tatooine Life needs you!

Post by guru »

Looks amazing
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2380
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Beta Testers wanted! Tatooine Life needs you!

Post by guru »

heres the race code :

//Round 1 - Speed
if ($rowvpc['speed'] < $rowuo['speed']) {
$round1u = 0;
$round1uo = 1;
}
if ($rowvpc['speed'] > $rowuo['speed']) {
$round1u = 1;
$round1uo = 0;
}
if ($rowvpc['speed'] == $rowuo['speed']) {
$round1u = 1;
$round1uo = 1;
}

//Round 2 - Acceleration
if ($rowvpc['acceleration'] < $rowuo['acceleration']) {
$round2u = 0;
$round2uo = 1;
}
if ($rowvpc['acceleration'] > $rowuo['acceleration']) {
$round2u = 1;
$round2uo = 0;
}
if ($rowvpc['acceleration'] == $rowuo['acceleration']) {
$round2u = 1;
$round2uo = 1;
}

//Round 3 - Stability
if ($rowvpc['stability'] < $rowuo['stability']) {
$round3u = 0;
$round3uo = 1;
}
if ($rowvpc['stability'] > $rowuo['stability']) {
$round3u = 1;
$round3uo = 0;
}
if ($rowvpc['stability'] == $rowuo['stability']) {
$round3u = 1;
$round3uo = 1;
}

//Round 4 - Final (Calculations)
$round4u = $round1u + $round2u + $round3u;
$round4uo = $round1uo + $round2uo + $round3uo;

if ($round4u < $round4uo) {
$winchance = 1;
}
if ($round4u == $round4uo) {
$winchance = 2;
}
if ($round4u > $round4uo) {
$winchance = 3;
}





//Loss
if ($winchance == 1) {
$winner_id = $opponent_id;
}

//Last Chance
if ($winchance == 2) {

$lastchance = mt_rand(0, 1);

if ($lastchance == 1) {
$winner_id = $player_id;
} else {
$winner_id = $opponent_id;
}

I may throw some more random numbers in there so even a close match can be had by either side
User avatar
The66Order66
Second Lance Corporal
Second Lance Corporal
Posts: 108
Joined: Tue May 28, 2013 12:34 pm
Projects :: Clone Wars Era Mod Version 2
Games I'm Playing :: OldFront - EAFront
xbox live or psn: No gamertag set
Location: Germany

Re: Beta Testers wanted! Tatooine Life needs you!

Post by The66Order66 »

Hey guru, here's the link to the final map. I exported it as a JPG with 50% quality for size and web optimization. I also added images of 14 different selected buildings, so you can assign each to a place in your game. Additionally I threw in the photoshop and illustrator file if you ever consider changing or expanding it or if you just want to use separate pieces. https://www.dropbox.com/s/fmurr698tlh9w ... p.zip?dl=0
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4781
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Beta Testers wanted! Tatooine Life needs you!

Post by Anakin »

Well i cannot see a lot from the code @guru, it seems that rowvpc is wrong (or rowuo? not sure what is the attacker values)

the problem depends on the variables. What i noticed so far:
- for everyone's barc speeder, the vehicle id is 36
- when you pick your speeder you randomly get a new opponent and his values are displayed correctly. But when i look in the website source, there are still the values of the old player that was my opponent before i selected my vehicle, so maybe it's just a problem of not refreshing the values for the attacker?


But i thought about new calculations for the win/loos that makes it more interesting and depending on your values + some random values, so you won't loose always.
  • best of three
  • variable energy loose depending on your vehicle values
  • different loose/win probabilities depending on track length

kind of Python Pseudo code:

Code: Select all

#How much energy is needed in worst case? Check before race start. 3 races, so 3 times the energy cost.
MaxEnergyCost = 3 * ($AttackerSpeedMax$ + $AttackerAccMax$) /  $AttackerStability$

# player1 = attacker, you loose randomly between 0 and 10 % of your stats (maybe this needs to be adjusted)
player1 = {
	speed : $AttackerSpeedMax$ *  (1 - 0.1 * random(0,1)),
	acc :  $AttackerAccMax$ *  (1 - 0.1 * random(0,1))
}

player2 = {
	speed : $DefenderSpeedMax$ *  (1 - 0.1 * random(0,1)),
	acc :  $DefenderAccMax$ *  (1 - 0.1 * random(0,1))
}

RealEnergyCost = 3 * (player1.speed + player1.acc) /  $AttackerStability$

win = 0
for i in range(3):
	# random choose one of the 3 track lengths
	s_total = random(10 or 75 or 500)
	
	time_acc1 = player1.speed / player1.acc			# time you need to accelerate to max speed
	s_acc1 = (player1.acc / 2) * pow(time_acc1)		# distance you need to accelerate to max speed
	s_speed1 = s_total - s_acc1				# remaining distance you'll race with max speed
	time1 = 0						# init player 1 total time
	
	# case 1: the track is too short, so you never reach max speed
	# case 2: you reach max speed, so total speed is the sum of bother acc and speed time
	if s_acc1 >= s_total:
		time1 = sqrt( (2 * s_total) / player1.acc )
	else:
		time1 = time_acc1 + (s_speed1 / player1.speed)
		
	... repeat with player2 values ...
	
	# in doubt (that shouldn't happen when calculating with floats) the defender wins
	if time1 > time2:
		win = win + 1
	else:
		win = win -1
		
if win > 0:
	player 1 won
else:
	player 2 won
	


Here is a picture with the values of your already added vehicles and how they would win/loose
Hidden/Spoiler:
Image
if you wanna play a bit around with the excel you can download it here: https://www.dropbox.com/s/e3pim1k7akk8q ... .xlsx?dl=0
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2380
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Beta Testers wanted! Tatooine Life needs you!

Post by guru »

Ok. I may redo the fight and race code regardless because I want images and maybe animation or
Some form of interaction mid fight like for fighting I want to have hit points and have them actually land hits and dodge I’m also adding 3 more attributes like luck and such from swg.

Thanks for your feedback I’ll check out the needed
Changes today
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4781
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Beta Testers wanted! Tatooine Life needs you!

Post by Anakin »

For the race you could do an animation for the 3 rounds, so the vehicles moving forward after each round racing to see how close it is. Just an idea
Post Reply