Jump to content


Photo

Getting Ariena 2.0 running


  • Please log in to reply
25 replies to this topic

#21 Deathsangel

Deathsangel

    Living on Wings of Dreams

  • Modder
  • 3089 posts

Posted 09 October 2007 - 12:06 AM

Ah before I saw this post I already found, but thanks for the list. I now registered it over there. Still thanks for the link and more important, brining it to mine attention. :cheers:
Was long ago since I was there.
Didn't know they maintained a list. :whistling:
I see a lot of people having conflicts...

Edited by Deathsangel, 09 October 2007 - 12:08 AM.

Still modding the Mod for the Wicked... It is a big project you know... And I got sidetracked (several times) a bit... sorry.
However, as we all know, Evil never really sleeps.


Sentences marking (my) life:

Winds of change... Endure them, and in Enduring grow Stronger
It takes a fool to look for logic in a man's heart
Never question the sanity of the insane
The Harmony of Life is Chaos
Living on Wings of Dreams



(1st march 2009) SHS women over me:
Kat: if there were more guys that looked like you out here, people's offspring wouldnt be so damn ugly
Noctalys: you are adorable :P

~~ I love it, and I am humbled! Yay! ~~


#22 Deathsangel

Deathsangel

    Living on Wings of Dreams

  • Modder
  • 3089 posts

Posted 19 October 2007 - 06:37 AM

And three new questions, surrounding the same creature!

A bit back I asked about this

COPY_EXISTING ~UHFARM03.cre~ ~override/MWAndia.cre~
SAY NAME1 @55
SAY NAME2 @55
WRITE_ASCII DEATHVAR ~MWAndia~ #32
WRITE_ASCII DIALOG ~MWAndia~ #8


Now this is working... in principal, but not quite yet...
What I need to do is get her CLASS script away, because it makes her leave the area. I can't find how to script something away, can it be done like this?

WRITE_ASCII CLASS #8


Can I change the color of the clothes by any means in here? If not than I just reckon I have to make a new .cre file, which means the above question becomes absolete.

And this:

IF ~~ THEN BEGIN MWConAndia1
SAY ~Hello, stranger. What can I do for you?~
IF ~!Dead("Shadeld")~ THEN REPLY ~Who do you think is behind the Umar Hills.~ GOTO MWCONAndia2
IF ~~ THEN REPLY ~I am very tired. Do you know of safe place to sleep?~ GOTO MWCONAndia3
IF ~CheckStatGT(Player1,12,WIS)~ THEN REPLY ~Well, I am a bit struck by your unusual eye colour.~ GOTO MWCONAndia5
IF ~~ THEN REPLY ~Oh, I know of several ways, hehe.~ GOTO MWCONAndia4
IF ~InParty("MWAriena") See("MWAriena") Global("Arperqu","GLOBAL",8 ) Global("RaOrKill","GLOBAL",1)~ THEN REPLY ~I have discovered that the mother of one of my compatriots lives here in the guise of a midwife. No more use in hiding.~ GOTO MWCONAndiaCh1
IF ~InParty("MWAriena") See("MWAriena") Global("Arperqu","GLOBAL",8 ) !Global("RaOrGiveHelp","Global",1) !Global("RaOrGiveHelp","Global",1)~ THEN REPLY ~Are you the alleged mother of Ariena? I've come by this information thanks to the Order of the Most Radiant Heart.~ GOTO MWCONAndiaCh2
IF ~InParty("MWAriena") See("MWAriena") Global("Arperqu","GLOBAL",8 ) Global("RaOrGiveHelp","Global",1)~ THEN REPLY ~Are you the alleged mother of Ariena? I've come by this information thanks to Prelate Wessan.~ GOTO MWCONAndiaCh3
END


She doesn't say her generic lines... any idea why?

Edit: I had to make the spaces in between the 8 and the ) or else he made this of it 8). It is not programmed this way in the file!!!

I have only a script that calls her up, but nothing more. This one

IF
Global("MWAndiaExists","AR1100",0)
THEN
RESPONSE #100
SetGlobal("MWAndiaExists","AR1100",1)
CreateCreature("MWAndia",[4486.2552],7)
END


Which is appended to AR1100

Well, thanks for any help in advance.

Edited by Deathsangel, 19 October 2007 - 06:38 AM.

Still modding the Mod for the Wicked... It is a big project you know... And I got sidetracked (several times) a bit... sorry.
However, as we all know, Evil never really sleeps.


Sentences marking (my) life:

Winds of change... Endure them, and in Enduring grow Stronger
It takes a fool to look for logic in a man's heart
Never question the sanity of the insane
The Harmony of Life is Chaos
Living on Wings of Dreams



(1st march 2009) SHS women over me:
Kat: if there were more guys that looked like you out here, people's offspring wouldnt be so damn ugly
Noctalys: you are adorable :P

~~ I love it, and I am humbled! Yay! ~~


#23 berelinde

berelinde

    Troublemaker

  • Modder
  • 4916 posts

Posted 19 October 2007 - 07:49 AM

And three new questions, surrounding the same creature!

A bit back I asked about this

COPY_EXISTING ~UHFARM03.cre~ ~override/MWAndia.cre~
SAY NAME1 @55
SAY NAME2 @55
WRITE_ASCII DEATHVAR ~MWAndia~ #32
WRITE_ASCII DIALOG ~MWAndia~ #8


Now this is working... in principal, but not quite yet...
What I need to do is get her CLASS script away, because it makes her leave the area. I can't find how to script something away, can it be done like this?

WRITE_ASCII CLASS #8

