All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: L4D mod plz make
PostPosted: Fri May 11, 2012 8:33 am 
Offline

Joined: Fri May 11, 2012 8:19 am
Posts: 3
I have an idea for a mod and it will be a left4dead like and you get guns and swords.

Notes:
Slimes will not spawn
Increased zombie spawn rate
Safe houses
And last but not least Multiplayer online and Split-Screen

If you made this please tell me :D


Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Sun Jun 17, 2012 2:57 pm 
Offline

Joined: Wed Jun 13, 2012 4:25 pm
Posts: 13
everything seems easy enough except for the online and split screen part
only one other person that ive heard of has created 2 player compatability, and the screen would just follow the first player and the second player would need to stay in the screen as best as possible. so thats probably not a capability.
as for the other things:
slimes not spawning- easy
more zombies- easy
guns and swords- possibly tough but not hard
and safehouse- kinda tough as that would require some generation coding, could be easy tho


Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Mon Sep 03, 2012 2:20 am 
Offline

Joined: Mon Sep 03, 2012 2:18 am
Posts: 11
Hey LampIsFun128,

If you want, we can sort of team up and make this mod together. I can handle the Zombies and Slimes and stuff, maybe safehouse, maybe weapons, but I'll need help on the graphics for guns, because I'm not so good with GFX, PM me if interested!


Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Mon Sep 03, 2012 8:29 pm 
Online

Joined: Tue Dec 27, 2011 4:15 pm
Posts: 113
Here is how you make a tile that only the player can enter. In this example, I am adding it to the stair to make the stair safe.

In the tile you want to be safe, "StairsTile.java" or whatever, add this:

public boolean mayPass(Level level, int x, int y, Entity e) {
return e.isFriend();

In Entity.java add this;

public boolean isFriend() {
return false;
}



In Player.java add this;

public boolean isFriend() {
return true;
}

This will create a safe spot for the player that monsters cannot enter.

I have not worked much with guns, but the air wizard generates an attack, that is the entity package called Spark.java. When the player is attacking, in player.java there is code where the direction of the attack is read. If you duplicate Spark to Bullet and then rig it to where the player creates it when a particular tool is in his hand, (Sword is already tested for in player.java, just add another weapon, if it is used have it launch your modified Spark.java with the direction of the attack fed into it.) You should be able to alter it to act like a gun. You will have to examine the AirWizard, Spark and Player to resolve this, but it seems doable this way.


Last edited by Bob on Mon Sep 03, 2012 8:37 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Mon Sep 03, 2012 8:36 pm 
Offline

Joined: Mon Sep 03, 2012 2:18 am
Posts: 11
Bob wrote:
Here is how you make a tile that only the player can enter. In this example, I am adding it to the stair to make the stair safe.

In the tile you want to be safe, "StairsTile.java" or whatever, add this:

public boolean mayPass(Level level, int x, int y, Entity e) {
return e.isFriend();

In Entity.java add this;

public boolean isFriend() {
return false;
}



In Player.java add this;

public boolean isFriend() {
return true;
}

This will create a safe spot for the player that monsters cannot enter.

I have not worked much with guns, but the air wizard generates an attack, that is the entity package called Spark.java. When the player is attacking, in player.java there is code where the direction of the attack is read. If you duplicate Spark to Bullet and then rig it to where the player creates it when a particular tool is in his hand, (this is already tested for in player.java) You should be able to alter it to act like a gun.


Thanks, I ripped to style from the Ditch to act like a safehouse, where only you can pass through, haven't thought of doing the gun from the base of the Air Wizard though, thanks for the tip!


Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Mon Sep 03, 2012 8:45 pm 
Online

Joined: Tue Dec 27, 2011 4:15 pm
Posts: 113
Nyan wrote:

Thanks, I ripped to style from the Ditch to act like a safehouse, where only you can pass through, haven't thought of doing the gun from the base of the Air Wizard though, thanks for the tip!


Let me know how it goes, and post your code changes. Any good conversations like this might be able to interest more modders to start posting!


Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Tue Sep 04, 2012 12:31 am 
Offline

Joined: Mon Sep 03, 2012 2:18 am
Posts: 11
Bob wrote:
Let me know how it goes, and post your code changes. Any good conversations like this might be able to interest more modders to start posting!


Alright, and can you check THIS out, because I need it to be answered.

Thanks,

Nyan


Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Tue Sep 04, 2012 2:44 am 
Online

Joined: Tue Dec 27, 2011 4:15 pm
Posts: 113
No clue at all. I have directly compiled a hello world. Apart from trying a few other environments, all of my experience coding java is in Eclipse.

Notch described at one time the coding environment that he would set up a new employee with, and that he uses. All of it is free. Java, Eclipse, Paint.net, and Putty. I am not sure that Paint.net is the best and I think there are several systems that have advantages over Putty, but I am quiet well in love with Eclipse and I don't think I use even a third of it's capabilities.

Bob


Top
 Profile  
 
 Post subject: Re: L4D mod plz make
PostPosted: Wed Sep 05, 2012 1:13 am 
Offline

Joined: Mon Sep 03, 2012 2:18 am
Posts: 11
Bob wrote:
No clue at all. I have directly compiled a hello world. Apart from trying a few other environments, all of my experience coding java is in Eclipse.

Notch described at one time the coding environment that he would set up a new employee with, and that he uses. All of it is free. Java, Eclipse, Paint.net, and Putty. I am not sure that Paint.net is the best and I think there are several systems that have advantages over Putty, but I am quiet well in love with Eclipse and I don't think I use even a third of it's capabilities.

Bob


I tried looking at tuts to Compile in Eclipse but the only info was to put to com folder with the images into the sidebar which didn't help at all.

I too made a HelloWorld.java, and compiled with javac, but it seems that when I try to compile the Minicraft files, it seems as if one file depends on another to be compiled.

If you find an extremely in depth tutorial for Eclipse, I'd love that, if not, I can continue through CMD and Compile 1 by 1 like I was the other day but it takes FOREVER.

Thanks,

Nyan (Brian Pluhar)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Style created by © Matti, gry komputerowe, reklama sem reklama seo

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group