Results 1 to 7 of 7

Thread: animation

  1. #1
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

    animation

    hello how make walking animations for zombie bots?

    Last edited by malyczolg; 7th June 2014 at 10:05.

  2. The Following User Says Thank You to malyczolg For This Useful Post:

    Invictus (4th July 2014)

  3. #2
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    PHP Code:
    self endon("killed");
        
    self.maxhealth 200;
    self.health=self.maxhealth;
    self.id=0;
    self setAlive(1);
    self thread monitordamage();

    while(
    level.zombies[self.id]) self.id++;
    level.zombies[self.id]=true;

    self setmodel("xmodel/czolg_zom_1");

    self.block spawn("trigger_radius",self.origin+(0,0,50),0,5,5);
    self.block setcontents(1);
    self.block enablelinkto();
    self.block linkto(self);
    self.block hide(); 

  4. #3
    Private Invictus's Avatar
    Join Date
    Mar 2013
    Location
    Poland
    Posts
    32
    Thanks
    25
    Thanked 13 Times in 6 Posts
    [PL]: Teufel w swoim modzie używa osobnych modeli, które nie różnią się niczym oprócz ustawienia rąk/nóg itp. itd. Chodzi o to żeby model zmieniał swój wygląd co jakiś czas... W jego modzie każdy model ma 10swoich odmian np. (wolfrun1 - wolfrun2 - wolfrun3 ... itd.) Gdybyś zrobił 10 takich odmian mógłbyś ustawić to prostym kodem. np:

    PHP Code:
    self setmodel("xmodel/czolg_zom_1");
    wait 0.2;
    self setmodel("xmodel/czolg_zom_2"); 
    Coś w tym stylu xD
    Xfire : rozpierdalacz0

  5. #4
    Private Invictus's Avatar
    Join Date
    Mar 2013
    Location
    Poland
    Posts
    32
    Thanks
    25
    Thanked 13 Times in 6 Posts


    *models from zombot 1.3 by Teufel.

    PHP Code:
    for(;;)
        {
        
    level.model setmodel("xmodel/iwx_nazi1");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi2");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi3");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi4");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi5");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi6");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi7");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi8");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi9");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi10");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi11");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi12");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi13");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi14");
        
    wait 0.03;
        
    level.model setmodel("xmodel/iwx_nazi15");
        
    wait 0.03;
        } 
    But theres a one problem... Model dont have colision, when i test this model on my mod - i can't kill zombie. You must spawn a trigger_damage to define dmg, or setalive().


    sorry for bad english
    Xfire : rozpierdalacz0

  6. #5
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    To clarify setAlive requires libcod and a model with a high lod collision.

  7. The Following User Says Thank You to Mitch For This Useful Post:

    Invictus (5th July 2014)

  8. #6
    Private First Class php's Avatar
    Join Date
    Nov 2012
    Posts
    142
    Thanks
    28
    Thanked 116 Times in 59 Posts
    You might wanna change that '*models from zombot 1.3 by Teufel. ' to '*models by IwX' since he made it the models.

  9. #7
    Private Invictus's Avatar
    Join Date
    Mar 2013
    Location
    Poland
    Posts
    32
    Thanks
    25
    Thanked 13 Times in 6 Posts
    Quote Originally Posted by php View Post
    You might wanna change that '*models from zombot 1.3 by Teufel. ' to '*models by IwX' since he made it the models.
    I don't know who is the owner of this model, i copy this model form Teufel mod. But in name of file i see ''iwx'' so, i will change that xD
    Xfire : rozpierdalacz0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •