Author Topic: Spawn Point creation on Custom Fields  (Read 2055 times)

Offline soda72

  • Platinum Member
  • ******
  • Posts: 5201
Spawn Point creation on Custom Fields
« Reply #30 on: November 02, 2006, 12:06:05 PM »
Quote
Originally posted by Denholm
I have yet to still figure out how you got the location to be "K:\testdir"


k:\testdir is a directory I setup to run the program..  You can place the addspwn program in any directory you want.  I would recommend creating a new one and placing it there..

there are a couple of dos commands that will let you move around...

the CD command will let you change directories..

if the Dos prompt says your in c:\mydir\mysubdir and you type:
CD ..



this will take you up one directory level to c:\mydir.  



if you want to go back into a subdir, type
CD mysubdir





If you want to switch to a different drive, you would type:






If you want to see what other directories are listed in another directory type:



« Last Edit: November 02, 2006, 12:08:33 PM by soda72 »

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Spawn Point creation on Custom Fields
« Reply #31 on: November 03, 2006, 09:21:23 AM »
Okay, now let's see if this works.

EDIT: It worked, took me a moment to figure out I was supposed to use the saved .til shape which the OE opens, not the built shape that the TE uses. Now let me see if the spawns were made.

Edit2: Well, I tried it out, I'm thinking I made some sort of mistake, because all the spawn points are "Fighter Entries" although I did place some "Bomber Entries" (I think I placed the wrong shape for Bomber Entry) and the entries were in the wrong place. So I'll have to mess around with it some to see how it turns out, yet right now its not working for me.
« Last Edit: November 03, 2006, 09:43:31 AM by Denholm »
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline soda72

  • Platinum Member
  • ******
  • Posts: 5201
Spawn Point creation on Custom Fields
« Reply #32 on: November 03, 2006, 09:52:57 AM »
Quote
Originally posted by Denholm
Okay, now let's see if this works.

EDIT: It worked, took me a moment to figure out I was supposed to use the saved .til shape which the OE opens, not the built shape that the TE uses. Now let me see if the spawns were made.

Edit2: Well, I tried it out, I'm thinking I made some sort of mistake, because all the spawn points are "Fighter Entries" although I did place some "Bomber Entries" (I think I placed the wrong shape for Bomber Entry) and the entries were in the wrong place. So I'll have to mess around with it some to see how it turns out, yet right now its not working for me.


If you view your .til file does it have the cfte0 and cbme0 like this:


