Puzzlemaker
Newbie
- Joined
- Aug 1, 2004
- Messages
- 914
- Reaction score
- 0
Hiya, I am new to the whole modding buisness. As in, making the mods.
I know how to code C++. I am not an expert in any way, but I hope to learn, as it is a good skill to have.
Anyway, I was messing with the SDK code. That stuff is complex, and the valve wiki doesn't really explain what a lot of it does, plus what a lot of the functions do/where they are.
I made a small mod where when you shoot a rocket, it fires out 5 rockets with a shotgun-like effect (As in, random vectors). They dont fire off right away, it takes 5 seconds, so they fall to the ground, then five seconds later start shooting off randomly, meaning you can fire 30 rockets then have a giant rocket barrage.
I also made it so the explosion code creates shrapnel (AKA crossbow bolts; I could have used tracelines, but I wanted to use a physics prop). Its fairly glitchy, though, and doesn't work too well (The crossbow bolts most of the time don't spawn, I think they may be spawning behind the wall where the rocket hit, but I dont know how to fix that).
That was all fairly simple to do, just cutting and pasting parts into other parts and muddling my way through untill it works.
I was wondering if there was anywhere on the valve wiki or something that could explain what a lot of the functions and commands do. I am beggining to grasp the basics of it, but a lot of it still alludes me, and oftentimes to find out what it does I have to go through a scavenger hunt using find.
I know how to code C++. I am not an expert in any way, but I hope to learn, as it is a good skill to have.
Anyway, I was messing with the SDK code. That stuff is complex, and the valve wiki doesn't really explain what a lot of it does, plus what a lot of the functions do/where they are.
I made a small mod where when you shoot a rocket, it fires out 5 rockets with a shotgun-like effect (As in, random vectors). They dont fire off right away, it takes 5 seconds, so they fall to the ground, then five seconds later start shooting off randomly, meaning you can fire 30 rockets then have a giant rocket barrage.
I also made it so the explosion code creates shrapnel (AKA crossbow bolts; I could have used tracelines, but I wanted to use a physics prop). Its fairly glitchy, though, and doesn't work too well (The crossbow bolts most of the time don't spawn, I think they may be spawning behind the wall where the rocket hit, but I dont know how to fix that).
That was all fairly simple to do, just cutting and pasting parts into other parts and muddling my way through untill it works.
I was wondering if there was anywhere on the valve wiki or something that could explain what a lot of the functions and commands do. I am beggining to grasp the basics of it, but a lot of it still alludes me, and oftentimes to find out what it does I have to go through a scavenger hunt using find.