View Full Version : Windows SetAlive() doubts
sabixão
17th May 2014, 23:17
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
kung foo man
18th May 2014, 00:10
Start reading from here :D http://killtube.org/showthread.php?1562-player-model&p=7074&viewfull=1#post7074
I looks like the win-version only supports 1.3: https://github.com/M-itch/libcod_win/blob/master/libcod_win/src/gsc_player.cpp
sabixão
18th May 2014, 00:25
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 :/
kung foo man
18th May 2014, 07:00
Ah, check this thread: http://killtube.org/showthread.php?1832-Question-Astar-%28a*%29-and-SetAlive-functions&highlight=setalive+waittill
In short, it's this:
The damage acts like: model notify("damage", iDamage, eAttacker);
while (1) {
model waittill("damage", iDamage, eAttacker);
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.