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 120)
848464
848464

Yay, amazing

Reply Good karma Bad karma+1 vote
Guest
Guest

Are we still on track for an around-the-end-of-summer beta release, or do you still need time to get everything working right?

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

Sorry for no updates. My summer plans was failed, so there is no much new stuff. I am very tired and I still can't overcome this. Life in Moscow is exhausting.
Anyway, the mod is not canceled, but I have almost no free time due to my main work now. If I can handle all this work struff before November and can accumulate some money for live, then I'll plan to take two-month break, move to countryside and use all this time to finish playable beta with main quest-line.

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

Everything is good. I start to build beta-version.

Reply Good karma+4 votes
o3o
o3o

Post some new picture for this case.

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

It will be soon.

Reply Good karma+1 vote
UntouchedShadow
UntouchedShadow

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

Reply Good karma Bad karma+2 votes
Flygon330
Flygon330

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

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

I'm still working on it.

Reply Good karma+1 vote
Untamed64
Untamed64

This has great potential

Reply Good karma Bad karma+2 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
237 members
Articles
1