collapse

Author Topic: How to add new hackterminal text files?  (Read 107 times)

Offline Mamita

  • Neonate
  • **
  • Posts: 82
How to add new hackterminal text files?
« on: November 26, 2019, 02:21:57 AM »
As the title says. When I try to create a new hackterminal file and run it on a PC in Hammer,
all I get is a blank computer.
How do I get this to work so I can add new computers to the game? I know it's possible because many mod authors have done it.
Posting this here to hopefully help other inexperienced modders.

Offline Barabbah

  • Majestic madness maker
  • Antediluvian
  • *****
  • Posts: 1543
Re: How to add new hackterminal text files?
« Reply #1 on: November 26, 2019, 08:06:37 AM »
As far as I understood you need the computer on the map, the computer content (on a .txt file in vdata/hackterminal) and the computer to be active in the python files
"Some quotations," said Zellaby, "are greatly improved by lack of context."
― John Wyndham, The Midwich Cuckoos
"fuck the hole in the face"
― me

Offline Malkav

  • Antediluvian
  • *****
  • Posts: 1716
Re: How to add new hackterminal text files?
« Reply #2 on: November 26, 2019, 09:10:07 AM »
As the title says. When I try to create a new hackterminal file and run it on a PC in Hammer,
all I get is a blank computer.
How do I get this to work so I can add new computers to the game? I know it's possible because many mod authors have done it.
Posting this here to hopefully help other inexperienced modders.
Have you linked the computer to the hackfile?
I don't know how it works in Hammer, but if you look at any "prop_hacking" in the entity list with vpk-tools you find something like this:
"hack_file" "vdata/HackTerminals/AsianVamp_laptop.txt"
Co Author of Camarilla Edition Mod

Online argikt

  • Antediluvian
  • *****
  • Posts: 669
Re: How to add new hackterminal text files?
« Reply #3 on: November 26, 2019, 11:02:51 AM »
As the title says. When I try to create a new hackterminal file and run it on a PC in Hammer,
all I get is a blank computer.
How do I get this to work so I can add new computers to the game? I know it's possible because many mod authors have done it.
Posting this here to hopefully help other inexperienced modders.
Have you linked the computer to the hackfile?
I don't know how it works in Hammer, but if you look at any "prop_hacking" in the entity list with vpk-tools you find something like this:
"hack_file" "vdata/HackTerminals/AsianVamp_laptop.txt"

If you want to do it on hammer, the easy way is copy-paste from another computer in other map. Make a txt file for the new computer and place it where malkav says. vdata/HackTerminals/mycomputer.txt

Most features of the game are hard-coded and can't be changes, but not the computer, you can create as many as you want.
Like Like x 1 View List

Offline Wallit

  • Fledgling
  • *
  • Posts: 5
Re: How to add new hackterminal text files?
« Reply #4 on: December 07, 2019, 09:23:55 AM »
When generating the map in hammer, I faced something strange, I had to open the map with vpk tool to add the vdata/HackTerminals/ in front of computer.txt otherwise it was blank, after this change the computer is working fine, but it is maybe my hammer configuration, if someone know how to fix this, please let me know.