SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 02-12-2007   #1
Flame
"It's ok, I like you too!"
 
Flame's Avatar
Default SpawnObjectRelative and Upper/lower 16 bits question

To any good SOCcers out there: I am trying to make a SOC at the moment and I am having a little difficulty with A_SpawnObjectRelative and with A_CapeChase having those upper/lower 16 bits things.

I am a bit confused on what they mean by the Upper/lower 16 bits, And Yet, I am trying to make something spawn at a specific Z height relative to the location of the spawner.

A_CapeChase:
Var1:
upper 16 bits = Z offset
^ How would I be able to set the Upper 16 bits for this?

A_SpawnObjectRelative:
var2:
var2 >> 16 = z
var2 & 65535 = type
^ About this as well, I'm not sure if this means that this would be able to spawn at a specific Z height as well, but I just need some advice on how I can set this.
__________________
   |\    _,,,--,,_ _ 
  / , `.-'`'     ._  \-;;, _
  | ,4-  ) )_    .;. \  `'-'
 '---" -(_ /._)--'(_\_)
Flame is offline   Reply With Quote
Old 02-13-2007   #2
SSNTails
What part of 'RETIRED' don't you understand?
 
SSNTails's Avatar
Default

http://www.analogx.com/contents/down...gram/pcalc.htm

To get 'upper 16 bits'

value << 16

'lower 16 bits' is just your value.

so,

var1 << 16 + var2 = final answer
__________________
Roly Poly Putt & TraceRace - Now out for Android, iPhone, iPad, and iPod Touch - http://www.spaddlewit.com
Follow me on twitter: http://www.twitter.com/SSNTails
SSNTails is offline   Reply With Quote
Old 02-13-2007   #3
Flame
"It's ok, I like you too!"
 
Flame's Avatar
Default

Uh... I'm not really sure on how to use this Pcalc program, Nor do I fully understand what you said.

Would you mind explaining what you said, diffrently?
__________________
   |\    _,,,--,,_ _ 
  / , `.-'`'     ._  \-;;, _
  | ,4-  ) )_    .;. \  `'-'
 '---" -(_ /._)--'(_\_)
Flame is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How could I lower my ping. Snowyfox Help 6 08-03-2010 07:25 PM
Vertical texture offset with lower unpegged DooMAD Editing Help 3 08-24-2009 09:27 PM
XWE lower case lumps problem zentaco Editing Help 14 04-28-2009 07:13 PM
Var# upper and lower? What's this? glaber Editing Help 14 12-06-2007 02:06 AM
Lookie here....XWE with lower case??!?! Naga Editing 3 02-26-2006 10:06 PM


All times are GMT. The time now is 09:42 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.