![]() |
AI skill creation
I'm interested in making skills through AI. These skills are imposible through conventional skilldata scripting but are a reality through AI scripting. I need some help, any help will do.
If you can provide any of the following please reply: 1. Script a brand new skill through AI.obj 2. Help me learn AI.obj 3. Combination of the two 4. Or anything that will get me closer to my goal Interesting aye? Let's recap: A skill that is imposible to implement through skilldata.txt but can be done through ai scripting. Again, this means that it's a skill that can be done and is something out of the ordinary which ultimately means a brand new skill that has, to my knowledge, never been made. ^_^ |
your skill summons a pet that makes action on master and then despawns.
This would allow Per example to make a skill that makes a earthquake... :) (You can make //earthquake through AI ^_^) I think that would be a nice effect for any skill :p |
In the past we use AI to implement some skills like "Summon Arrows" or unpack soulshots ... or "Scroll of Escape for towns"...
Thats is because with C1 skilldata was imposible to get an item through an skill so... with AI, summoning a pet who give an item to master and later despawn... in the case of the SOE towns is a similar idea, pet teleport master to the required location and later despawn... some examples... C1 NASC... my own code... Decompressing packs... Code:
class default_npc { }Code:
class default_npc { }Code:
class default_npc { } |
Thanks to fidows post i am able begin my first attempt to add skills that buff stats, i'm able to add a kind of validation to whether players buff stack on this by retaining the summon until a certain period using TIMER_FIRED, which when it will die and negate the stats, but a major problem arise because players can select the summon and unsummoning it manually, this causing the AI not able to negate the stats before the timer runs out.
i tried a few methods but to no avail........... 1) negate the stats upon MY_DYING problem: MY_DYING doesn't work when players unsummon them manually s 2) negate the stats upon TALKED and TALK_SELECTED problem: doesn't work either so here's my question 1) what are the parameter that is passed in to MENU_SELECTED when players click unsummon? (maybe this method works?) 2) is there any other way around this? any help appreciated... really.... i'm stucked for days... thanks in advance Code:
class stat_inc_skills : default_npcCode:
class 1 stat_inc_skills : default_npc |
Hm, before I start to mess with AI, how are you able to use "NASC" or whatever that is? AI isn't written in that language for C4.
|
Using a compiler... maybe ?
C1 AI is like C4 but with some differences... in C1 we have a good NASC compiler, now... people like me compile it by hand.. but others looks like he have a compiler... would be interesting sharing that and all together start coding faster... in the past i code a lot of stuff for C1 and share some things, right now im too tired to compile it by hand... i need my time for other things. |
whos got a c4 compiler? please share dont be selfish... =P i had enough of coding it by hand
|
check here and ask them to gently compile your c4 nasc code into c4 ai.obj :)
|
The problem of that system is i cant make my own test, i never write the final code in the first time, i code... test... modify... test... add... and if I need to wait between every change i made for someone to compile it for me... :s
|
| All times are GMT. The time now is 15:49. |