New Follower Fine-Tuning (Mostly Solved!)
#26
Posté 02 octobre 2010 - 05:43
If you do uninstall, don't forget to package your mod's files into a B2B package.
#27
Posté 02 octobre 2010 - 07:33
E: 14:29:13 - midnight_module_corp.nss - midnight_module_corp.nss(30): Variable defined without type (while compiling var_constants_h.nss)
This is the line it's referring too.
WR_SetFollowerState(oFollower, midnight_STATE_ACTIVE, FALSE);
Any idea what I might have done wrong there?
#28
Posté 02 octobre 2010 - 08:02
Midnari wrote...
No worries, I got it fixed. Again, thanks. Ah, but I have another issue. Probably one I can fix myself. But since I'm here, I may as well ask.
E: 14:29:13 - midnight_module_corp.nss - midnight_module_corp.nss(30): Variable defined without type (while compiling var_constants_h.nss)
This is the line it's referring too.
WR_SetFollowerState(oFollower, midnight_STATE_ACTIVE, FALSE);
Any idea what I might have done wrong there?
The part I bolded should be "FOLLOWER_STATE_ACTIVE".
#29
Posté 02 octobre 2010 - 08:17
Wow, I fix one error and another takes it place.
E: 15:27:08 - midnight_module_corp.nss - midnight_module_corp.nss(34): Variable defined without type (while compiling var_constants_h.nss)
WR_SetPlotFlag(PLT_GEN00PT_PARTY_midnight, MIDNIGHT_IN_PARTY, TRUE, FALSE);
That's the one it's referring too. Of course, I edited the 'xxx' and followersname. I also read earlier that caps have something to do with it, so I wrote as it was in the other screens. Any ideas? Eh, I'm really gonna have to find a scripting for dummies book when I get off post.
Modifié par Midnari, 02 octobre 2010 - 08:30 .
#30
Posté 02 octobre 2010 - 08:19
#31
Posté 02 octobre 2010 - 08:31
E: 15:27:08 - midnight_module_corp.nss - midnight_module_corp.nss(34): Variable defined without type (while compiling var_constants_h.nss)
WR_SetPlotFlag(PLT_GEN00PT_PARTY_midnight, MIDNIGHT_IN_PARTY, TRUE, FALSE);
That's the one it's referring too. Of course, I edited the 'xxx' and followersname. I also read earlier that caps have something to do with it, so I wrote as it was in the other screens. Any ideas? Eh, I'm really gonna have to find a scripting for dummies book when I get off post.
I'm not gonna call myself a modder for awhile. XD I'm a military man trying to learn the ways of the script and failing horribly.
#32
Posté 02 octobre 2010 - 11:20
In a month, you'll have scripting down. No worries.
Modifié par satans_karma, 02 octobre 2010 - 11:20 .
#33
Posté 03 octobre 2010 - 01:03
Modifié par Midnari, 03 octobre 2010 - 01:19 .
#34
Posté 03 octobre 2010 - 10:18
Crap, sorry about double posting, I didn't notice that I did it till I was too late. Seriously, my bad.
Modifié par Midnari, 03 octobre 2010 - 10:22 .
#35
Posté 04 octobre 2010 - 01:09
Not sure about the missing camp_functions_h, but when you see "variable defined without type," that means you forgot to define an object, integer, plot/plot flag, etc. that you used in a function. Maybe you used oFollower without saying what oFollower is, maybe you spelled something wrong, maybe you forgot to capitalize something, maybe you forgot a necessary include in the header... mistakes like that cause that specific error. It's usually an easy one to fix if you know what to look for.
#36
Posté 04 octobre 2010 - 05:40
After I worked out a few more issues things started to fall together pretty easily. Now, I don't actually have an issue at the moment but I'm slightly confused as to what my...
Here, let me copy and paste it.
AMENDMENT: In addition to the rows above, add another row that contains | ###5 | INSERT THE AREA TAG YOU FOUND | xxx_spawn_follower |
The area tag I found, I did find the location that I want him to spawn in by using the debug script in the console, but I'm not sure that would be a tag. If not, what would be the area tag that I found?
#37
Posté 05 octobre 2010 - 12:04
What debug script? The one that the Beyond Ferelden guy wrote up from the link? If so, that should work (unless the area is part of an area list and then that's a whole different ball game). You can also find the area tag (or area list) by finding the area in the toolset.
My PRCSCR 2da looks something like this:
690025 cam100ar_camp_plains kc_spawn_camp
690026 cam110ar_camp_arch3 kc_spawn_camp
690029 lot100ar_lothering kc_spawn_lothering
You might have another line as well if your companion can join immediately after Lothering:
6900027 cam104ar_camp_arch1 kc_spawn_camp
Obviously your numbers and script name will be different.
If you tell me in which area you're trying to spawn your creature, I might be able to help you with the tag or area list.
#38
Posté 05 octobre 2010 - 10:30
#39
Posté 05 octobre 2010 - 10:43
#40
Posté 05 octobre 2010 - 11:14
#41
Posté 06 octobre 2010 - 02:03
In my example above, you see "690029 lot100ar_lothering kc_spawn_lothering." This tells the game to run my kc_spawn_lothering script whenever the player enters Lothering (area tag: lot100ar_lothering).
Where do you want the player to first encounter the new companion?
Modifié par satans_karma, 06 octobre 2010 - 02:05 .
#42
Posté 08 octobre 2010 - 10:46
#43
Posté 08 octobre 2010 - 10:49





Retour en haut