I don't know about the CLASS part, because I usually go look up the hex offsets in NI, but you should use
WRITE_ASCII CLASS ~~ #8 /* or use the hex offset, whichever makes you more comfortable - the important part is that you have to set it to null. */

Can I change the color of the clothes by any means in here? If not than I just reckon I have to make a new .cre file, which means the above question becomes absolete.

Yes. I can tell you how to do this, but I'll be telling you using hex offsets, because that's what I use. Give me a poke when I get home from work, and I'll happily look that up for you and give you the code for it. And by the way, for color assignments using WRITE_ASCII, you're using the hex offset, but the decimal color value, as listed in the IESDP.

And this:

IF ~~ THEN BEGIN MWConAndia1
SAY ~Hello, stranger. What can I do for you?~
IF ~!Dead("Shadeld")~ THEN REPLY ~Who do you think is behind the Umar Hills.~ GOTO MWCONAndia2
IF ~~ THEN REPLY ~I am very tired. Do you know of safe place to sleep?~ GOTO MWCONAndia3
IF ~CheckStatGT(Player1,12,WIS)~ THEN REPLY ~Well, I am a bit struck by your unusual eye colour.~ GOTO MWCONAndia5
IF ~~ THEN REPLY ~Oh, I know of several ways, hehe.~ GOTO MWCONAndia4
IF ~InParty("MWAriena") See("MWAriena") Global("Arperqu","GLOBAL",8 ) Global("RaOrKill","GLOBAL",1)~ THEN REPLY ~I have discovered that the mother of one of my compatriots lives here in the guise of a midwife. No more use in hiding.~ GOTO MWCONAndiaCh1
IF ~InParty("MWAriena") See("MWAriena") Global("Arperqu","GLOBAL",8 ) !Global("RaOrGiveHelp","Global",1) !Global("RaOrGiveHelp","Global",1)~ THEN REPLY ~Are you the alleged mother of Ariena? I've come by this information thanks to the Order of the Most Radiant Heart.~ GOTO MWCONAndiaCh2
IF ~InParty("MWAriena") See("MWAriena") Global("Arperqu","GLOBAL",8 ) Global("RaOrGiveHelp","Global",1)~ THEN REPLY ~Are you the alleged mother of Ariena? I've come by this information thanks to Prelate Wessan.~ GOTO MWCONAndiaCh3
END


She doesn't say her generic lines... any idea why?

Edit: I had to make the spaces in between the 8 and the ) or else he made this of it 8). It is not programmed this way in the file!!!

I have only a script that calls her up, but nothing more. This one

IF
Global("MWAndiaExists","AR1100",0)
THEN
RESPONSE #100
SetGlobal("MWAndiaExists","AR1100",1)
CreateCreature("MWAndia",[4486.2552],7)
END


Which is appended to AR1100

Well, thanks for any help in advance.

I'm not sure exactly what you're getting at here. But I do know that if you try to use 8 followed by a closing parenthesis with emoticons enabled, you get the sunglasses smiley. To avoid it, just untick "Enable emoticons" in the "Post Options" above where you hit "Add Reply."

"Imagination is given to man to console him for what he is not; a sense of humor, for what he is." - Oscar Wilde

berelinde's mods
TolkienAcrossTheWater website
TolkienAcrossTheWater Forum


#24 Deathsangel

Deathsangel

    Living on Wings of Dreams

  • Modder
  • 3089 posts

Posted 19 October 2007 - 09:00 AM

I need to learn about hex offset than

I'll use

WRITE_ASCII CLASS ~~ #8

in the meanwhile

Will await you return from work. ;)

And euh.. I meant the dialogue doesn't work. You get: Andia has nothing to say to you... which should be:

SAY ~Hello, stranger. What can I do for you?~

I need to know why that isn't firing

Still modding the Mod for the Wicked... It is a big project you know... And I got sidetracked (several times) a bit... sorry.
However, as we all know, Evil never really sleeps.


Sentences marking (my) life:

Winds of change... Endure them, and in Enduring grow Stronger
It takes a fool to look for logic in a man's heart
Never question the sanity of the insane
The Harmony of Life is Chaos
Living on Wings of Dreams



(1st march 2009) SHS women over me:
Kat: if there were more guys that looked like you out here, people's offspring wouldnt be so damn ugly
Noctalys: you are adorable :P

~~ I love it, and I am humbled! Yay! ~~


#25 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11149 posts

Posted 19 October 2007 - 06:08 PM

SCRIPT_CLASS, not CLASS. As I said in my first post in this topic, the WeiDU documentation has a list of constants you can use.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#26 Deathsangel

Deathsangel

    Living on Wings of Dreams

  • Modder
  • 3089 posts

Posted 20 October 2007 - 01:36 AM

SCRIPT_CLASS, not CLASS. As I said in my first post in this topic, the WeiDU documentation has a list of constants you can use.


Sorry, that was more a typo than anything else.

Edit: Am going with just a new .cre now. It makes the download hardly bigger and is easy to code.

Edited by Deathsangel, 20 October 2007 - 05:02 AM.

Still modding the Mod for the Wicked... It is a big project you know... And I got sidetracked (several times) a bit... sorry.
However, as we all know, Evil never really sleeps.


Sentences marking (my) life:

Winds of change... Endure them, and in Enduring grow Stronger
It takes a fool to look for logic in a man's heart
Never question the sanity of the insane
The Harmony of Life is Chaos
Living on Wings of Dreams



(1st march 2009) SHS women over me:
Kat: if there were more guys that looked like you out here, people's offspring wouldnt be so damn ugly
Noctalys: you are adorable :P

~~ I love it, and I am humbled! Yay! ~~