Yes, again: code questions

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Andrea B Previtera

Yes, again: code questions

Post by Andrea B Previtera »

I am wondering about ships, carriages and the magic carpet: riding those probably requires quite a lot of special-and-specialized code, am I right? After all it's a lot of objects moving, rotating around the center of the screen, colliding againist other objects. Is there some quick hack which I can't see, or what else?

I properly implemented a whole world with npc schedules, eggs, scripted events, dynamic and static objects, and so on - but I didn't plan to add such complex forms of transport from the beginning. Now I am trying to, but seems to very intricate and off-the-regular-engine-pattern ...
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Yes, again: code questions

Post by Dominus »

nope, as far as i know it is on the to-do list of Dr.Code. Carriages are quite special...
--
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!
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Yes, again: code questions

Post by drcode »

The code's in obj/barge.cc. And you'll see, it is fairly complicated. Or are you just asking for support in ExultStudio (which isn't done, but will actually be fairly easy).
Andrea B Previtera

Re: Yes, again: code questions

Post by Andrea B Previtera »

I am just asking for a general guideline, you know
"well, you select all objects which bla bla bla... check collisions with bla bla bla" ...
Andrea B Previtera

Re: Yes, again: code questions

Post by Andrea B Previtera »

(checking barge.cc - most things, I expected them to work so. Other, are totally impossible to understand for me, but that must be due to my lack of knowledge of C)
Locked