We would like to first wish everyone a Happy New Year. We've been relaxing this past few weeks, but now are back on track with the mod!
Coding wise, the random loot works great now, albeit can be optimized a bit more. Right now, I am working on making the round and round timer work. After which I will shift my attention to working on the code for the assimilators.
The models for the two assimilators are almost complete, they are missing the attachments as well as the final touch ups of the texture. The model will have at least two attachments for the moment. The first will be for the input of returned loots. The second will be the reward generator (output).
For the assimilators, I believe the best route will be to make them into model entities and to define functions for the two attachments. The input attachment will use a UTIL_traceline to determine if a loot has collided with the traceline, then check to see if the loot was on the list and if the player belongs to the right team; if yes, then it will remove the entity from the world. Then it will trigger the other attachment to produce the reward, probably using a pointer to that attachment and spawning a random reward. Next, it will increment the frag count. Finally, it will reset itself for the next incoming loot.
Possible future upgrades to this code would be to sort out different items based on their rarity and then assign different rewards as well as more points.
Friday, January 5, 2007
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment