Data Realms Fan Forums
http://45.55.195.193/

Bomb not loading into buy/place object menus
http://45.55.195.193/viewtopic.php?f=1&t=11151
Page 1 of 1

Author:  lazyfaith [ Thu May 08, 2008 8:03 pm ]
Post subject:  Bomb not loading into buy/place object menus

I'm making a bomb and i have added it to the bombs group with "AddToGroup = Bombs" and made it buable with "Buyable = 1" but still it doesn't show. If anyone could help me thatd be great, download is below.

Attachments:
TT Bomb.rte.rar [330.58 KiB]
Downloaded 155 times

Author:  leadpumper12 [ Thu May 08, 2008 9:44 pm ]
Post subject:  Re: Bomb not loading into buy/place object menus

is it included in the index.ini?

Author:  Grif [ Fri May 09, 2008 12:06 am ]
Post subject:  Re: Bomb not loading into buy/place object menus

Also, does it have a GoldValue line?

Author:  Azukki [ Fri May 09, 2008 1:43 am ]
Post subject:  Re: Bomb not loading into buy/place object menus

IMPORTANT
SPACING =/= TABBING

It doesn't matter if it lines up when you look at it, what matters is if the game engine recognizes the proper tab character's usage. Which this doesn't.

Replace the spacing with tabbing and it should work.

line 4 of index.ini
lines 264 & 279 of bombs.ini


Oh, and one thing that it looks like you may want to keep in mind in the future of this mod, TDE gibs don't activate their timers. That is to say, that you can't make them explode after a certain amount of time in the way that you regularly would a TDE. So it would be simpler to just use a MOSRot.

Author:  lazyfaith [ Fri May 09, 2008 10:05 pm ]
Post subject:  Re: Bomb not loading into buy/place object menus

Yes it has a gold value and is include in the index.ini

@Azukki: Please explain this tabbing more fully, i haven't heard of it. Thanks for reminding me about the timers btw, ill just make it so the blastoffs can act as mines or something

Author:  venn177 [ Fri May 09, 2008 10:31 pm ]
Post subject:  Re: Bomb not loading into buy/place object menus

lazyfaith wrote:
Yes it has a gold value and is include in the index.ini

@Azukki: Please explain this tabbing more fully, i haven't heard of it. Thanks for reminding me about the timers btw, ill just make it so the blastoffs can act as mines or something

The tab key. Delete the spaces and use the tab key in notepad when editing the lines he mentioned.

Author:  lazyfaith [ Sat May 10, 2008 2:46 pm ]
Post subject:  Re: Bomb not loading into buy/place object menus

:shock: omg how did you know it was that? Ive never known that spacing or 'tabbing' made a differance :/ Are there any other small but crucial details like this i should know??

Author:  TrouserDemon [ Sat May 10, 2008 2:55 pm ]
Post subject:  Re: Bomb not loading into buy/place object menus

Capitalisation matters more than you expect.

Author:  lazyfaith [ Sat May 10, 2008 6:59 pm ]
Post subject:  Re: Bomb not loading into buy/place object menus

thanks for the explanation about 'tabbing' it works now. Just some tweaks to do to it now. I already knew about capitals, it took me over an hour once to realise it was that :x

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/