Data Realms Fan Forums
http://45.55.195.193/

Spawning Actors
http://45.55.195.193/viewtopic.php?f=1&t=13214
Page 1 of 1

Author:  Coops150 [ Sat Dec 27, 2008 10:50 pm ]
Post subject:  Spawning Actors

Well i am still working on my first Mod "S.A.W." I want to make something that would spawn other actors but i would need someone to help me Code this... or atleast give me an example.

that would be all..

Author:  Solace [ Sat Dec 27, 2008 11:04 pm ]
Post subject:  Re: Spawning Actors

You mean like my zombie launcher? If so it's pretty easy...

Code:
AddAmmo = AHuman
   CopyOf = Zombie Medium
   PresetName = (some name)


Then you can go about adding that to whatever, like you would any other kind of ammo. However, the downside is that an actor spawned like that would act on it's own, rather than on your team.

Author:  Coops150 [ Sat Dec 27, 2008 11:16 pm ]
Post subject:  Re: Spawning Actors

Solace wrote:
You mean like my zombie launcher? If so it's pretty easy...

Code:
AddAmmo = AHuman
   CopyOf = Zombie Medium
   PresetName = (some name)


Then you can go about adding that to whatever, like you would any other kind of ammo. However, the downside is that an actor spawned like that would act on it's own, rather than on your team.


i was thinking more like something you would drop and then they would spawn. would i have to make it a gib then?

Author:  Solace [ Sat Dec 27, 2008 11:24 pm ]
Post subject:  Re: Spawning Actors

Yeah, that's what I normally do, since spawning a zombie directly out of a gun tends to gib you.

Author:  Alenth Eneil [ Sun Dec 28, 2008 12:06 am ]
Post subject:  Re: Spawning Actors

Use the "ABomb" method if you want them to be controllable.

Author:  Coops150 [ Sun Dec 28, 2008 5:29 am ]
Post subject:  Re: Spawning Actors

okay... i mean by, lets say ''throw a grenade'' and after the explosion actors start spawning NOT FROM A GUN

Author:  Solace [ Sun Dec 28, 2008 5:33 am ]
Post subject:  Re: Spawning Actors

Do you want them to attack randomly or be on your team? If it's random, do the same thing I said except make that a gib for the granade >.> <.<

Author:  Coops150 [ Sun Dec 28, 2008 7:59 pm ]
Post subject:  Re: Spawning Actors

i want them to be on my team.

also would it be possible for the actors to be emmited from the sky?

Author:  Solace [ Sun Dec 28, 2008 9:43 pm ]
Post subject:  Re: Spawning Actors

Ah, then you'd have to figure out what Alenth Eneil said. About spawning them high up... I've seen things that do that, but I don't know exactly how to do it myself.

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