Results 1 to 4 of 4

Thread: Windows SetAlive() doubts

  1. #1
    Private
    Join Date
    Oct 2012
    Posts
    15
    Thanks
    11
    Thanked 1 Time in 1 Post

    Windows SetAlive() doubts

    what steps to setAlive() work after injection libcod.DLL
    just, model setAlive(1); and the magic occurs ?
    as i know that she is working ? :P

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Start reading from here http://killtube.org/showthread.php?1...ull=1#post7074

    I looks like the win-version only supports 1.3: https://github.com/M-itch/libcod_win...gsc_player.cpp
    timescale 0.01

  3. The Following User Says Thank You to kung foo man For This Useful Post:

    sabixão (18th May 2014)

  4. #3
    Private
    Join Date
    Oct 2012
    Posts
    15
    Thanks
    11
    Thanked 1 Time in 1 Post
    I'm already using some function how self jumpButtonPressed() and others ,but setAlive() I'm lost with her ,I do not know how she would have to work :/

  5. #4
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Ah, check this thread: http://killtube.org/showthread.php?1...alive+waittill

    In short, it's this:

    The damage acts like: model notify("damage", iDamage, eAttacker);

    PHP Code:
    while (1) {
        
    model waittill("damage"iDamageeAttacker);
        
    iprintlnbold("damage: " iDamage);

    And in Asset Manager the model needs to have CollisionLOD=High. IMHO standard player models don't have that option, mostly static xmodels.
    timescale 0.01

  6. The Following User Says Thank You to kung foo man For This Useful Post:

    sabixão (18th May 2014)

Posting Permissions

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