Anyways, I've started the dive into AI modifications. I haven't done this in a long time and when i did, it was EXTREMELY basic edits and without a this wonderful compiler.
The syntax for NASC seems amazingly simple. I know exactly what's going on syntacticly but not what is happening in terms of functionality and for each method call.
For example, I edited the Gremlin class from blank to this:
My understanding is that the EventHandler is exactly that: A bit of code that sits around and waits for it to be called and then executes. I'm ASSUMING the MY_DYING event handler is triggered when the Gremlin has or is about to die. This code though seems to do nothing and never gets executed.
So, This brings me to some questions:
-Is there a guide with comments and examples somewhere? Like a directory of all the functions and what they do?
- The arguments passed in to the handler, what do these mean?
- The ::'s, are these like C++ class namespaces?
- Is myself similar to this in C++ or self in Obj-C?
- BOOL seems to be non-existant. Is that true? (Doesn't matter, is just odd)
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Thank you guys.
NEWS
Our on-site dashboard is now live! Users can register for a customer account at https://www.nimeracp.com/sign-up.
NimeraCP will become available for purchase once development is complete and it’s listed in the Customer Dashboard.
We’ve also added pricing details to the official post on top and on our website: https://www.nimeracp.com/pricing.
Development on NimeraCP is progressing steadily. I’ll carve out some time this weekend to update the documentation so you can explore NimeraCP’s features in more detail.
Question
tk422
Greetings, Again!
Finally got things up and running thanks to Xel.
Anyways, I've started the dive into AI modifications. I haven't done this in a long time and when i did, it was EXTREMELY basic edits and without a this wonderful compiler.
The syntax for NASC seems amazingly simple. I know exactly what's going on syntacticly but not what is happening in terms of functionality and for each method call.
For example, I edited the Gremlin class from blank to this:
(i copied the handler from the superClass)
My understanding is that the EventHandler is exactly that: A bit of code that sits around and waits for it to be called and then executes. I'm ASSUMING the MY_DYING event handler is triggered when the Gremlin has or is about to die. This code though seems to do nothing and never gets executed.
So, This brings me to some questions:
-Is there a guide with comments and examples somewhere? Like a directory of all the functions and what they do?
- The arguments passed in to the handler, what do these mean?
- The ::'s, are these like C++ class namespaces?
- Is myself similar to this in C++ or self in Obj-C?
- BOOL seems to be non-existant. Is that true? (Doesn't matter, is just odd)
- Are there any FOR / WHILE / DO WHILE loops?
- In code like this:
if( target.alive == 0 && target.is_pc == 0 ) {}
Why is the syntax not
if (target.alive && target.is_pc) {}?
- Can you define your own functions and handlers?
Thanks in advance to anyone that answers. :)
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.