Kernlochbohrer Group: Members
Joined: Jan 10, 2005
QUOTE (JT_Mix @ Feb 23 2009, 19:15)
Is it possible for you to deploy tire spikes with cleo? if so has anyone got the code?
thanks
you mean TEMP_STINGER2 of mission Puncture Wounds ? I believe its not done as cleo. Its a bit of work. Needs to place the object TEMP_STINGER2 on street and check if a car is at same coord then deflate its tire
GTA Juggernaut Group: Moderators
Joined: Jan 7, 2004
Some years ago I created such a mod for Vice City (Stinger Drop Mod), demonj0e converted it to San Andreas. It's not a cleo script though, and that might be a bit hard as it makes extensive use of small threads and I don't think CLEO-scripts allow that.
This post has been edited by PatrickW on Tuesday, Feb 24 2009, 19:38
GTA Juggernaut Group: Moderators
Joined: Jan 7, 2004
I'm not an expert in the limitations of CLEO-scripts, but I was under the impression that you couldn't start new threads from within them. Not based on experience, but on this text from the sannybuiulder CLEO helppages:
QUOTE (sannybuilderhelp >> CLEO3 scripts)
One file – one thread. Each CLEO-script must be made as a single thread compiled in a single file. If you need more threads for your script, use the opcodes 004F or 0A92, depending of where is that additional thread located - in the main.scm or in a separate cs-file.
But maybe an option would be to have the small "stringer-thread" in a seperate CLEO-file, and start that from the sniffer-thread with opcode 0A92. Certainly worth a try.
GTA Juggernaut Group: Moderators
Joined: Jan 7, 2004
Thanx for the tip, seeman
Wouldn't it be possible to also support this "translation" for CLEO-scripts during compilation ? So that you can simply use the symbolic name "#TEMP_STINGER2" in CLEO-scripts also ?
Yea, that would be useful, however I'm a supporter of that a scripter should know how the things work and why the code is compiled in a certain way. Anyway, added on the todo list.
Kernlochbohrer Group: Members
Joined: Jan 10, 2005
QUOTE (Seemann @ Feb 25 2009, 16:27)
Yea, that would be useful, however I'm a supporter of that a scripter should know how the things work and why the code is compiled in a certain way. Anyway, added on the todo list.
todo list. ?? you will release a new version ?? and for gta4, is there anything in work or will it stay by lua? or maybe a lua editer ?
Sanny Builder and CLEO are far from completion. I still have in mind a lot of features to add for both. So, yea, new version will eventually come. As for GTA 4... let it be surprise!
High Roller Group: $outh $ide Hoodz
Joined: Mar 18, 2007
QUOTE (Seemann @ Feb 25 2009, 15:19)
Sanny Builder and CLEO are far from completion. I still have in mind a lot of features to add for both. So, yea, new version will eventually come. As for GTA 4... let it be surprise!
Oh.. im impatient to see teh new stuff
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)