Jump to content

Geneforge 3 Scripting Question...


Azannon

Recommended Posts

Also, what happens if you try to add a creature type? Like, I wanna change the PC-created Thahd into a servile, but I don't want to make that change the rest of the Thahd types into serviles, so I wanna make a new creature number to have them reference. If I add it as an unused number on the end, does it break, or does that work?

Link to comment
Share on other sites

Originally Posted By: Azannon
Also, what happens if you try to add a creature type? Like, I wanna change the PC-created Thahd into a servile, but I don't want to make that change the rest of the Thahd types into serviles, so I wanna make a new creature number to have them reference. If I add it as an unused number on the end, does it break, or does that work?


You can't really do that. The thahd you create is the same type as other thahds, and that's hard-coded into the game. If you turn it into a servile, you'll turn all the other ordinary thahds into serviles too.
Link to comment
Share on other sites

Ah, ok, so what I'll wanna do is take and copy the code from the original into the rogue version, then set the other Thahds to reference the Rogue Thahd as the base...

 

So this:

 

begindefinecreature firstnumber;

//PC created Thahd

//base for all Thahd imports

cr_name="Thahd"

(other code)

 

begindefinecreature secondnumber;

//hostile

import=firstnumber

cr_name="Rogue Thahd"

 

begindefinecreature thirdnumber;

import=firstnumber

cr_name="Brutal Thahd"

(other code)

 

Should become:

 

begindefinecreature firstnumber;

//PC created Thahd

//I turned it into a servile

cr_name="Servile"

(other code for servile)

 

begindefinecreature secondnumber;

//hostile

//I made this the new default import for other Thahds

cr_name="Rogue Thahd"

(other code copied from the original Thahd)

 

begindefinecreature thirdnumber;

import=secondnumber

cr_name="Brutal Thahd"

(other code)

Link to comment
Share on other sites

I know nobody's listening, but I thought I'd share some of my successes. As far as I know (some of them I can't test until later), I've successfully made the following changes...

 

-Given the ability "Create Ornk" in the beginning area during the tutorial.

-Changed the PC-created Ornk into a Spiny Crawler

-Changed the PC-created Thahd into a buffed-up servile

-Changed the Thahd Shade into a magic servile

-Changed the PC-created Artila into a poison-spitting Fyora

-Changed the Plated Artila into a searer-spitting Fyora

-Changed the Roamer from spitting a searer to spitting venom thorns

-Changed the Guardian Roamer from spitting searer to spitting submission thorns

Link to comment
Share on other sites

Hehe smile Yeah, I forgot to mention that I altered the scripts so that all of the base PC-created critters won't change the NPC ones (except the Roamers, which I wanted to universally modify). However, I don't see any way to keep the upgraded versions from changing the NPC versions of them, since they apparently are the same creature number. So the rogue artila is still an artila, but both rogue and PC-created plated artilas are now acidic fyoras.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...