NSS, NCS, edit... I don't really get it! Any help?
#26
Posté 15 décembre 2009 - 08:07
#27
Posté 15 décembre 2009 - 08:41
Look for ability_summon_h - References
- Compile talent_pet.nss
- Compile spell_modal.nss
Export 2da_constants_h without dep.
Export ability_summons_h without dep.
I think there could be your error, you must export talent_pet.ncs and spell_modal.ncs as well, as you have compiled them and they are actualy the only scripts that iclude your code. I actualy don't have much time till weekeand to look further into your B2B file to see if there is anything else.
By the way there are several projects with your problem already solved :innocent:
http://social.biowar...m/project/1320/
social.bioware.com/project/818/
social.bioware.com/project/1317/
#28
Posté 15 décembre 2009 - 08:54
Does that mean, that I have to export every file that include the "2da_constants" as well? That might be some hundreds!
btw. both (talent & spell_modal) are unchanged.
and btw2-. Shapeshifting is using completly other files, isnt it?
I think my problem is that no ncs-files are created, expect talent.nsc and spell_modal.nsc. Important should be the changed ones. right?
Modifié par DeepImpact, 15 décembre 2009 - 09:17 .
#29
Posté 15 décembre 2009 - 09:30
DeepImpact wrote...
Does that mean, that I have to export every file that include the "2da_constants" as well? That might be some hundreds!
Only those in which you want your changed code (your constants) to apear in.
DeepImpact wrote...
btw. both (talent & spell_modal) are unchanged.
No they include your changed include file.
DeepImpact wrote...
and btw2-. Shapeshifting is using completly other files, isnt it?
Yes but the problem is similar.
DeepImpact wrote...
I think my problem is that no ncs-files are created, expect talent.nsc and spell_modal.nsc. Important should be the changed ones. right?
hmm didn't you have an nss file yourself wich includes your changed include files as well ?
Modifié par stzehn, 15 décembre 2009 - 09:32 .
#30
Posté 16 décembre 2009 - 04:08
#31
Posté 16 décembre 2009 - 04:27
DeepImpact wrote...
Sure. My mainscript "ranger_revised_handler.nss"! It is compiled automaticlly and functions well.
By now you have 3 compiled scripts wich use your code
Modifié par stzehn, 16 décembre 2009 - 04:27 .
#32
Posté 16 décembre 2009 - 04:30
The new skills will apear (GDA-Files), but take no effekt.
I tried a kind of Debug:
case EVENT_TYPE_SUMMON_DIED:
{
if (ABILITY_TALENT_SUMMON_RAT==450001)
{
DisplayFloatyMessage(OBJECT_SELF, "EVENT FIRED", FLOATY_MESSAGE, 16722215, 10.0f);
}
break;
DisplayFloatyMessage(OBJECT_SELF, "Summon dies", FLOATY_MESSAGE, 16722215, 10.0f);
}
Modifié par DeepImpact, 16 décembre 2009 - 02:15 .
#33
Posté 16 décembre 2009 - 04:40
And I think you are missing at least one or more scripts that should also have been compiled. There must be a script that includes your constants_h. You did not compile any of those.
and so this part of your code is not used in game:
const int ABILITY_TALENT_SUMMON_RAT = 450001;
const int ABILITY_TALENT_SUMMON_MABARI = 450002;
const int ABILITY_TALENT_SUMMON_DRAGONLING = 450003;
Result is your code does not work unless you compile the right script that uses 2da_constants_h as well.
Modifié par stzehn, 16 décembre 2009 - 04:50 .
#34
Posté 16 décembre 2009 - 06:59
#35
Posté 16 décembre 2009 - 08:16
DeepImpact wrote...
I think I have to do some heavy research before going on. I wonder that no tutorial mentions this.
I would recomend any c++/c#/c Tut as most of this (handling of include files) is default behavior. And the scripting laguage in the toolset is c/cc++ .
#36
Posté 16 décembre 2009 - 09:51
But compiling the included file is mostly done automaticly.
My problem is the handling of the toolset, not the scripting
#37
Posté 16 décembre 2009 - 02:14
#38
Posté 17 décembre 2009 - 07:13
The solution was a complete rebuild of the talent instead of trying to modify existing header-files.
[color="#ff0000"][b]special thx to [/b][/color]
- stzehn
- Reynen Starfyre
- ladydesire
- Kyrien
Modifié par DeepImpact, 17 décembre 2009 - 07:36 .





Retour en haut






