Im Stuck In A Sticky Situation... Help Plz?

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

Im Stuck In A Sticky Situation... Help Plz?

Postby Raiiiny » Tue Sep 25, 07 8:20 am

Im making a grenade
that sticks to pawns on impact
but it won't stick



Code: Select all
function ProcessTouch (Actor Other, Vector HitLocation)
{
    local plasmagrenade g;
    local Pawn apawn;

      g.bBounce = False;
      g.bProximityTriggered = False;
      g.bStuck = True;
      g.SetBase(apawn);
}


Any Ideas?
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Alex » Tue Sep 25, 07 8:29 am

Try this:

Code: Select all
function ProcessTouch (Actor Other, Vector HitLocation)
{
  local Pawn apawn;

  aPawn      = Pawn(Other);
  if(aPawn == None)
    return;

  bBounce = False;
  bProximityTriggered = False;
  bStuck = True;
  SetBase(apawn);
}


I assume you placed this code in the Grenade class? If you didn't, then this code wont work.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby Raiiiny » Tue Sep 25, 07 9:30 am

Yeah i did but it still won't stick :-k

Code: Select all
class PlasmaGrenade extends ThrownProjectile;

var float   mpBlastRadius;
var float   mpProxRadius;
var float   mpLAMDamage;
var float   mpFuselength;

function ProcessTouch (Actor Other, Vector HitLocation)
{
  local Pawn apawn;

  aPawn      = Pawn(Other);
  if(aPawn == None)
    return;

  bBounce = False;
  bProximityTriggered = False;
  bStuck = True;
  SetBase(apawn);
}

simulated function PreBeginPlay()
{
   Super.PreBeginPlay();

   if ( Level.NetMode != NM_Standalone )
   {
      blastRadius=mpBlastRadius;
      proxRadius=mpProxRadius;
      Damage=mpLAMDamage;
      fuseLength=mpFuselength;
      bIgnoresNanoDefense=True;
   }
}


Btw i tryed joining the scripting forums
but i can't find the botton to add myself :oops:
Last edited by Raiiiny on Tue Sep 25, 07 9:44 am, edited 1 time in total.
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Alex » Tue Sep 25, 07 1:41 pm

The Scripting Society used be to be available for everyone, everyone could join the usergroup, but now we have some strict 'rules'. I'm afraid we cant accept you yet, perhaps later.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby Raiiiny » Tue Sep 25, 07 9:03 pm

its all good. ](*,)
i just want to bring deus back to life its pretty much dead now,
noone plays anymore.
the way i see it,
if i get acouple new mpmaps unlike any others ever played
an i have a mod that changes the way deus is played to like deus/UT combined
ppl might start gettin back on

but um yeah if you have anymore ideas about gettin the grenade to stick
lemme know plz
i gotta get it to start working before i can finish
makin my new map.
i hate puttin a map together when
my mods for it arent complete or i feel unorganized
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Shinobi » Wed Sep 26, 07 1:15 am

Methinks TNAG is sufficient for bringing DX/UT together.

Besides - DX is a very different game from UT.

Same engine, different world...
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Raiiiny » Wed Sep 26, 07 2:25 pm

TNAG is def a good mod
but didn't you notice nobody uses it when they host?

its because alot of even the best modders make
the biggest mistake
dx weapons simply don't hit hard enough, an hardly seem powerful when you shoot them which kills your intrest
UT weapons seem to fake an hit too hard

but if you can make realistic weapons that hit a good happy medium damage
or maybe 2 dif classes of weapons like in halo
(human, an covenant guns)

like im making normal guns
which are accurate, instantly hit, an hit a med amount of damge
an then a second more advanced class of weapons
which shoot slower, are more powerfull an alittle less accurate
i also want to fix it so that your guns are louder,
an when you shoot a wall it spawns more smoke an fragments

