How would you...
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
How would you...
...put any character in the game in your party with ExultStudio, then make their usecode so their conversation choices are Join or Leave and Bye?
Re: How would you...
look at our source code.
go into content/islefaq and look at usecode.uc. Take a look at Amy's script.
She joins and leaves the party
go into content/islefaq and look at usecode.uc. Take a look at Amy's script.
She joins and leaves the party
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: How would you...
I tried using Dupre's, but what happens is DUPRE joins when I say "join" and DUPRE leaves when I say "leave"...
Re: How would you...
I don't really understand what the problem is. Isn't he supposed to join when you say join and leave when he is supposed to leave?
Also I'm not sure if it is supported to change existing NPCs usecode via the patch dir....
Also I'm not sure if it is supported to change existing NPCs usecode via the patch dir....
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: How would you...
No. I'm saying if choose leave on my NEW NPC, DUPRE leaves, and the same with join.
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: How would you...
You need to edit usecode, because it certainly looks like that:
if (reply == join)
add_to_party(0x402)
else if (reply == leave)
leave_party(0x402)
endif
with 402 being Dupre's character number. You need to put your own character number.
Artaxerxes
if (reply == join)
add_to_party(0x402)
else if (reply == leave)
leave_party(0x402)
endif
with 402 being Dupre's character number. You need to put your own character number.
Artaxerxes
Re: How would you...
Now, how do I edit the usecode? An editor of some sort, or with notepad, or what?
Re: How would you...
look again at my first reply. the fiel usecode.uc is editable by any texteditor and can be transformed to usecode.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: How would you...
How do transform it to usecode?
It looks pretty easy to use usecode...
Heh, use usecode...
It looks pretty easy to use usecode...
Heh, use usecode...
Re: How would you...
fom the readme in /content :
To create the usecode out of the usecode.uc file you have to either grab "ucc.exe" from the tools-snapshot or build ucc from source.
Then run "ucc -o usecode usecode.uc" in the patch directory and you should have a file called usecode.
What is not in the readme but should be written as a warning:
don't replace any of your files in your STATIC dir with the ones from the patch.
To create the usecode out of the usecode.uc file you have to either grab "ucc.exe" from the tools-snapshot or build ucc from source.
Then run "ucc -o usecode usecode.uc" in the patch directory and you should have a file called usecode.
What is not in the readme but should be written as a warning:
don't replace any of your files in your STATIC dir with the ones from the patch.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: How would you...
You can also run ucc automatically from ExultStudio if you look in the 'tools' menu. It's a little limited right now, in that it assumes your source file is 'usecode.uc', and that it's in the 'patch' directory. The nice thing, though, is that it automatically has Exult reload 'usecode' if the compile succeeds.
Re: How would you...
Cool! I wish I had noticed this earlier.
-Karl
-Karl
Re: How would you...
For all you windows users that last post by Jeff doesn't work for us. So don't bother trying
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: How would you...
Is ucc.exe in your PATH? I think that's the only way Studio will be able to find it. On Linux, ucc and all those other utilities are installed at /usr/local/bin, which is often in the PATH.
-Karl
-Karl
Re: How would you...
You could always pester Ryan to make it work on Windows:-)
Re: How would you...
Karl, it is really not working
I think the support for it is not even compiled on Win32 as it wasn't easy portable.
I'll try to pester Ryan sometime in the future
I think the support for it is not even compiled on Win32 as it wasn't easy portable.
I'll try to pester Ryan sometime in the future
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: How would you...
Okay; I had looked at the code and saw that it was a simple exec to execute ucc, and I thought this call would work on Windows, especially if one was using gcc. If not, I suppose the exec would just get changed to a CreateProcess or some such.
I'll go back to asking questions; I seem to have more luck with that than trying to be helpful to others here.
-Karl
I'll go back to asking questions; I seem to have more luck with that than trying to be helpful to others here.
-Karl