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 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 114)
UntouchedShadow
UntouchedShadow

Bless you for still working on this despite hardships. I wish you success.

Reply Good karma Bad karma+1 vote
Flygon330
Flygon330

Looks interesting and fun to play! I hope this mod doesn't get cancelled.

Reply Good karma Bad karma+1 vote
GNU/Hurt Creator
GNU/Hurt

I'm still working on it.

Reply Good karma+1 vote
Cyberdemon2006
Cyberdemon2006

This has great potential

Reply Good karma Bad karma+1 vote
Guest
Guest

Man I've been eagerly anticipating this mod for years, I really hope it comes out because it looks kind of like the kind of thing I've wanted for half-life for ages!

Reply Good karma Bad karma+1 vote
marctimothymoses
marctimothymoses

i can't wait to try this mod

Reply Good karma Bad karma+4 votes
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
GTAutoman
GTAutoman

I want it! :D

Reply Good karma Bad karma+1 vote
hamud
hamud

When this mod will release?

Reply Good karma Bad karma+3 votes
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.

Follow Report Profile
Icon
Half-Life
Game
Half-Life
Creator
Contact
Send Message
Release date
Mod watch
Follow
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
232 members
Articles
1