View unanswered posts | View active topics It is currently Thu Jan 09, 2025 11:58 pm



Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
 Zombie Generator/Emitter as a placeable object? 
Author Message
User avatar

Joined: Fri Jul 18, 2008 9:18 pm
Posts: 131
Location: Sacramento, CA
Reply with quote
Post Re: Zombie Generator/Emitter as a placeable object?
Would it be a far stretch to modify this such that it produces an actor [Robot 1 armed with a vanilla shotty] every time it "fires"?

I'd love to have a robot-dispenser inside my base for when things get dire, but without it constantly pumping them out.


Wed Jun 10, 2009 12:26 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Zombie Generator/Emitter as a placeable object?
To do that you can have a pinned crab that fires a weapon that shoots a dropship that contains the robot.

Which sounds complicated but really isn't.

Or you can have self contained lua spawning; either works.


Wed Jun 10, 2009 12:36 am
Profile
User avatar

Joined: Mon Jun 01, 2009 4:12 am
Posts: 74
Reply with quote
Post Re: Zombie Generator/Emitter as a placeable object?
Grif wrote:
To do that you can have a pinned crab that fires a weapon that shoots a dropship that contains the robot.

Which sounds complicated but really isn't.

Or you can have self contained lua spawning; either works.

And how would you have the self contained lua spawning?

I downloaded your Zombie Defense mod, its awesome :) But I noticed your zombies dont squish eachother when they land/climb on eachother. How could I make my generated zombies have that attribute?

Also, how do I change if the zombies are enemies or allies? Im hoping to make two differnet generators that could do just that.


Wed Jun 10, 2009 1:38 am
Profile
User avatar

Joined: Mon Jun 01, 2009 4:12 am
Posts: 74
Reply with quote
Post Re: Zombie Generator/Emitter as a placeable object?
... Yeah, so does anyone want to help me with this? :oops:
Im a very big noob when it comes to scripting, and Ive never done Lua. Im willing to learn, but help would be much appriciated.

Not to double-post, this post is a week after the previous one :-?


Sat Jun 13, 2009 6:15 am
Profile
User avatar

Joined: Wed Jan 24, 2007 11:53 pm
Posts: 589
Location: Silicon Valley, California
Reply with quote
Post Re: Zombie Generator/Emitter as a placeable object?
Here, this might help: http://www.datarealms.com/forum/viewtopic.php?f=24&p=261995#p261995
Keep reading until you see my post.

It seems that you have to place the emitter using PlaceMovableObject= (or PlaceTerrainObject, I can't remember which) in the scene's code so the spawned actors aren't all on the player's team. :)


Wed Jun 24, 2009 5:16 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 35 posts ]  Go to page Previous  1, 2, 3

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