Need Help With Scripting
Quote from Tmast98 on July 9, 2013, 4:22 amChicken, 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.
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.

Quote from josepezdj on July 9, 2013, 4:25 amHmmmm... 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");
}
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");
}
Quote from FelixGriffin on July 9, 2013, 9:00 amRemember, 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.
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.

Quote from josepezdj on July 9, 2013, 11:24 amYeah, that reminded me to my trial of turning a Frankenturret (monster cube) into a regular cube last year
Yeah, that reminded me to my trial of turning a Frankenturret (monster cube) into a regular cube last year
Quote from DaMaGepy on July 11, 2013, 10:02 amOFFTOPIC:
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.
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.
Quote from FelixGriffin on July 11, 2013, 10:48 pmYou don't even need to download anything; use the mklink command on Windows and ln on anything else.
You don't even need to download anything; use the mklink command on Windows and ln on anything else.

Quote from ChickenMobile on July 11, 2013, 11:34 pmIf you install any game on steam doesn't it ask you if you want to put it in a new directory anyway?
If you install any game on steam doesn't it ask you if you want to put it in a new directory anyway?