Egoboo Forum

The Legend of Egoboo Sporks of Yore
Spawn File Members Meaning?
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Egoboo Forum Forum Index -> -> Development
View previous topic :: View next topic  
Author Message
jay_pee_em
Grub Bug
Grub Bug


Joined: 03 Jul 2008
Posts: 4
Location: Los Angeles, CA

PostPosted: Thu Jul 03, 2008 6:53 pm    Post subject: Spawn File Members Meaning? If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

I'm adding new objects to some modules, and i was wondering what each column in the spawn file means. I understand many of them, but some i'm not sure about:

Name: does this matter? name is usually set in naming.txt, no?
Slot: the slot the object is defined by so it knows which object to spawn
Xpos, Ypos, Zpos: self-explanatory
Dir: either direction object is facing or if held by character, where (r hand, l hand, inventory).
Mon: amount of money held
Skn: ?
Pas: which passage is this object associated with?
con: ?
Lvl: The starting level of the character?
Stt: display or hide stats
Gho: ?
Team: which team does the object start on.

I guess i'm most confused about Name, Skn, Con, and Gho, but i'm not 100% sure about Pas and Lvl either.
_________________
http://www.teamroflcopter.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bgbirdsey
Developer
Developer


Joined: 25 Sep 2007
Posts: 873
Location: Minnesota

PostPosted: Thu Jul 03, 2008 7:01 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

You are correct on all of the ones you listed

    Skn = which skin the character uses. Each one can have up to 4 different "outfits" or skins to choose from

    con = the "content" of the character's AI. This is just a parameter that you pass to the character's script. It can be interpreted as anything, but a typical example would be to choose whether the "mephit" you are spawning is a moss mephit, a fire mephit, ...

    Gho = is the character a ghost? this is really obsolete and should not really be used. For backward compatability, we can't just remove this.
Back to top
View user's profile Send private message
PurpleSquerkle
Supreme Cookiemancer
Supreme Cookiemancer


Joined: 28 Oct 2007
Age: 28
Posts: 4370
Location: Midwestern US

PostPosted: Thu Jul 03, 2008 8:27 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Bad bgbirdsey. You didn't give out any cookies.

WELCOME!
Have a cookie! Cookie!


Bad me. You didn't help.
Yeah, but none is needed at this point.
_________________

+ PurpleSquerkle

--My website--
Latest update= 7/15/08; Three new midi loops.

{new Squerkle coming as soon as I stop being lazy}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
penguinflyer2222
The Dark One
The Dark One


Joined: 28 May 2008
Age: 20
Posts: 751
Location: In exsistance

PostPosted: Thu Jul 03, 2008 8:31 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Welcome and have a light bulb! Idea
I have started giving them out if you haven't noticed.
_________________
Penguinflyer2222: Made in U.S.A.
I am evil!
Bo Fhpcpp njojefwfmpqfs
An Egoboo minideveloper
Back to top
View user's profile Send private message
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 24
Posts: 3073
Location: Finland

PostPosted: Thu Jul 03, 2008 8:31 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Welcome, jay_pee_em! Very Happy
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Maxaxle
Elite Gamer
Elite Gamer


Joined: 06 Oct 2007
Age: 26
Posts: 2718
Location: San Diego

PostPosted: Fri Jul 04, 2008 12:19 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Hey, newbie! Very Happy
_________________
http://www.freewebs.com/maxaxle88/
Inventor class last updated: July 9, 2008
Download: https://sourceforge.net/projects/maxaxlesegoboos
FREE PIZZA TOMORROW

This forum is dead and I have moved on to another forum with everyone else.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
penguinflyer2222
The Dark One
The Dark One


Joined: 28 May 2008
Age: 20
Posts: 751
Location: In exsistance

PostPosted: Fri Jul 04, 2008 12:44 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Maxaxle wrote:
Hey, newbie! Very Happy

Hey! Shame on you.
_________________
Penguinflyer2222: Made in U.S.A.
I am evil!
Bo Fhpcpp njojefwfmpqfs
An Egoboo minideveloper
Back to top
View user's profile Send private message
Agent of Dread
lolwut?? (Moderator)
lolwut?? (Moderator)


Joined: 23 Sep 2007
Age: 21
Posts: 4349
Location: FACEPLANT

