View Full Version : gtk question

08-05-2002, 03:02 AM
where exactly does GtkRadiant search for the definition files? my entitiy list is incomplete, likely because of this

i fixed it before by pasting the .defs everywhere i thought the program would look for them hehe - although that produced some side effects like haveing entities being listed twice (so my npc drop-down menu only went to npc_imperial)

also, is there a way around the npc drop-down list not scrolling? i dont want to run in 1280 res to put ents in my map

other than that, i love GTK, and dont see myself going back to jk2radiant anytime soon


my ? if ya forgot hehe: Where exactly does GtkRadiant search for the definition files?

PS: oh yeah BTW Emon: dont tell me im dumb and installed it wrong!

08-05-2002, 03:03 AM
You could just make any NPC, then hit N, and scroll down to the one you need, or type in the key and edit it yourself and such.

08-05-2002, 03:05 AM
um, i dont want to do that. anyway, right now, my drop-down list does not have NPCs in it, like i said, its incomplete, and want to know where it wants the .def file to be

08-05-2002, 03:05 AM
In that case, GameData\base\scripts.

08-05-2002, 03:07 AM

i think thats funny it uses the games directory for that. why not just use the folders created when it was installed? i mean theres the program folder, then the radiant folder made for every supported game. youd think itd be in one of those

hehe oh well, thanks again

08-05-2002, 03:13 AM
dam, well there it was, in there where you said; i replaced it with that one with the NPC_spawner entity, and it still doesnt work int he drop down menu

any settings in radiant i could tweek? man im hating radiant no other editor gave me so much gripe

08-05-2002, 01:48 PM
You don't understand, I said forget about the drop down menu. Make any NPC or entity, bring up the entity window and change it there.

08-05-2002, 02:11 PM
you dont understand - i like the drop down menu! its one of the few things i actually liked about radiant! hehe

i guess i could revert back to worldcrash style mode and manually select entity types anyway

i mean really emon, there are more ways to do things than YOUR way! :p

08-05-2002, 03:37 PM
um, yeah, npcs arent listed even in the entity window
i got the .defs in gamedata/base/scripts

*sigh* **** this hasnt been my day. very very bad dreams keeping me up, gotta go ****ing load boxes tonite, gtk crashing with textures loading too. maybe im not supposed to map for q3 engine games.

08-05-2002, 05:25 PM
I'm telling you to use the entity window because there AREN'T other ways unless you change your resolution.

My list only goes down to NPC_Rebel, and I want to add NPC_spawner. So first I add the NPC_Rebel, hit N, and change the key of classname from NPC_Rebel to NPC_spawner and hit enter. I then close the entity window by hitting N and I have an NPC_spawner in GTKRadiant.

08-06-2002, 01:11 AM
yes, i know - but npcs arent being listed in the window either!

read posts emon! god damn the second time ive said that tonight! :p

08-06-2002, 01:16 AM
You mean all the entities are there except NPCs? Unless you tampered with your entity files, that can't happen...

08-06-2002, 07:05 AM
actually, a coupla other classes werent there either; and it aint the .def file itself, i even looked thru it to see if the entities were actually there

hehe anyway, now i went back to check, and now: every entity is listed 3 times! :confused:
i got a screenshot of it, but not sure how/where to post

08-06-2002, 10:37 PM
Delete Radiant and all the DEF files and reinstall it. Make sure it's installed to your GameData folder.

08-07-2002, 01:39 PM
I'm using JK2Radiant and for some reason JediF isnt showing up on the npc list.

I have left SPentitys.def in the default place: C:\Games\JediKnight2\GameData\Tools\SP_entities.de f

Radiant knows were to find it. It points to: C:\GAMES\JEDIKN~1\GAMEDATA\\TOOLS\SP_entities.def

What is wrong here?
(And before Emon starts again: I know you can get her other ways in theory.
I just want her in the god damn menu, its simpler.)

O wait a minute...the weirdness begins. As Idont said she isnt in the .def file.
Hmm aparetnly this doesnt work anythign like what i expected.

...ok. but I remember that a while ago when i first instaled Radiant (and screwed it up) that JediF WAS in the list but that when you picked her the entity box it made was the wrong size and when you hit N there words Not Found in Source
apeared in the widow...:confused:

I'm tired...I feel like my posts are kinda rambling and confused...

08-07-2002, 04:06 PM
If the JediF isn't in the list, you could try duplicating the Jedi and giving it the new name JediF and maybe it'll work. The updated one from Raven also might have it, as it adds some more NPC entities for NPCs that don't even exist!

08-07-2002, 04:50 PM
Originally posted by Emon
Delete Radiant and all the DEF files and reinstall it. Make sure it's installed to your GameData folder.

did it; still no NPCs being listed in the drop down menu OR the entity window. i busted open the sp_entities.def, and NPCs are in there; i did also switch to MP mode to see if maybe the .defs are backwards; nope, no npcs anywhere

the latest install:
GTK core: d:/gamesnt/jedi outcast/gamedata/Radiant

08-07-2002, 06:47 PM
First off the fun things, i just discovered that if you spawn in a Howler npc
it is in fact a stormtrooper which uses minemonster type AI.
(it doesnt need waypoints to move!) he has no gun but uses the melee "weapon". that is basicaly irrelivent but i found in interesting :)

Originally posted by Emon
If the JediF isn't in the list, you could try duplicating the Jedi and giving it the new name JediF and maybe it'll work. The updated one from Raven also might have it, as it adds some more NPC entities for NPCs that don't even exist!

Hmm. you meen to duplicate and rename the entry in the .def file?
could try that...

Ok i installed the new .def file. interesting the NPC_****** entry has
disapeared from the menu, though of course the spawner one has apeared.
Odder still the JediF has showup in the menu though she is still broken...
choosing her from that menu option results in a entity box smaller than one for an ammo item...

I tried just changing the classname tag of another npc to NPC_JediF
but if i add her to a map when i load it in the game she doesnt
apear and the console says "NPC_JediF does not have a spawn function."
If i then load the map back up the box representing here is realy tiny...
and the 'N' menu says "Not found in source" in the area that normaly
tells you what the options are.

08-08-2002, 01:59 AM
Well you could always use a NPC_spawner to spawn JediF. I know it has a ton of keys and stuff which I don't know if other NPC ents have, like spawnscript and that whole huge list of nice stuff.

08-08-2002, 02:01 AM
cool hehe my problem is solved... lol forgot to restart after reinstalling, hehe ****ing spoiled with win2k, used to have 98 and every little change youd need to restart

08-08-2002, 03:07 AM
Yeah, Win 2K kicks ass.