Hinny
Member-
Content Count
28 -
Joined
-
Last visited
-
Medals
Everything posted by Hinny
-
From what I remember you can't get the pitch positions to work properly, so if the boat pitches upwards the gun posistions wont match properly... This ain't a huge problem with boats on flat water, but tanks on hilly terrain would be a bit of a problem i think...
-
Did you add the script override game logic?
-
I'd imagine the conveniatley put 'Remove Bayonets' command would come in helpful there.
-
Don't the JAM AP RPGs target people?
-
What happens if you are crawling with bayonet fixed and get close to an enemy? Or if you are in the crounch posistion, then run up to the enemy. Do you drop down on one knee, then the animation happen? What if an enemy walks into your path while you're are crouching?
-
That's some good shiiiit.
-
Ah, but for that you'd have had to set the original unit ranks which would kinda go against the point of this script. Which is to allow players to have the right rank slide despite what slot they decide to put themselves in MP games.
-
Ok, this is for MP games. For my squad there are various people of different ranks, and I would like to make these ranks displayable in game. I have a way of doing this in script form, but the tricky bit is assigning them to players. As we don't necessarily know who will be playing the game that evening it's impossible to edit the mission so the appropriate script for each person is initiated in the unit's init line. Instead I want to create a 'rank box', like an ammo box except people go up to it, pick the appropriate rank and have the appropriate script run to display it. However I have no clue as how to code this. Anyone care to help?
-
I did the same as I orignally posted but also added the lines: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">?(name player == Bob) : a = player; publicvariable "a" ?(name player == Joe) : b = player; publicvariable "b" ?(name player == Tim) : c = player; publicvariable "c" ?(name player == Tom) : d = player; publicvariable "d" Then called another script with the lines: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">a setObjectTexture [2,"\rank_cpl.paa"] b setObjectTexture [2,"\rank_cpl.paa"] c setObjectTexture [2,"\rank_lcpl.paa"] d setObjectTexture [2,"\rank_lcpl.paa"]
-
Woo, took me some time but I've done it Thanks for your help.
-
It is public, but the script only initiates the texture for the player, rather than everyone else too.
-
Here's the code I'm using. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_Bob = "[CPL] Bob" _Joe = "[CPL] Joe" _Tim = "[LCP] Tim" _Tom = "[LCP] Tom" #CPL ?(Name player == _Bob) : player setObjectTexture [2,"\rank_cpl.paa"] ?(Name player == _Joe) : player setObjectTexture [2,"\rank_cpl.paa"] #LCP ?(Name player == _Tim) : player setObjectTexture [2,"\rank_lcpl.paa"] ?(Name player == _tom) : player setObjectTexture [2,"\rank_lcpl.paa"]
-
That would actually be quite good, not quite what I was looking for, but good nonetheless However it suffers one problem. I want it to work globally rather than just locally. With that method the assigned textures only appear to the person they were activated on, whereas I want everyone to see them.
-
I think the Project UKF guys are gonna beat you to it with a good SA80.
-
Okay, I want to set up a script where if me or my team are in a captured enemy vehicle we'll appear friendly to them unless we get too close. The questions I need answering is how can I make a script that checks this (bearing in mind there can will be loads of possible enemy vehicles). Also how do I then check distance from an enemy unit? I could do this if it were a specific enemy unit but what about them in general?
-
Is there any way to create say a bomb at the point someone is pointing the laserdesignator at? For example I want someone to laser a target, call on the radio, then have a bomb spawn at the target.
-
Okay, I have a mission where you are a chopper pilot and have to transport some troops to an area. However I can't get rid of the yellow waypoint box showing me exactly where to go even in veteran mode. Is there any other way to get to a point and make the people get out (preferably not an eject script) without having the yellow box. OR is there a way to get rid of the box that I'm just not aware of?
-
Transport unload without a waypoint?
Hinny replied to Hinny's topic in OFP : MISSION EDITING & SCRIPTING
Cheers, that's exactly what I was looking for -
Cheers guys
-
Okay I have a variable, _x, which is a number value. I want that number to be displayed on screen. I've tried unit sidechat _x but as it rightly says _x isn't a string. Is there any way to convert _x into a string, and if not anyway to get it on screen?
-
I happened to notice a large number of forum members with the spanish black ribbon flag thing in their sigs and as avatars. Also I happened to see this article on BBC News Online entitled 'Mourning Sickness': http://news.bbc.co.uk/1/hi/uk/3512447.stm Just wondered what your opinions were on this.
-
Ahhh! I didn't want this thread turned into a thread about religion and if it's right or wrong! If people want to believe in a religion, they can. If they don't want to believe they don't have to. The kind of divisions of 'I'm right, you're wrong' attitude is really worrying. Surely tolerance of other people's beliefs is better than trying to force your own on people.
-
The BBC is publically funded. It doesn't make money. Actually it does, it makes a shedload of money from the shows it sells, kids shows like The Teletubbies, Postman Pat, Bob the Builder alone have brought in 100's of ÅM. Okay, granted. But by publishing an article or expressing an opinion (which in general it's good for not doing) it makes no money whatsoever.
-
The BBC is publically funded. It doesn't make money.
-
Don't take these questions as hostile, it's just a genuine interest and help how to understand how people feel. 1) Why do you feel the need to show this as a mark of respect? 2) What do you feel you or others gain from showing it as a symbol? 3) Do you think if, for whatever reason, the media only gave the Madrid bombings a couple minutes news time would your reaction be the same? (eg. There seems to be weekly bombings in Israel with perhaps a couple of mentions on the day of attack then nothing after) As I say I'm not trying to say your opinion is wrong or anything, just wanna understand it better. I mean a lot of people say things like 'its out of respect', but what does that really mean?