PostPosted: Fri Jul 04, 2008 10:15 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Leave him.
Last time he said n00b and (hopefully Rolling Eyes ) regretted it.
Newbie is fine. >_>
_________________
FACEPLANT
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Clonkinator
Master Frying Pen (Moderator)
Master Frying Pen (Moderator)


Joined: 03 Nov 2007
Age: 26
Posts: 3076
Location: Germany

PostPosted: Fri Jul 04, 2008 11:59 am    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Welcome to the forums, jay_pee_em. Yeah, as bgbirdsey said, that's what the stuff does. However, I guess a better example for "con" are chests and cobols. Chests use it to find out whether they contain money, items, or both, and cobols use it to find out at which range to attack. Well, yes, it's a parameter given to the object's script; the way it is used depends on the object.
_________________
Yes, it's true. I fail. Epicly so.
Back to top
View user's profile Send private message Send e-mail
Chainsaw
Lumberjack
Lumberjack


Joined: 20 Oct 2007
Age: 26
Posts: 2378
Location: Israel

PostPosted: Fri Jul 04, 2008 12:58 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

No one explained names yet, so I will.

An item's name can be set both in a naming.txt file, and in a modules spawn.txt.
The module's naming is there for when you want to give a name directly and only to the object you spawn, and not the entire object class.

Or, in other words: the naming.txt adds the name to all the objects of that class, while spawn.txt can be used to name each individually, this is good for NPCs, for example.

Also, some objects don't use names, these are usually monsters and non-magical items.

And of course, welcome. Very Happy
_________________
"To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
Back to top
View user's profile Send private message Send e-mail
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2306
Location: Norway

PostPosted: Fri Jul 04, 2008 5:21 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Remember the skin should be set between 0 and 4. 0 being armor level 1 and 3 being armor level 4. Setting this value to 4 makes the object spawn a random skin.[/b]
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Maxaxle
Elite Gamer
Elite Gamer


Joined: 06 Oct 2007
Age: 26
Posts: 2718
Location: San Diego

PostPosted: Fri Jul 04, 2008 5:44 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

penguinflyer2222 wrote:
Maxaxle wrote:
Hey, newbie! Very Happy

Hey! Shame on you.

It was like saying, "Hi, new guy!", not "Hi, you *****************!"
Rolling Eyes
_________________
http://www.freewebs.com/maxaxle88/
Inventor class last updated: July 9, 2008
Download: https://sourceforge.net/projects/maxaxlesegoboos
FREE PIZZA TOMORROW

This forum is dead and I have moved on to another forum with everyone else.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chainsaw
Lumberjack
Lumberjack


Joined: 20 Oct 2007
Age: 26
Posts: 2378
Location: Israel

PostPosted: Fri Jul 04, 2008 5:46 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

Zefz wrote:
Remember the skin should be set between 0 and 4. 0 being armor level 1 and 3 being armor level 4. Setting this value to 4 makes the object spawn a random skin.[/b]

Really? Why do the Bishopia NPCs and bodies have a their skin randomised in the script and not in spawn then?
_________________
"To err is human, to really mess up requires a computer."
Chainsaw's Cell [Last update: 27th May '08]
Back to top
View user's profile Send private message Send e-mail
woodmouse
Skinner
Skinner


Joined: 19 Apr 2008
Age: 24
Posts: 3073
Location: Finland

PostPosted: Fri Jul 04, 2008 6:37 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

I think it's simpler. Because, then they will random when if you copy them to other module. But I can't be sure what Zefz thought...
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zefz
Lead Designer
Lead Designer


Joined: 16 Sep 2007
Posts: 2306
Location: Norway

PostPosted: Fri Jul 04, 2008 8:07 pm    Post subject: If a post contains some illegal issues you may abuse on it - just click Abuse and fill the form Reply with quote

No it was because I had not learned about this way to randomize skins before I made the script Razz

Anyways Bishopia guards do actually not have randomized skins. They are predefined (Ninja guards at the Rogue Guild and other two guard skins anywhere else).

Dead bodies uses the scripting solution, which is slightly less optimized.
_________________
http://egoboo.sourceforge.net

"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Egoboo Forum Forum Index -> -> Development All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2007 Informe.com. Get Your Own Free Portal.
Powered by phpBB © 2001, 2005 phpBB Group


RedSilver 1.01 Theme was programmed by DEVPPL HTML Forum
Images were made by DEVPPL Photoshop Forum