@ Shadow969
Use the Filecopy function like me:
str_cpy(modell_name," "); // clear string
str_cpy(modell_name2," "); // clear string2
str_for_entfile(modell_name,you); // get the name of the model
str_cat(modell_name2,modell_name); // copy the name to string2
str_trunc(modell_name2,4); // cut the last 4 letters (.mdl)
str_cat(modell_name2,"_schatten.mdl"); // add _schatten.mdl to string2
file_cpy(modell_name2,modell_name); // copy the model and give the new filename model_schatten.mdl
ent_create(model_name2,my.x,null);
@rvL_exile
In dem Video siehst du doch das der Schatten transparent wird sobald die Lichtquelle weiter weg ist. Probier das mal zuhause mit einer Lampe aus...
Wirst sehen um so näher es an der Quelle ist desto dunkler ist der Schatten auch.
MFG Ralph
Last edited by Ralph; 09/14/07 13:04.