Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

View Poll Results: What kind of a weapon switch system should I implement?
Ability to switch between all weapons 15 44.12%
Can only have two weapons at a time (must go to a certain place for more options) 19 55.88%
Voters: 34. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 09-15-2010, 07:42 PM

Ok, then post the fixed program that you were going to post before.


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
   
Reply With Quote
Take your time...
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Arrow Take your time... - 09-15-2010, 07:49 PM

OK, I'm uploading in an edit.

Just letting you know, that even with Google Chrome (which, unlike Firefox, accurately measures in percentages the progress of the attachment), this is gonna take a while...


EDIT: Okay, got it up!

Nothing is really enhanced besides the AK, so sorry to disappoint.
Actually, I did change the side-to-side recoil of all the weapons so that it actually is a random amount.
Instead of
If (choose true <50>% of the time)
Turn left blah revolutions
Else
Turn right blah revolutions

I simply modified it to a random number function. Whatev.


This one better work for you... OR ELSE.
(DensetsuNoKaboom: or else what?
Me: ... ... ...idk)



As usual, give comments and feedback, as now you can actually OPEN the world.

Enjoy!
Attached Files
File Type: a2w xfinal-4.a2w (17.53 MB, 49 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.

Last edited by debussybunny563; 09-15-2010 at 08:19 PM.
   
Reply With Quote
Old
Fritz
Senior Member
 
Fritz's Avatar
 
Status: Offline
Posts: 105
Join Date: Sep 2010
Default 09-15-2010, 09:22 PM

Question, what objects do you use for your hands?
   
Reply With Quote
Old
FatRefrigerator
Member
 
FatRefrigerator's Avatar
 
Status: Offline
Posts: 28
Join Date: Aug 2010
Location: 5000 feet up
Default 09-16-2010, 11:00 AM

you gotta make it so the world starts with something other than "world.Directions". and even once i got past that, it still wouldn't work.

i got it to load, but not to play.
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Thumbs down 09-16-2010, 02:31 PM

Quote:
Originally Posted by Fritz View Post
Question, what objects do you use for your hands?
I use the knight character from the object gallery.

Quote:
Originally Posted by FatRefrigerator View Post
you gotta make it so the world starts with something other than "world.Directions". and even once i got past that, it still wouldn't work.

i got it to load, but not to play.
What do you mean?

"World start with something other than world.Directions?"

In case you are a very simple beginner and would not happen to know anything about Alice, there are more methods and functions and events and parameters and variables and poses that you were perhaps devoid of acknowledging what or where they were located, both in the program and in my program.
And if this is the case, I recommend you spend a couple months actually trying to learn something useful about how to do simple things in Alice like create a new method.

So, back to my point/question, world.Directions obviously contains directions as to what to do when you play the world, which your current intellectual level clearly indicates you are incapable of doing.
Everything else, which encompasses basically everything needed for the world to run, is located in the other methods, object variables/poses, object functions, and in the event panel.


For future reference, actually know something about the situation before you post about it.



In other words, what the heck do you mean by "you should start with something other than world.Directions" and why won't it play (error message or similar).
And, sorry if I sounded overly condescending, I may have been apprehensive and/or had misconceptions.


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
the gaate
Guest
 
Status:
Posts: n/a
Default 09-16-2010, 06:35 PM

I tried the Game and got it to load like the other guy. I got this error message when i tried to run it.


Quote:
Error during world start.




Alice version: 2.0 04/05/2005

os.name: Windows NT (unknown)

os.version: 6.1

os.arch: x86

java.vm.name: Java HotSpot(TM) Client VM

java.vm.version: 1.3.1_10-b03

user.dir: C:\Users\The Gaate\Desktop\Alice\Required



java.lang.Exception: No throwable given. Here's the stack trace:

at edu.cmu.cs.stage3.alice.authoringtool.dialog.Error ContentPane.writeThrowableToTextPane(ErrorContentP ane.java:67)

at edu.cmu.cs.stage3.alice.authoringtool.dialog.Error ContentPane.preDialogShow(ErrorContentPane.java:43 )

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(D ialogManager.java:122)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.showErrorDialog(AuthoringTool.java:2915)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.showErrorDialog(AuthoringTool.java:2907)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.worldRun(AuthoringTool.java:4977)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.play(AuthoringTool.java:5061)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$15.a ctionPerformed(Actions.java:167)

at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)

at javax.swing.AbstractButton$ForwardActionEvents.act ionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)

at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

   
Reply With Quote
Old
FatRefrigerator
Member
 
FatRefrigerator's Avatar
 
Status: Offline
Posts: 28
Join Date: Aug 2010
Location: 5000 feet up
Default 09-17-2010, 10:47 AM

it says that the method "world.Directions" is not called by anything.

and I figured out on my own how to make helicopters spin their props and continue to perform actions using "for all" commands on my first day, but thank you for the wonderfully kind comments above.
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Red face 09-17-2010, 02:06 PM

Quote:
Originally Posted by FatRefrigerator View Post
it says that the method "world.Directions" is not called by anything.
They're just the directions, so the method it isn't called in the world.
The only things it contains are comments, which don't modify anything during runtime, so using it in the events would be a waste.

Quote:
Originally Posted by FatRefrigerator View Post
and I figured out on my own how to make helicopters spin their props and continue to perform actions using "for all" commands on my first day, but thank you for the wonderfully kind comments above.
Congratulations! I must have been in a bad mood that day...
Good luck in the future!


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
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Arrow 09-18-2010, 10:21 AM

An update on what I'm doing.

I've added terrain with collision, courtesy of Zenteo, who made the terrain builder that I used. The terrain also works for all the enemies as well, but this causes lag issues that I'll look into.

I'm also adding a new weapon, the AUG, and consequently have deleted the MP5 and P90 to free up some space.


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
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 09-18-2010, 11:01 AM

Yeah, i am the 200th reply


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply

Tags
cool, fps, game, gun, gun shooting game, shooting, x-final

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.