View Single Post
ideas code:
[12:16] <@orion|work> but here is how i would set this attaking bit up
[12:17] <~Fear091> *-*
[12:17] <@orion|work> the turns in the attack will be based primarily around speed right?
[12:17] <@orion|work> well yes they will
[12:17] <@orion|work> i can see code
[12:18] <~Fear091> yeah, speed determines the attack order
[12:18] <~Fear091> well
[12:18] <~Fear091> i hope
[12:18] <~Fear091> well it does, for this
[12:18] <~Fear091> but this is just 1v1
[12:19] <@orion|work> create a framework for attaking
[12:19] <@orion|work> as in
[12:19] <@orion|work> code it so depending on a variable
[12:19] <@orion|work> such as gaurd 1
[12:19] <@orion|work> it will load up a diferent set of stats attacks etc
[12:20] <@orion|work> but battles always follow set framework
[12:20] <~Fear091> .
[12:20] <~Fear091> .
[12:20] <~Fear091> .
[12:20] <@orion|work> if speed of player > speed of baddy
[12:20] <@orion|work> turns are player, baddy, player etc.
[12:20] <@orion|work> else yayay
[12:21] <@orion|work> you got it
[12:21] <~Fear091> so
[12:21] <~Fear091> get the speeds first
[12:21] <@orion|work> exactly
[12:21] <@orion|work> also
[12:21] <@orion|work> it would make your life easier
[12:21] <@orion|work> to make it read an enenmies file
[12:22] <~Fear091> .
[12:22] <~Fear091> .
[12:22] <~Fear091> .
[12:22] <@orion|work> so that you can change there stats on the fly
[12:22] <@orion|work> as in rather than hard coding in enemy data
[12:22] <@orion|work> keep sets of files
[12:22] <@orion|work> .enemy
[12:22] <@orion|work> or something
[12:22] <@orion|work> and have the program read there data off of there
[12:23] <~Fear091> that's probably above what I can do atm
[12:23] <~Fear091> I guess I'll
[12:23] <@orion|work> nah
[12:23] <~Fear091> learn some more
[12:23] <@orion|work> thats easy
[12:23] <@orion|work> you can do it
[12:23] <~Fear091> what do you mean a file though?
[12:24] <@orion|work> as in a text file
[12:24] <~Fear091> right
[12:24] <~Fear091> enemys. what?
[12:24] <@orion|work> so like
[12:24] <@orion|work> ...
[12:24] <@orion|work> toribash
[12:24] <~Fear091> right..
[12:24] <@orion|work> reads a replay
[12:25] <@orion|work> your program will read enemy files
[12:25] <@orion|work> so like the set up of an enemie file
[12:25] <@orion|work> would include
[12:26] <@orion|work> attack,speed,health,defence
[12:26] <@orion|work> etc
[12:26] <@orion|work> or numbers that would signal the program to generate biased random stats
[12:27] <@orion|work> that way you don't have to recompile every time an enemie is too weak or too strong
[12:27] <@orion|work> it will make playtesting much easier
Free Pv2Caribou