Page 1 of 1

Entering respawn script in Entity?

Posted: Tue Oct 17, 2006 10:56 am
by t_mann05
ok so this respawn script is already compiled meaning i dont have to compile it......where do i inject this script at in entity? sorry im a noob at scripting and just want to try the respawn one. How do i do what he is telling me to do to make it work? tut anyone? thanks for any help




00 00 BA BA BA BA BA BA BA BA BA BA BA BA BA BA BA BA BA BA 74 E3 00 00 04 00 08 00 FF FF FF FF FF FF FF FF 02 00 75 E3 75 E3 00 00 02 00 09 00 03 00 76 E3 FF FF FF FF 00 00 00 00 76 E3 15 00 04 00 08 00 0B 00 7E E3 FF FF FF FF 04 00 77 E3 77 E3 15 00 02 00 09 00 05 00 78 E3 FF FF FF FF 00 00 00 00 78 E3 0D 00 05 00 08 00 FF FF FF FF FF FF FF FF 06 00 79 E3 79 E3 0D 00 02 00 09 00 07 00 7A E3 FF FF FF FF 00 00 00 00 7A E3 46 01 07 00 08 00 0A 00 7D E3 FF FF FF FF 08 00 7B E3 7B E3 46 01 02 00 09 00 09 00 7C E3 FF FF FF FF 00 00 00 00 7C E3 13 00 13 00 09 00 FF FF FF FF FF FF FF FF 00 00 00 00 7D E3 07 00 07 00 09 00 FF FF FF FF FF FF FF FF 00 00 00 00 7E E3 13 00 04 00 08 00 0E 00 81 E3 FF FF FF FF 0C 00 7F E3 7F E3 13 00 02 00 09 00 0D 00 80 E3 FF FF FF FF 00 00 00 00 80 E3 07 00 07 00 09 00 FF FF FF FF FF FF FF FF 96 00 FF FF 81 E3 22 01 04 00 08 00 FF FF FF FF FF FF FF FF 0F 00 82 E3 82 E3 22 01 02 00 09 00 10 00 83 E3 FF FF FF FF 00 00 00 00 83 E3 13 00 13 00 09 00 FF FF FF FF FF FF FF FF 00 00 00 00


Simply inject at the start of the syntax data section, and set up a script in the scripts reflexive called ai_respawner, that's continuous, with void value type, and starts at 0100 74E3.

That script is set up where ai_squad is squad #0. You'll need to edit it a bit if the squad is in a different slot.

Posted: Tue Oct 17, 2006 2:12 pm
by a mammoth
You can't inject hex through entity. What I would do is copy the script chunk in the chunk cloner and then paste it into your map, that would be much easier with no hex at all.

Posted: Tue Oct 17, 2006 3:27 pm
by t_mann05
ok heres the script i need to put in my map. How exactly do i put it in my map so i can use it?


(script continuous rox_respawner
(begin
(sleep_until (= (ai_living_count ai_squad) 0))
(sleep 150)
(ai_place ai_squad)
)
)

Posted: Tue Oct 17, 2006 3:39 pm
by dos mes
Entity's script compiler, which I believe was made by Shalted. Look it up on the FF.

Posted: Tue Oct 17, 2006 3:55 pm
by t_mann05
yes i know i tried to compile it, but it doesnt work i get an error every time :?