Data Realms Fan Forums
http://forums.datarealms.com/

Zombie Defense -fixtastic-
http://forums.datarealms.com/viewtopic.php?f=24&t=15279
Page 15 of 18

Author:  mail2345 [ Thu Jun 25, 2009 1:26 am ]
Post subject:  Re: Zombie Defense -fixtastic-

Yes.
I have a script that based off TLB's player loops, can work with any theoretical player amount.
Scroll up.
Install.
Add PlayerCount = x line to activities.

Author:  Contrary [ Thu Jun 25, 2009 1:41 am ]
Post subject:  Re: Zombie Defense -fixtastic-

mail2345 wrote:
Yes.
I have a script that based off TLB's player loops, can work with any theoretical player amount.
Scroll up.
Install.
Add PlayerCount = x line to activities.

Oh thank you! But... Which script?

Author:  mail2345 [ Thu Jun 25, 2009 1:58 am ]
Post subject:  Re: Zombie Defense -fixtastic-

I appear to have made a new page.
Oh well.
viewtopic.php?f=24&t=15279&start=197

Author:  Contrary [ Thu Jun 25, 2009 6:41 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

I thought that was the right script, but I cannot comprehend your instructions. Can you use baby-talk and lots of hand gestures?

Author:  mail2345 [ Thu Jun 25, 2009 6:45 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

Sure.
Just download the file, then open Zombie Defense.lua in the scenes folder and replace the contents with the contents of the text file I posted.
If your resolution is above 640*480 then go into Zombie Defense.ini(still in scenes) and find:
Code:
   AddBackgroundLayer = SceneLayer
      PresetName = Sky Layer
      DrawTransparent = 0
      WrapX = 0
      WrapY = 0
      ScrollRatio = Vector
         X = 800
         Y = 3500

Change it to:
Code:
   AddBackgroundLayer = SceneLayer
      PresetName = Sky Layer
      DrawTransparent = 0
      WrapX = 0
      WrapY = 0
      ScrollRatio = Vector
         X = 0.02
         Y = 3500

EDIT:
Go into activties.ini in the main folder and add the line PlayerCount = 2

Author:  Contrary [ Thu Jun 25, 2009 9:04 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

Ah, thanks for your help, but I'm absolutely retarded when it comes to coding stuff. I'll wait for an official release.

Author:  Mooseral [ Fri Jun 26, 2009 6:15 am ]
Post subject:  Re: Zombie Defense -fixtastic-

Mayhap I'll give it a poke, and see if I can post a full 2-player conversion based on your code. It would bode well for my interests, and might be more user-friendly also.

*Attached is mail2345's 2-player modification, in a full .rte*
Just sticking that in bold, 'cause file versions are hard to find in this thread. Grif should update the OP, or perhaps we should start a new thread. Also, I'm pretty sure this file works, though I don't have a second player to test it with at the moment.

And on that note, I might come onboard to help with some content development. Although I've mostly been doing robots so far... perhaps add some zombie robots? But yeah, I'll put some guns and stuff up at some point, for your viewing pleasure.

Attachments:
File comment: mail2345's code put into the rte file.
Zombie Defense.rte.rar [2.89 MiB]
Downloaded 392 times

Author:  mail2345 [ Fri Jun 26, 2009 6:35 am ]
Post subject:  Re: Zombie Defense -fixtastic-

Actually, my lua code works with any amount of players greater than 0.
Though I have not tested out my scroll ratios on more than 2 players.

Author:  Mooseral [ Fri Jun 26, 2009 6:39 am ]
Post subject:  Re: Zombie Defense -fixtastic-

Just from a first look at it, it seemed to work quite well (though I tend to play at the default 640*480 resolution). If it can take any number of players, that means it will probably be integrated into the next full release, yes?

Author:  mail2345 [ Fri Jun 26, 2009 6:58 am ]
Post subject:  Re: Zombie Defense -fixtastic-

Oh, and the ideas and good amount of code with handling multiplayers comes from TLB's vanila mission code that allows for easy install co-op.

Author:  The Decaying Soldat [ Fri Jun 26, 2009 12:15 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

Fat zombies, thin zombies, jumping zombies, vomiting zombies, exploding zombies, lost-lower-torso-crawling zombie, robot zombies, gonna catch em' all.

Author:  Geti [ Fri Jun 26, 2009 12:18 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

holy ♥♥♥♥ you guys, wait for zombies09 to be released. seriously, it'll probably be out this weekend.

Author:  Roon3 [ Fri Jun 26, 2009 12:50 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

Geti wrote:
holy ♥♥♥♥ you guys, wait for zombies09 to be released. seriously, it'll probably be out this weekend.

I don't think they know what Zombies '09 is...
</OffTopic>

Author:  carriontrooper [ Fri Jun 26, 2009 2:52 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

The Decaying Soldat wrote:
Fat zombies, thin zombies, jumping zombies, vomiting zombies, exploding zombies, lost-lower-torso-crawling zombie, robot zombies, gonna catch em' all.


You definitely forgot crab zombies. Where would CC be without CRABS?!?

Author:  AgentBaron [ Fri Jun 26, 2009 3:20 pm ]
Post subject:  Re: Zombie Defense -fixtastic-

Roon3 wrote:
Geti wrote:
holy ♥♥♥♥ you guys, wait for zombies09 to be released. seriously, it'll probably be out this weekend.

I don't think they know what Zombies '09 is...
</OffTopic>

What is Zombies '09?

Page 15 of 18 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/