Alice Community Rockstar442's first game 10% complete :)
 User Name Remember Me? Password

 Thread Tools Display Modes
 Same problem
 Delpenator Guest   Status: Posts: n/a Same problem - 12-13-2009, 12:15 AM I'm working on a similar problem with AI. To make a AI random walk, create infinite loop that waits any amount, turns random degrees, walks 5 meters etc. As to attack you, say if player is with 10 meters of enemy, enemy turn toward player then start shooting. I haven't tried that yet, since i'm still in the setup of my game, so i'm curious how well that would work.
 Dameria Senior Member     Status: Offline Posts: 978 Join Date: Sep 2009 Location: United States 12-13-2009, 08:57 AM Also if you want to make it more realistic, you could say (if (both (player is within 20 meters of enemy) and (player's distance in front of enemy is >= -2) then (enemy turn to face player) else (Do Nothing)) In this way you could make it a stealthy approach, and if you are behind the enemy, but more than 2 meters behind him, he will not notice you. Then if you are too close to behind him, he will turn around anyway and do whatever method you choose to initialize then (shoot, melee, etc.) Check out my best projects so far and please comment: Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548 Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408 Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725 Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
 rockstar442 Guest   Status: Posts: n/a 12-14-2009, 05:50 PM thanks guys but this isnt what i meant i was more like the tanks move in random directions like there lost or somthing..........BUT it has to be totally random
 rockstar442 Guest   Status: Posts: n/a 12-14-2009, 06:54 PM come on some one help
rockstar442
Guest

Status:
Posts: n/a
12-14-2009, 08:05 PM

OK GUYS I REALLY DONT KNOW IF THIS IS MY STUPIDITY OR MY TRUST
BUT I HAVE ATTACHED MY VERSION OF A TANK PLEASE DONT SAY THAT ITS YOURS OR YOU MADE IT WHEN YOU DIDNT ohh sorry had caps on for more than needed anyway PLEASE respectfully give your honest oppinion my base for the tank is a diffeernt texture you'll see when my game is finished
Attached Files
 TANK BY ROCKSTAR 442.a2w (200.0 KB, 1 views)

Dameria
Senior Member

Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
12-14-2009, 08:15 PM

Ok, when I downloaded and looked at the world I couldn't even find the tank, I think it was somewhere way up in the air. Anyway, I have brought it down to the ground now and I am going to have a file here for a better view of the tank.

Did you actually create this tank, or did you get it from a website? You are saying you that created the tank and/or texture, but I am not sure if you actually did this.
Attached Files
 TankByROCKSTAR.a2w (225.6 KB, 3 views)

Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301

rockstar442
Guest

Status:
Posts: n/a
12-14-2009, 08:33 PM

Quote:
 Originally Posted by Dameria Ok, when I downloaded and looked at the world I couldn't even find the tank, I think it was somewhere way up in the air. Anyway, I have brought it down to the ground now and I am going to have a file here for a better view of the tank. Did you actually create this tank, or did you get it from a website? You are saying you that created the tank and/or texture, but I am not sure if you actually did this.
ok i found that offending but what i did was i took the original tank pressed affect subparts and made copies of the whatever thing and just tilted them to make them look better than they were great now out goes my secret

 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 12-15-2009, 08:03 AM Good job Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames
 Dameria Senior Member     Status: Offline Posts: 978 Join Date: Sep 2009 Location: United States 12-15-2009, 03:26 PM Ok sorry, I'm not good at making objects, so I don't know how to do all that stuff. If you did make this though, it is very good, I'm impressed. Good job and sorry if I offended you. Check out my best projects so far and please comment: Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548 Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408 Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725 Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
 rockstar442 Guest   Status: Posts: n/a 12-15-2009, 04:43 PM no problem man i just now need to know how i can make it so that the tank moves in a random directions like its lost or somthing

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge