Ride in the tram and will explore pre disaster BMRF. Collect all colored chumtoads, solve all quests, find all secrets. Mod based on XashXT, and Xash3D engine.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
RSS feed Articles

pathRotate.py

Mapping/Technical Tutorial 16 comments
#!/usr/bin/python
#coding=utf-8
from numpy import *
import sys

epsilon=0.0001

if (len(sys.argv)>=6):
  pName=sys.argv[1]
  pNumber=int(sys.argv[2])
  r=float(sys.argv[3])
  degree=int(sys.argv[4])
  N=int(sys.argv[5])
  h=0
  if(len(sys.argv)>6): h=float(sys.argv[6])

  print '{\n\"classname\" \"worldspawn\"\n}'
  for i in xrange(0,N+1):
    a=float(i)*degree/180*pi/N
    x=int(r*cos(a)/epsilon)*epsilon
    y=int(r*sin(a)/epsilon)*epsilon
    z=int(h*float(i)/float(N)/epsilon)*epsilon
    print '{\n\"classname\" \"path_track\"'
    print '\"origin\" \"'+str(x)+' '+str(y)+' '+str(z)+'\"'
    if(i==0):
      print '\"targetname\" \"'+pName+str(pNumber).zfill(2)+'\"'
      print '\"target\" \"'+pName+str(pNumber).zfill(2)+'a'+str(i+1).zfill(2)+'\"'
    elif(i==N):
      print '\"targetname\" \"'+pName+str(pNumber).zfill(2)+'a'+str(i).zfill(2)+'\"'
      print '\"target\" \"'+pName+str(pNumber+1).zfill(2)+'\"'
    else:
      print '\"targetname\" \"'+pName+str(pNumber).zfill(2)+'a'+str(i).zfill(2)+'\"'
      print '\"target\" \"'+pName+str(pNumber).zfill(2)+'a'+str(i+1).zfill(2)+'\"'
    print '}'
else:
  print 'Usage:'
  print './pathRotate.py <PathName> <PathNumber> <Radius> <Degree> <NumberOfPoints> [Height] > prefab.map'
Comments  (0 - 10 of 108)
marctimothymoses
marctimothymoses

i can't wait to try this mod

Reply Good karma Bad karma+1 vote
Cybertrance
Cybertrance

Heya! Just wondering how progress on the mod is like so far!

Reply Good karma Bad karma+2 votes
Urby
Urby

Never stop tracking... Hope you get some time to work on this again soon.

Reply Good karma Bad karma+7 votes
GNU/Hurt Creator
GNU/Hurt

i am working on it. there is no new screens because all new stuff is completely WiP.

Reply Good karma+2 votes
hamud
hamud

When this mod will release?

Reply Good karma Bad karma+2 votes
kazan88
kazan88

I know your busy with RL stuff but anything new to tell us about the mod and how it stands.

Still hoping to ride around Black Mesa on the trams.

There's a few other non combat mods based in Black Mesa that I like but I still want to see your mod.

Thanks

Reply Good karma Bad karma+3 votes
kazan88
kazan88

It is March and I was wondering if there is any new updates on the mod.

I'm looking forward to riding the trams in a non combat environment and visiting new places in Black Mesa.

Thanks and I hope to see any new updates soon.

Reply Good karma Bad karma+4 votes
GNU/Hurt Creator
GNU/Hurt

sorry. all my plans were thwarted due extreme russian bureaucracy on the my new work place. i still do not have enough free time to continue mod development.

Reply Good karma+2 votes
Guest
Guest

I want!

Reply Good karma Bad karma+1 vote
LastLifeOfficial
LastLifeOfficial

I forgot to track this mod, but yes, now i'm tracking this mod :P

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Icon
Half-Life
Game
Half-Life
Creator
Contact
Send Message
Release date
Mod watch
Start tracking
Share
Style
Genre
Adventure
Theme
Comedy
Players
Single Player
Embed Buttons
Link to Monorail Quest by selecting a button and using the embed code provided more...
Monorail Quest
Statistics
Last Update
Watchers
221 members
Articles
1