EVN Objects Formulas / Resource Calculator?

At the moment, figuring out what ID to make desc's and whotnot is a big pain, especially since, according to tradition, the bible doesn't shed any light on these things. If I just had some objects formulas, I could make my own EVNCALC TI-83 program in study hall.

------------------
Non cognosco quo modo dicere linguam latinam bene.

Planet Descs begin at 128
Ship Descs Begin at 1300
Weapon Descs Begin at 3000

------------------
It's time for a new challenge.
(url="http://"http://homepage.mac.com/benedwards/.cv/benedwards/Public/Ares1.2/StarsAreFire%3AC4.sit-binhex.hqx")The Stars Are Fire(/url)-A TC for Ares
...And so the human race reached for the stars, unknowing of the dangers that awaited them...

Perhaps I should be more specific - what about the unspecified mission texts, like when it's offered to you? I tried seeing if it was a subtract 128 and add 4000 deal, but it doesn't work for all missions.

------------------
Non cognosco quo modo dicere linguam latinam bene.

NovaTools calculates it automagically for you. You really shouldn't be using templates, anyway, but... from the bible:

"...Whenever Nova displays a desc resource related to a mission, such as the
initial mission description (desc ID 4000-4255)..."

That didn't seem too helpful, so I took a gander at a few missions in NovaTools. They all seem to use ID -128 + 4000. Which specific mission IDs does that not work for?

Quote

Originally posted by Q:
**NovaTools calculates it automagically for you. You really shouldn't be using templates, anyway, but... from the bible:

"...Whenever Nova displays a desc resource related to a mission, such as the
initial mission description (desc ID 4000-4255)..."

That didn't seem too helpful, so I took a gander at a few missions in NovaTools. They all seem to use ID -128 + 4000. Which specific mission IDs does that not work for?**

I tried to list these formulae at the end of the ReadMe for NovaTools, but someone should review it to make sure it is up to date with the final version of Nova:

Appendix: Useful Resource Info
-------------------------------

Resource ID range index:

ResType Range Formula

descs:
spob landing descs 128 - 2175 128 + index
outf descs 3000 - 3255 3000 + index
misn descs 4000 - 4999 4000 + index
ship descs 13000- 13767 13000+ index
escape pod desc 13999 13999
ship escort hire descs 14000- 13767 14000+ index
other misn descs values in misn fields

misn 128 - 1127 128 + index
misn descs 4000 - 4999 4000 + index
misn pict value in misn field
other misn descs values in misn fields

outfs 128 - 768 128 + index
outf descs 3000 - 3511 3000 + index
outf 200x200 PICTs 6000 - 6511 6000 + index

ships 128 - 895 128 + index - 895 is escape pod
ship shans 128 - 895 128 + index
ship Target PICTS 3000 - 3767 3000 + index
ship 200x200 PICTS 5000 - 5767 5000 + index
ship descs 13000- 13767 13000+ index
ship escort hire descs 14000- 13767 14000+ index
ship 600x400 PICTS 20128- 20895 20128+ index

spobs 128 - 2175 128 + index
spob spins 1000 - 1255 1000 + value in spob type field
spob landing descs 128 - 2175 128 + index
spob landing PICTS 10000-10063 10000+ spobtye
spob Cust. landing PICTS cust pict id field usually 11000+

systs 128 - 2175 128 + index

weaps 128 - 383 128 + index
weapon spins 3000 - 3255 3000 + index
weapon smoke sets 1000 + value in field in lots of 8
weapon snds 200 + value in field

booms 128 - 191 128 + index
explosion snds 300 - 363 300 + index or value in boom field
explosion spins 400 - 463 400 + index or value in boom field

other spins:
Box spins 500 500 +
Small Asteroid spins 800 - 809 800 + type
Large Asteroid spins 810 - 819 810 +

Years 128 only!

PICTs:
Display Panel 128
StartupPICT 131
Main Menu 8000

IntroPICT value in char field, (usually 8200??)

misn pict value in misn field
spob landing PICTS value in spob field (typically 10000+)
ship 200x200 PICTS 5000 - 5767 5000 + index
Nebula picts 9500 - 9511 9500 + index * lots of 3
ship 600x400 PICTS 20128-20895 20128+ index

STR and STR#s:

IntroText value in char field, (usually 20000)

------------------
(url="http://"http://homepage.mac.com/dr_ralph/index.html") w00tWare: NovaTools are here!(/url)

What exactly is the index?

And is b1 misn bit 1 or would have to be b001?

Quote

Originally posted by DeathScythe:
**What exactly is the index?

And is b1 misn bit 1 or would have to be b001?**

The index is a number that is used like the ID# to identify different resources in a resource fork.

and b1 intead of b001 should work.

------------------
(url="http://"http://homepage.mac.com/thorprime")NovaBurst Home(/url)

Don't you get the index if you sutract a bunch from the ID? Like, ID 128 would be index 1or something?

------------------
Non cognosco quo modo dicere linguam latinam bene.

(This message has been edited by LoneIgadzra (edited 04-11-2002).)

Quote

LoneIgadzra:
Don't you get the index if you sutract a bunch from the ID? Like, ID 128 would be index 1or something?

128 is index 0
129 is index 1
etc.

Anatole.

------------------
There is a place, where these creatures of phenominal power exist. I went their once, and walked as they did, and studied them. Only then did I understand why we act as we do. - From the, "Guidebook to Humans", Antigan Military pamphlet

Gotcha.

------------------
Non cognosco quo modo dicere linguam latinam bene.