Giants Throwing Boulders
#1
Posté 08 novembre 2011 - 06:12
http://nwvault.ign.c...l.Detail&id=359
for giants throwing boulders at enemies. I played the test mod and it doesn't seem to be working correctly. There is NO animation for the giant to throw, and the sef file doesn't get played to show the boulder being launch toward the player. I do the the area effect sef and the damage.
has anyone gotten this to work correctly?
#2
Posté 08 novembre 2011 - 07:10
Perhaps there is a spells.2da conflict? Do you have Kaedrin's or similar mod in your override that may be overriding the spells.2da?
#3
Posté 08 novembre 2011 - 07:27
#4
Posté 08 novembre 2011 - 08:43
There is a 2da spell file that is supposed to go in the Override folder, I think. Otherwise, could it be something with the creature blueprints? If I remember, there are specific Giants included that already have the necessary scripts attached and variables set.
#5
Posté 08 novembre 2011 - 09:24
Quilistan wrote...
I did double check for the spells.2da in the override, and to listen to you just checked again. NO spell.2da there.
It begs to question: are there any haks that might have conflicting 2das in your module?
Modifié par Morbane, 08 novembre 2011 - 09:24 .
#6
Posté 09 novembre 2011 - 05:04
Morbane wrote...
It begs to question: are there any haks that might have conflicting 2das in your module?
Morbane I believe you might have the right question there. Now for the digging.
am I correct in thinking that the haks higher on the list in the Module take presidence over lower haks on the list? Or was that just a NWN1 thing?
#7
Posté 09 novembre 2011 - 07:39
#8
Posté 09 novembre 2011 - 08:19
If you have multiple haks with 2da's you are going to be having multiple issues, make a 2da with all the default game 2da files and put it next to the top, this blocks issues created by end users ( or from hak authors). Then on top of that put your official 2da hak as the top hak in your list.
#9
Posté 09 novembre 2011 - 02:05
The boulder throw uses spell line 9300 in the spells.2da.
Casting/throwing animation (taunt), vocal grunt and stone projectile are all handled in the 2da.
A quick test of placing the boulder toss hak on the top of the HAK list will make it the dominate HAK. This will confirm a 2da conflict if it works. Then it is just a matter of finding and combining the 2das to make a master 2da as pain suggest above.
#10
Posté 09 novembre 2011 - 04:35
#11
Posté 09 novembre 2011 - 05:37
reinstalled hak and test module - no luck
tried putting a copy of the spells.2da(from the hak) into the override - no luck
tried testing with different character - no luck
The scripts fire I just dont see the boulder in hand before the throw or during the launch (also there is no throwing animation). The giant just charges at me, I see his weapon disappear and then I get hit by the wooden explosion as he is running at me.
I do have two installations of NWN2, and I have to rename them depending on which mod I am working on. I do some stuff for Rogue Dao's Purgatory mod. I need the seperate installs to work on their mod, or work on my PW. That has not cause any issues with any other haks though.
#12
Posté 09 novembre 2011 - 07:40
Import the included erf file and overright the scripts in the test module. The scripts in the test modules were not upgraded on the last update. All the erfs have up to date. To verify open the main script rh_giant_boulder_throw
Bad scipt
Line #46 = AssignCommand(OBJECT_SELF,ActionCastFakeSpellAtLocation(1504,lImpact,PROJECTILE_PATH_TYPE_DEFAULT));
The 1504 should be 9300
I have a newer version of the scripts I have been using in my campaign with a bit better AI. I will package them up and get a link for you.
#13
Posté 09 novembre 2011 - 07:49
#14
Posté 09 novembre 2011 - 09:20
#15
Posté 18 novembre 2011 - 02:42
Shaughn78 wrote...
Found the problem!!! It is my fault not yours.
Import the included erf file and overright the scripts in the test module. The scripts in the test modules were not upgraded on the last update. All the erfs have up to date. To verify open the main script rh_giant_boulder_throw
Bad scipt
Line #46 = AssignCommand(OBJECT_SELF,ActionCastFakeSpellAtLocation(1504,lImpact,PROJECTILE_PATH_TYPE_DEFAULT));
The 1504 should be 9300
I have a newer version of the scripts I have been using in my campaign with a bit better AI. I will package them up and get a link for you.
Hi Shaughn,
Actually, I don't think this is your fault.
You see, I also had to change this line after I edited my spells.2da and shifted the location of the reference number that the script uses. So, unless you assign a constant for the line somewhere and nobody changes it, then it will always differ whenever someone alters the spells.2da lines and makes your boulder script fail.
E.g. For me, this line has to be 1712 to match my spells.2da line for your boulder.
I'll check out your new scripts.
Cheers!
Lance.
Modifié par Lance Botelle, 18 novembre 2011 - 02:45 .
#16
Posté 21 novembre 2011 - 10:35
The new script includes a roster member check. Before tossing at a distance target called in the script it makes sure there isn't another roster member closer that it should use its melee attack on and avoid an attack of opportunity.
#17
Posté 22 novembre 2011 - 02:26
I would like to make my giants throw boulders.
#18
Posté 22 novembre 2011 - 03:36
#19
Posté 22 novembre 2011 - 01:13
M. Rieder wrote...
So if I were to put the spells.2da hak for boulder throwing, and someone wanted to use kaedrin's with my module, would it still work as long as there was no conflict with the one line for the boulder throw, or would the whole thing not work?
I would like to make my giants throw boulders.
Hi Matt,
To a degree, it does not matter which line of the spells.2da the boulder throwing bit uses, as long as the script that refers to the line actually refers to the correct line where it is. This stands true for all lines of a 2da file.
In other words, if you amalgamate two or more 2da files (and change their original row numbers), you need to ensure that any code that references any of those line (row) numbers is pointing to the correct line. This could be a huge undertaking for code that makes many references, but for the single reference (like the boulder throw), the builder should be able to edit requirements as required.
Personally, I tend to keep huge projects that use many 2da references as the were designed (i.e. do not change the 2da rows if possible), but for the odd project like the giant boulder throwing, where only one line is used, I will alter and move around as required; making sure to correct the reference in any scripts used that reference it.
Hope that makes sense.
Lance.
#20
Posté 22 novembre 2011 - 01:43
#21
Posté 22 novembre 2011 - 03:41
DannJ wrote...
I'd like to see giants throwing halflings...
Or the other way around. That would be interesting too...
#22
Posté 22 novembre 2011 - 03:44
Lance Botelle wrote...
M. Rieder wrote...
So if I were to put the spells.2da hak for boulder throwing, and someone wanted to use kaedrin's with my module, would it still work as long as there was no conflict with the one line for the boulder throw, or would the whole thing not work?
I would like to make my giants throw boulders.
Hi Matt,
To a degree, it does not matter which line of the spells.2da the boulder throwing bit uses, as long as the script that refers to the line actually refers to the correct line where it is. This stands true for all lines of a 2da file.
In other words, if you amalgamate two or more 2da files (and change their original row numbers), you need to ensure that any code that references any of those line (row) numbers is pointing to the correct line. This could be a huge undertaking for code that makes many references, but for the single reference (like the boulder throw), the builder should be able to edit requirements as required.
Personally, I tend to keep huge projects that use many 2da references as the were designed (i.e. do not change the 2da rows if possible), but for the odd project like the giant boulder throwing, where only one line is used, I will alter and move around as required; making sure to correct the reference in any scripts used that reference it.
Hope that makes sense.
Lance.
I understand what you are saying. What I was thinking about doing was simply modifying the standard spells.2da and hacking it into my module with the boulder throw spell inserted. Right now I do not have kaedrin's integrated and people can just dump it in their override and play my module with no problems. I am wondering if making a change to my spells.2da will alter that.
#23
Posté 23 novembre 2011 - 07:30
#24
Posté 24 novembre 2011 - 02:27
#25
Posté 24 novembre 2011 - 04:30
M. Rieder wrote...
So I don't need to merge the .2da's, just make sure I observe the reserved ranges for Kaedrin's, correct?
As far as I know, they will need to be merged (though not necessarily be you). Respecting reserved ranges ensures that they can be easily merged. If Kaedrin's 2da is not going to be changing too quickly, you could offer a version of spells.2da that uses Kaedrin's and one that doesn't.
Hopefully, Pain's NeverLauncher will soon be so user-friendly that you (the author) won't have to merge 2da's. As long as reserved ranges are respected, that application will make it easy for end-users to merge 2da's for whatever content they're using.
Modifié par MasterChanger, 24 novembre 2011 - 04:30 .





Retour en haut






