<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[First Strike Forums — Answer this.]]></title>
	<link rel="self" href="https://forums.fsmod.com/extern.php?action=feed&amp;tid=3419&amp;type=atom" />
	<updated>2006-12-19T21:37:29Z</updated>
	<generator version="1.4.5">PunBB</generator>
	<id>https://forums.fsmod.com/viewtopic.php?id=3419</id>
		<entry>
			<title type="html"><![CDATA[Re: Answer this.]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=47746#p47746" />
			<content type="html"><![CDATA[<p>I think something more relevant might be what they are looking for. No idea though - I&#039;m only a peon <img src="https://forums.fsmod.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></content>
			<author>
				<name><![CDATA[Demonic]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=151</uri>
			</author>
			<updated>2006-12-19T21:37:29Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=47746#p47746</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Answer this.]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=47743#p47743" />
			<content type="html"><![CDATA[<p>Want me to send an other program</p>]]></content>
			<author>
				<name><![CDATA[Mike1951]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=566</uri>
			</author>
			<updated>2006-12-19T20:19:45Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=47743#p47743</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Answer this.]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=47629#p47629" />
			<content type="html"><![CDATA[<p>here is some code.</p><p>Rem Game demo<br />rem By Mike Schlueter</p><p>hide mouse</p><p>rem Varies<br />playerx#=0<br />playery#=-50<br />playerz#=0<br />Jumping=0<br />walking=0<br />stance#=10<br />InShip=0<br />foot=1</p><p>rem Media</p><p>rem Character<br />MAKE OBJECT SPHERE 1,50: position object 1,playerx#,playery#,playerz#<br />make object box 2,10,50,10: position object 2,playerx#,playery#,playerz#</p><p>rem make ship<br />load object &quot;Ship/Fighter.x&quot;,3: scale object 3,10,10,10: position object 3,-270,-35,100<br />yrotate object 3,180<br />fix object pivot 3</p><p>rem Ship<br />load object &quot;Ship/Ship.x&quot;,4: scale object 4,11,11,11 :position object 4,0,0,0</p><p>rem Space<br />load object &quot;space station/ss.x&quot;,5: position object 5,0,0,0: Scale object 5,50,50,50</p><p>`Make sure all the objects are on ground level<br />`FOR Object = 1 TO 2<br />`POSITION OBJECT Object, OBJECT POSITION X(Object), OBJECT SIZE Y(Object)/2,OBJECT POSITION Z(Object)<br />`NEXT Object</p><p>`Add limb for intersection checks<br />MAKE OBJECT SPHERE 9999,10<br />MAKE MESH FROM OBJECT 1,9999<br />DELETE OBJECT 9999</p><p>add limb 1,1,1</p><p>`Front Intersection Limb<br />ADD LIMB 1,2,1<br />OFFSET LIMB 1,2,0,0,OBJECT SIZE Z(1)/2<br />HIDE LIMB 1,2</p><p>`Back Intersection Limb<br />ADD LIMB 1,3,1<br />OFFSET LIMB 1,3,0,0,-OBJECT SIZE Z(1)/2<br />HIDE LIMB 1,3</p><p>`Right Intersection Limb<br />ADD LIMB 1,4,1<br />OFFSET LIMB 1,4,OBJECT SIZE X(1)/2,0,0<br />HIDE LIMB 1,4</p><p>`Left Intersection Limb<br />ADD LIMB 1,5,1<br />OFFSET LIMB 1,5, -OBJECT SIZE X(1)/2,0,0<br />HIDE LIMB 1,5</p><br /><br /><br /><br /><br /><br /><p>Rem Mainline</p><p>rem start loop<br />do</p><p>`Screen FPS<br />FPS=SCREEN FPS()<br />TEXT 0,0,&quot;FPS: &quot;+STR$(FPS)</p><p>`Movement Controls<br />if foot=1<br />&nbsp; &nbsp;IF KEYSTATE(17)=1<br />&nbsp; &nbsp; &nbsp; XAngle#=OBJECT ANGLE X(1)<br />&nbsp; &nbsp; &nbsp; XROTATE OBJECT 1,0<br />&nbsp; &nbsp; &nbsp; MOVE OBJECT 1,2<br />&nbsp; &nbsp; &nbsp; XROTATE OBJECT 1,XAngle#<br />&nbsp; &nbsp; &nbsp; `Walk=1<br />&nbsp; &nbsp;endif<br />&nbsp; &nbsp;IF KEYSTATE(31)=1<br />&nbsp; &nbsp; &nbsp; XAngle#=OBJECT ANGLE X(1)<br />&nbsp; &nbsp; &nbsp; XROTATE OBJECT 1,0<br />&nbsp; &nbsp; &nbsp; MOVE OBJECT 1,-2<br />&nbsp; &nbsp; &nbsp; XROTATE OBJECT 1,XAngle#<br />&nbsp; &nbsp; &nbsp; `Walk=1<br />&nbsp; &nbsp;endif<br />&nbsp; &nbsp;IF KEYSTATE(30)=1 then MOVE OBJECT LEFT 1,1<br />&nbsp; &nbsp;IF KEYSTATE(32)=1 then MOVE OBJECT RIGHT 1,1</p><p>`Mouse Camera Movement<br />Camy#=Camy#+MOUSEMOVEX()*.1<br />Camx#=Camx#+MOUSEMOVEY()*.1<br />IF Camx#&gt;90 AND Camx#&lt;135 THEN Camx#=90<br />IF Camx#&gt;270 AND Camx#&lt;225 THEN Camx#=90<br />YROTATE CAMERA Camy#<br />XROTATE CAMERA Camx#<br />YROTATE OBJECT 1,Camy#</p><p>endif</p><p>`Define variables for lag reduction<br />X#=OBJECT POSITION X(1)<br />Y#=OBJECT POSITION Y(1)<br />Z#=OBJECT POSITION Z(1)<br />SX#=OBJECT POSITION X(3)<br />SY#=OBJECT POSITION Y(3)<br />SZ#=OBJECT POSITION Z(3)</p><p>`Camera Positioning<br />POSITION CAMERA X#,Y# + stance#,Z#<br />position object 2,X#,Y#,Z#</p><p>rem enter vehicle<br />if keystate(18)=1<br />&nbsp; &nbsp;InShip=1<br />&nbsp; &nbsp;foot=0<br />endif</p><p>if InShip=1<br />&nbsp; &nbsp;joystick=1<br />&nbsp; &nbsp;SRY#=0<br />&nbsp; &nbsp;SRX#=0<br />&nbsp; &nbsp;Jumping=0<br />&nbsp; &nbsp;walking=0<br />&nbsp; &nbsp;Jump=0<br />&nbsp; &nbsp;walk=0<br />&nbsp; &nbsp;glue object to limb 1,3,1<br />&nbsp; &nbsp;offset limb 1,1,0,3,2<br />&nbsp; &nbsp;`position camera SX#,SY#,SZ#<br />&nbsp; &nbsp;`set camera to object orientation 3<br />&nbsp; &nbsp;`move object 3,10<br />&nbsp; &nbsp;if upkey()=1<br />&nbsp; &nbsp; &nbsp; pitch object down 3,joystick<br />&nbsp; &nbsp; &nbsp; xrotate camera -joystick<br />&nbsp; &nbsp; &nbsp; `dec SRY,joystick<br />&nbsp; &nbsp;endif<br />&nbsp; &nbsp;if downkey()=1<br />&nbsp; &nbsp; &nbsp; pitch object up 3,joystick<br />&nbsp; &nbsp; &nbsp; xrotate camera joystick<br />&nbsp; &nbsp; &nbsp; `inc SRY,joystick<br />&nbsp; &nbsp;endif<br />&nbsp; &nbsp;if leftkey()=1<br />&nbsp; &nbsp; &nbsp; roll object left 3,joystick<br />&nbsp; &nbsp; &nbsp; yrotate camera -joystick<br />&nbsp; &nbsp; &nbsp; `dec SRX,joystick<br />&nbsp; &nbsp;endif<br />&nbsp; &nbsp;if rightkey()=1<br />&nbsp; &nbsp; &nbsp; roll object right 3,joystick<br />&nbsp; &nbsp; &nbsp; yrotate camera joystick<br />&nbsp; &nbsp; &nbsp; `inc SRX,joystick<br />&nbsp; &nbsp;endif<br />&nbsp; &nbsp;`Mouse Camera Movement IN SHIP<br />&nbsp; &nbsp;`SCamy#=SCamy#+SRY*.1<br />&nbsp; &nbsp;`SCamx#=SCamx#+SRX*.1<br />&nbsp; &nbsp;`YROTATE CAMERA SRY<br />&nbsp; &nbsp;`XROTATE CAMERA SRX</p><p>&nbsp; &nbsp;rem Get back position of object for camera<br />&nbsp; &nbsp; &nbsp; pitch object up 3,5<br />&nbsp; &nbsp; &nbsp; move object 3,-8<br />&nbsp; &nbsp; &nbsp; position object 1,object position x(3),object position y(3)+8,object position z(3)<br />&nbsp; &nbsp; &nbsp; move object 3,10<br />&nbsp; &nbsp; &nbsp; pitch object down 3,5</p><p>&nbsp; &nbsp;rem Place camera and set orientation to object<br />&nbsp; &nbsp; &nbsp; position camera object position x(1),object position y(1),object position z(1)<br />&nbsp; &nbsp; &nbsp; set camera to object orientation 3</p><p>endif</p><br /><br /><p>rem *&nbsp; &nbsp; &nbsp; &nbsp;*<br />rem * STANCE*<br />rem *&nbsp; &nbsp; &nbsp; &nbsp;*</p><p>rem &#039;C&#039;=45 controls or &#039;ctrl&#039;=53<br />if keystate(200)=1 then stance#=8<br />if keystate(200)=0 then stance#=20</p><p>rem *&nbsp; &nbsp; &nbsp; &nbsp;*<br />rem * JUMP&nbsp; *<br />rem *&nbsp; &nbsp; &nbsp; &nbsp;*</p><p>`Space key Controls<br />IF SPACEKEY()=1 AND Jumping=0 THEN Jump=1</p><p>`JUMP Variable Definition<br />IF Jump=1<br />Jump_Speed#=1<br />Jumping=1<br />Jump=0<br />ENDIF</p><p>`Jumping<br />IF Jumping=1<br />DEC Jump_Speed#,.1<br />POSITION OBJECT 1,X#,Y#+Jump_Speed#, Z#<br />ENDIF</p><p>rem<br />rem Walk<br />rem</p><p>`walk Variable Definition<br />IF Walk=1<br />Walk_Speed#=1<br />Walking=1<br />Walk=0<br />ENDIF</p><p>`walk<br />IF Walking=1<br />DEC Walk_Speed#,.1<br />POSITION OBJECT 1,X#,Y#+Walk_Speed#, Z#<br />ENDIF</p><br /><br /><p>`Add a target reticule to the screen<br />CIRCLE ScreenWidth#/2,ScreenHeight#/2,5</p><p>` *&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *<br />` * Check for collision with objects, and handle appropriately *<br />` *&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *</p><p>`Ground Intersection Check<br />IF INTERSECT OBJECT (4,X#,(Y#-OBJECT SIZE Y(1)/2),Z#,X#,Y#,Z#)&gt;0<br />&nbsp; &nbsp;Jumping=0<br />&nbsp; &nbsp;Walking=0<br />&nbsp; &nbsp;If KEYSTATE(17)=1 or KEYSTATE(31)=1 or KEYSTATE(30)=1 or KEYSTATE(32)=1 then Walk=1<br />&nbsp; &nbsp;ELSE<br />&nbsp; &nbsp;IF Jumping=0<br />&nbsp; &nbsp; &nbsp; Jumping=1: Jump_Speed=-1<br />&nbsp; &nbsp; &nbsp; Walk=0<br />&nbsp; &nbsp; &nbsp; If KEYSTATE(17)=0 and KEYSTATE(31)=0 and KEYSTATE(30)=0 and KEYSTATE(32)=0 then Walk=0<br />&nbsp; &nbsp;ENDIF<br />ENDIF</p><p>`Front Intersection Check<br />IF INTERSECT OBJECT (4,LIMB POSITION X(1,2),LIMB POSITION Y(1,2),LIMB POSITION Z(1,2),X#,Y#,Z#)</p><p>`If intersection infront, move the user backwards<br />MOVE OBJECT 1,-2<br />ENDIF</p><p>`Back Intersection Check<br />IF INTERSECT OBJECT (4,LIMB POSITION X(1,3),LIMB POSITION Y(1,3),LIMB POSITION Z(1,3),X#,Y#,Z#)</p><p>`If intersection behind, move user forwards<br />MOVE OBJECT 1,2<br />ENDIF</p><p>`Right Intersection Check<br />IF INTERSECT OBJECT (4,LIMB POSITION X(1,4),LIMB POSITION Y(1,4),LIMB POSITION Z(1,4),X#,Y#,Z#)</p><p>`If intersection to the right, move the user left<br />MOVE OBJECT LEFT 1,1<br />ENDIF</p><p>`Left Intersection Check<br />IF INTERSECT OBJECT (4,LIMB POSITION X(1,5),LIMB POSITION Y(1,5),LIMB POSITION Z(1,5),X#,Y#,Z#)</p><p>`If intersection to the left, move user right<br />MOVE OBJECT RIGHT 1,1<br />ENDIF</p><br /><br /><br /><br /><br /><p>rem end loop<br />sync<br />loop</p>]]></content>
			<author>
				<name><![CDATA[Mike1951]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=566</uri>
			</author>
			<updated>2006-12-18T14:14:41Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=47629#p47629</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Answer this.]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=47628#p47628" />
			<content type="html"><![CDATA[<p>yes, i&#039;m Michael Schlueter.&nbsp; And I&#039;ll send some of the code i was working on at home.</p>]]></content>
			<author>
				<name><![CDATA[Mike1951]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=566</uri>
			</author>
			<updated>2006-12-18T14:07:07Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=47628#p47628</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Answer this.]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=47448#p47448" />
			<content type="html"><![CDATA[<p>At this crucial point in time Mike we are in need of people with the essential &quot;no how&quot;. Now thats not saying you arent capable, we are just in some very specific testing phases whereby we cannot afford to carry anyone.</p><p>I would suggest and this goes for anyone wanting to apply to the team at this present time, that if you are wanting to join try persevering with some tutorials, try some coding projects of your own showcase them and then submit. If anything changes in the near future then we will be post.</p>]]></content>
			<author>
				<name><![CDATA[FSDev| xEROhOUR]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=2</uri>
			</author>
			<updated>2006-12-15T22:02:24Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=47448#p47448</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Answer this.]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=47438#p47438" />
			<content type="html"><![CDATA[<p>Whats your real name? i&#039;ll check if we got an app from you</p><br /><p>Edit:&nbsp; are you Michael Schlueter ?</p><p>If so, a coder was supposed to get in contact with you</p>]]></content>
			<author>
				<name><![CDATA[Bandu]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=77</uri>
			</author>
			<updated>2006-12-15T20:34:14Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=47438#p47438</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Answer this.]]></title>
			<link rel="alternate" href="https://forums.fsmod.com/viewtopic.php?pid=47437#p47437" />
			<content type="html"><![CDATA[<p>Do you guys have anough people to make this mod, or are you all just to buisy to look at the newer applications?&nbsp; I keep checking my e-mail for anything now, but i would apperiate it if you at least let me know if i have a chance of getting even alittle bit experience. heck, you can send me a little problem in the code, and i&#039;ll try to debug it.</p>]]></content>
			<author>
				<name><![CDATA[Mike1951]]></name>
				<uri>https://forums.fsmod.com/profile.php?id=566</uri>
			</author>
			<updated>2006-12-15T20:31:00Z</updated>
			<id>https://forums.fsmod.com/viewtopic.php?pid=47437#p47437</id>
		</entry>
</feed>
