Aller au contenu

Photo

New Follower Fine-Tuning (Mostly Solved!)


  • Veuillez vous connecter pour répondre
42 réponses à ce sujet

#26
Karma

Karma
  • Members
  • 391 messages
It sounds like a database issue. There's a troubleshooting guide for installation that can be found here (http://social.biowar...troubleshooting). I'm not sure if it will help.



If you do uninstall, don't forget to package your mod's files into a B2B package.

#27
Midnari

Midnari
  • Members
  • 16 messages
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?

#28
ladydesire

ladydesire
  • Members
  • 1 928 messages

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
Midnari

Midnari
  • Members
  • 16 messages
Gah, I was changing that to the tag, my bad. Thanks.

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
ladydesire

ladydesire
  • Members
  • 1 928 messages
We all make dumb mistakes like that; most modders don't like to admit to them, though.

#31
Midnari

Midnari
  • Members
  • 16 messages
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.



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
Karma

Karma
  • Members
  • 391 messages
I think you just need to capitalize "midnight," and you'll be all set.

In a month, you'll have scripting down. No worries.

Modifié par satans_karma, 02 octobre 2010 - 11:20 .


#33
Midnari

Midnari
  • Members
  • 16 messages
If you already read what I wrote earlier. Nevermind. I found the exeprocessor elsewhere. However, I'm gonna keep working on this for a bit. Thank you three for your help. Glad to have the creator of the tutorial helping me a bit as well. Certinaly cleared up something I kept doing even before fixing this thing.

Modifié par Midnari, 03 octobre 2010 - 01:19 .


#34
Midnari

Midnari
  • Members
  • 16 messages
The issue persists. I went to start on another project for awhile and I decided to redo the whole thing. Went back and continued it, and the same exact error pops up. Any other clues for that one?

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
Karma

Karma
  • Members
  • 391 messages
The missing camp_functions_h or the "Variable defined without type" error?



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
Midnari

Midnari
  • Members
  • 16 messages
I found out what the issue was in the second attempt at that script. the Camp_in_party plot was mispelled as the script couldn't find it.



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
Karma

Karma
  • Members
  • 391 messages
So you're working on the PRCSCR 2da?



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
Midnari

Midnari
  • Members
  • 16 messages
Mm, at the party camp. That seems to be the main place for the tutorial I'm using. After I get more adusted to this I'll start expanding that a bit. But for now, I'm just trying to figure out how to do this. As I said, I'm not exactly sure what the area tag would be. Unless it would just be another party_camp tag.

#39
ladydesire

ladydesire
  • Members
  • 1 928 messages
cam100ar_camp_plains, cam104ar_camp_arch1, and cam110ar_camp_arch3 are the outside party camps.

#40
Midnari

Midnari
  • Members
  • 16 messages
Mhm, but you added an amendment to the tutorial about the last one being the tag that the modder finds. Or is that for something else? It's that last one xxxx5 that I'm not sure what to add.

#41
Karma

Karma
  • Members
  • 391 messages
The party camp spawn script is used to place your follower in his/her position in camp. The xxxx5 line is used to initially spawn the follower in an area where you first meet him/her.  You'll have to decide which area that is. Lothering, Lake Calenhad, party camp, and Denerim market district are good choices because they don't seem to have the dreaded area list issue.

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
Midnari

Midnari
  • Members
  • 16 messages
Ah, that makes it more fun. Heh, thanks. I kept getting the idea I'd have to meet the character IN camp. Sorry I was a bit slow on this one.

#43
ladydesire

ladydesire
  • Members
  • 1 928 messages
You can do it that way; I'm actually doing it with one companion for my Tevinter Warden mod.