Alice Community  

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

Reply
 
Thread Tools Display Modes
fps help
Old
kyleaucoin
Junior Member
 
Status: Offline
Posts: 2
Join Date: Oct 2011
Default fps help - 10-12-2011, 09:35 PM

is there a way to say pick up a gun in a rather simple manner. also can someone help me with and ammo/health system. this would be very helpful thanks!
   
Reply With Quote
Simple? yes. complex? If you want it to be.
Old
Jabadahut50
Member
 
Status: Offline
Posts: 19
Join Date: Aug 2011
Default Simple? yes. complex? If you want it to be. - 10-15-2011, 08:37 PM

Quote:
Originally Posted by kyleaucoin View Post
is there a way to say pick up a gun in a rather simple manner. also can someone help me with and ammo/health system. this would be very helpful thanks!
the simplest ways are just world variables. for the weapon pick up you can have it on the ground and an invisible one in the firing position. then when you walk over it you change the world variable to a higher number, make the gun on the ground invisible, and make the one in your hands visible. To carry multiple weapons at once you can use multiple variables to detect which one you are currently using. To pick up multiple weapons in different orders you can make a list. health and ammo are similar in that they use world variables. hope this helped.
   
Reply With Quote
Nice
Old
Centuri0n
Member
 
Centuri0n's Avatar
 
Status: Offline
Posts: 44
Join Date: Oct 2011
Location: In a box with free wifi
Thumbs up Nice - 11-05-2011, 02:50 PM

Quote:
Originally Posted by Jabadahut50 View Post
the simplest ways are just world variables. for the weapon pick up you can have it on the ground and an invisible one in the firing position. then when you walk over it you change the world variable to a higher number, make the gun on the ground invisible, and make the one in your hands visible. To carry multiple weapons at once you can use multiple variables to detect which one you are currently using. To pick up multiple weapons in different orders you can make a list. health and ammo are similar in that they use world variables. hope this helped.
Ive done this in a game and it works perfectly, nice post
   
Reply With Quote
Old
Powerhouse64
Senior Member
 
Powerhouse64's Avatar
 
Status: Offline
Posts: 54
Join Date: Nov 2011
Location: In ur base, movin ur stuffs
Default 11-05-2011, 03:25 PM

Quote:
Originally Posted by kyleaucoin View Post
is there a way to say pick up a gun in a rather simple manner. also can someone help me with and ammo/health system. this would be very helpful thanks!
There are a TON of examples of this on the forums, at least one person asks this a day since I began lurking on the forums (just got the account a few days ago, so I'm not really the most reliable source). So I'm sure there are a few example worlds floating around that could help you figure this out.


Hogwarts: Where everything is made up, and the points don't matter
   
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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.