as far as the world goes you can make some huge changes to the way the game is played
some of the most simple changes
make the biggest diffs like gravity, your walking speed, an the way the level is built
i might start a mario world level soon
an there won't really be any weapons in it but a flower which shoots
fire balls like a pistol, there will also be pipes that teleport you around the level,
and mushrooms that make you jump higher for a limited amount of time
Last edited by Raiiiny on Wed Sep 26, 07 2:31 pm, edited 1 time in total.
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Survive. » Wed Sep 26, 07 2:33 pm

You Speak Sence
User avatar
Survive.
Master
 
Posts: 1573
Joined: Wed Dec 21, 05 2:25 pm
Location: Uk, Wales

Postby Raiiiny » Wed Sep 26, 07 2:44 pm

yeah
hopefully after i get afew things together, an maybe some help
i'll have the next most popular server \:D/
Last edited by Raiiiny on Wed Sep 26, 07 2:59 pm, edited 1 time in total.
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Kaiden » Wed Sep 26, 07 3:57 pm

Welcome to the forums anyway, sorry this is the first topic Iv'e read, youv'e probs get a intro topic somewhere!

Some nice ideas, goodluck with them!
------
Kaiden
Alpha
 
Posts: 7003
Joined: Wed Jan 18, 06 11:21 pm
Location: England

Postby Shinobi » Wed Sep 26, 07 4:30 pm

Hehe - Ya'd better make a yoshi for us.

We want yoshi.

And castles.

And midget italians called luigi.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Raiiiny » Wed Sep 26, 07 5:07 pm

Thx, im kind of new to the forums
an im not sure where to post anything,
there are sooo many topics lol

an thx again
i'll need all the luck i can get
i've put all my plans into actions an there coming along nicely
the only prob is im the only one workin on them an its taking ages
ive made mario pipe texture
an i'll have the bricks, grass, water, an skybox done today probly
althought i don't really want to finish workin on anything
till i get this dang sticky grenade to stick :typing:

Shinobi wrote:Hehe - Ya'd better make a yoshi for us.

We want yoshi.

And castles.

And midget italians called luigi.


you will be able to be a midget luigi, an there will most likely be a big castle
but since im not the best at meshing i can't promise you a yoshi lol
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Shinobi » Wed Sep 26, 07 9:59 pm

Calling all mesh-boffins:

I WANT A FUCKING YOSHI![/b]
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Awesome » Wed Sep 26, 07 10:01 pm

Code: Select all
function ProcessTouch (Actor Other, Vector HitLocation)
{

  if(Other.IsA('Pawn'))
  {
      SetPhysics('PHYS_None');
      bBounce = False;
      bProximityTriggered = False;
      bStuck = True;
      SetBase(Other);
  }
}
Awesome
 

Postby Raiiiny » Thu Sep 27, 07 10:21 am

lol well i'll see
what i can do when i get to it :P


Thx for the code
but it won't compile because of this
for some reason

Code: Select all
SetPhysics('PHYS_None'); 
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Raiiiny » Thu Sep 27, 07 10:50 am

lol well i'll see
what i can do about yoshi for you when
i get to it :P


Thx for the code
but it won't compile because of this
for some reason

SetPhysics('PHYS_None');
Last edited by Raiiiny on Thu Sep 27, 07 10:51 am, edited 1 time in total.
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Alex » Thu Sep 27, 07 11:16 am

There is an Image button.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby Shinobi » Thu Sep 27, 07 1:12 pm

And on that note - no there isn't.

Well I an't got one anyway.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Raiiiny » Thu Sep 27, 07 1:31 pm

Don't know if anyones intrested or not
but i made the textures for the pipes on my mario map

Image

an heres the new texture for my needler
but im not applying it to the one on my server yet since
its not finished
+ i still might just make a new mesh for it so yeah

Image
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Shinobi » Thu Sep 27, 07 2:30 pm

Nice!

Lovin' the pipes, matey!
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Survive. » Thu Sep 27, 07 3:51 pm

The pipes look decend.

Indeed :D
User avatar
Survive.
Master
 
Posts: 1573
Joined: Wed Dec 21, 05 2:25 pm
Location: Uk, Wales

Postby Shinobi » Thu Sep 27, 07 4:05 pm

