SphereEffect

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

Moderator: Forum Guards

SphereEffect

Postby Leenuks » Wed May 21, 08 8:43 am

Hi all.

In my competition map Ive decided to put a SphereEffect where the teleports are located. Only problem is I place it and it will not show up in my map. It shows in the editor only.

I have messed with many settings of this Effect but cant work out how to make it visible to everyone.

In the Editor you can see what I want to do.
Image

In-game what I get.
Image

Leenuks
User avatar
Leenuks
Wannabe
 
Posts: 136
Joined: Fri Aug 05, 05 8:52 am
Location: Australia

Postby Dae » Wed May 21, 08 8:51 am

If you summon a SphereEffect in the game with a command, it disappears in a couple of seconds. Same here.

This is because of:
Code: Select all
simulated function Tick(float deltaTime)
{
   DrawScale = 3.0 * size * (Default.LifeSpan - LifeSpan) / Default.LifeSpan;
   ScaleGlow = 2.0 * (LifeSpan / Default.LifeSpan);
}

in the class "SphereEffects".

Make your own SphereEffect child and override this function.
Last edited by Dae on Wed May 21, 08 8:52 am, edited 1 time in total.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Leenuks » Wed May 21, 08 9:34 am

Thanks.

I made a new actor from that class and then edited it to this

Code: Select all
class TP-SphereEffect expands SphereEffect;

var float size;

simulated function Tick(float deltaTime)
{
   DrawScale = 4.0 * size;
   ScaleGlow = 2.0;
}


I then set in the properties of the actor under Advanced, Lifespan and changed the 0.500000 to 0.

So far it hasnt vanished so hopefully during a match it will stay put.
User avatar
Leenuks
Wannabe
 
Posts: 136
Joined: Fri Aug 05, 05 8:52 am
Location: Australia


Return to Editing issues

Who is online

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