![]() |
|
/-/S'pht-Translator-Active/-/ |
| Re: Lua script question | ||
| Posted By: treellama | Date: 7/19/06 8:56 a.m. | |
In Response To: Re: Lua script question (Forrest of B.org) : This is for Eternal, and just for solo maps. I'm trying to figure out a way
Ah, sounds peachy then. The pick-up-weapons-to-get-ammo paradigm would be nice in net games, but current MML and Lua implementations aren't up to an elegant implementation of it. The first step then is to put the MML in place, and see if you can actually pick up (e.g.) 2 assault rifles or 3 shotguns. I remember there being something nasty hardcoded about weapons still that couldn't be changed with MML. : (And yes, it is possible to hold extra weapons. That's the current compromise
Oh, you have actually tried it :) Writing the Lua should be really simple then. All you should need to do is implement got_item(), check for the item type, and if it's one of the excess weapons call remove_item to get rid of the weapon and add_item for some ammo.
| ||
|
| Replies: |
| Lua script question | Forrest of B.org | 7/18/06 5:42 p.m. | |
| Re: Lua script question | Bob-B-Q | 7/19/06 4:22 a.m. | |
| Re: Lua script question | treellama | 7/19/06 5:03 a.m. | |
| Re: Lua script question | Forrest of B.org | 7/19/06 6:42 a.m. | |
| Re: Lua script question | treellama | 7/19/06 8:56 a.m. | |
| Re: Lua script question | Forrest of B.org | 7/19/06 9:49 a.m. | |
| Re: Lua script question | treellama | 7/19/06 11:03 a.m. | |
| Re: Lua script question | blake37 | 7/19/06 2:30 p.m. | |
| Re: Lua script question | treellama | 7/19/06 3:02 p.m. | |
| Re: Lua script question | blake37 | 7/20/06 3:05 a.m. | |
| Re: Lua script question | Forrest of B.org | 7/20/06 7:42 p.m. | |
| Re: Lua script question | blake37 | 7/21/06 2:03 a.m. | |
| Re: Lua script question | Forrest of B.org | 7/22/06 2:40 p.m. | |
| Re: Lua script question | blake37 | 7/22/06 3:10 p.m. | |
| Re: Lua script question | treellama | 7/21/06 3:38 a.m. | |
| Re: Lua script question | Forrest of B.org | 7/22/06 3:54 p.m. |
|
Problems? Suggestions? Comments? Email maintainer@bungie.org Marathon's Story Forum is maintained with WebBBS 5.12. |