Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Joint Operations (https://novahq.net/forum/forumdisplay.php?f=178)
-   -   making 'invisible sit points' (https://novahq.net/forum/showthread.php?t=47488)

grenadier501 12-30-2013 10:27 PM

making 'invisible sit points'
 
hi, if you're still in jo mapping you should try this in your maps.

Make your map and put the sittable chair Chair01.3di, and use the wac command hidessn(chairssn number). That will only make the chair invisible but the players and AI still will be able to sit on it. you can make things like this: http://i1090.photobucket.com/albums/...ps24342d77.jpg
as you can see it looks like the soldiers are sit on the barrack building, players can also sit there, cool isn't it?

happy new year.

BLACK WIDOW 01-07-2014 02:36 AM

lol mods can do that but what is that name mod?

grenadier501 01-07-2014 12:42 PM

That's not mod its just Joint operations Escalation.

BLACK WIDOW 01-17-2014 04:19 AM

dude but how to attach ai in vechicles or chairs?:gj:

because 125-goto ssn(any) not working:sad5:

BLACK WIDOW 01-17-2014 10:39 PM

Quote:

Originally Posted by grenadier501 (Post 382939)
hi, if you're still in jo mapping you should try this in your maps.

Make your map and put the sittable chair Chair01.3di, and use the wac command hidessn(chairssn number). That will only make the chair invisible but the players and AI still will be able to sit on it. you can make things like this: http://i1090.photobucket.com/albums/...ps24342d77.jpg
as you can see it looks like the soldiers are sit on the barrack building, players can also sit there, cool isn't it?

happy new year.

but how did u do that? but my wac command not working :(

grenadier501 01-18-2014 09:06 AM

first , set a condition and then the events: SSN2SSN(AIssnnumber,Chairssnnumber) , that will tell the AI to go to the chair. After that, use SSNUSE(AIssnnumber), and that will tell the AI to attach to the chair. You have to do that for every single AI you want to attach to chairs. Be careful with those commands it will crash the game if you don't use them correctly.

check this tutorial for more info http://nile.dfreload.com/index.php?showtopic=62

BLACK WIDOW 01-20-2014 04:39 AM

aw

problem on my nile

when trying to attach snn to snn

but,attach snn pilot to %s%(%s%-ah6 little bird)

why invisile or cannot reavel,i can send u on fri a 1vid. and 1 pic.

or send me old version of nile because new version of nile doesnt wor to attach it marked %S%

Guest001 01-24-2014 09:30 PM

A few misplaced posts , sry.

Start with this.

Try out ssnuse and release commands and a few others to get you by.

ssnuse(ssn) snap ssn to emplaced weapon if within 3 meters

ssnrelease(ssn) remove ssn from emplaced weapon

ssnride(ssn#)

ssnonssn(ssn#,ssn#)

ssnnearssn(ssn#,ssn#,distance in meters#)

ssnseesssn(ssn#,ssn#,distance in meters#)

meride(ssn#)

meattached(ssn#)

medrive(ssn#)

meongun(ssn#)

playerfired(#)1=knife, 2=sidearm, 3=rifle etc.

Guest001 01-24-2014 09:38 PM

After editing ssn numbers can change. (especially ssn on top of ssn) ALWAYS Check your AI SSN numbers are still matching in the WAC.

Try ssnride:


if ssnride(#) then
ploop
if ssnonssn(player,#) and not ssnride(#) then
ssn2ssn(player,#)
ssnuse(player)
endif
end
endif

if ssnride(#) then
ploop
if ssnonssn(player,#) and not ssnride(#) then
ssn2ssn(player,#)
ssnuse(player)
endif
end
endif

Guest001 01-24-2014 10:49 PM

Quote:

Originally Posted by BLACK WIDOW (Post 382967)
aw

problem on my nile

when trying to attach snn to snn

but,attach snn pilot to %s%(%s%-ah6 little bird)

why invisile or cannot reavel,i can send u on fri a 1vid. and 1 pic.

or send me old version of nile because new version of nile doesnt wor to attach it marked %S%


Sorry if the script above doesn't really help you.


ssn2ssn will not attach the AI, they will just run towards the central node of the
object ssn

So try to get them in by teleport or ramp.

Attaching with special Way Points 123, 124, and 125 doesn't work well from
the wac unless you trigger variables.

These variables still need to be set in the editor itself.

NOTE:
WAC scripts can be made less prone to errors by leaving out these two
parenthesis () symbols.

Putting these characters "()" in the wrong place without the correct
params is a common error.

Quote:

As for the NILE if you are going to use it, the updated version is absolutely
the one to use.

Even with all it's 3D capabilities etc. I personally don't use it though.

The problems I've had are many and mainly of the type you are having.

Object placement is competent but managing the AI is another thing about
which my true opinion is best unsaid.

Guest001 01-24-2014 11:23 PM

Sorry post error

Guest001 01-24-2014 11:24 PM

Sorry post error

BLACK WIDOW 02-17-2014 02:00 AM

ah my problem solved:
i go to novaworld forum and say if i want ai to attach to vechicle without wac
i updated it
after updating ai can attach now :)

Guest001 02-17-2014 04:26 PM

Quote:

Originally Posted by BLACK WIDOW (Post 383086)
ah my problem solved:
i go to novaworld forum and say if i want ai to attach to vechicle without wac
i updated it
after updating ai can attach now :)

???
Please explain a bit more.

Are you saying you could not attach with WAC and you updated your game and now you can?

Doesn't make sense if that's the case.

As far as I know... for BHD

If you publish your map and want others to play it.

To get the WAC working in BHD properly the user who downloads the map also needs /d switch on their game shortcut params.

Or the WAC will not work for them.


For JO the wac always works so????

BLACK WIDOW 03-06-2014 04:21 AM

but,another wacs cant work i have /d ok but error occurs :(

Guest001 03-06-2014 06:06 PM

Quote:

Originally Posted by BLACK WIDOW (Post 383217)
but,another wacs cant work i have /d ok but error occurs :(

Please post an example.

Are you using N.I.L.E. or MEd?

Guest001 03-06-2014 06:30 PM

1 Attachment(s)
Look closely at this wac, download with this map in the ZIP file below.
I've discovered it let's the AI board the chopper if you set the right angle of approach for AI

In this script1 the helo waits for player
In script2 the helo takes of immediately.

We just change "and" to "or"

In the MED you use object SSN numbers - in the NILE you use the object ID numbers as SSN
//script1
if never() then
ssn2ssn(1,2)//send (AI ssn1) to (helo ssn2)
endif

if ssnnearssn(1,2,10) and ssnonssn(10000,2) and never() then// helo waits for player (ssn10000)
set(v1,1)
endif

if eq(v1,1) and never() then
ssntowp(2,1)//sends helo to waypoint 1
endif

//script2
if never() then
ssn2ssn(1,2)//send (AI ssn1) to (helo ssn2)
endif

if ssnnearssn(1,2,10) or ssnonssn(10000,2) and never() then// helo takes off immediately (AI ssn1)
set(v1,1)
endif

if eq(v1,1) and never() then
ssntowp(2,1)//sends helo to waypoint 1
endif

Hellfighter 03-07-2014 05:03 PM

better id shortcut way doing it! put a large sheep dog laying on top of the seating points location:haha:
you feel all warm and fuzzy inside

Guest001 03-07-2014 10:19 PM

Quote:

Originally Posted by Hellfighter (Post 383225)
better id shortcut way doing it! put a large sheep dog laying on top of the seating points location:haha:
you feel all warm and fuzzy inside

The Penalty for sitting down on the job!

//Sack Script
if ssnonssn(player,1) and never() then// Player(ssn10000) Chair(ssn1)
killssn(10000)
text("You're fired!")
endif

ROFL :kekekegay

BLACK WIDOW 03-08-2014 07:02 AM

both nile and med are using guys


All times are GMT -5. The time now is 04:04 AM.

Powered by vBulletin®