Development > Newbie Coding

Alien Resistance

(1/3) > >>

DarkRain:
So I was thinking about adding resistance/weakness to the aliens in my game, (at least until it is oficially implemented) so I made some changes in the code (see attachment), now the question is: Wich is the best way to make sure it´s doing what it´s supposed to? The values I used are probably too low to see any conclusive result in game (need to work on that) and I´m not getting any thing from the console log (I compiled a debug version and used +set developer 1) so any ideas? (Or maybe you can test it for me?)

(Note that I haven´t coded anything that requires compiling in several years)

geever:

--- Quote from: DarkRain on August 07, 2010, 10:45:01 pm ---So I was thinking about adding resistance/weakness to the aliens in my game, (at least until it is oficially implemented) so I made some changes in the code (see attachment), now the question is: Wich is the best way to make sure it´s doing what it´s supposed to? The values I used are probably too low to see any conclusive result in game (need to work on that) and I´m not getting any thing from the console log (I compiled a debug version and used +set developer 1) so any ideas? (Or maybe you can test it for me?)

(Note that I haven´t coded anything that requires compiling in several years)

--- End quote ---

you could add this to the Patch Tracker, so it doesn't get lost.

-geever

DarkRain:
Ok, managed to test it successfully (tough only used skirmish mode for now), tried some balancing but still needs more testing.
Added it to the patch tracker:
https://sourceforge.net/tracker/?func=detail&aid=3041597&group_id=157793&atid=805244

I must admit that since I haven't touched C since I was at school I didn't expect this to be even considered to be included in the project

Mattn:
i've added a comment to the tracker - in general the data should go into the scripts, the structures that hold the data should go into csi_t

DarkRain:

--- Quote from: Mattn on August 08, 2010, 07:48:52 pm ---in general the data should go into the scripts

--- End quote ---

That is what I think as well, now the question would be: Add a new script or integrate it with an existing one (maybe the armor team definition script?)? I was also thinking that this is related to the character creation templates (at least they seem related to me) but that's another matter. Unfortunately I don't expect to have a lot of time and my coding is very rusty but will see what can be done

Navigation

[0] Message Index

[#] Next page

Go to full version