| | | Advertisement |  | | | |  | GameBanshee Forums
| | 
04-28-2007, 07:21 PM
|  | Exalted Member | | Join Date: Jul 2006 Location: nowheresville, minnesota
Posts: 472
| | | construction set help (again) i'm wondering, how exactly would i go about changing what an npc will buy from you? i'm trying to make Meldor in Balmora buy anything from me. another mod i have gave him 75,000 gold (the coloured glass mod) so... how do i change it? i have the construction set open, looked at him and couldn't find anything about what he buys. or how much gold he has, for that matter.
__________________
When a few people die, it's a tragedy. When thousands do, it's a statistic.
| 
04-28-2007, 09:36 PM
|  | Exalted Member | | Join Date: Nov 2006 Location: South London, UK
Posts: 1,661
| | Quote:
Originally Posted by wing i'm wondering, how exactly would i go about changing what an npc will buy from you? i'm trying to make Meldor in Balmora buy anything from me. another mod i have gave him 75,000 gold (the coloured glass mod) so... how do i change it? i have the construction set open, looked at him and couldn't find anything about what he buys. or how much gold he has, for that matter. | Select the AI button at the bottom of the character sheet, then select the Services tab. | 
04-29-2007, 03:09 AM
|  | Exalted Member | | Join Date: Feb 2006 Location: England
Posts: 1,580
| | | If it won't let you change anything look around for a tick box that says auto calculate and untick it.
__________________ Uvirith Awakes - Please leave comments, all help is appreciated.
| 
04-29-2007, 07:36 PM
|  | Exalted Member | | Join Date: Jul 2006 Location: nowheresville, minnesota
Posts: 472
| | | oh, i was just looking at the menu that comes when you double click on him. thanks!
__________________
When a few people die, it's a tragedy. When thousands do, it's a statistic.
| 
04-30-2007, 04:04 PM
|  | Exalted Member | | Join Date: Jul 2006 Location: nowheresville, minnesota
Posts: 472
| | | i decided to stop making new threads about this and just put it in here now i need 2 helps with the cs.
1. i want a script that makes it so that, when this certain book is activated, you can't pick it up, and it makes a few creatures appear at certain coordinates.
2. i'm trying to make that creature as a new one, modeled after an ascended sleeper but better. when i go in there to look for the ascended sleeper texture, though, it's not there. it's there in the ascended sleeper, but that file used there isn't in the file when i browse through for it. where are all of the textures and things?
thanks 
__________________
When a few people die, it's a tragedy. When thousands do, it's a statistic.
| 
05-01-2007, 09:30 AM
|  | Exalted Member | | Join Date: Feb 2006 Location: England
Posts: 1,580
| | Code: Begin "Script name"
If ( onactivate == 1 )
Placeatpc "Creature id" count distance rotation
endif
end
__________________ Uvirith Awakes - Please leave comments, all help is appreciated.
| 
05-01-2007, 05:35 PM
|  | Exalted Member | | Join Date: Jul 2006 Location: nowheresville, minnesota
Posts: 472
| | | thanks ml, but is there a way so that they end up at specific spots instead of just spots relative to the player? and do you know what's going on with the textures?
__________________
When a few people die, it's a tragedy. When thousands do, it's a statistic.
| 
05-01-2007, 06:13 PM
|  | Exalted Member | | Join Date: Nov 2006 Location: South London, UK
Posts: 1,661
| | | Regarding the textures, you need to copy the files from your construction set disc to your data files directory.
As far as creature placement, if you know which cells you want them to appear in when constructing the mod then place them in the relevant cell, then disable them in the start-up script, then enable them in a separate script which is called by the book/item/spell. | 
05-01-2007, 07:36 PM
|  | Exalted Member | | Join Date: Jul 2006 Location: nowheresville, minnesota
Posts: 472
| | Quote:
Originally Posted by galraen Regarding the textures, you need to copy the files from your construction set disc to your data files directory.
As far as creature placement, if you know which cells you want them to appear in when constructing the mod then place them in the relevant cell, then disable them in the start-up script, then enable them in a separate script which is called by the book/item/spell. | okay, so if i understand you correctly
1. the files are on the disc, not the computer
2. i need to do some super duper scripting where i do something and push the button and then it kills me, right?
__________________
When a few people die, it's a tragedy. When thousands do, it's a statistic.
| 
05-01-2007, 09:17 PM
|  | Exalted Member | | Join Date: Nov 2006 Location: South London, UK
Posts: 1,661
| | Quote:
Originally Posted by wing okay, so if i understand you correctly
1. the files are on the disc, not the computer
2. i need to do some super duper scripting where i do something and push the button and then it kills me, right? | 1. Affirmative, on the Construction set disk, not the game disk
2. Not sure what you mean, check out the script called Startup and you'll find this entry:
;for Mark's Azura thing
"daedroth_az"->Disable
"hunger_az_01"->Disable
"atronach_flame_az"->Disable
"atronach_storm_az"->Disable
"hunger_az_02"->Disable
"ogrim_az"->Disable
Then check out the DaedraAzura script and you'll find:
elseif ( state == 20 )
if ( Player->SayDone == 1 )
Journal "DA_Azura", 10 ;give journal entry
"golden saint_staada"->Enable
"daedroth_az"->Enable
"hunger_az_01"->Enable
"atronach_flame_az"->Enable
"atronach_storm_az"->Enable
"hunger_az_02"->Enable
"ogrim_az"->Enable
set talk to 0
set state to 0
endif
endif
So, in the Startup script the Daedra which have been placed on the island are disabled, i.e they wont be there if the player visits before visiting the Shrine of Azura.
When the player goes to the shrine and touches the statue the DaedraAzura script is activated, which, as well as triggering her speach, also enbables the Daedra on the island.
Get the idea? | 
05-02-2007, 10:53 AM
|  | Exalted Member | | Join Date: Feb 2006 Location: England
Posts: 1,580
| | | The above script will only make a creature appear once. Mine will work every time it's activated. If you want some help PM me. Though Galraen may have more experience in the matter.
__________________ Uvirith Awakes - Please leave comments, all help is appreciated.
| 
05-02-2007, 11:50 AM
|  | Exalted Member | | Join Date: Nov 2006 Location: South London, UK
Posts: 1,661
| | Quote:
Originally Posted by Magelord648 The above script will only make a creature appear once. Mine will work every time it's activated. If you want some help PM me. Though Galraen may have more experience in the matter. | The problem is that Wing seems to want the creature to appear in a different cell to the one the PC currently occupies.
Do you think this might work?
Begin "Script name"
If ( onactivate == 1 )
Placeatpc "Creature id" count distance rotation "Creature id"->PositionCell x, y, z, rotation "Cell id"
endif
end
PS OK it doesn't work, the creature has to exist in the game before PositionCell will function
PPS Even if you use a generic creature it doesn't work. I tried with a Storm Atronuch, with and without the PlceatPC, in both cases the game simply moved the firdt instance it found of the creature. I checked this out by COCing to Alas Ancestral tomb after verifying the existence of the SA in the cell I'd chosen, and sure enough the SA was gone.
Back to the drawing board.
Last edited by galraen; 05-02-2007 at 12:58 PM.
Reason: PPS
| 
05-02-2007, 01:11 PM
|  | Exalted Member | | Join Date: Feb 2006 Location: England
Posts: 1,580
| | I have an idea. Set the creature to respawn. Use the enable script to enable it but when the cell changes disable it again. Code: Begin creatureplacerscript
Short doOnce
if (doOnce == 0 )
if ( onactivate == 1 )
"creature Id"->Enable
set doOnce to 1
endif
endif
if ( doOnce == 1 )
if ( "creature ID"->ondeath == 1 )
; I don't think this bit will work
if ( cellchanged == 1)
"creature Id"->disable
set doOnce to 0
endif
endif
endif
end
I doubt it'll work right. You may need a global variable to replace the ondeath part. The creature should respawn without reappearing. I've not tried this and this version will definitely not work but with some tweaking it should work.
__________________ Uvirith Awakes - Please leave comments, all help is appreciated.
Last edited by Magelord648; 05-02-2007 at 01:13 PM.
| 
05-02-2007, 04:44 PM
|  | Exalted Member | | Join Date: Jul 2006 Location: nowheresville, minnesota
Posts: 472
| | | galraen seems a little off on what i want it to do, but ml is fine. exactly what i want to happen: there are three cave tube type things, about a jumping distance away. the book basically says 'choose quick and jump', when you close the book or take it i want some of those special ancestor ghost things to appear on some rocks floating around the cell to launch spells at the player, forcing them to jump and hope they got the right one. something i thought of just now, is there a way that you could make it so that doors don't show where they go to by you looking at them?
__________________
When a few people die, it's a tragedy. When thousands do, it's a statistic.
| 
05-02-2007, 04:46 PM
|  | Exalted Member | | Join Date: Feb 2006 Location: England
Posts: 1,580
| | | You could have them go to a cell that has an unobvious name such as First tunnel them another door. To the cell you want them to go to.
The command you're looking for is "Creature id"->PositionCell x, y, z, rotation "Cell id".
__________________ Uvirith Awakes - Please leave comments, all help is appreciated.
| | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |