VirusZ Running Zombie

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    wink VirusZ Running Zombie

    Hi !

    So i'm going to show you on what i'm actually working.

    it's pretty simple to do but i'll update it step by step.

    For the moment the zombie have just the 2 "sprinting / running" animation.
    i've some trouble for set the speed but it will be ok.



    After that i'll add screaming zombie but for this i've to add some new sound but i still don't know how to do.

    Bye bye !

    Atidote.


  2. #2
    Apprentice rovearg is offline
    MemberRank
    Sep 2013 Join Date
    5Posts

    Re: VirusZ Running Zombie

    Cute video!


    beautiful animation of the zombie


    But wanted to ask:


    3 XP by zombie?? (11 XP minimum)


    Loot zombie??


    more zombie spawn?


    are things I saw in the video!

  3. #3
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: VirusZ Running Zombie

    yes that's have change because of the skill price.

    100 - 160 for the first and 360 - 450 at the last.

    yes loot zombie but not this zombie.

    millitary zombie loot good stuff.

    more zombie ? of course.

  4. #4
    Nobody folkz is offline
    MemberRank
    Apr 2013 Join Date
    BrazilLocation
    526Posts

    Re: VirusZ Running Zombie

    Speed problem u can add a new Zombie Spawn only for "Especial Zombies" and put speed to 5 ( if normal is 1 ) :)

  5. #5
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: VirusZ Running Zombie

    Yes i know, but for this i've to make a new class zombie and it take so much time ^^, i'll found how change the speed on the code, because when a zombie "walk" the speed is not like when he "run" so it's possible i just have to found how =).

  6. #6
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: VirusZ Running Zombie

    How did you do so zombies sprinters SPAWN so rare? I've added a new animation, but most of my zombie zombie animations used sprinter i think that more than 4x animations not to add? that is, 2 Zombie_Walk animation and 2 animation Zombie_run? right?

  7. #7
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: VirusZ Running Zombie

    have you look inside the zombie function the solution is on it.

    I've 2 walk 2 run 2 sprint 1 crawling 1 eating.

    So the problem is absolutly not from the number of anim.

  8. #8
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: VirusZ Running Zombie

    Can you share some of your code that's mine, but exactly is not working, I'll be grateful to you?
    You have added a lot of new code?

  9. #9
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: VirusZ Running Zombie

    void my_putchar(char c)
    {
    write(1, &c, 1);
    }

    void my_putstr(char *str)
    {
    int i = 0;

    while(str[i])
    my_putchar(str[i]);
    }

    int main(int ac, char **av)
    {
    my_putstr("If you know how to use if and else or switch case i've nothing to tell you\n");
    my_putstr("But if you don't, go here: Let me google that for you \n");
    return 0;
    }
    i'm not going share my code -___-

  10. #10
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: VirusZ Running Zombie

    Quote Originally Posted by atidote View Post
    i'm not going share my code -___-
    Ahah) You're funny, your code is not difficult, you did not do anything special)
    void obj_Zombie::StartWalkAnim(bool run)
    {
    int aid = 0;
    float wsk = 1.0f; // walk animtion speed coefficient
    if(!run && !CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Walk_02");
    wsk = .8f; //2.2f;
    } else if(!run && !CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Walking_04");
    wsk = 1.0f;
    } else if(!run && !CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Walk_03");
    wsk = 1.0f;
    } else if(run && CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Run_02");
    wsk = 0.5f; //0.3f;
    } else if(run && CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Run_02");
    wsk = 0.5f; //0.3f;
    } else if(run && CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Run_03");
    wsk = 0.5f; //0.3f;
    } else r3d_assert(true);
    Oh yeah) I added a sprint zombies around 2 months ago)

  11. #11
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: VirusZ Running Zombie

    Quote Originally Posted by atidote View Post
    it's pretty simple to do but
    i don't know what you want, i'm happy for you you know how add animation.

    } else if(run && CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Run_02");
    wsk = 0.5f; //0.3f;
    } else if(run && CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Run_02");
    wsk = 0.5f; //0.3f;
    } else if(run && CreateParams.FastZombie) {
    aid = AddAnimation("Zombie_Run_03");
    wsk = 0.5f; //0.3f;
    }
    int aid; it's a simple int ok ?

    so....

    wtf are you doing !?

    you sayed 4 times the same thing on else if !

    it's like this:
    int i = 1;

    if (i == 1)
    aid = add.......
    else if (i == 1)
    aid = add....
    else if (i == 1)
    aid = add....
    else if (i == 1)
    aid = add....
    else if (i == 1) <-------- only this one is take.....
    aid = add....

  12. #12
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: VirusZ Running Zombie

    I know I tried to add a new something like this, but alas, I did not work, yang know why)
    obj_zombie.cpp
    } else if(run && !CreateParams.SprintZombie) {
    aid = AddAnimation("Zombie_Run_01");
    wsk = 0.425f; //1.3f;
    } else if(run && CreateParams.SprintZombie) {
    aid = AddAnimation("Zombie_Run_02");
    wsk = 0.5f; //0.3f;
    p2pmessages.h
    BYTE FastZombie;
    BYTE SprintZombie;
    obj_Zombie_spawn
    , fastZombieChance(50.0f)
    , sprintZombieChance(50.0f)
    and so on, I did everything by analogy, but unfortunately I did not see the new animations in the game, and more than that I thought that I did not work out

  13. #13
    AKCore ATIDOT3 is offline
    MemberRank
    Apr 2013 Join Date
    BinaryLocation
    536Posts

    Re: VirusZ Running Zombie

    BYTE FastZombie;
    BYTE SprintZombie;
    why ? not needed.

    really i've copy past the walk function and add one if else

  14. #14
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: VirusZ Running Zombie

    Quote Originally Posted by atidote View Post
    why ? not needed.

    really i've copy past the walk function and add one if else
    By this I asked you for help, but alas you to laugh at me) Well'll take care of itself)

  15. #15
    Skilled mapper Hypoflex is offline
    MemberRank
    May 2012 Join Date
    NetherlandsLocation
    256Posts

    Re: VirusZ Running Zombie

    thats cute you try to copy my cars on fire



Page 1 of 2 12 LastLast

Advertisement