Please or Register to create posts and topics.

Need Help With Scripting

PreviousPage 4 of 5Next

Still isn't working, arg! Ill send you a message...one moment.

This Signature is Beyond Your Range of Seeing.

Image

Trying Chicken's now

This Signature is Beyond Your Range of Seeing.

Image

Chicken, yours works. I cannot thank you enough. I don't know why yours didn't Jose. But I also want to thank you very much for your help as well. Sorry if I was just being super annoying or dumb at all through this process. The help is very, very much appreciated. Thank you both very much.

This Signature is Beyond Your Range of Seeing.

Image

Hmmmm... weird. This is the one I made for my map Da-MaSK and did actually worked out perfectly (I applied not to a single cube, but all of them in the map, so I searched by class name):

Code: Select all
function ChangeCubes(){
   Entities.FindByClassname(null, "prop_weighted_cube").SetModel("models/josepezdj/metal_box_jose.mdl");
}
ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Odd, maybe I did something wrong with yours?

This Signature is Beyond Your Range of Seeing.

Image

Remember, Tmast, SetModel doesn't change collisions. If you SetModel a sphere into a cube, it will become a box that rolls around and acts like a sphere. Unless your custom model is shaped just like a cube, I'd recommend an env_entity_dissolver to destroy the boxes.

Falsi sumus crusto!

Yeah, that reminded me to my trial of turning a Frankenturret (monster cube) into a regular cube last year :lol:

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

OFFTOPIC:
About Portal being on the desktop: Symbolic links ftw!
If someone has steam installed on the OS partition (C:), and periodically backs up the partition with a backup program (norton ghost, macrium reflectm etc), should consider moving the steam installation to another drive. It can be done normally with lot of registry tweaking, or just moving the whole dir and making a symbolic link to it. So the Steam dir is still on C: but phisically its on another drive. I use it all the time. (Symbolic Link Creator):)
There are free programs to create junctions or hard or symbolic directory or file links. For example my Steam is installed on drive e: but the portal 2 dir from steam is moved to an ssd. I also moved My World of Warcraft's Interface directory to the SSD, thousands of little small file that loads so slowly on a normal HDD.

-= Check out my maps: workshop, and their .vmf sources: homepage =-

You don't even need to download anything; use the mklink command on Windows and ln on anything else. :)

Falsi sumus crusto!

If you install any game on steam doesn't it ask you if you want to put it in a new directory anyway?

?????????????????????????????TWP Releases | My Workshop
PreviousPage 4 of 5Next