Home   Help Search Login Register  

Author Topic: HELP!!!  (Read 2304 times)

0 Members and 1 Guest are viewing this topic.

repta

  • Guest
HELP!!!
« on: 30 Jul 2004, 16:01:40 »
hey i have a few questions.

1)how do i get ammo crates in the game. I use chris' crate wizard but i cant get it in the game. i do all of the initializing w/e. plus i cant find an ammo crate in the editor

2)i made some custom soldiers in his soldier maker and i cant get them into the game. I am doing all of this for a freeroaming coop map.
     thanx in advance

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:HELP!!!
« Reply #1 on: 30 Jul 2004, 16:10:24 »
1.  Errr, to insert an ammo crate

Side:  Empty
Class:  Ammo

You have to create a player unit first.
Plenty of reviewed ArmA missions for you to play

repta

  • Guest
Re:HELP!!!
« Reply #2 on: 31 Jul 2004, 02:05:11 »
i did that. but when i go to it it's just the standard crate(grenades). i did the correct initializing stuff and the crate is in the same folder. i dont care about the soldier right now.

repta

  • Guest
Re:HELP!!!
« Reply #3 on: 31 Jul 2004, 02:32:53 »
these are the stats:

2 playable charachters(both east)

ammo crate(east)
side:empty
class:ammo
int: [this] exec "CUSTOM_CRATE.sqs"

what could be wrong

j-man

  • Guest
Re:HELP!!!
« Reply #4 on: 31 Jul 2004, 13:25:37 »
Are you sure the script should be executed that way? Mabey it needs to be executed with:

this exec "CUSTOM_CRATE.sqs"

And are you sure there's something actually in the script?

repta

  • Guest
Re:HELP!!!
« Reply #5 on: 31 Jul 2004, 15:56:39 »
still doesnt work. i looked at the script and there is stuff in it, but i dont kno script at all(new to ofp). maybe u could look at it.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:HELP!!!
« Reply #6 on: 31 Jul 2004, 16:36:38 »
...in the same folder...
What folder? Where? What?
If the script is in a folder inside the mission folder, you need to exec it with the correct path.
Not all is lost.

repta

  • Guest
Re:HELP!!!
« Reply #7 on: 31 Jul 2004, 17:48:00 »
it is in the same folder as the mission

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:HELP!!!
« Reply #8 on: 31 Jul 2004, 18:03:17 »
1.   What is the name of the script in your mission folder?

2.   What code do you use to call it?

If the names aren't the same, it won't work.
Plenty of reviewed ArmA missions for you to play

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:HELP!!!
« Reply #9 on: 31 Jul 2004, 18:09:44 »
If the script is in the same folder as the mission.sqm then it should be found.

Double check the spelling in the init line for the script is exactly the same as the name of the script file.

Should be:

this exec "nameofscript.sqs"

As has been previously stated.

I don't think [this] exec "nameofscript.sqs" will work.

[this] refers to an array I believe.



Planck
I know a little about a lot, and a lot about a little.

repta

  • Guest
Re:HELP!!!
« Reply #10 on: 31 Jul 2004, 21:10:49 »
the name of the script is CUSTOM_CRATE.sqs
 i have tried it with and without the "[]" and it still doesnt work.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:HELP!!!
« Reply #11 on: 31 Jul 2004, 22:10:09 »
OK......what did you save your .sqs file with?

If it was Notepad, you need to save it as All File type from the save requester, not as text type.

Failure to do this results in a file called nameofscript.sqs.txt.

You won't notice this if you have 'Hide file extensions for known files' ticked in your folder preferences.


Planck
I know a little about a lot, and a lot about a little.

repta

  • Guest
Re:HELP!!!
« Reply #12 on: 31 Jul 2004, 22:13:40 »
as i said earlier i used chris' crate wizard

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:HELP!!!
« Reply #13 on: 31 Jul 2004, 22:30:29 »
Try opening up your script file in Notepad and copy/paste it into a fresh Notepad document.

Save as Type 'All Files', and give it the name you want.


Planck
I know a little about a lot, and a lot about a little.

Offline ryankaplan

  • Members
  • *
  • yeah...
Re:HELP!!!
« Reply #14 on: 31 Jul 2004, 23:05:49 »
why not just learn how to do it yourself? much easier i think
all you need to know is:
 
this addweapon cargo ["m16",5]
this addmagazinecargo ["m16",5]

m16 being the weapon or magazine and the 5 being the number of weapons or magazines you are putting in that crate.