Author Topic: two thing  (Read 3080 times)

shouldnt this be called scripting help

and

how do i make a weapon image colorshift with the paintcan

1: Calling it Scripting Help wouldn't work, as you may need help Coding a script to make a DTS work. There's a difference.

2: You mean, make a weapon change colors with paintcan color?


Hmmm, well I'm not sure if that's possible. I'm not says it's not, I'm saying I'M not sure. I know vehicles can do it, but I'm unsure about items/weapons

I'm sure weapon image can do it due to the paint can being an image.

...paintcan is a DTS object...


But wands are colored by datablock code, you can't change them dynamically ingame. Btw, THE GUY FROM HARRY POTTER MOVIE AS AN AVATAR, original on these forums...

Well, even the skis in the game start in your hands as blue, only changing once made into vehicles/coloured nodes on your body.

In BL0002 Badspot used setSkinName and a lot of bitmaps for both painting and weapon colouring. Here, in Retail, he uses a colour "ID" system for painting and ColorShift for the weapons. I don't think it's possible without a lot of changes to the painting and engine-side ColorShift system.

I might be wrong but dont vehicles have:

paintable = true;


Code: [Select]
   colorShiftColor = getColorIDTable(%client.currentColor);

Dunno if this would work, grabbed it from skis and edited it a bit.


Is this a vehicle?

No, but it might work by putting paintable = true; into a weapon, i dunno just a stab in the dark.

You seem to have hit a wall :cookieMonster:

A very thick one I think. Only Badspot can answer this. Litterly, his script is DSOED.