Jump to content
Sign in to follow this  
Baraka

create own p3d at impact

Recommended Posts

Hi there.

I need help with creating particles for an weapon impact for my cal.68 mod.

The goal is to create an splash object at impact like this:

make-paintball-bunker-800x800.jpg

The effect is NOT needet at players, only with static things (bunker, buildings, trees...)

Can be an image overlay or an p3d object, i don´t care which.

Trying to get this for 1 year now. I´m the noobiest lamest scripting duck on earth i guess.

What i have now is an smoke cloud which appears for 2 seconds. Guess it´s from the vanilla blood setting.

This is from my weapon config. It´s not from me (in fact, everytime i touch it, it crashes :o)

};

};

};

class CfgCloudlets {

class Blood;

class cal68_impact_red: Blood {

particleFSNtieth = 16;

particleFSIndex = 12;

particleFSFrameCount = 8;

particleFSLoop = 0;

size[] = {0.3,0.5};

color[] = {{0.0,1,1,1},{0.0,1,1,0.1}};

};

class cal68_impact_green: Blood {

particleFSNtieth = 16;

particleFSIndex = 12;

particleFSFrameCount = 8;

particleFSLoop = 0;

size[] = {0.3,0.5};

color[] = {{0.0,1,0.0,1},{0.0,1,0.0,0.1}};

};

class cal68_impact_yellow: Blood {

particleFSNtieth = 16;

particleFSIndex = 12;

particleFSFrameCount = 8;

particleFSLoop = 0;

size[] = {0.3,0.5};

color[] = {{1,1,0,1},{1,1,0,0.1}};

};

};

class cal68_impact_red {

class cal68_impact_red {

position[] = {0,0,0};

simulation = "particles";

type = "cal68_impact_red";

intensity = 1;

interval = 1;

lifeTime = 2;

};

};

class cal68_impact_green {

class cal68_impact_green {

position[] = {0,0,0};

simulation = "particles";

type = "cal68_impact_green";

intensity = 1;

interval = 1;

lifeTime = 99;

};

};

class cal68_impact_yellow {

class cal68_impact_yellow {

position[] = {0,0,0};

simulation = "particles";

type = "cal68_impact_yellow";

intensity = 1;

interval = 1;

lifeTime = 2;

};

};

There are 3 colours because i have different ammunition (balls) and it´s nicer when each team has it´s own colour

I have made an splash object in O2, but as said i can´t get it work.

So please, if you know a solution let me now--your Karma will increase in the sky.

Edit: This what it looks now: p><p>One of this balls should replace the smoke, of as an static one: <img src=[/img]

Edited by Baraka

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×