English Scripting Questions

2,429 replies
Goto Page
To the start Previous 1 2 ... 92 93 94 ... 121 122 Next To the start
13.03.10 08:25:44 pm
Up
Spicy Night Owl
User
Offline Off
Its ended correctly. Maybe i should change the item code id from 186 to 1000 and see if that helps. Nope doesnt help.
Original creator of Stranded 2 wiki, which I'm more proud of than graduating high school
14.03.10 05:57:44 am
Up
Yamaxanadu
User
Offline Off
is it possible to make spawner that makes sheeps or turtles? ,i can't happen to make spawners
Back in business, and I'll try not to be the Enigmatic asshole that i used to be....I hope
14.03.10 06:27:40 am
Up
Spicy Night Owl
User
Offline Off
yes you can but i forgot script. No one is gonna help me?
Original creator of Stranded 2 wiki, which I'm more proud of than graduating high school
14.03.10 08:32:03 am
Up
Vibhor
User
Offline Off
FD god has written:
is it possible to make spawner that makes sheeps or turtles? ,i can't happen to make spawners


You can make spawners in editor
My avatar describes my personality the best....Douchebag who have to save the princess without speaking anything
14.03.10 09:21:25 am
Up
Yamaxanadu
User
Offline Off
i mean attach spawners to objects , DUNCOTS
Back in business, and I'll try not to be the Enigmatic asshole that i used to be....I hope
14.03.10 09:23:57 am
Up
Vectarrio
User
Offline Off
All nests have this script.
14.03.10 03:41:58 pm
Up
Lion_Hearted
User
Offline Off
@ Ethan

Why don't you upload the sys folder to media fire and send me the link that way I can fix it for ya.
View my models! Also, check out the realistic hunting and rotting meat system in my mod. Lion_Hearted's Mod
14.03.10 04:17:25 pm
Up
Spicy Night Owl
User
Offline Off
Will do.
Original creator of Stranded 2 wiki, which I'm more proud of than graduating high school
15.03.10 09:02:53 am
Up
lint35
User
Offline Off
Is it possible to show an item in first person? If so how is it possible? I only need the weapon to be shown.
IMG:http://bfbc2.statsverse.com/sig/userbar4/360/KI113R%20L3M0NZ.png
15.03.10 01:08:06 pm
Up
Vectarrio
User
Offline Off
Yep. Look at script for example in V666 mod objects_stuff STIH. Make timer, and check conditions, and change model
15.03.10 01:34:49 pm
Up
lint35
User
Offline Off
I downloaded the v666 mod, none of the weapons were in first person...
IMG:http://bfbc2.statsverse.com/sig/userbar4/360/KI113R%20L3M0NZ.png
15.03.10 02:50:25 pm
Up
Vectarrio
User
Offline Off
Only pistol, shotgun, chaingun, and some new weapons.
Oh, i see, you downloaded the multiplayer version
15.03.10 03:25:49 pm
Up
tmh47
User
Offline Off
I'm making a small mod (For my own use) and I'm trying to create a tree that spawns multiple fruits, so far I've stuck with simply having the fruits dropped to the ground and spawned around the tree, but I wondered if the "spawn" command could spawn more than one type of thing at the same time?
16.03.10 05:19:01 am
Up
lint35
User
Offline Off
Okay I downloaded the single player but I still don't understand how to make it show the weapon... I used the STIH but it still doesn't work... I changed the id's of the weapons to match mine but no help please
IMG:http://bfbc2.statsverse.com/sig/userbar4/360/KI113R%20L3M0NZ.png
16.03.10 04:07:51 pm
Up
The Second
User
Offline Off
Is it possible to change button icons in dialogue?
If yes, how?
16.03.10 06:21:06 pm
Up
Vectarrio
User
Offline Off
lint35 has written:
Okay I downloaded the single player but I still don't understand how to make it show the weapon... I used the STIH but it still doesn't work... I changed the id's of the weapons to match mine but no help please

Now find event "ih" in game.inf. It creates STIH object if this object didn't appear in the game. And in "on:inhand" in your weapons (weapons you want to make in-hand model) call this event(event "ih","global";)
The Second
It is possible. Just create buttons as commands but not as dialogue definition. s2 cmd button
17.03.10 01:25:29 am
Up
lint35
User
Offline Off
Sorry but I'm still having troubles, what I have done:
> I copied the STIH script and put it into my objects_stuff.inf.
>Changed one of the ID's of the weapons that were in the script
>Copied the on:inhand { event "ih","global"; } and put it into my game.if
> Did the same thing you did with the on:inhand event "ih","global" on my weapon script
Am I missing something?
IMG:http://bfbc2.statsverse.com/sig/userbar4/360/KI113R%20L3M0NZ.png
17.03.10 09:42:26 am
Up
slow
User
Offline Off
I've been playing about a week now, and I have learnt to edit item codes and such to make new items and such things on simple levels. (Prior to getting any mods, I added my own sheep milk, butter, cheese and more using existing models with edited images and edited scripts or some copy=pasted and pieced together then edited further)

Now, however, I would like to add a skill of glass-blowing using sand + seaweed + blowpipe, but when I have rummaged around, I've not found any files for skills other than the one that shows the "level-up" information.

Will/can someone explain how I may do this?
17.03.10 01:14:19 pm
Up
Vectarrio
User
Offline Off
lint35 has written:
Sorry but I'm still having troubles, what I have done:
> I copied the STIH script and put it into my objects_stuff.inf.
>Changed one of the ID's of the weapons that were in the script
>Copied the on:inhand { event "ih","global"; } and put it into my game.if
> Did the same thing you did with the on:inhand event "ih","global" on my weapon script
Am I missing something?

Check your models. Are you sure that your inhand models are correct? And try changing y. Just as i have in this script.
But you didn't say anything about game.inf!
There must be
Code:
1
2
3
4
on:ih {
          if(count("object",225)<1){
               create "object",225;
          }

in game.inf.
PS: change the id to your STIH's id.

@slow
Spoiler >
17.03.10 02:38:25 pm
Up
slow
User
Offline Off
Thank you very much, Vectar666. I don't know how I missed that
To the start Previous 1 2 ... 92 93 94 ... 121 122 Next To the start