| help on pupils... | |
|
|
Author | Message |
---|
AlnicZ27 * * * * * * * * * *
Posts : 1185 Join date : 2009-10-16 Age : 28 Location : Pinas
| Subject: help on pupils... Sun 17 Jan 2010, 06:59 | |
| i wanna know how to make GFX brutes automatically in BC... i saw others have so many pupils/GFX brutes created in BC with same look.. can someone tell me? | |
|
| |
Subman(R) admin
Posts : 2213 Join date : 2009-07-17 Age : 64 Location : Florida
| Subject: Re: help on pupils... Sun 17 Jan 2010, 07:23 | |
| | |
|
| |
Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: help on pupils... Sun 17 Jan 2010, 07:30 | |
| Or alternatively you may try the following quick route. This route allows to pick at random GFX from a list of predefined GFX you like. That way there is still a bit of variation among the GFX of your pupils and each GFX that is used is still one that you like. - Define a list of custom GFX codes you like using for example http://scriptwin.netau.net/GFX2/generateur_GFX.html or http://labrutetools.fr.cr/gene-gfx.html
- Once you have that list, edit your GFX.js file, replace the whole code by the spoiler below, and add your GFX codes as shown in the spoiler below:
- Spoiler:
- Code:
-
function rnd(minv, maxv){ if (maxv < minv) return 0; return Math.floor(Math.random()*(maxv-minv+1)) + minv; }
function createGfx() { var gfx = ''; //PREDEFINED SKINS FOR ALL MY PUPILS var RandomGFX = '' + rnd(1,8); switch (RandomGFX) { case '1': gfx ='0;1;5;4;1;1;1;4;0;0;0;-1;3;9;9;9'; break; case '2': gfx ='0;1;5;4;1;1;1;2;0;0;0;-1;3;9;9;9'; break; case '3': gfx = '0;1;5;4;1;1;1;3;0;0;0;-1;3;9;9;9'; break; case '4': gfx = '0;1;5;4;1;1;1;5;0;0;0;-1;3;9;9;9'; break; case '5': gfx = '0;1;5;4;1;1;1;6;0;0;0;-1;3;9;9;9'; break; case '6': gfx = '1;1;5;1;5;1;0;4;0;0;0;-1;3;9;9;9'; break; case '7': gfx = '1;1;5;1;5;1;0;5;0;0;0;-1;3;9;9;9'; break; case '8': gfx = '1;1;5;1;5;1;0;6;0;0;0;-1;3;9;9;9'; break; default: gfx ='0;1;5;4;1;1;1;4;0;0;0;-1;3;9;9;9'; break; } return gfx;
}
Beware: the code above works for 8 different predefined custom GFX. Il you have a different number of custom GFX code you'll have to change the '8' in rnd(1,8 );, and to add/remove case instructions.
Last edited by Sioc on Sun 25 Apr 2010, 14:55; edited 1 time in total (Reason for editing : Rewrote in a more pedagogic way) | |
|
| |
AlnicZ27 * * * * * * * * * *
Posts : 1185 Join date : 2009-10-16 Age : 28 Location : Pinas
| Subject: Re: help on pupils... Sun 17 Jan 2010, 07:36 | |
| thanks guys, but i forgot that i only make one pupil :oops: it dont make continuously even i dont stop it | |
|
| |
bamb@m * * * * * * * * *
Posts : 692 Join date : 2009-08-13 Location : under a palm tree ┏ ( ・o・) ┛♪
| Subject: Re: help on pupils... Sun 17 Jan 2010, 08:34 | |
| oh, that's right, 'cause your IP only changes occasionally, right? you can still change your gfx file for that, so you don't have to waste time setting the gfx every time. I do my own gfx for all my useless pupils when I try to find a good IP for myself, and then I have another gfx that is saved in my txt file where I keep mybrute data, so if I feel like making a random pupil for someone, I can just paste it in the gfx column. you could do it that way too | |
|
| |
AlnicZ27 * * * * * * * * * *
Posts : 1185 Join date : 2009-10-16 Age : 28 Location : Pinas
| Subject: Re: help on pupils... Sun 17 Jan 2010, 08:37 | |
| bam, i will replace the whole file with that code? bam, i need help, ill give you the code then you put it in that code cause i'm confused can you??
here's the code: someone put in this thread the code: 0;1;2;8;3;1;1;3;0;0;0;0;2;-1;2;2 thanks to all replies | |
|
| |
bamb@m * * * * * * * * *
Posts : 692 Join date : 2009-08-13 Location : under a palm tree ┏ ( ・o・) ┛♪
| Subject: Re: help on pupils... Sun 17 Jan 2010, 08:47 | |
| yeah, pm, please | |
|
| |
CypriaN * * * * * * * * *
Posts : 867 Join date : 2009-11-08 Age : 30 Location : New Zealand
| Subject: Re: help on pupils... Sun 17 Jan 2010, 08:54 | |
| bamb@m could you do that for me as well please ? | |
|
| |
maxuris * * * * * * * * *
Posts : 556 Join date : 2010-01-07 Age : 34 Location : Greece
| Subject: Re: help on pupils... Sun 17 Jan 2010, 09:26 | |
| Its so easy to make bc create a specific gfx brute for you ... Just go : http://scriptwin.netau.net/GFX2/generateur_GFX.html Make the gfx you want and click generer le code Then at the new page copy the part after the big CODE :Now go to your bc folder and on the GFX.js right click then edit or open with notepad and paste the text u have copied from the website after this line - Quote :
- function rnd(minv, maxv){
if (maxv < minv) return 0; return Math.floor(Math.random()*(maxv-minv+1)) + minv; }
not so tough to do ... | |
|
| |
bamb@m * * * * * * * * *
Posts : 692 Join date : 2009-08-13 Location : under a palm tree ┏ ( ・o・) ┛♪
| Subject: Re: help on pupils... Sun 17 Jan 2010, 09:58 | |
| for alnic: - Spoiler:
function rnd(minv, maxv){ if (maxv < minv) return 0; return Math.floor(Math.random()*(maxv-minv+1)) + minv; }
function createGfx() { var gfx = '';
//homme/femme gfx = gfx + '0;';
// vetements ameliores gfx = gfx + '1;';
// musculature gfx = gfx + '2;';
// cheveux gfx = gfx + '8;';
// barbe/frange gfx = gfx + '3;';
// t-shirt gfx = gfx + '1;';
// bas gfx = gfx + '1;';
// vetement gfx = gfx + '3;';
// ??? gfx = gfx + '0;0;0;';
// couleur peau gfx = gfx + '0;';
// couleur cheveux gfx = gfx + '2;';
// couleur speciale gfx = gfx + '-1;';
// couleur yeux gfx = gfx + '2;';
// couleur t-shirt gfx = gfx + '2;';
return gfx;
}
and for all others that don't know how to find/set their colors/appearance on the linked pages already provided, all you have to do is substitute your numbers in the code provided in my spoiler... | |
|
| |
AlnicZ27 * * * * * * * * * *
Posts : 1185 Join date : 2009-10-16 Age : 28 Location : Pinas
| Subject: Re: help on pupils... Sun 17 Jan 2010, 15:08 | |
| thanks, to mods, please close this thread now if there are no more requests... | |
|
| |
Sponsored content
| Subject: Re: help on pupils... | |
| |
|
| |
| help on pupils... | |
|