I still want a yoshi, though.

So you better not rest until I get my yoshi. Even though I don't know you and have never seen your server. Either way I'm having a yoshi.

Even if it means I have to learn to make meshes myself.

PS: How hard is it to make meshes?
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby ~[R2K]D-BLOCK~ » Thu Sep 27, 07 8:00 pm

Ye the pipes looks cool. 8)
!!!!!Come Visit [RTK] CLAN Forums Click Here
User avatar
~[R2K]D-BLOCK~
Regular
 
Posts: 404
Joined: Tue Jul 03, 07 3:07 pm

Postby Raiiiny » Fri Sep 28, 07 2:10 am

ha thx im still
workin on everything but i def think im about to give up on the sticky grenade though since it won't work
an now im stuck on my paintball gun >.<



PS: How hard is it to make meshes?


um meshing isnt that hard
as long as you know what your doin
but i haven't meshed in awhile,
so i'll have to read
acouple tutorials when i get to it
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby VodunLoas » Fri Sep 28, 07 5:40 am

I'm diggin this. :)
User avatar
VodunLoas
Alpha
 
Posts: 677
Joined: Thu Apr 22, 04 7:16 am

Postby ~¤Hit[+]Män¤~ » Fri Sep 28, 07 6:02 am

kinda looks like a pocket pussy 8)
Image

Asus Blitz Formula
q6600 G0 revision
2gb of kingston hyper x ram pc 6400 800mhz
hd 2600 xt 512mg x2 crossfire
silverstone psu
Dell Ultrasharp 30"
User avatar
~¤Hit[+]Män¤~
Poster
 
Posts: 260
Joined: Sun Jun 13, 04 11:46 pm
Location: Texas, USA

Postby Raiiiny » Fri Sep 28, 07 8:45 am

Im thinkin about makin the map
so that you start off with weak weapons, an the better weapons will be in certain areas
that take a set amount of lockpicks to get in, which you can only get by killing other players
like 3 for a 2 hit sniper,5 for a gep gun, 10 for an infinate medkit ect...
that way if your a good player you can get better shit
an the areas will be hidden all throughout the level
Last edited by Raiiiny on Fri Sep 28, 07 8:46 am, edited 1 time in total.
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am

Postby Magus » Fri Sep 28, 07 11:24 am

... which will thus result in an imbalance as the best players get all the good gear and kill everyone else before they can get a foothold.

Ah well, at least you have ideas, which is more than most of us can say for ourselves.
-- Magus "Ours is not to question, only to act!"

Image
User avatar
Magus
Addict
 
Posts: 538
Joined: Wed Aug 17, 05 3:12 pm
Location: Manchester, England

Postby Kaiden » Sat Sep 29, 07 2:42 am

On a different note, is there something wrong with
your browser, or
do you just write like
this for the hell of it!? Hehe.

Yeah nice ..green pipe lol.
------
Kaiden
Alpha
 
Posts: 7003
Joined: Wed Jan 18, 06 11:21 pm
Location: England

Postby Raiiiny » Sat Sep 29, 07 8:59 am

well see technicaly if one persons killin everyone to save up the lockpicks then they'll be the only one with good stuff
an everyone will team up on him, besides they have to die
sooner or later an someone weaker might get there stuff
i just think it'd be a nice change instead of starting off with everything
and its sorta like a dif lvling up system in asence almost like pking on runescape if you've
ever played

wait what about my browser? lol

haha thx :)
wait till you see the water for
my new map i'll put up pics when i finish my textures
for it an the sky box

also ive been wondering
but how come theres always people on the forums an noone ever on deus anymore?
i had around 13-17 ppl on my server yesterday
an i can't say i've seen anyone from the forums :-k
Last edited by Raiiiny on Sat Sep 29, 07 9:05 am, edited 1 time in total.
Our greatest glory
is not in never falling, but in rising
every time we fall.
User avatar
Raiiiny
Wannabe
 
Posts: 117
Joined: Tue Sep 11, 07 2:39 am


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 2 guests
cron