View previous topic :: View next topic |
Author |
Message |
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Tue Feb 24, 2009 1:32 pm Post subject: Spawning a specific Scripted Pawn |
|
|
OK this is a new one on me guys.....
How do you get a Tentacle to spawn pretty much anywhere you want?
I mean on the ceilings of course :-)
Thanks for your thoughts...
Bass |
|
Back to top |
|
|
Bleeder91
Joined: 28 Sep 2006 Posts: 265
|
Posted: Tue Feb 24, 2009 2:27 pm Post subject: |
|
|
you mean a teleporting tentacle or..? and seriously, i have absolutely no idea how to spawn them on the ceiling XD only thing what i can think of is
Code: |
if(setlocation(vector(rotrand())*16384))
Velocity.Z = 999999999;
|
or to make the tentacle his own ceiling, like a panel mesh with ground texture above him _________________ Unreallity - Wrath of the Skaarj is still developing! Check out the new refreshing website!
|
|
Back to top |
|
|
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Tue Feb 24, 2009 6:06 pm Post subject: |
|
|
Bleeder91 wrote: | you mean a teleporting tentacle or..? and seriously, i have absolutely no idea how to spawn them on the ceiling XD only thing what i can think of is
Code: |
if(setlocation(vector(rotrand())*16384))
Velocity.Z = 999999999;
|
or to make the tentacle his own ceiling, like a panel mesh with ground texture above him |
What does that code do? LOL
No I don't mean a teleporting Tentacle, I mean if you want to put tentacles somewhere there aren't any... |
|
Back to top |
|
|
Bleeder91
Joined: 28 Sep 2006 Posts: 265
|
|
Back to top |
|
|
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Tue Feb 24, 2009 6:16 pm Post subject: |
|
|
No seriously what will it do?
If it helps...bring it on dude :-) |
|
Back to top |
|
|
Bleeder91
Joined: 28 Sep 2006 Posts: 265
|
Posted: Tue Feb 24, 2009 6:23 pm Post subject: |
|
|
aah well.. setlocation is kinda obvious what it does
it shouldve been this:
Code: |
if( setlocation(vector(rotrand())*16384*FRand()) )
|
what it does is take a random rotation, and then teleport somewhere between 0-16384 unreal meters in that direction. the if() makes setlocation a question: CAN i teleport to that spot? if so, do this... _________________ Unreallity - Wrath of the Skaarj is still developing! Check out the new refreshing website!
|
|
Back to top |
|
|
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Tue Feb 24, 2009 7:26 pm Post subject: |
|
|
Hmmm
That is very good to know.....AND it may come in handy.
Thanks... |
|
Back to top |
|
|
mental-HunteR
Joined: 05 May 2006 Posts: 363 Location: The Netherlands
|
Posted: Tue Feb 24, 2009 9:11 pm Post subject: |
|
|
This may seem obvious but can't you just summon a tentacle? or put them in a monsterSpawn mutator?? If i'm getting the question completely wrong, let me know lol. _________________
|
|
Back to top |
|
|
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Tue Feb 24, 2009 10:02 pm Post subject: |
|
|
Yea you can BUT the problem is the spawner will throw them anywhere and I do mean ANYWHERE but on the ceilings.... |
|
Back to top |
|
|
Zelk0wy[PL]
Joined: 19 Apr 2006 Posts: 110 Location: War Saw, Poland
|
Posted: Wed Feb 25, 2009 9:46 am Post subject: |
|
|
Zelk0NOOB says:
What do you want to do EXACTLY?
Do something to be able to spawn a tentacle on the ceiling as an admin (I mean summon it to be there), or what? _________________ Beware the lollipop of mediocrity - lick it once and you suck forever.
|
|
Back to top |
|
|
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Wed Feb 25, 2009 1:16 pm Post subject: |
|
|
Zelk0wy[PL] wrote: | Zelk0NOOB says:
What do you want to do EXACTLY?
Do something to be able to spawn a tentacle on the ceiling as an admin (I mean summon it to be there), or what? |
I want a mod/mutator that will spawn tentacles on ceilings in the game server environment. I'm running JcoopZ and DZMapM for reference with MANY additional packages.......... |
|
Back to top |
|
|
Bleeder91
Joined: 28 Sep 2006 Posts: 265
|
|
Back to top |
|
|
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Wed Feb 25, 2009 5:07 pm Post subject: |
|
|
Bleeder91 wrote: | oeh i just got an idea?! hurts anyways, why dont you just make an effect that gets spawned anywhere on the map, then it tracefires vertically to the cealing, and on the hitlocation it spawns a tentacle, at least when the ceiling isnt fakebackdrop. i hope you understand the idea |
Hey that's a pretty good idea Bleeder, never would have thought of that...now I'm not sure I can code ALL that but I can sure give it a go..
Any other ideas? |
|
Back to top |
|
|
mental-HunteR
Joined: 05 May 2006 Posts: 363 Location: The Netherlands
|
Posted: Thu Feb 26, 2009 3:31 pm Post subject: |
|
|
srbassalot wrote: |
Hey that's a pretty good idea Bleeder, never would have thought of that...now I'm not sure I can code ALL that but I can sure give it a go.. |
We can. _________________
|
|
Back to top |
|
|
srbassalot
Joined: 16 Sep 2004 Posts: 229 Location: Earth
|
Posted: Thu Feb 26, 2009 3:50 pm Post subject: |
|
|
Well then hook a brother up :-)
I'm sure I can find a way to repay you......
Or were you just honking your own horn to hear it beep :-P |
|
Back to top |
|
|
|