Main

Forums

Wiki

Downloads

Tutorials

Walkthrough

Unreal-netiquette

Links

Submit-News

Oldunreal's hosted:
UnrealReference

Usermaps

Real-CTF

Donate for Oldunreal:

Oldunreal Donation
Oldunreallogo
  Welcome, Guest. Please Login or Register
 
  HomeHelpSearchLoginRegister  
 
 
Pages: 1 2 
inf paintball minimod (Read 4464 times)
Pyronious
God Member
*****
Offline


KABOOM

Posts: 572
Gender: male
Re: inf paintball minimod
Reply #20 - 04/22/09 at 06:17:14
 
thanks guys!! and tnx matrix for the fast reply too.

xDarksider, do i have to put dat in both scripts of the guns, or in the mutator you made ?
Back to top
 

-=Mod God on a Power Trip=-&&&&...
 
IP Logged
 
Pyronious
God Member
*****
Offline


KABOOM

Posts: 572
Gender: male
Re: inf paintball minimod
Reply #21 - 04/22/09 at 06:18:35
 
[§Ŕ] ŤhěxĐâŕkśîđěŕ wrote on 04/21/09 at 23:50:52:
Code:
Class PaintballMutator expands Mutator; 



lol i founds it
Back to top
« Last Edit: 04/22/09 at 06:18:56 by Pyronious »  

-=Mod God on a Power Trip=-&&&&...
 
IP Logged
 
Pyronious
God Member
*****
Offline


KABOOM

Posts: 572
Gender: male
Re: inf paintball minimod
Reply #22 - 04/22/09 at 06:40:18
 
[§Ŕ] ŤhěxĐâŕkśîđěŕ wrote on 04/21/09 at 23:50:52:
This:
Code:
PlayerPawn(Other).PlayerReplicationInfo.Team 


is what I needed.

Code:
Class PaintballMutator expands Mutator;
function bool CheckReplacement(Actor Other,out byte bSuperRelevant)
{
if(Other.Class==Class'DispersionPistol' || Other.Class==Class'Infiltration.INFIL_M9')
{
if(PlayerPawn(Other.Owner).PlayerReplicationInfo.Team==0 && ReplaceWith(PaintballPackage.PaintballGunRed)
return false;
if(PlayerPawn(Other.Owner).PlayerReplicationInfo.Team==1 && ReplaceWith(PaintballPackage.PaintballGunBlue)
return false;
}
return true;
} 



Try that; I made it now. It should work. Notice one thing: replace PaintballPackage with the actual package name, PaintballGunRed with the red paintball gun name and PaintballGunBlue with the blue paintball gun name.

Good luck.

P.S. Matrix, thanx for the hint. Tongue


it says
Error in Assmutator, Line 9: Call to 'ReplaceWith': bad or missing parameter 1

i m no script expert so i dont know what this means O.o


@ Matrix, yours works great! LOL MADE ME LAUGH:

...

they seem to like the blue one more hahaahaha
Back to top
« Last Edit: 04/22/09 at 06:47:37 by Pyronious »  

-=Mod God on a Power Trip=-&&&&...
 
IP Logged
 
[§Ŕ] ŤhěxĐâŕkśîđěŕ
Oldunreal MasterPoster
******
Offline


「エレクトロマスター」

Posts: 4444
Out of space-time continuum
Gender: male
Re: inf paintball minimod
Reply #23 - 04/22/09 at 17:58:29
 
I know this will work:
Code:
Class PaintballMutator expands Mutator;
function bool CheckReplacement(Actor Other,out byte bSuperRelevant)
{
if(Other.Class==Class'DispersionPistol' || Other.Class==Class'Infiltration.INFIL_M9')
{
if(PlayerPawn(Other.Owner).PlayerReplicationInfo.Team==0 && ReplaceWith(Other,"PaintballPackage.PaintballGunRed"))
return false;
if(PlayerPawn(Other.Owner).PlayerReplicationInfo.Team==1 && ReplaceWith(Other,"PaintballPackage.PaintballGunBlue"))
return false;
}
return true;
} 


Of course, do the good ol' replacement once again. Cool
Back to top
 

WWW WWW [§Ŕ] ŤhěxĐâŕkśîđěŕ  
IP Logged
 
Matrix224
God Member
*****
Offline



Posts: 722
New York
Gender: male
Re: inf paintball minimod
Reply #24 - 04/22/09 at 20:56:44
 
Haha nice picture
Back to top
 
WWW WWW Matrix224 100000730044789 UaS+Matrix  
IP Logged
 
Pyronious
God Member
*****
Offline


KABOOM

Posts: 572
Gender: male
Re: inf paintball minimod
Reply #25 - 04/22/09 at 21:11:02
 
@ thexdarksider, will try asap Cheesy

@ matrix: thnx hahah xD xD

and to all: thanks for helping me out here Smiley will defintly give all of you credit at readme Tongue
Back to top
 

-=Mod God on a Power Trip=-&&&&...
 
IP Logged
 
Spike
Senior Member
****
Offline


>K·§·A< Brotherhood

Posts: 432
United States
Gender: male
Re: inf paintball minimod
Reply #26 - 04/22/09 at 22:33:13
 
Forget the credit, just make sure we get a download for this =P it looks really nice. Me and matrix are quite interested in running it on the server.
Back to top
 

...
The · Killer · §kaarj · Assassins Brotherhood (1999-2011)
WWW WWW Spike  
IP Logged
 
Pyronious
God Member
*****
Offline


KABOOM

Posts: 572
Gender: male
Re: inf paintball minimod
Reply #27 - 04/23/09 at 14:06:42
 
yea i will put the files online when i fixed and tested them Smiley

Old files are for download at Daanspersonalart.tk -> old files.
Back to top
 

-=Mod God on a Power Trip=-&&&&...
 
IP Logged
 
Pages: 1 2 
(Moderator: Shambler)