Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Old
Ayyamana
Guest
 
Status:
Posts: n/a
Default 01-09-2010, 12:21 AM

I would suggest making it so that the dors move with the speed of the planes.

Like let's say you have a circle in the corner, psuedo code would be something like:

The dots move at 1/1000th the speed of the jets in the direction of the jets from the point of view of your plane.


Also, a fighterplane game was my first, it was awesome, relatively of course.

Very laggy, very hard, and would for some reason say that you won if you lost... There is no finished product yet, I spontaneosly work on it.

Also, how did you make the AI? I said

"
if the player is in front of the enemy, the enemy shoots
Else the enemy turns toward the player.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 01-09-2010, 10:08 PM

Quote:
Originally Posted by cardsfan527 View Post
Might be kind of hard for me to do this since I didn't make the game, so I am not familiar with this, but al you need to do is:

1) have a method when world starts to move two dummies frowards and to the side of the main character

3)insert the square for the box and a dot for each enemy

2) and copy the radar (distance method), replacing everytime you see a "rabbit" with your enemy object
Exactly! I tried, something went wrong and i got confused


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 01-09-2010, 10:10 PM

Well that was the fun part, i jsut made it so if camera is within 10 meters or so to enemy1, enemy 1 orient towards player and the bullet shoots toward teh player a serten distance. If you get to far away from the enemy, his accuracy goes off and he cant hit you, its pretty simple


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Map
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Arrow Map - 09-06-2010, 09:24 PM

Here is a working map real-time tracker I made today:
Attached Files
File Type: a2w mapme.a2w (179.4 KB, 6 views)


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 09-07-2010, 12:38 AM

If anyone can reproduce cardsfan's radar system, but with dummy objects instead of animals, I'd be very grateful.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 09-07-2010, 03:46 PM

Quote:
Originally Posted by x2495iiii View Post
If anyone can reproduce cardsfan's radar system, but with dummy objects instead of animals, I'd be very grateful.
Well didnt someone make one with animals. Just change the object


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Unhappy 09-07-2010, 08:54 PM

Quote:
Originally Posted by x2495iiii View Post
If anyone can reproduce cardsfan's radar system, but with dummy objects instead of animals, I'd be very grateful.
What's the matter? Mine's not good enough?


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 09-07-2010, 10:14 PM

Now jedi, don't you think I'd have tried that by now? I wouldn't have asked if it wasn't something I couldn't figure out.

And no, it's not that it's not good enough. Yours actually seems better, debussybunny, but I was really confused as to why cardsfan's system seemed to only work with the animals as the objects in the distance arguments.
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Arrow 09-07-2010, 10:22 PM

Quote:
Originally Posted by x2495iiii View Post
Now jedi, don't you think I'd have tried that by now? I wouldn't have asked if it wasn't something I couldn't figure out.

And no, it's not that it's not good enough. Yours actually seems better, debussybunny, but I was really confused as to why cardsfan's system seemed to only work with the animals as the objects in the distance arguments.
Ah, figured out a thing or two myself.

When making my map/radar/thingy, I tried to use object's distance in front of camera and object's distance to the left of camera, but it didn't work.

However, when I placed a dummy at the camera and set its vehicle to the camera, swapped out in front of camera for in front of dummy, it worked.

Not exactly sure why.


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.