Author |
Message |
Coops150
Joined: Thu Dec 11, 2008 11:53 pm Posts: 73 Location: In the pickle jar in your fridge
|
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..
|
Sat Dec 27, 2008 10:50 pm |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
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.
|
Sat Dec 27, 2008 11:04 pm |
|
|
Coops150
Joined: Thu Dec 11, 2008 11:53 pm Posts: 73 Location: In the pickle jar in your fridge
|
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?
|
Sat Dec 27, 2008 11:16 pm |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
Re: Spawning Actors
Yeah, that's what I normally do, since spawning a zombie directly out of a gun tends to gib you.
|
Sat Dec 27, 2008 11:24 pm |
|
|
Alenth Eneil
Joined: Mon Dec 04, 2006 3:34 am Posts: 2378
|
Re: Spawning Actors
Use the "ABomb" method if you want them to be controllable.
|
Sun Dec 28, 2008 12:06 am |
|
|
Coops150
Joined: Thu Dec 11, 2008 11:53 pm Posts: 73 Location: In the pickle jar in your fridge
|
Re: Spawning Actors
okay... i mean by, lets say ''throw a grenade'' and after the explosion actors start spawning NOT FROM A GUN
|
Sun Dec 28, 2008 5:29 am |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
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 >.> <.<
|
Sun Dec 28, 2008 5:33 am |
|
|
Coops150
Joined: Thu Dec 11, 2008 11:53 pm Posts: 73 Location: In the pickle jar in your fridge
|
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?
|
Sun Dec 28, 2008 7:59 pm |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
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.
|
Sun Dec 28, 2008 9:43 pm |
|
|
|