![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Madness Interactive Lua within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Hey guys, long time no talk. lol. I've been pretty busy lately, what with my girlfriend, and the play (if ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
Hey guys, long time no talk. lol.
I've been pretty busy lately, what with my girlfriend, and the play (if you read my block king post). But honestly, I had completely forgotten how to program in lua at all. So i needed a lovely refresher, which is why i made The Block King. Anyway, after the Block King, I started re-looking at the Madness coding that was being worked on. BTW, TPPlayer, you're link is down. Lordy, do you think you could send me a copy of the work? Ok. So when I looked at the code, I decided that it was complete ****-i-many crap. lol There is no way anyone can base a game around that code. All it is is smoke and mirrors. That is why I've actually been completely reworking the code, which Can be made into a game. What we have here is the basic physics for a hand, bullet firing, and enemy hit detection. There are 3 Weapons, 2 of which are actually working. The Pistol and the Automatic. The shotgun however requires an instance of more than a single bullet, which is what I've been using for the pistol and the automatic. Thus meaning more work, which will be able to be done, eventually. lol. To top it off, might as well use more than one instance for each of the weapons. It'll make everything good and equal. EDIT: Actually, come to think of it. This engine I'm writing doesn't even Need to be a Madness game. It can be used for a basic skeleton of a game, with different mods, and skins over top. That would be really cool, wouldn't it? Imagine making a skin where you were a Tamagochi with a shotgun blasting away at monkeys and flying tea cups. Actually. Don't imagine that. Instructions: The bullet will follow the slope of the line. Analog to control the line. Circle to fire the bullet. Triangle Reload. Left and Right Change Weapons Hope ya'll like it! EDIT================= I've now included the original files, including graphics, as requested by rodenthunter Last edited by Neodudeman; 08-15-2006 at 03:17 PM.. |
|
|
|
|
|
#4 |
|
Very cool, you should add the ability to throw weapons, kind of like use them as projectile weapons. Shooting shouldnt be so difficult Fight for Freedom got it down in a snap. Dunno about angles but then again im not coding any of it :-/
|
|
|
|
|
|
|
#5 |
![]() OMGZ0R this guy is 1337
|
i should hope throwing weapons shouuld be included as they are in the real version of madness interactive and thats what hes porting good luck also maybe you should talk to the creator of madness interactive before porting as it is getting to be a pretty big game
__________________
[IMG]http://img26.imageshack.us/img26/4208/sigcopy0lu.jpg[/IMG] |
|
|
|
|
|
#6 |
![]() OMGZ0R this guy is 1337
|
p.s.
Code:
int mode=1; ///mode is current action the sprite is doing
int sx= 10, sy=137; ///location from top left of image
int fall = 0; // is falling?
int jump = 0; // is jumping?
int jumpheight = 50; //how high?
int maxfall = -54; // maximum before start to fall
int floor = 137
if(pad.Buttons & PSP_CTRL_UP && fall == 0 && jump == 1000000){ // if you press up and not already jumping
fall = 1; // you are falling!
jump = jumpheight; // make the value you add to y the jumpheight
mode = 3; // make it look like your jumping
}
if(jump < 1000000){ // check your jumping
if(jump > maxfall){ // check you havent got past the max you can jump
jump = jump-8; // if you have start going down
}
sy-= jump; // move the guy
}
//jump stop
if (sy > floor) {
fall = 0;
jump = 1000000;
mode = 1;
sy = floor;
}
p.s. dont forget to initialize the variables teh jump = 100000 is just saying make jump a big number make sure that value is the same as the one in the if and not sure if this is in lua but && means "and" and || means "or" 137 is where i placed my ground
__________________
[IMG]http://img26.imageshack.us/img26/4208/sigcopy0lu.jpg[/IMG] |
|
|
|
|
|
#7 |
![]() ![]() Cool Developer
|
Hey Neodudeman, im wanting to help you with this, i added you on aim, its lordsturm2.. ( .. being something ull work it out ) anyway i fixed your jump script in LUA.
If you want it just talk to me on AIM... ( THANx! ) Jump Script Fix - Now has variable timer, jumps for so long then cancles SQUARES effect, until square is removed... but a buffer is present to stop people from quad tripple jumping and such. NOTE: Im a fast learner, and ive never used Lua before, but hey i wanna learn so i can make my own aps! thanks for the opputurnity with such a cool idea i would have never considered! |
|
|
|
|
|
#8 |
![]() |
Hurrah! Thanks for your support dudes!
Ok Lord Strum, I'll contact you asap. We can Defintely get this project done with TeamWork! Buwahahahahaha! lol.... so gay... Anyway, i'm at school right now, but when I get home, I'll contact you and what not, and we'll discuss this project. I'm extremely busy at the moment though, BUT!!! Once everything is out of the way, We shall Defintely Kick some Arse with this Game! btw, can you post your code for the jump script fix? and ty for your script Elevation! But LordStrum, how did you know my AIM? It's not on the board.... :-? lol. My Aim is xNeodudemanx Would anyone else like to help, cause we could sure use it.. Last edited by Neodudeman; 12-12-2005 at 06:45 AM.. |
|
|
|
|
|
#9 | |
![]() |
Quote:
I can also do some code |
|
|
|
|
|
|
#10 |
![]() |
great! That'd be sweet! Though I was thinkin about taking the Actual sounds from the gameplay itself. I think i'll go contact the madnesscombat forum, and tell them we're doing this. We could prolly get some help from there!
Btw, what's ur screename? I kinda wanna get everyone's screen name on AIM so we can talk about this fast. Last edited by Neodudeman; 12-12-2005 at 01:56 PM.. |
|
|
|
|
|
#13 |
![]() |
http://www.flecko.net/source.html
Theres the website for the source code |
|
|
|
|
|
#17 |
![]() |
you should really take this to the flecko.net forums.... Heres a link, cause I just happen to have that forum open!
http://www.flecko.net/forums/index.php?showforum=8 |
|
|
|
|
|
#18 |
|
Hey neomandude ill help out, not sure how. I can help with really anything, i can try to see if i can contact the creator of the madness for pc? well i just really wanna get involved with this psp stuff, then maybe i can learn some stuff and lead off on my own....
|
|
|
|
|
|
|
#22 |
![]() |
My psp is 2.00 and is screwing up in lua player so just woundering if anyone with 1.5 could test this and tell me what happens.
Try pressing the up key on the directional key and tell me what happens. http://s62.yousendit.com/d.aspx?id=3...M30M1O7AVTVD21 |
|
|
|
|
|
#23 |
![]() ![]() Cool Developer
|
hahaha, i could easily take every sound and image out of the Madness Combat file... Im not sure about music... i think thats all in the mrsound.swf file...
But anyway i have contact with the guy that made Madness Interactive, as he is helping our group make a MMORPG with Madness characters, in ISOmetric, for computer. im not sure how that will go, but yeh im supoorting this one... Bah, im still banned from Toc2ra, could someone please talk to nician and tell him to unbann me... Uh id rather give you the jump script, cuz i need to explain a bug in one, now that i have 2, but theres a bug in the one that is Exactly the same as the one in the original game... |
|
|
|
|
|
#24 |
|
When i press up it gives me the shotgun, however, when the character is faced left the hand no longer is centered on the body, instead it is centered to the right of the body, however when the character is faced right, the hand is centered on the body.
|
|
|
|
|
|
|
#25 |
![]() ![]() Cool Developer
|
yes i noticed that too, im planing to work out how to make the hand rotate in comparasion of its co-ordinates with the head, also ill fix rodenthunters gun centering, and my jump script is still better ^_^...
|
|
|
|
|
|
#26 |
![]() ![]() Three Years Old
|
This game is gonna rock when its finished - can't wait!!!
|
|
|
|
|
|
#27 |
![]() ![]() Cool Developer
|
Ekk, i so need a good LUA editor, cuz right now im using notepad, and i keep getting the "this" expected near "=" ...
I fixed that once by changing a typo y=y=5 into y=y+5, so im guessing its just trying to split a misequasion into 2 thens... i have no idea... Anyway with the latest update, when i can manage... There will be, one weapon switching. - Hand, Shotgun. ( Left and right d-pad to switch weps. ) - Fixed One press Jump with limits. - Fixed "Hand" range... - Fixed shotgun center. (Requires unique details for right and left. ) - Sound when pressing X whilst shotgun selected. ( No Projectiles ) |
|
|
|
|
|
#29 |
![]() |
Great work LordStrum! But... uh, how bout sending me the code then? lol. And where do you live? I've been noticing that your posts are pretty late at night, and early in the morning, according to my time, which suggests that you live in a different time zone..
Which will complicate contacting you. So anyway, post the updated source/pngs, and i'll put it in the first post, along with the updates. |
|
|
|
|
|
#30 |
![]() |
Hey LordStrum did you already fix the shotgun thing or did u write your own script becasue i'm planing to try to add maybe 2 more guns and try to set it up so it has an invisuable bullet. Maybe setup a target. If you fix the shotgun thing could you send it to me thanks.
|
|
|
|
![]() |
| Tags |
| interactive , lua , madness |
| Thread Tools | |
|
|