Looking for Encouragement

  • Thread starter Thread starter k24q
  • Start date Start date
K

k24q

Guest
First of all Hi to all board users, strictly speaking im breaking a forum rule as this thread doesnt contain any coding problems I have encountered, but I dont know where else to place this. Basically I am doing a phd in computational chemistry and have a fair understanding of programing in Fortran and C++, by fair I mean simply wrote programs to run what I need, with little care for optimisaition or OOP. I would describe myself as a novice coder and aquainted with the basics of pointers/referencing (still get confused) ,classes, inheritance etc. However everytime I come to code in games like quake3, HL1, HL2 I get scared of with the pure volume of code and how it is all linked. I get frustrated that I can't implement and idea, because I dont know where to get an entity position in game, because I cant find the entity such as a thrown grenade, how do I get its position just before it is deconstructed so I can spawn more grens at that position (not more of the same grenade types :D). I suppose what im getting at is thoose people who are experienced in modifying code how did you get that experience and was it a hard slog for you? or is it simply out of my comprehension?

Many Regard.
 
I think entity classes have methods/member_variables to get the positionof the entity, it's velocity, angles .. etc.
 
The HL2 SDK documentation provides a fairly good introduction to how the engine works and how the classes are linked together. You should review it and see if that helps you.
 
/me encourages k24q


i wish i could do more but I'm in the same bag. :\
real game code scares meh.
 
Back
Top