mor115 Posted December 13, 2006 Share Posted December 13, 2006 i have tried but when i walk into the buy house sign and nothing happens and i have try to make the camara there zoom in on the house but i can not see if it hate workt please help Link to comment Share on other sites More sharing options...
Knowledge Novice Posted December 14, 2006 Share Posted December 14, 2006 Hey mor, it's me. I've been trying to figure this one out, but it's a bit confusing for me. I just found a short example of how to do it in SA, but hopefully it may work in VC also. Take a look at the info by clicking HERE to get an idea of how it may work. I will try to use this info to create a buyable lot, but I hope to find a more detailed tutorial for doing this in VC. P.S. If someone who reads this knows of any other information on how to create Buyable Assets in VC, any help would be greatly appreciated. Also, I've read that pre-existing assets can be changed, but can new assets be created without altering the originals? I've searched the forums, but have only found the info at the link above. Thanks in advance for any help. Link to comment Share on other sites More sharing options...
Bigun Posted December 14, 2006 Share Posted December 14, 2006 Like most answers, the answer is "imitate original code". Yep, just placing a pickup obviously won't do much - you need to sniff for it to be picked up, then destroy the pickup, and do whatever needed like create a bought-property radar marker, make a yellow-marker (configured via IPLs IIRC) warp activated, add/modify car generators and or/garages. Look for the BUY threads in original games. Link to comment Share on other sites More sharing options...
mor115 Posted December 14, 2006 Author Share Posted December 14, 2006 i Dont get that Link to comment Share on other sites More sharing options...
Gouveia Posted December 14, 2006 Share Posted December 14, 2006 Like most answers, the answer is "imitate original code".Yep, just placing a pickup obviously won't do much - you need to sniff for it to be picked up, then destroy the pickup, and do whatever needed like create a bought-property radar marker, make a yellow-marker (configured via IPLs IIRC) warp activated, add/modify car generators and or/garages. Look for the BUY threads in original games. He means that you need to make a buyable icon that disappears when bought and activates the save icon(that diskette). The rest is only useful if the house has garages, but if doesn't has any garage, you need to make like i've said Link to comment Share on other sites More sharing options...
Bigun Posted December 15, 2006 Share Posted December 15, 2006 i Dont get that Well, then go learn better English and Mission Coding terms, I suppose. More seriously helpful, describe WHAT you didn't understand, and possibly, why, rather than just posting "i dont get it". That way it's much easier to clarify it to you. Link to comment Share on other sites More sharing options...
Knowledge Novice Posted December 15, 2006 Share Posted December 15, 2006 Like most answers, the answer is "imitate original code".Yep, just placing a pickup obviously won't do much - you need to sniff for it to be picked up, then destroy the pickup, and do whatever needed like create a bought-property radar marker, make a yellow-marker (configured via IPLs IIRC) warp activated, add/modify car generators and or/garages. Look for the BUY threads in original games. I haven't experimented with this very much yet but I think I'm starting to understand it a little better. One question though. When the asset marker is picked up it disappears so why the need to destroy it? Does the game still register that there is an icon even though it is no longer visible on the screen? Link to comment Share on other sites More sharing options...
Bigun Posted December 17, 2006 Share Posted December 17, 2006 One question though. When the asset marker is picked up it disappears so why the need to destroy it? Does the game still register that there is an icon even though it is no longer visible on the screen? Yes. When you pick a pickup up, it's just the model of it "hidden" - the actual data reference remains in memory, pretty similarly to objects and vehicles, until you 'destroy_pickup' it. Think about it; you use the 'is_picked_up' conditional opcode with the pickup reference. If the pickup was automatically wiped (deleted) from memory when picked up, when you tried to use the 'is_picked_up' opcode, the game would have crashed, because you would of been using an invalid pickup reference (or possibly an emptied variable - doesn't matter though) in the opcode.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now