#how to transfer NPCs from mods to hammer

1 messages · Page 1 of 1 (latest)

finite spindle
#

how to transfer NPCs from mods to hammer

remote salmon
#

what kind of mods? gm addons or other?

finite spindle
remote salmon
#

and you want to transfer their models and such? or all behavior and stats and everything

#

@finite spindle

finite spindle
remote salmon
#

hmm you might just be able to extract it from the addon and put it into your directory

finite spindle
remote salmon
#

well look into GarrysMod/addons/

#

and there should be a .gma file of the addon

finite spindle
#

yes, if you unpack it, then there will be folders, the contents of which will need to be thrown into the root folders?

#

to use it in hammer

remote salmon
#

well

#

you unpack it with gmad.exe

sly craterBOT
remote salmon
#

just tested it

finite spindle
#

will the NPC from VJ base be transferred to hammer?

remote salmon
#

but then you will be able to spawn the models in hammer and shit, to have working NPCs is another thing, and I don't know how to do that

finite spindle
remote salmon
#

yes

#

iirc NPCs in hammer are spawned with entities like npc_metrocop and such

#

meaning they have their own entities

finite spindle
#

yes

remote salmon
#

and idk how you would add NPCs from addons

#

i mean i think it involves modifying the fgd

#

but that's as far as i can help im afraid

finite spindle
#

I think entities are registered somewhere

remote salmon
#

yea, the .fgd

finite spindle
#

is this an archived file?

remote salmon
#

i think not

finite spindle
remote salmon
#

you can open it in a text editor

#

apparently this includes extra entities gmod has over hl2

finite spindle
#

most likely it is an archive, if 7zip is running on it

remote salmon
#

the file? I just opened it in notepad

finite spindle
#

and that's it. you're right, 7-zip couldn't open it

remote salmon
#

but editing it probably won't be as straightforward

#

and i suspect this is just the hammer side of things

#

the compiler will have no idea what the entity is

finite spindle
#

1 sec

#

i can copy the second combine and see if hammer will react

#

thank you for telling me about this file, @remote salmon👍

remote salmon
#

ye, np

finite spindle
#

I have read the functions of this script - this is the script of the player himself, i.e. flashlight, movement, rotation

remote salmon
#

the .fgd?