View unanswered posts | View active topics It is currently Wed Dec 25, 2024 6:26 pm



Reply to topic  [ 268 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18  Next
 Zombie Defense -fixtastic- 
Author Message
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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.


Thu Jun 25, 2009 1:26 am
Profile
User avatar

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post 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?


Thu Jun 25, 2009 1:41 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Zombie Defense -fixtastic-
I appear to have made a new page.
Oh well.
viewtopic.php?f=24&t=15279&start=197


Thu Jun 25, 2009 1:58 am
Profile
User avatar

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post 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?


Thu Jun 25, 2009 6:41 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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


Thu Jun 25, 2009 6:45 pm
Profile
User avatar

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post 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.


Thu Jun 25, 2009 9:04 pm
Profile
User avatar

Joined: Mon Nov 05, 2007 12:18 am
Posts: 26
Location: Canada
Reply with quote
Post 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 431 times


Last edited by Mooseral on Fri Jun 26, 2009 6:36 am, edited 1 time in total.

Fri Jun 26, 2009 6:15 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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.


Last edited by mail2345 on Fri Jun 26, 2009 6:57 am, edited 1 time in total.



Fri Jun 26, 2009 6:35 am
Profile
User avatar

Joined: Mon Nov 05, 2007 12:18 am
Posts: 26
Location: Canada
Reply with quote
Post 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?


Fri Jun 26, 2009 6:39 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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.


Fri Jun 26, 2009 6:58 am
Profile
User avatar

Joined: Thu May 15, 2008 11:40 am
Posts: 1527
Location: In heaven, everything is fine.
Reply with quote
Post 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.


Fri Jun 26, 2009 12:15 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Zombie Defense -fixtastic-
holy ♥♥♥♥ you guys, wait for zombies09 to be released. seriously, it'll probably be out this weekend.


Fri Jun 26, 2009 12:18 pm
Profile WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post 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>


Fri Jun 26, 2009 12:50 pm
Profile WWW
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post 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?!?


Fri Jun 26, 2009 2:52 pm
Profile YIM WWW
User avatar

Joined: Mon May 18, 2009 11:48 pm
Posts: 205
Location: The swamps of Stuporia!
Reply with quote
Post 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?


Fri Jun 26, 2009 3:20 pm
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 268 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18  Next

Who is online

Users browsing this forum: No registered users


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.171s | 14 Queries | GZIP : Off ]