ItsMods

Full Version: [Mod request] Paintball bullets
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I think this is prety easy to make,just need to find the .IWI file and modify it's color and then somehow randomize those colors so the Gun would shout different paint balls of differentc color. if someone can try making this, i would apreciate it. Thanx!
Here is the one from RTD V1.


-Credits to Azumikkel
PHP Code:
                {
                    
self waittill "weapon_fired" );
                    
PlayLoopedFX(level._effect["crossbow_enemy_light"], 0.10aim());
                    
self waittill "weapon_fired" );
                    
PlayLoopedFX(level._effect["crossbow_friendly_light"], 0.10aim());
                } 

and here is how it finds out where you are aiming.
PHP Code:
aim()
{
    
forward self getTagOrigin("tag_eye");
    
end self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    
location BulletTraceforwardend0self )[ "position" ];
    return 
location;

If you find the iwi files of the bulletimpacts, then send me the names and I'll try to make them Paintball-ish
debug_layer x makes it colourful
(06-28-2011, 20:32)failw0rm Wrote: [ -> ]Here is the one from RTD V1.


-Credits to Azumikkel
PHP Code:
                {
                    
self waittill "weapon_fired" );
                    
PlayLoopedFX(level._effect["crossbow_enemy_light"], 0.10aim());
                    
self waittill "weapon_fired" );
                    
PlayLoopedFX(level._effect["crossbow_friendly_light"], 0.10aim());
                } 

and here is how it finds out where you are aiming.
PHP Code:
aim()
{
    
forward self getTagOrigin("tag_eye");
    
end self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
    
location BulletTraceforwardend0self )[ "position" ];
    return 
location;


You forgot for(;Wink in the first one and the vector_Scal thread in the second
So what am i suppose to do with those codes?
Nothing, cause he didnt posted the vec_scal thread and i cant look in the code caus emy pc is broken -,- ( i think everybody knows that now xD)
(06-28-2011, 22:25)Tomsen1410 Wrote: [ -> ]Nothing, cause he didnt posted the vec_scal thread and i cant look in the code caus emy pc is broken -,- ( i think everybody knows that now xD)
Thank you. I totally forgot about that.


Here is the vec-scal code

PHP Code:
vector_Scal(vecscale)
{
        
vec = (vec[0] * scalevec[1] * scalevec[2] * scale);
        return 
vec;

And now how do i use it X) ?
(06-28-2011, 23:10)kikimo900 Wrote: [ -> ]And now how do i use it X) ?

put in into word, make it fit onto one A4 paper. now print it, smear chocolate (or poop) on it and post pics.
Pages: 1 2