0000000C
texturename,TextureName
cfte0          ,-2,-900.303955,0.000000,-2024.762085,0.000000,0.000000,-4.647634
cfte0          ,-2,-1264.216553,0.000000,-2284.699707,0.000000,0.000000,0.071700
cfte0          ,-2,-1954.427002,0.000000,-1440.054443,0.000000,0.000000,-1.355439
cfte0          ,-2,1383.476074,0.000000,-563.912659,0.000000,0.000000,-4.413889
cfte0          ,-2,-1440.974243,0.000000,1455.954590,0.000000,0.000000,-3.109346
cbme0          ,-2,-1950.451904,0.000000,-1016.204163,0.000000,0.000000,-2.895677
cbme0          ,-2,-1919.259399,0.000000,-1598.464355,0.000000,0.000000,-1.338866
cvhe0          ,-2,-500.000000,0.000000,-100.000000,0.000000,0.000000,-3.141593
mafld0g        ,-2,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000
crwy1          ,2,-292.142365,0.000000,766.213135,0.000000,0.000000,-1.735945
cfth0          ,-2,1381.948364,0.000000,-64.832436,0.000000,0.000000,-2.875340
cfth0          ,-2,-1846.476929,0.000000,1531.184570,0.000000,0.000000,-1.512040
cfth0          ,-2,-900.303955,0.000000,-2024.762085,0.000000,0.000000,1.650627
twrv0          ,-2,-687.155090,0.000000,-553.515137,0.000000,0.000000,2.377937
vhh0           ,-2,-474.396240,0.000000,-111.878792,0.000000,0.000000,3.195113
bmh0           ,-2,-1950.451904,0.000000,-1016.204163,0.000000,0.000000,-2.953751
rdr0           ,-2,136.757584,0.000000,826.422485,0.000000,0.000000,-2.057696
bab0           ,-2,-52.907288,0.000000,-2133.935791,0.000000,0.000000,-2.057696
bab0           ,-2,-2194.793213,0.000000,18.347603,0.000000,0.000000,-2.057696
amb0           ,-2,-136.087326,0.000000,-1863.600830,0.000000,0.000000,-2.057696
fub1           ,-2,-879.508911,0.000000,792.961731,0.000000,0.000000,-4.721942
gng1           ,-2,-827.521423,0.000000,-818.651550,0.000000,0.000000,-2.057696
gng1           ,-2,862.073120,0.000000,-1260.545532,0.000000,0.000000,-2.057696
gng1           ,-2,-999.080261,0.000000,1422.010742,0.000000,0.000000,-2.057696
gng1           ,-2,-1752.899292,0.000000,-2139.134766,0.000000,0.000000,-2.057696
gng1           ,-2,-1836.079346,0.000000,54.738869,0.000000,0.000000,-2.057696
gng1           ,-2,-616.516052,0.000000,-1692.649780,0.000000,0.000000,-2.057696
gng1           ,-2,-280.000000,0.000000,510.000000,0.000000,0.000000,0.000000

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Spawn Point creation on Custom Fields
« Reply #33 on: November 03, 2006, 09:58:17 AM »
I only used cfte.shp, not cbme.shp and cfte.shp combined. So I ended up only having Fighter entries, some labeled as "bomber entries".
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline soda72

  • Platinum Member
  • ******
  • Posts: 5201
Spawn Point creation on Custom Fields
« Reply #34 on: November 03, 2006, 10:11:22 AM »
Quote
Originally posted by Denholm
I only used cfte.shp, not cbme.shp and cfte.shp combined. So I ended up only having Fighter entries, some labeled as "bomber entries".


yeah the addspwn does not use the override type,  when the shape(cfte0.shp,cbme0.shp,and cvhe0.shp) is loaded into the OE the def type should be set to void.   addspwn uses the name of shape (cfte0,cbme0, and cvhe0) in the .til file instead of the "override type" setting.  The reason I did this is becuase the override type setting is recognized while in game, so I left them as void so the game would ignore them.  

In the .til file the -2 setting means for the object to use it's default type.  


cfte0          ,-2,-1954.427002,0.000000,-1440.054443,0.000000,0.000000,-1.355439


if it's a positive value it means that the override type is set for the object..

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Spawn Point creation on Custom Fields
« Reply #35 on: November 04, 2006, 10:46:35 AM »
Okay, so fixing the shapes and leaving them on "VOID" will fix this problem that the spawn is placed 1 mile from my desired point? Then again, I haven't had the time to look into detail what happened.

Yet, I will still use this method, since you programmed the machine and you know how it works best.:aok
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.

Offline soda72

  • Platinum Member
  • ******
  • Posts: 5201
Spawn Point creation on Custom Fields
« Reply #36 on: November 04, 2006, 01:38:53 PM »
Quote
Originally posted by Denholm
Okay, so fixing the shapes and leaving them on "VOID" will fix this problem that the spawn is placed 1 mile from my desired point? Then again, I haven't had the time to look into detail what happened.

Yet, I will still use this method, since you programmed the machine and you know how it works best.:aok


I didn't realize it was a mile off....  Something else might be wrong..  can you post the .til file and oba file you are using?

Offline Denholm

  • Plutonium Member
  • *******
  • Posts: 9667
      • No. 603 Squadron
Spawn Point creation on Custom Fields
« Reply #37 on: November 04, 2006, 01:50:54 PM »
Will do so once I get the chance.
Get your Daily Dose of Flame!
FlameThink.com
No. 603 Squadron... Visit us on the web, if you dare.

Drug addicts are always disappointed after eating Pot Pies.