Login
User Name:

Password:



Register

Forgot your password?
Dusting off the old code...
Jul 15, 2019 10:53 pm
By InfiniteAxis
Forum Search/User Post History
May 13, 2019 12:43 pm
By Keirath
AFKMud 2.2.2
Mar 3, 2019 5:35 pm
By Samson
Development
Nov 28, 2018 12:10 pm
By Keirath
First Immortal
Oct 12, 2018 2:02 pm
By GatewaySysop
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
AFKMud 2.2.2
Author: AFKMud Team
Submitted by: Samson
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl

Members: 0
Guests: 0
Stats
Files
Topics
Posts
Members
Newest Member
482
3,748
19,405
582
Maxreality

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Building » Help with Object flags
Forum Rules | Mark all | Recent Posts

Help with Object flags
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Aug 1, 2013 8:27 pm   
Go to the top of the page
Go to the bottom of the page

mystickdreamer
Magician
GroupMembers
Posts128
JoinedApr 9, 2010

 
Ok so I'm new to Smaug, I've used circle quite a bit extensively for quite a few years, but I have found a codebase that has the features I actually want already in it with a few bugs of course.


I can't seem to figure out how to set a wear location for an item.


the codebase is Calareymud3.0 if anybody wanted to know

but I suspect this is my lack of knowledge of smaug in general

any help is very appreciated

Post is unread #2 Aug 2, 2013 5:20 am   
Go to the top of the page
Go to the bottom of the page

Guest - (Unregistered)

 
You can certainly learn by trial and error but I found it more useful to learn the basics of C first. That is what I am doing currently anyway. Put the mud on backburner until then. See www.openlearning.com plenty of online free C courses there.

Post is unread #3 Aug 2, 2013 7:11 am   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

 
well in Smaug it is "oset wear ", but it looks like it was removed from Calareymud for some reason.

Post is unread #4 Aug 2, 2013 8:51 am   Last edited Aug 2, 2013 8:53 am by Remcon
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

 
Ok this seems to be what you will use

in build.c look for
char *const bp_flags[] = {

That is a list of the parts and to set it "oset parts "
The size on the object also counts and can't be more then 1.5 times the characters height or less then half the characters height. It also seems to cover every part you put in when equiped (if the character has that part)

Post is unread #5 Aug 2, 2013 10:20 am   
Go to the top of the page
Go to the bottom of the page

mystickdreamer
Magician
GroupMembers
Posts128
JoinedApr 9, 2010

 
Hah I looked at tha. Hmm maybe iI typed something wrong I'll try again when . Get home. Thanks for all your help so farr remcon


I will look into that website and learn what I can

Until then I'm going to build onto my mud and try and learn coding on a different copy.


You definitely made me feel welcome for my first few posts

Post is unread #6 Aug 2, 2013 11:23 am   
Go to the top of the page
Go to the bottom of the page

Aurin
Magician
GroupMembers
Posts189
JoinedSep 5, 2010

 
Remcon is awesome...he's like a god!

:worship: -> Remcon :banana: :banana: :banana:

(yeah, I know there's no worship icon, but it suits my purpose right now) heh

Post is unread #7 Aug 2, 2013 12:41 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

 
lol thanks aurin, but far from it :)

Glad you feel welcome :)

I learned mostly from trial and error haha it was an interesting way to do it :)

Post is unread #8 Aug 2, 2013 2:38 pm   
Go to the top of the page
Go to the bottom of the page

mystickdreamer
Magician
GroupMembers
Posts128
JoinedApr 9, 2010

 
lol and ah of course I was doing something wrong

I was trying to put the part waist, but it seems that doesn't exist. There is a stomach and an a$$ spot though.

Post is unread #9 Aug 2, 2013 3:08 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

 
lol yea some of the parts are even better then that one :)

Pages:<< prev 1 next >>